Creating and configuring federated repositories | HCL Digital Experience

Add your custom repository to the default federated repositories. You must implement a custom registry adapter so that HCL Portal can access the repository. After you implement your custom registry adapter, you must define several parameters for your environment and run a task to add your repository to the federated repositories.

Before you begin

You must create a custom user registry adapter before you create your repository. To create the user registry adapter, implement the wim.Repository interface. Refer to the WebSphere® Application Server documentation for information and instructions.

About this task

Procedure

  1. Perform the following steps to create a federated repository:
    1. Open wkplc.properties with any text editor from the following directory:
    2. Specify values for the following parameters under the VMM Federated CUR Properties heading:
      • federated.cur.id
      • federated.cur.adapterClassName
      • federated.cur.baseDN
      • federated.cur.isExtIdUnique
      • federated.cur.supportExternalName
      • federated.cur.supportPaging
      • federated.cur.supportSorting
      • federated.cur.supportTransactions
    3. Save and close wkplc.properties.
    4. Run the following task from the wp_profile_root/ConfigEngine directory:
      • Windows: ConfigEngine.bat wp-create-cur -DWasPassword=password
      • AIX®SolarisLinux: ./ConfigEngine.sh wp-create-cur -DWasPassword=password
      • IBM® i: ConfigEngine.sh wp-create-cur -DWasPassword=password
    5. Restart the HCL Portal server.
  2. Perform the following steps to create custom properties for your federated repository:
    1. Open wkplc.properties with any text editor from the following directory:
    2. Specify values for the following parameters under the VMM Federated CUR Properties heading in wkplc.properties:
      • cur.id
      • cur.name
      • cur.value
    3. Save and close wkplc.properties.
    4. Run the following task from the wp_profile_root/ConfigEngine directory:
      • Windows: ConfigEngine.bat wp-create-cur-custom-property -DWasPassword=password
      • AIX®SolarisLinux: ./ConfigEngine.sh wp-create-cur-custom-property -DWasPassword=password
      • IBM® i: ConfigEngine.sh wp-create-cur-custom-property -DWasPassword=password
    5. Restart the HCL Portal server.