Config

The plugin needs to be configured with endpoints and credentials for InfoCaster, Open Content and QueryStreamer.

Example config:

Infocaster

{
    "host": "${DBKS:CA_IC_PROVIDER_URL}",
    "publisher": "open-session",
    "token": ""
}

Content providers

{
	"${DBKS:CA_PROVIDER}": {
		"opencontent": {
			"host": "${DBKS:CA_OC_PROVIDER_URL}",
			"username": "${DBKS:CA_OC_PROVIDER_USERNAME}",
			"password": "${DBKS:CA_OC_PROVIDER_PASSWORD}"
		},
		"querystreamer": {
			"host": "${DBKS:CA_QS_PROVIDER_URL}",
			"username": "${DBKS:CA_QS_PROVIDER_USERNAME}",
			"password": "${DBKS:CA_QS_PROVIDER_PASSWORD}"
		},
		"infocaster": {
			"host": "${DBKS:CA_IC_PUBLISHER_URL}",
			"publisherId": "${DBKS:CA_IC_PUBLISHER_ID}",
			"token": "${DBKS:CA_IC_PUBLISHER_TOKEN}"
		}
	}
}

Example using Naviga ID to communicate

Remove username and password in order to send your Naviga ID token to OC to handle access. * Token is only sent to the whitelisted domains of Dashboard (default: infomaker.io, navigacloud.com)

{
	"${DBKS:CA_PROVIDER}": {
		"opencontent": {
			"host": "${DBKS:CA_OC_PROVIDER_URL}"
		},
		[...]
	}
}

Example using Client Credentials

{
	"${DBKS:CA_PROVIDER}": {
		"clientId": "${DBKS:CA_CC_ID}",
    "clientSecret": "${DBKS:CA_CC_SECRET}",
    
		"opencontent": {
			"host": "${DBKS:CA_OC_PROVIDER_URL}"
		},
		[...]
	}
}

Example using CCA integration

In order to allow us to use CCA integration part of content agent we need to specify current CCA endpoint.

{
	"${DBKS:CA_PROVIDER}": {
		[...]
		"cca": {
			"baseUrl": "https://cca-eu-west-1.saas-stage.infomaker.io/"
		}
	}
}