Add a custom topology in the deployed Apache Knox Gateway
How to add a custom service to a custom topology in Knox proxy via Cloudera Manager.
In this example, we are going to add a custom service
custom-topology with the
ProviderConfigRef: a string representing a reference of an existing share-provider. We will use the pre-configured pam provider.
Version: the service’s version, e.g.
URL: the service URL, e.g.
Service parameter: a sample service parameter, e.g.
Knox Gateway Advanced Configuration Snippet (Safety Valve) for conf/cdp-resources.xmlas follows: , add a new entry in
Name = custom-topology Value =providerConfigRef=pam# MY_SERVICE:version=1.0.0# MY_SERVICE:url=https://sampleHost:1234# MY_SERVICE:myCustomServiceParameter=myValue Description = This is a custom topology with one service called MY_SERVICE
- Save your changes.
The ‘Refresh needed’ stale configuration indicator appears; click it and wait
until the refresh process finishes.
Validate that the operation was successful by going to the following URL: