Import the connectors into runtime registry
In this lesson, you import the connectors into the runtime environment registry.
Procedure
To import the connectors into the runtime registry, run the following
commands:
-
docker cp ProfitMarginSchemaUpdateConnector.json bvt_registry_1:/opt/nifi-registry/flows/.
-
docker cp ProfitMarginDatabaseConnectorPipe.json bvt_registry_1:/opt/nifi-registry/flows/.
-
docker exec -it bvt_registry_1 bash
-
/opt/nifi-registry/scripts/import_flow.sh ProfitMarginSchemaUpdateConnector /opt/nifi-registry/flows/ProfitMarginSchemaUpdateConnector.json
-
/opt/nifi-registry/scripts/import_flow.sh ProfitMarginDatabaseConnectorPipe /opt/nifi-registry/flows/ProfitMarginDatabaseConnectorPipe.json
Example
Important: Refer to the following sample profit margin JSON connector
files, depending on the version of HCL Commerce that you are
deploying.
- For versions 9.1.4.0 to 9.1.5.0, download and extract SampleVersionedConnectors914.zip.
- For version 9.1.6.0 and greater, download and extract SampleVersionedConnectors916.zip.