Task #881
closedAdd gui warning for H2
100%
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
Related issues
Updated by Radek Tomiška almost 7 years ago
- Priority changed from Normal to Low
- Target version deleted (
Garnet (7.7.0))
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
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?)...
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.).
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.
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.
Updated by Radek Tomiška over 6 years ago
All configured properties can be found in confinguration (System -> Configuration).
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.
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.).
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.
Updated by Vít Švanda over 6 years ago
- File Selection_124.png Selection_124.png added
That property already exists "spring.datasource.url".
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.
Updated by Radek Tomiška over 3 years ago
- Related to Feature #1865: IdM monitoring added
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
Implemeted together with #1865.
Could you provide me a feedback, please?
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.
Updated by Radek Tomiška over 3 years ago
- Status changed from Resolved to Closed