The Discovery Details section of the Admin UI for working with descriptors includes a drop-down list of supported discovery providers (e.g., Ambari, ClouderaManager). Currently, this list is statically defined in the Admin UI. It should be possible to expose an API from the Knox host for determining the list of supported discovery providers.
This API could leverage the same Java service loader mechanism that is used by the discovery runtime to load discovery providers.
This would be nice for two closely-related reasons:
- Subsequent additional discovery providers implemented in the Knox project itself won't require further Admin UI changes.
- User/Customer discovery provider extensions would get Admin UI support automatically.