Display Installed Modules and Features
On a running instance, you can list the installed modules and their states using the Felix web console at https://localhost:8443/system/console/bundles
.
As a security precaution you should remove the Felix web console bundle in a production deployment.
Alternatively, you can query the enabled features over REST. The feature availability service determines the set of possible features from the active bundles, and provides the following information:
The name and
_id
of the featureWhether the feature is enabled
If the feature is enabled, the REST endpoint on which that feature can be accessed
You can query the available features on the info/features
endpoint, for example:
curl \ --header "X-OpenIDM-Username: openidm-admin" \ --header "X-OpenIDM-Password: openidm-admin" \ --header "Accept-API-Version: resource=1.0" \ --request GET \ "http://localhost:8080/openidm/info/features?_queryFilter=true"
{ "result": [ { "_id": "retrieveUsername", "name": "retrieveUsername", "enabled": false, "endpoints": [] }, { "_id": "identityProviders", "name": "identityProviders", "enabled": true, "endpoints": [ "identityProviders" ] }, { "_id": "workflow", "name": "workflow", "enabled": true, "endpoints": [ "workflow*" ] }, { "_id": "passwordReset", "name": "passwordReset", "enabled": false, "endpoints": [] }, { "_id": "registration", "name": "registration", "enabled": true, "endpoints": [ "selfservice/registration" ] }, { "_id": "email", "name": "email", "enabled": false, "endpoints": [] } ], ... }