Getting started with the console

Who can sign in

The subscription console is reserved for platform administrators: accounts that hold the realm role ROLE_ADMIN in a platform realm (mla by default). Signing in goes through the gateway, which sends you to the sign-in page of the mla realm; Keycloak reuses the session already open in the browser when there is one.

Once you are signed in, the console checks your account:

Situation What you see What you can do
Your account does not hold ROLE_ADMIN. The Access restricted page: “Subscription is reserved for MLAdvisory administrators, and your account does not have that role.” Log out, or contact your support team.
The sign-in was interrupted before it finished (after signing out, or by leaving the sign-in page). The Sign-in did not complete page. Sign in again.
The platform did not answer when your session was checked. An error page: “The service is unavailable right now. Try again in a moment.” Reload the page a little later.

The Access restricted page only offers the user menu with Sign out.

Note

The Support console has its own access rules: users who are not platform administrators can open it. See Support console.

Every other page of the console, profile and settings included, requires the ROLE_ADMIN role. The subscription service applies the same rule to its own APIs: a platform administrator is a token issued by a platform realm that carries the ROLE_ADMIN role, spelt exactly so. A ROLE_ADMIN role given in a client’s realm is not enough.

The screen layout

The screen is made of:

  • on the left, the logo and the name Subscription, which lead back to the home page, then the left menu;
  • at the top, the top bar;
  • in the middle, the open page;
  • at the bottom, a footer with the logo, “MLA Solutions”, the copyright and the console’s version.

The top bar

From left to right, the top bar holds:

  • the chevron button (Show or hide the menu) that collapses or expands the left menu;
  • the breadcrumb: the open page (Home on the home page), then the current action (New, Detail, Edit…). Its earlier items are links;
  • the help menu (question mark), with Online documentation (see The built-in help);
  • the language choice, which shows the code of the current language (FR or EN) (see Language);
  • the live updates indicator;
  • your account’s photo, or an icon, and your name (your e-mail when there is no name). They open the Profile, Settings and Sign out menu.

The left menu

The menu has four groups:

Group Entries
Tenant management Client and Tenants, Users, Access history, Support console, Purge
Reglab Platform Services, Plans, Features
Services Configuration Crawler, Notifications, Library, Reference Data
Supervision DPM Kafka work

Each entry has its own page in this manual:

The home page

The home page is titled Contract and Subscription Management System, with the subtitle “Empowering User Roles and Permissions”.

The header offers two shortcuts:

  • New user opens the user creation form (see Users);
  • New tenant opens the tenant creation form (see Client and Tenants).

The page then shows:

  • the Tenant management part, with four tiles: Tenants, Users, Services and Plans. Each tile shows how many items there are and opens the matching list. The tenant count leaves out deleted tenants and temporary ones (the test tenants created with a lifetime). A tile stays without a count when its list could not be read;
  • the Crawler part: the status of the last run, the number of Publications, New at the last run, the Next run (or Off) and the date of the last run. Go to the Crawler opens the Crawler page;
  • the Library part, with the Common documents tile and their count (see Library);
  • the Reference data part, with the Cubes tile (see Reference Data).

Lists and forms

The list pages of the console all work the same way:

  • the Global search… box filters the list as you type;
  • the column headers marked with an arrow sort the list;
  • the paginator, above the list, shows “Showing x to y of n entries” and lets you choose the number of rows per page;
  • the ⋮ menu of a row offers View, Edit and Delete;
  • the check boxes select rows; the toolbar’s Delete button deletes the selection, after a confirmation.

A bulk delete sends one request per item. Once every answer is in, a message says “n deleted, m refused” and names the refused items (“Refused: …”). The list is then read again.

In the forms:

  • a required field left empty shows “This field is required.”;
  • Save stays greyed out until the form is valid;
  • Back leaves the form without saving;
  • after a successful save, a confirmation message shows at the bottom of the screen;
  • leaving a form that holds unsaved changes opens the Unsaved changes dialog: “Your changes are not saved. Leave this page and lose them?”, with Leave without saving and Stay on the page. Reloading or closing the tab triggers the browser’s warning.

The Description fields use a rich text editor: heading, bold, italic, underline, strike, lists, link, quote, code block and Remove formatting.

When the server refuses an action, the page shows an error banner that gives the reason.

The profile

Profile, in the menu under your name, opens your account’s page.

  • The header gives your name, your login and the note “account managed by the sign-in directory”: the account is changed in Keycloak, not in the console. The Log out button ends the session.
  • The Identity card shows First name, Last name, Mail and Authorities (your account’s roles, ROLE_ADMIN included).
  • The Preferences card offers the Interface language (Français or English): “Applied at once and kept for your next sessions.”

The settings

Settings, in the menu under your name, opens a page with three tabs: User settings, Services and Master key.

The Services tab

The Services tab shows whether the platform’s services answer, and which version runs.

  • The summary says “All n services are up” or “m of n services unreachable”. Each card reads the service’s /actuator/info through the gateway. Refresh reads every card again; the time of the last read is shown (“Read at …”).
  • The cards are grouped:
    • Platform: Console (this application), Gateway, Subscription, Admin;
    • Regulatory reporting: IRRC, DPM, Reporting engine;
    • Library: Library, Crawler;
    • Shared services: Notification, Referential.
  • Each card shows the status Up, Unreachable or Reading, then the version, the build date (Built) and the Commit, with its branch and a button to copy the commit id. An Unreachable card explains: “No answer through the gateway: the service is down, restarting, or not deployed here.”

The Master key tab

The Master key tab is used during a rotation of subscription’s master key, the key that encrypts the tenants’ credentials. It is read only: the keys themselves are never shown.

  • A banner sums up the situation, for example “Every tenant credential is on key …”, “Key … no longer encrypts anything” or “Key … still encrypts n value(s)”, with what to do.
  • The table lists each Key, its Status (Current, Still in use, Can be removed, Missing from Vault, or Pre-v2 format (key 0)) and the number of Values it encrypts.
  • Refresh reads the state again.

Rotating and removing a key are done in Vault, following the runbook rotation-cle-maitre-subscription in the documentation repository.

Live updates

While you are signed in, the console keeps an event stream open with the subscription service. The Crawler, Library and Support console pages update themselves when an event concerns them.

An indicator in the top bar shows the state of the stream; its tooltip spells it out:

Indicator Tooltip Meaning
Green “Live updates: connected” The stream is open.
Orange “Live updates: reconnecting” The stream has been down for more than 5 seconds.
Red “Live updates interrupted — data refreshes every 30 s” The stream has been down for more than a minute.

A shorter outage does not change the indicator. It does not show until the first connection is made.

Language

The console exists in French and English. Change the language:

  • with the language choice in the top bar (Français or English, the current language is ticked);
  • or with Interface language on the Profile page.

The change applies at once and subscription keeps it for your next sessions. With no saved choice and no language on your account, the console shows in English.

The built-in help

Online documentation, in the help menu (question mark), opens a panel on the right with a short guide to the console, in the current language (in English otherwise). When the guide has several sections, a Contents list leads to them. If the guide cannot be loaded, the panel says so: “The documentation could not be loaded.”