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.9/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. Create a file called /etc/escenic/cue-web-2.9/content-duplication-service.yml, open it in an editor and add the following content:

    enrichmentServices:
      - name: "Duplicate Service"
        href: "http://myhost:8082/contentDuplicationService"
        title: "Duplicate Service"
        triggers:
          - name: "on-duplicate"
            properties: {}
    
    authorizedEndpoints:
      - "http://myhost:8082/"
    
    extendedContextMenuItems:
      - name: "duplicate-service"
        title: "Duplicate"
        trigger: "on-duplicate"
      - name: "duplicate-as-service"
        title: "Duplicate as ..."
        trigger: "on-duplicate"

    where myhost is your CUE host's domain name.

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

  3. Save the configuration file.

  4. Apply your configuration changes by entering:

    # dpkg-reconfigure cue-web-2.9

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