Manage system configuration

Most configuration in the test bed is linked to specific communities and domains, and is managed respectively from the community management and domain management screens. Everything that is not covered by these screens is managed through the System administration screen that allows you, as test bed administrator, to manage the overall configuration of the test bed. To access it click the relevant link from the menu.

The displayed page allows you to:

Manage configuration settings

On the top of the screen you are presented with a panel listing the system configuration properties. These are properties that can for the most part be managed also through environment variables set as part of the test bed’s installation.

../_images/system_configuration.png

For each setting, you are presented with its name and description, followed by a status indicator that shows if the setting is enabled, and how it was set. The status indicates if the setting is enabled or disabled and may be followed by an additional postfix:

  • No postfix, means that the setting in question was made through this screen.

  • “Environment setting”, indicates this is set through an environment variable in the test bed’s installation configuration.

  • “Default setting”, indicates this is an overall default setting.

In terms of priority, a setting through this screen takes precedence over an environment variable, which is turn takes precedence over a default setting. Note that any setting applied through the current screen shall have immediate application as opposed to using an environment variable which would require a restart.

To edit any setting, click its row to expand its panel and reveal its controls. The specific controls depend on the selected setting but would typically include a means of enabling or disabling it, and if enabled, provide further information.

../_images/system_configuration_edit.png

The settings that can be managed through this screen are listed int he following table. The table also references relevant environment variables (if applicable) if you prefer to have these configured via the test bed’s installation script.

Setting

Description

Environment variable(s)

Default

Custom welcome page message

A custom text to display on the test bed’s welcome page.

Disabled

Demo account

An optional, non-administrator account that users can use to connect with from the login screen to execute demos.

DEMOS_ENABLED, DEMOS_ACCOUNT

Disabled

Email settings

Settings related to allow the test bed to send emails when applicable.

EMAIL_* variables

Disabled

Inactive account retention period

Whether inactive user accounts will be removed after a maximum retention period.

Disabled

REST API

Whether the test bed’s REST API is available.

AUTOMATION_API_ENABLED

Disabled

Self-registration

Whether users are allows to self-register for communities supporting self-registration.

REGISTRATION_ENABLED

Enabled

Test session timeout

A duration in seconds after which an active test session will be terminated.

None

Updating each setting is done individually through its relevant controls. All such controls include a Save button that you may click to persist your choice. Note that the overall settings panel can also be collapsed and expanded by clicking on its header.

Manage system administrators

To manage the system administrators, select the Administrators tab from beneath the settings panel.

../_images/system_configuration_admins_tab.png

Administrators are listed in a table with one row per user displaying the user’s name, email address (or username if integrated with EU Login) and status.

Note

User status: A user’s status is meaningful when the test bed is integrated with EU Login. A value of Inactive indicates a user that has not yet confirmed a role assignment whereas a value of Not migrated indicates a legacy account that has not been migrated to EU Login. In all other cases the user will be displayed as Active.

To create a new test bed administrator click on the Create system administrator button. Clicking on an existing row from the table allows you to edit the relevant user’s information.

The displayed screens and required information, both when you edit or create a new administrator, depend on whether or not the test bed is integrated with EU Login.

Case: EU Login

When creating an administrator you will be presented with a form to enter the user’s information.

../_images/admin_community_test_bed_administrators_create_eulogin.PNG

You are required to provide the email address of the user. This address needs to be the one that the user has linked to her EU Login account. Once you have created the user you will see that a new entry is added to the list of test bed administrators but for which there is no displayed name and the displayed status is Inactive. The name and status will be updated once this user has confirmed this role assignment.

To finish creating the user click Save, otherwise click Cancel to go back.

Editing an administrator’s details displays her information as readonly.

../_images/admin_community_test_bed_administrators_edit_eulogin.PNG

The information presented here is the user’s name, email, role, and status. From here you can delete the user by clicking on Delete unless this is your own account. Finally, clicking Back will return you to the previous screen.

Case: No EU Login

When creating an administrator you will be presented with a form to enter the user’s information.

../_images/admin_community_test_bed_administrators_create.PNG

In this form you are expected to provide the following information:

  • The administrator’s name (required), used in feedback submissions to the test bed.

  • The username (required), used to login.

  • The user’s password. The entered password is a “one-time” password which will need to be changed by the user upon his/her next login.

