Enabling additional features

You can enable or disable a feature according to your requirement and ensure minimizing unwanted CPU usage and memory storage.

Before you begin

Update the productmaster_instance CR file.

About this task

Following are the additional features that you can enable by using the productmaster_instance CR file.
Digital Asset Management (DAM)
Property - enable_dam
Associated services - MongoDB
Service prerequisite - Installing MongoDB for Product Master
Machine learning (ML)
Property - enable_ml
Associated services - IBM MQ, GDS
Service prerequisite - Installing MongoDB for Product Master
Global Data Synchronization (GDS)
Property - enable_gds
Associated services - Magento-connector, Messagearchive
Service prerequisite - Enabling external MQ service
Magento connector services
Property - enable_magento
Associated services - MongoDB
Single sign-on (SSO)
Property - enable_sso
Vendor portal
Property - enable_vendor
IBM Watson Knowledge Catalog service
Property - enable_wkc

Procedure

  1. Check the CR name by using the following command.
    # oc get productmaster
    Example output
    NAME        READY
    productmaster-CR    True
  2. Edit the CR file by using the following command.
    $ oc edit productmaster productmaster-cr
    creationTimestamp: "<>"
        generation: <>
        labels:
            app. kubernetes. io/instance: ibm-cpd-productmaster-operator
            app. kubernetes. io/managed-by ibm-cpd-productmaster-operator
            app. kubernetes.io/name: ibm-cpd-productmaster-operator
        name: productmaster-cr
        namespace: ${PROJECT_CPD_INST_OPERANDS}
        resourceVersion: "<>"
        uid: <>
    spec:
        autoScaleConfig: false
        blockStorageClass: <>
        enable_dam: <>
        enable_gds: <>
        enable_magento: <>
        enable_ml: <>
        enable_mountmgr: <>
        enable_sso: 0
        enable_vendor: <>
        enable_wkc: <>
        fileStorageClass: <>
        gds_company_name: <>
        gds_datapool_gln: "<>"
        gds_self_gln: "<>"
        license:
    
  3. To enable a particular feature, change the value of the associated property to 1. To disable, revert the value of the associated property to 0.
  4. Add service-specific entries in the app-secret file as described in the Step 3.