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