Registering the Content Deployer endpoint as a Capability

If you already used the auto-register switch to register this Server Role as a Capability when you installed it as a standalone microservice, you can skip this task. If you did not, you can make this microservice discoverable through the Discovery Endpoint by hand by adding it as a Capability to the Discovery Service's Storage Layer configuration file and update the Capability registry by rerunning the Discovery Service registration tool.

Procedure

  1. Navigate to the configuration location of your Discovery Service installation.
  2. From this location, copy cd_storage_conf.xml to the location in which you saved the Discovery Service registration tool (the file discovery-registration.jar), and open it for editing.
  3. Find the ConfigRepository section and its Roles subsection.
  4. Find the Role element with its Name attribute set to DeployerCapability.
  5. If you have set up a single Content Deployer, ensure that this Role element has a Url attribute, set to http://HOST:PORT/httpupload, where http://HOST:PORT identifies the base URL of the Content Deployer microservice. By default, this microservice runs on port 8084.
  6. Alternatively, if you have set up multiple Content Deployer destinations, do the following:
    1. Ensure that this Role element has a Strategy attribute, set to MIRROR.
    2. Inside this Role element, insert a Urls subsection, itself containing two or more Url subelements. Each Url element must have a Value attribute, set to the URL of the destination, and can have a DestinationName attribute, set to the name of this destination.
  7. Inside the Role element, set the value for the following Property subelement:
    <Property Name="encoding" Value="ENCODINGVALUE" />

    where ENCODINGVALUE is the encoding of the target machine(s), for example, UTF-8.

  8. Save and close cd_storage_conf.xml.
  9. Open a command prompt.
  10. Enter the following command:
    java -jar discovery-registration.jar update
    The tool registers the configured Capabilities.