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

  1. 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).
  2. In your destination, location, open config\cd_storage_conf.xml for editing.
  3. Find the ConfigRepository element in this file and make sure that the following attributes exist and have values that are correct in your setup:
    AttributeValue
    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.

  4. Within the ConfigRepository section, find the Role element with a Name attribute set to the value WebCapability and remove its subelements called <Property>.
  5. Save and close cd_storage_conf.xml.
  6. Open a command prompt.
  7. Enter the following command:
    java -jar discovery-registration.jar update
    The tool registers the configured Capabilities.