Petals Cockpit 0.22.0-SNAPSHOT

compared with
Current by Alexandre LAGANE
on Mar 20, 2020 13:57.

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

Changes (10)

View Page History



h3. Application connector

# Use the following syntax to create the new keystore with a self-signed certificate:
{code}keytool -genkey -alias <alias> -keyalg RSA -keystore <keystore_filename>{code}
# Create a certificate signing request using the following syntax, and then send the certificate request to the Certificate Authority you are using.
{code}keytool -certreq -alias <alias> -keyalg RSA -file <csr_output_file> -keystore <keystore_filename>{code}
Procedure may then vary depending to your Certificate Authority, follow their instructions.
h4. Adding user and workspace

The *add-user* command allows you to add a user.

Since version 1.16 :

* when adding LDAP user, name is fetched from LDAP server (argument is forbidden)
* when workspace name is specified, if a workspace with similar name exists, the user is added to it
* when workspace name is specified, permissions can be set (false if omitted)

|| Argument || Short argument || Optionnal || Default || Description ||
| \--username | \-u | no | \- | The user's id, also his login. |
| \--name | \-n | yes/no \\ | \- | The name under which the user will appear. Required only for non-LDAP users. \\ |
| \--password | \-p | yes/no | \- | The user's password. Required only for non-LDAP users. |
| \--admin | \-a | yes | \- | Whether the user will be added as an admin or not. |
| \--ldapUser | \-l | yes | \- | Whether the user to add is an LDAP user or not. |
| \--workspacename | \-w | yes | \- | The user's workspace. Which will be created if no workspace with similar name exists, and set as current workspace for the user. |
| \--adminWorkspace \\ | \-A\\ | yes\\ | false\\ | Workspace permission to manage workspace users permissions. Require \-w.\\ |
| \--deployArtifact | \-D\\ | yes\\ | false\\ | Workspace permission to deploy artifact on workspace. Require \-w.\\ |
| \--lifecycleArtifact | \-L\\ | yes\\ | false\\ | Workspace permission to manage artifacts lifecycles. Require \-w.\\ |
Example:

$ ./petals-cockpit.sh add-user -u myUserName -n myName -p myPassword
{code}

Adding a non admin user with workspace and 2 permissions

{code}
$ ./petals-cockpit.sh add-user --username myUserName --name myName -p myPassword -w myWorkspace -A --deployArtifact
{code}

Adding an admin user with workspace


{code}
$ ./petals-cockpit.sh add-user --username myUserName --name myName -l -a
{code}




Components are visible on Petals tree under the _COMPONENTS_ category for each container. When a component is selected, its view is displayed in the right frame. Two tabs are available: component *OVERVIEW* and *OPERATIONS*, they are explained in the [Component views|#Component views|Component views] section.