Geographical map on index page is by default empty
Description
Acceptance / Success Criteria
Lucidchart Diagrams
Activity

David Hustace February 9, 2017 at 12:09 PM
Sounds good.

Markus von Rüden February 9, 2017 at 12:00 PM
1. is covered in
2nd: I decided to go with "Regional Status" as the status can be calculated either based on Alarms or Outages. The default strategy is Alarms and can now be configured in opennms.properties
3rd: I decided to set the default severity to Normal instead of Warning. It is configurable in opennms.properties though.
The PR for 2nd and 3rd is here: https://github.com/OpenNMS/opennms/pull/1286

David Hustace February 7, 2017 at 1:01 PMEdited
Yes, I agree and have commented many times that we should just quickly add a provisioning adapter that does the geocoding and remove that the the Vaadin app. That is a 19+ thing but definitely don't delay the status on the main page with the geo-encoding of addresses.
I also agree that the component should be renamed on the status page. The component should be called: "Regional Alarms".
Finally, if there are no alarms or if there are no nodes with alarms having lat/long information, then the default tiles should be displayed.

Markus von Rüden February 7, 2017 at 3:40 AM
We need s input here. He wanted me to implement it exactly the way it is now. Assigning to you and waiting for further instructions.

Alejandro Galue February 3, 2017 at 1:02 PM
Makes perfect sense. And I agree that we should modify the node provisioner to do the address-to-coordinates translation, as not even the full map we should do it (too much resources when you have thousands of nodes, that could even pass the allowed daily amount of requests against the Google Maps API without paying).
For now, I think that for the index page, if there are no alarms, the page should shows nothing (as it is right now). Also, it should be renamed to something like "Alarms Geo-Map" or something different than "Service Availability", because it is not related to just outages.
The default filter for the geographical map on the start page is set to warning. It is quite confusing having an empty geo map on the status page. The SLM category table tells everything about all nodes and services, how many services do I have and how many of them are down. The default filter with Warning breaks the overall status view behaviour on the start page.
I would prefer to set the default filter to Normal.