Project

General

Profile

Actions

Task #881

closed

Add gui warning for H2

Added by Petr Michal about 7 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Radek Tomiška
Category:
Frontend
Target version:
Start date:
12/19/2017
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Please, add constant information into main panel of CzechIdM when its using H2.

Same information as it is now for developlment profile, something like "non-persistent mode".


Files

Selection_124.png (42.7 KB) Selection_124.png Vít Švanda, 03/29/2018 01:33 PM

Related issues

Related to IdStory Identity Manager - Feature #1865: IdM monitoringClosedRadek Tomiška09/19/2019

Actions
Actions #1

Updated by Radek Tomiška almost 7 years ago

  • Priority changed from Normal to Low
  • Target version deleted (Garnet (7.7.0))
Actions #2

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from New to Rejected

After consult behavior with H2 database, we desiced that in FE will not be alert with H2 warning, in future will be implemented some alerts with necessary configurations item like crypt key, h2 connection and etc.

For next time is probably better use this installation guide:
https://wiki.czechidm.com/tutorial/adm/server_preparation?s[]=instalace
and
https://proj.bcvsolutions.eu/ngidm/doku.php?id=help:czechidm_server_install_guide

Actions #3

Updated by Marcel Poul almost 7 years ago

I see 2 different issues in this ticket

1) Install guide that exist also as installation checklist. Plese Petr Fišer, can you merge these two docs. The aim is that there is only one install guide/checklist available (even as downloadable .doc). Otherwise we will sooner or later come across the same situation that one of the document is not up to date.

2) Be able to easily see that IdM is using non persistent DB. It this I agree with Petr Michal. Everyone can make a mistake in configuration and now it is not obvious, that I do not run proper DB. Flag similar to "test" in GUI would really help.

To prevent this, checklist should also have something like basic checks - 7 to 10 points to check after the installation is done like: * server reboot after which idm is running and has all data, * server is running proper DB (create and delete user and check in DB?)...

Actions #4

Updated by Radek Tomiška almost 7 years ago

Development / Test environment label is shown on FE (it's loaded from property file + profile).

I think we have more than one configuration, which can be potentially dangerous (h2, default crypt key, default attachment storage ...) as Ondra says. So some universal mechanism for dangerous configuration item will be created (and it's needed to implement alert closing - i don't want to see this alerts on demo installations all time etc.).

Actions #5

Updated by Marcel Poul over 6 years ago

  • Status changed from Rejected to New
  • Assignee changed from Radek Tomiška to Vladimír Kotýnek

re-opening this ticket on Vlada request.

Actions #6

Updated by Vladimír Kotýnek over 6 years ago

I don't need an alert panel in the middle of the screen saying "Warning! You're running on H2 repository! Everything you do will be lost after restart!", I just need some way to determine in GUI whether is the IdM using H2 or a persisted DB. Might be just some kind of "info" property in profiles using H2 or something like that.

Actions #7

Updated by Radek Tomiška over 6 years ago

All configured properties can be found in confinguration (System -> Configuration).

Actions #8

Updated by Vladimír Kotýnek over 6 years ago

Is there any property saying that the application is using H2 or is not using PostgreSQL? If not please add such property to all the default profiles using H2. Thanks.

Actions #9

Updated by Radek Tomiška over 6 years ago

I think we have more than one configuration, which can be potentially dangerous (h2, default crypt key, default attachment storage ...) as Ondra says. So some universal mechanism for dangerous configuration item will be created (and it's needed to implement alert closing - i don't want to see this alerts on demo installations all time etc.).

Actions #10

Updated by Vladimír Kotýnek over 6 years ago

But I'm not looking for an universal mechanism to warn admin that a potentially dangerous configuration is loaded. And as I said previously, no popping alert message is requested. I just want to know - as the title says - in GUI (might be in configurations) whether is the application running on the H2 DB or on PostgreSQL, nothing more, nothing less.

Actions #11

Updated by Vít Švanda over 6 years ago

That property already exists "spring.datasource.url".

Actions #12

Updated by Petr Fišer over 6 years ago

We could add this in a similar way the "Development" label is added to the right upper corner of the GUI when running under dev profile. This is unobtrusive and visible at the same time.

Actions #13

Updated by Radek Tomiška over 3 years ago

Actions #14

Updated by Radek Tomiška over 3 years ago

  • Status changed from New to Needs feedback
  • Assignee changed from Vladimír Kotýnek to Vít Švanda
  • Target version set to 11.1.0
  • % Done changed from 0 to 90
Actions #15

Updated by Vít Švanda over 3 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100

I did review and tested it. Thnaks for this nice monitoring probe.

Actions #16

Updated by Radek Tomiška over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF