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 (11)

View Page History
Petals Cockpit is a web interface to administrate a set of Petals ESB topologies.

It is a Java standalone server application running as backend, which serves over HTTPS an Angular 2 5 frontend application that will run in the browser.

From the web interface, users can connect to running instances of Petals containers and then administrate and deploy artifacts on them. The backend uses a data base to hold all persistent informations, like users and workspaces.

{warning}
The installation directory from ZIP archive and compiled sources contains :
* *{_}conf{_}* directory which contains the *config.yml* server configuration file
* *{_}db{_}* directory which contains the generated *cockpit.mv.db* and *cockpit.trace.db* data base files.
* *{_}lib{_}* directory which contains the *petals-cockpit-X.X.X-capsule.jar* application jarfile.
* *{_}logs{_}* directory which contains the log files generated at runtime.
The server is based on *Dropwizard*, you should find more informations about configuration [on their website.|http://www.dropwizard.io]



h3. Application connector

h3. Database

This section allows you to choose which data base the backend will use.

You can specify the adress, driver and user/password to connect to the data base.

{code}

* *logging.level* is the global level for the application output, it controls directly what will be found in *logging.appenders.type: file* (_./logs/cockpit.log_)
* *logging.appenders.threshold *(under type: console) is the level that will be displayed in the console from all sources ( except from _org.ow2.petals.cockpit.server.\*_ ). Cannot be set lower than global level.
* *logging.loggers* allows to set specific loggers at independent levels. Here you can set any specific java class or package to the desired level on top of the rest.

Example:

Adding an a non admin user without workspace

{code}


When connecting to the web application, you have to log in. Type in your *username * and \*password *to *username* and *password* to do so.

<img login>
h3. Adding the first user with token

If no user are present in the data base, a dialog box will allow you tu add one. You will have to use the token provided by the backend (if you used the link&nbsp;*\{ip\}:\{port\}/setup?token=\{token\}*&nbsp;the link *\{ip\}:\{port\}/setup?token=\{token\}*&nbsp;the token field will be pre-filled). You must fill the remaining \*username, password*&nbsp;and&nbsp;*&nbsp;name*&nbsp;fields *username*, *password* and *name* fields to be able to add the user. You will the be redirected to the login page.

<img login token>
h3. Adding a new user

By clicking on "ADD A NEW USER" you can open a form to ass add a new user. Type in his&nbsp;*username*, his *username*, *name* and *password*; and click "ADD" to add him.

h3. Managing existing users