If your environment does not have a Content Administration server, you can use the Production server as the user segment server instead. Note that this configuration is recommended for development environments only (see Configuring User Segment Sharing for more information on why). To use the Production server as the user segment server, you must make sure it includes the REST
module. You can do this in CIM by choosing the Oracle Commerce REST - RESTful Web Services option in the Product Selection menu. Alternatively, you can include the REST
module when running the runAssembler
command to assemble your Production server’s EAR file:
runAssembler
earfile
name
–m REST
other-modules
In addition to including the REST
module, you must also add the GetAllProfileGroups
URL to the /atg/rest/registry/ActorChainRestRegistry.registeredUrls
property. To do this, create an /atg/rest/registry/ActorChainRestRegistry.properties
file in the Production server’s localconfig
directory with the following property, then restart the Production server:
registeredUrls+=/atg/userprofiling/ProfileGroupsActor/getAllProfileGroups