Configuring cue-content-duplication-enrichment-service

The cue-content-duplication-enrichment-service is configured to run on port 8082 by default. If for some reason that won't work, you can change the port number as follows:

  1. Log in as root if necessary.

  2. Open /etc/escenic/content-duplication-service-2.8/content-duplication-service.yaml in an editor.

    server:
      port: 8082
  3. Set the port number to whatever value you require and save the file.

  4. Restart the service as follows:

    # /etc/init.d/content-duplication-service restart

You also need to configure CUE to access the duplication service. To do this:

  1. Open /etc/escenic/cue-web-2.8/content-duplication-service.yml in an editor:

    enrichmentServices:
      - name: "Duplicate Service"
        href: "http://localhost:8082/contentDuplicationService"
        title: "Duplicate Service"
        triggers:
          - name: "on-duplicate"
            properties: {}
    
    authorizedEndpoints:
      - "http://localhost:8082/"
  2. Replace both occurrences of localhost in this file with your CUE host's domain name.

  3. If you have changed the duplication service's port number from 8082, then replace both occurrences of this as well.

  4. Save your changes.

  5. Apply your configuration changes by entering:

    # dpkg-reconfigure cue-web-2.8

You should now be able to duplicate content items using the Duplicate and Duplicate as context menu options in CUE.