Petals Cockpit 0.22.0-SNAPSHOT

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History
When a container is selected in Petals tree, containers views are displayed in the right frame. Two tabs are available: container *OVERVIEW* and *OPERATIONS*, they are explained in the container view section.

There are also optional subsections under each container (*COMPONENTS*, *SERVICE ASSEMBLIES* and *SHARED LIBRARIES*) that will appear in the Petals tree if one of the corresponding artifact is deployed on the container.

h2. Container overview ? views


h3. Container overview

This view displays:
* An *{_}About{_}* card that shows the IP and Port used to connect to the container (via JMX RMI)
* A *{_}System info{_}* card that displays information returned by the container
* A *{_}Container reachabilities{_}* card that displays a graph of this container topology and the reachabilities of containers. Clicking on a container node will select it in the graph; displaying IP and Port of selected container, and a button _View this container_ jumping to the selected container overview. 

h3. Container operations

Cockpit can be used as artifact server to deploy artifacts on a container. The files will first be uploaded to cockpit backend, which will in turn serve them (via an http server) to the container in order to deploy them. If you are experiencing issues connecting a container and the backend see the _Artifact server_ section in _configuration file_.

h4. Deploying a component

By clicking on the _CHOOSE A FILE_ button in the _COMPONENT DEPLOYMENT_ card, you can select a component to deploy on the container.

<img: component deploy>

In the top yellow box you can see the file to be uploaded. You can cancel the deploy by clicking either on the cross at the right end of the yellow box or on the _cancel_ button at the bottom of the deploy card.

In the _EDIT INFORMATION_&nbsp;card you can override the name of the component (that the container will use to identify this component).

You can also see the list of shared libraries required by the component, and if they are already deployed on this container. By clicking on the _Override Shared Libraries_ icon (the one with a book stack) you can open a popup to override the resuired shared libraries.

Overriding the component informations means altering its jbi.xml file before deploying it. Use this only if you are certain of the requirement of the component.

When all information are in order, you can deploy the component by clicking the _UPLOAD_&nbsp;button.

h5. Overriding required shared libraries of a component

<img: override component sl>

h4. Deploying a service assembly

By clicking on the&nbsp;_CHOOSE A FILE_&nbsp;button in the&nbsp;_SERVICE ASSEMBLY DEPLOYMENT_&nbsp;card, you can select a service assembly to deploy on the container.


h4. Deploying a shared library

By clicking on the&nbsp;_CHOOSE A FILE_&nbsp;button in the&nbsp;_SHARED LIBRARY DEPLOYMENT_&nbsp;card, you can select a shared library to deploy on the container.