Skip to content

Commit

Permalink
AICORE-321: Parametrize nuxeo client config
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Pasquier committed Jun 25, 2020
1 parent 3854ef1 commit e7aa8a8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0"?>
<component name="org.nuxeo.ai.insight.client.config" version="1.0">
<require>org.nuxeo.ai.services.AIComponent</require>
<#if "${nuxeo.ai.insight.client.enable}" == "true">
<extension target="org.nuxeo.ai.cloud.NuxeoClient" point="config">
<config id="njConfig" projectId="${nuxeo.ai.insight.client.projectid}" url="${nuxeo.ai.insight.client.target.url}">
<authentication token="${nuxeo.ai.insight.client.token}" />
</config>
</extension>
</#if>
</component>
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@ nuxeo.ai.export.min.docs=10

# AI Export threshold for passing records in bytes
nuxeo.ai.export.threshold=

# Nuxeo Client Config
nuxeo.ai.insight.client.enable=false

# If client enabled: set project id, insight url and token access (see AI team for setup)
# nuxeo.ai.insight.client.projectid=
# nuxeo.ai.insight.client.target.url=
# nuxeo.ai.insight.client.token=

0 comments on commit e7aa8a8

Please sign in to comment.