To complete the creation of the new administrator click on Save. Clicking Cancel discards changes and returns you to the previous screen.

When editing a user you see a similar screen, this time prefilled with the user’s information.

../_images/admin_community_test_bed_administrators_edit.PNG

The information presented here is the user’s name, username, role, and status, of which only the name is editable. To change the name edit the existing value and click on Update, whereas to delete the user click on Delete (unless this is your own account). Finally, clicking Back will discard any pending changes and return you to the previous screen.

In this form you may also choose to reset the user’s password. You can do this by checking the Set one-time password option which will display for you additional input fields to provide and confirm the new password. The password you enter is considered a “one-time” password meaning that the user will be forced to change it at his/her next login.

Manage default landing pages

To manage the default landing pages, select the Default landing pages tab from beneath the settings panel. Default landing pages are used by your communities if no community-specific landing page has been configured.

../_images/system_configuration_pages_tab.png

Adding a new landing page can be done in one of the following ways:

  • You can create a new landing page from scratch by clicking the Create landing page button.

  • You can copy one of the existing landing pages while editing its details.

Note

You can set a specific landing page for your own “admin organisation”. If none is set the default test bed landing page will be used.

Create landing page

When creating a new landing page you are presented with a form to enter its information.

../_images/system_landing_pages_create.png

If you are creating a landing page from scratch (i.e. you have clicked the Create landing page button), this form will be empty. Alternatively, if the landing page is being created as a copy of an existing one, the form will be prefilled.

The information you are expected to complete for the landing page is:

  • Its name (required), used in the list of landing pages and when selecting one for an organisation.

  • Its description (optional), presented to test bed and community administrators.

  • Whether or not it should be the default landing page for the community (default is “false”).

  • The landing page content, provided through a rich text editor, allowing you to add styled text, lists, images and links.

While editing the content of the landing page you can use the Preview button to preview how the landing page will look like before you save it. The preview is presented in a popup that is styled and positioned exactly as the landing page would appear when users log in. This allows you to fine tune aspects such as positioning and spacing to make sure the result is exactly how you expect it to be.

../_images/admin_community_landing_pages_preview.png

When you have finished defining the landing page you can complete its creation by clicking Save. Note that if you have set this as the new default landing page for the test bed you will also be prompted for confirmation considering that this will be immediately visible to all your users. Clicking on the Cancel button will discard pending changes and return to the previous screen.

Edit landing page

To edit an existing landing page click its corresponding row from the Landing pages table.

../_images/system_configuration_pages_tab.png

Doing so will take you to a screen where the landing page’s information is displayed in editable form fields.

../_images/system_landing_pages_edit.png

In this screen you can change the landing page’s name, description, default setting and content. Note that if the landing page is currently the default, this can’t be unset. To switch defaults you would need to edit or create another landing page and at that time set it as the new default. This is done to avoid misconfiguration where you could end up with no default landing page.

While editing the content of the landing page you can use the Preview button to preview how the landing page will look like before you save it. The preview is presented in a popup that is styled and positioned exactly as the landing page would appear when users log in. This allows you to fine tune aspects such as positioning and spacing to make sure the result is exactly how you expect it to be.

../_images/admin_community_landing_pages_preview.png

To persist any changes click on the Update button or discard them clicking on the Back button. The Delete button will, following confirmation, remove the landing page. Finally, the Copy button allows you to make a copy of this landing page, by taking you to the landing page creation screen prefilled with the current landing page’s information.

Manage default error templates

To manage the default error templates, select the Default error templates tab from beneath the settings panel. Default templates are used by your communities if no community-specific template has been configured.

../_images/system_configuration_templates_tab.png

Adding a new error template can be done in one of the following ways:

  • You can create a new template from scratch by clicking the Create error template button.

  • You can copy one of the community’s existing templates while editing its details.

Create error template

When creating a new error template you are presented with a form to enter its information.

../_images/system_templates_create.png

If you are creating an error template from scratch (i.e. you have clicked the Create error template button), this form will be empty. Alternatively, if the template is being created as a copy of an existing one, the form will be prefilled.

The information you are expected to complete for the error template is:

  • Its name (required), used in the list of templates and when selecting one for an organisation.

  • Its description (optional), presented to administrators.

  • Whether or not it should be the default template for the community (default is “false”).

  • The template’s content, provided through a rich text editor, allowing you to add styled text, lists, images and links.

