Developers Guide
Total Page:16
File Type:pdf, Size:1020Kb
Developers Guide Copyright (c) 2015-2019 The OpenNMS Group, Inc. OpenNMS Meridian 2017.1.26, Last updated 2020-09-01 19:13:44 UTC Table of Contents 1. Setup a development system . 1 1.1. Operating System / Environment . 1 1.2. Installation . 1 1.3. Tooling . 3 1.4. Useful links . 3 1.4.1. General . 3 1.4.2. Installation / Setup . 3 2. Topology . 4 2.1. Info Panel Items . 4 2.1.1. Programmatic . 4 2.1.2. Scriptable . 5 2.2. GraphML . 9 2.2.1. Create/Update/Delete GraphML Topology . 10 2.2.2. Supported Attributes . 11 2.2.3. Focus Strategies . 12 2.2.4. Icons. 12 2.2.5. Vertex Status Provider . 13 2.2.6. Edge Status Provider . 13 2.2.7. Layers . 14 2.2.8. Breadcrumbs . 16 3. CORS Support . 20 3.1. Why do I need CORS support? . 20 3.2. How can I enable CORS support? . 20 3.3. How can I configure CORS support? . 20 4. ReST API . 21 4.1. ReST URL . 21 4.2. Authentication . 21 4.3. Data format . 21 4.4. Standard Parameters . 21 4.5. Standard filter examples . 22 4.6. HTTP Return Codes . 23 4.7. Identifying Resources . 23 4.8. Currently Implemented Interfaces . 24 4.8.1. Acknowledgements . 24 4.8.2. Alarm Statistics . 25 4.8.3. Alarms . 25 4.8.4. Events . 26 4.8.5. Categories . 27 4.8.6. Foreign Sources . 28 4.8.7. Groups . 29 4.8.8. Heatmap . 30 4.8.9. Categories . 31 4.8.10. KSC Reports . 32 4.8.11. Maps . 32 4.8.12. Measurements API . 33 4.8.13. Nodes. 37 4.8.14. Notifications . 39 4.8.15. Outage Timelines . 39 4.8.16. Outages . 39 4.8.17. Requisitions . 40 4.8.18. Resources API . ..