AtlasOfLivingAustralia / ala-admin-plugin

Grails plugin containing common administrative functionality like reloading config files or displaying system messages
Other
0 stars 0 forks source link

Optionally store outage message external to host (via service) #9

Open nickdos opened 3 years ago

nickdos commented 3 years ago

For applications that are run in a load-balanced group, changing the outage message is a real PITA, as it requires you to manually set IP addresses for individual hosts. Turning them off again requires running through the same hoops and thus it tends to be skipped.

This enhancement would allow the settings and message (JSON payload for outage functionality) to be stored and requested from an externally hosted service (possibly hosted by userdetails). It would require:

Alternative to hosted service using JSON, would be to tie into any shared Session store already used by the load-balanced apps. This seems more brittle as we might have load-balanced apps that are completely stateless and thus have no requirement for storing Session data across nodes.