Setting up the Discovery registration tool
To register Capabilities manually, to read Capabilities, and to unregister removed Capabilities, you need the Discovery registration tool.
Procedure
- Copy the installation media folder Content Delivery\roles\discovery\registration\, with all of its files and folders, to a location of your choice (for example, to the server on which the Discovery Service is installed).
- In your destination, location, open config\cd_storage_conf.xml for editing.
- Find the
ConfigRepositoryelement in this file and make sure that the following attributes exist and have values that are correct in your setup:Attribute Value ServiceUriThe URL of the Discovery Service; that is, the base URL of the Discovery Service followed by /discovery.svc. By default, this attribute would have the value http://localhost:8082/discovery.svc, but change this value if your Discovery Service runs on a different host or port. ClientIdThe name of a user account that can access the Discovery Service for registration. ClientSecretThe password (secret) needed to access the Discovery Service (preconfigured) TokenServiceThe URL of the Token Service; that is, the base URL of the Discovery Service followed by /token.svc. By default, this attribute would have the value http://localhost:8082/token.svc, but change this value if your Token Service runs on a different host or port. Refer to the reference documentation for the Storage Layer configuration to learn which other attributes you can configure.
- Within the
ConfigRepositorysection, find theRoleelement with aNameattribute set to the valueWebCapabilityand remove its subelements called<Property>. - Save and close cd_storage_conf.xml.
- Open a command prompt.
- Enter the following command:
java -jar discovery-registration.jar updateThe tool registers the configured Capabilities.
Related reference