The
list-components task lists all component instances that
are managed by the Component Instance Manager. Executing the task returns a
list of all managed components in the CAS Service.
The syntax for this task is:
component-manager-cmd list-components [-h HostName] [-p PortNumber] [-l true|false]
where:
-h(or--host) specifies the host where the Component Instance Manager is running. If the flag is omitted, the default is the value of thecom.endeca.itl.cas.server.hostproperty incommandline.properties. If the property is not set, the value then defaults tolocalhost. Optional.-p(or--port) specifies the port of the Component Instance Manager. If the flag is omitted, the default is the value of thecom.endeca.itl.cas.server.portproperty incommandline.properties. If the property is not set, the value then defaults to8500. Optional.-l(or--isPortSsl) specifies whether to communicate with the service using an HTTPS connection. A value oftrueuses HTTPS and treats thecom.endeca.itl.cas.server.portproperty as an SSL port. A value offalseuses HTTP and treatscom.endeca.itl.cas.server.portas a non-SSL port. Specifyfalseif you enabled redirects from a non-SSL port to an SSL port. Optional.
To list components:
Example 23. Example of listing components
This example lists the Record Store instances and Dimension Value Id Manager for a sample application running in the CAS Service:
C:\Endeca\CAS\<version>\bin>component-manager-cmd.bat list-components NAME TYPE STATUS ebizsampleapp-trigger-dimensions RecordStore RUNNING ebizsampleapp-products RecordStore RUNNING ebizsampleapp-dimension-value-id-manager DimensionValueIdManager RUNNING ebizsampleapp-category-dimension RecordStore RUNNING
If no components have been created, the
list-components task returns the following:
No components have been provisioned.

