The REST API Connection configuration guidelines can be found here.

Adobe Experience Manager Connector's Connection type must always be specified as "adobe-experience".

The Properties specific to the Adobe Experience Manager Connector's Connection are described below.


Adobe Experience Manager Connection Properties


FieldRequiredDefaultMultipleNotesExample
propertiesYes-NoConfiguration object
serverYes-NoThe AEM repository URL."http://localhost:4502"
fetchACLNofalseNoSet to true to fetch document ACLs for Pages' Closed User Groups.true / false
useSlashYesfalseYesSet to true to use a "/" at the end of each node path for the .json requests.

true / false

excludePropertiesNo[ ]YesList of properties to be excluded.

[

            {

                "name": "propertyNameForExclude",

                "value": "expectedValueForExclude",

                "regex": false

            },

            {

                "name": "propertyValueForExcludeWithRegex",

                "value": "expectedValueForExcludeWithRegex",

                "regex": true

            }

]

includePropertiesNo[ ]YesList of properties to be included.

[

            {

                "name": "propertyNameForInclude1",

                "value": "expectedValueForInclude1",

                "regex": false

            },

            {

                "name": "propertyValueForIncludeWithRegex",

                "value": "expectedValueForIncludeWithRegex",

                "regex": true

            }

]

stopOnScanErrorNotrue
If set to true, the crawl will stop if there are errors during the scanning phase.
true / false
scanExcludedItemsNofalseNoIf set to true, scans excluded container items so documents inside them can be processed.true / false
includesNo[]YesList of regular expressions to match documents to be included in the crawl.[".*sales.*", ".*finance.*"]
excludesNo[]YesList of regular expressions to match documents to be excluded from the crawl.[".*food.*", ".*drinks.*"]
idleConnectionTimeoutNo3600000NoMaximum time in millisecond to keep a connection open.3600000
maxConnectionsNo100NoMaximum number of connections to be opened.100
maxConnectionsPerRouteNo10NoMaximum number of connections opened for the same target.10
connectionTimeoutNo15000NoMaximum time in milliseconds to wait for the connection.15000
socketTimeoutNo15000NoMaximum time in milliseconds to wait for a socket response.15000
useThrottlingNofalseNoIf set to true, enables connection throttling.true / false
throttlingRateNo5000NoTime period in milliseconds to throttle the connection.5000
throttlingConnectionRateNo500NoMaximum number of connections to be used during a throttling period.500
maxRetriesNo3NoMaximum number of retries for a failed document.3
retryWaitTimeNo5000NoTime in millisecond to wait before a retry.5000
useProxyNofalseNoSet to true to setup a proxy.true / false
proxyHostNo-NoRequired if useProxy is set to true."localhost"
proxyPortNo-NoRequired if useProxy is set to true."8080"
proxySchemaNo-NoRequired if useProxy is set to true."http"
proxyUsernameNo-NoRequired if useProxy is set to true."myProxyUser"
proxyPasswordNo-NoRequired if useProxy is set to true."encrypted:AEB19E2B31D97E308BF9B3B35EE17ECEF94848249E1BD859D818DB89A6DABEFD"

Create example


POST /aspire/_api/connections
{
	"type": "adobe-experience",
	"description": "AEM Test Connection",
	"credential": "bb4f37ed-1a34-4715-a608-697b2a2c3601",
	"properties": {
		"server": "http://localhost:4502",
		"fetchACL": false,
		"useSlash": false,
		"excludeProperties": [],
		"includeProperties": [],
		"stopOnScanError": true,
		"scanExcludedItems": false,
		"includes": [],
		"excludes": [],
		"idleConnectionTimeout": 3600000,
		"maxConnections": 100,
		"maxConnectionsPerRoute": 10,
		"connectionTimeout": 15000,
		"socketTimeout": 15000,
		"useThrottling": false,
		"maxRetries": 3,
		"retryWaitTime": 5000,
		"useProxy": false
	}
}



  • No labels