Customizing Product Master

Instead of creating a custom image, you can use default image for deployment and then proceed with customization.

During deployment process, fixed set of directories get created and you need to copy your modified (custom) files to the specific directories. For more information see Customizing the Docker container topic in the Product Master documentation.

Enabling Global Data Synchronization (GDS)

To enable GDS, add the following properties in the productmaster_instance CR.
  • gds_datapool_glen - The Global Location Number (GLN®) of the datapool service.
  • gds_self_gln -The GLN of the trading partner that is using this application.
  • gds_company_name - Name of the company where GDS is to be configured or used.
cat <<EOF |oc apply -f
apiVersion: productmaster.cpd.ibm.com/v1
kind: ProductMaster
metadata:
  name: productmaster-cr
  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
spec:
  version: "3.2.0"
  scaleConfig: small
  license:
    accept: false
  shutdown: false
  autoScaleConfig: false
  fileStorageClass: <file storage name>
  blockStorageClass: <block storage name>
#Specify for GDS service
  gds_datapool_gln: ""
  gds_self_gln: ""
  gds_company_name: <gds company name>