If You or your team want to have your own screen for their services this is how to proceed:
-
create a file in the
mobitor-webapp
repository in the directory:mobitor-webapp/mobitor-application/src/main/resources/screen
-
name the file:
screen-<number>.json
. Any integer is allowed, avoid leading zeros.
Examples: screen-1.json, screen-42.json, screen-22031.json
You must use numbers. All files matchin this pattern will automatically be included during startup.
The automatically generated screens should use letters as their screenConfigKey. The files above will use the number as their screenConfigKey. -
Add all the configuration sections for all the plugins and information blocks you want to see on the screen. Have a look at the screen.json files in the test sources for some examples.
The mobitor-webapp
project contains quite some unit tests to verify all configured screens are consistent. If you added
a new screen-<number>.json file and a mvn install
is successful, the Mobitor will usually start. If not: must be a
buggy feature (please report it).