When completing the content of the template you are also provided with two placeholders you can use that will be completed when an actual error is being treated:

  • $ERROR_DESCRIPTION: The error message text (a text value - may be empty).

  • $ERROR_ID: The error identifier (used to trace error in logs).

You can review and copy these placeholder values to your content using the Copy placeholder text button.

While editing the template’s content you can see a preview of what it would look like when used. To do so click the Preview button that will open an error popup using a sample error and your current template:

../_images/admin_community_error_templates_preview.PNG

When you have provided the required information you can complete the template’s creation by clicking Save. Note that if you have set this as the new default you will also be prompted for confirmation. Clicking on the Cancel button will discard pending changes and return to the previous screen.

Edit error template

To edit an existing error template click its corresponding row from the Error templates table.

../_images/system_configuration_templates_tab.png

Doing so will take you to a screen where the template’s information is displayed in editable form fields.

../_images/system_templates_edit.png

In this screen you can change the template’s name, description, default setting and content. Note that if the template is currently the default, this can’t be unset. To switch defaults you would need to edit or create another one and at that time set it as the new default. This is done to avoid misconfiguration where you could end up with no default error template.

When completing the content of the template you are also provided with two placeholders you can use that will be completed when an actual error is being treated:

  • $ERROR_DESCRIPTION: The error message text (a text value - may be empty).

  • $ERROR_ID: The error identifier (used to trace error in logs).

You can review and copy these placeholder values to your content using the Copy placeholder text button.

While editing the template’s content you can see a preview of what it would look like when used. To do so click the Preview button that will open an error popup using a sample error and your current template:

../_images/admin_community_error_templates_preview.PNG

Once you are finished click on the Update button to persist your changes or discard them clicking on the Back button. The Delete button will, following confirmation, remove the template. Finally, the Copy button allows you to make a copy of this error template, by taking you to the creation screen prefilled with the current template’s information.

Manage themes

As test bed administrator you can adapt the test bed’s look and feel to match your organisation’s needs. Look and feel settings are grouped into themes, allowing you to define multiple themes from which one will be set as the active one. Managing the test bed’s themes is done from the Themes tab.

../_images/system_configuration_themes_tab.png

By default, the test bed comes with two built-in themes that can be deactivated but not removed: a European Commission theme and a GITB theme. The GITB theme (identified by the key “gitb”) is the active one following a clean test bed installation. The active theme can be set through the user interface when editing a theme, or by setting the THEME environment variable to match a theme’s key.

All pre-configured and custom themes are listed in this tab, presenting for each one:

  • Its key, the unique identifier that can be used as the value of the THEME environment variable.

  • Its description, giving a brief explanation on the purpose of the theme.

  • Whether the theme is the active one.

Create theme

To create a new theme, click the Create theme button from the Themes tab.

../_images/system_configuration_themes_tab.png

Doing so will present a form in which you can define all the theme’s information and settings. The default settings for the theme are initialised based on the currently active one.

../_images/system_configuration_themes_create.png

The information you are expected to provide here is as follows:

  • The theme’s unique key and description.

  • Whether the theme should be the active one.

  • The theme’s colour set. For each setting here clicking the current colour will present a colour picker to choose the new value.

  • The theme’s images, including the header and footer logos, as well as the favicon. Images can be uploaded through the provided controls, downloaded and previewed.

Once you have completed the information and settings for the new theme, click on Save to persist your changes. If set as active, the new theme will be immediately applied to the test bed instance (other users will see the change upon their next login).

Note

New themes can also be made by selecting an existing theme and creating a copy of it.

Edit theme

To edit an existing theme click its row from the table presented in the Themes tab.

../_images/system_configuration_themes_tab.png

Doing so will present the theme’s information and settings.

../_images/system_configuration_themes_edit.png

The fields and controls in this form match those when creating a new theme. To persist any changes, as well as activate (or deactivate) the theme, click the Update button. You may also click the Copy button here to create a new theme based on the current theme’s settings.

If you selected one of the test bed’s predefined themes, its information and settings are presented as readonly information with a message to explain this.

../_images/system_configuration_themes_edit_readonly.png

You cannot update such a predefined theme but you can choose to Activate it (if inactive) by clicking the relevant button. You can also Copy the theme to create a new one based on its settings.