Releases: OpenNMS/opennms-js
Releases · OpenNMS/opennms-js
OpenNMS.js v1.0.0
This is the first official release of OpenNMS.js.
OpenNMS.js currently supports a subset of the OpenNMS ReST API:
- query alarms, events, and nodes (including complex queries against OpenNMS Horizon 21+ and Meridian 2017+)
- acknowledge, escalate, and clear alarms
- create, update, and close trouble tickets against an alarm
- create, update, and delete alarm sticky memos
- create, update, and delete alarm journal memos
Changes since 1.0.0-beta.1
Bug Fixes
- api: add missing modules to API export (53fad98)
- api: add workaround for Error init + clean up docs (6f7a4ab)
- dao: Map troubleTicketState properly (JS-24) (86fc298)
- dao: URL-encode FIQL values (NMS-9578) (9a335e8)
- rest: Do not reset headers when headers defined (2f360fd)
- rest: Do not set responseType on request (0c2b6f4)
- rest: Use err.data.response if exists as message (4875b9c)
- rest: use negative offset for dates to work around a server issue (abdfc0b)
Features
- alarms: expose a link to the alarm details page (HELM-55) (8795818)
- api: add metadata call to detect ticketer config support (bf0255b)
- api: Include ticketer configuration. JS-17 (2728734)
- dao: Add capability to fetch values from alarm v2 endpoint (JS-22) (637443f)
- dao: Add more complex null value handling for v2 (JS-20) (7817b4a)
- dao: add user parameter to unack (JS-19) (90c128d)
- dao: expose the event label and locations (HELM-13) (3395039)
- dao: Include troubleTicketLink if defined (JS-23) (7420218)
- dao: support dates in query parameters (JS-15) (d9884b6)
- internal: add utility methods for dealing with dates (c40450b)
- rest: Improve OnmsError object and GrafanaHttp error handling (72d6e32)
- rest: only parse requests on success (JS-13) (aa9257d)
OpenNMS.js v1.0.0-beta.1
Bug Fixes
- api: fix comparator matching (6897389)
- api: handle Meridian properly in useJson (740cdf1)
- dao: fix handling of 204s in Grafana - the data is null (55028cb)
- js-10: Handle single alarm (xml) result properly (544c174)
- js-12: Make breakpoints work (13fb9ae)
- log: bump logging of missing count down to DEBUG (00b3e1b)
- rest: fix clonedeep import in the CLI (e2e9d79)
- rest: fix crash when options is undefined in getServer (7768b48)
- rest: make sure passed options don't leak (9b9dee4)
- rest: only set up global if it exists (eg, Node.js, not browser) (7a1b2c3
) - rest: webpack still needs to fake global for browsers (8f7fa5a)
Features
- alarms: add support for manipulating journal and sticky memos (875e268)
- alarms: implement ticket create/update/close (93ff386)
- api: add "ISNULL" alias to comparator (3a243a5)
- api: consider 202 a successful HTTP response (d21e5e1)
- api: static method for matching a comparator (df90751)
- cli: add --version, also a warning about passwords (1c07be9)
- cli: make a cli bundle in dist/ (02298d7)
- dao: add alarm setTTicketId/setTTicketState (bb429f6)
- dao: add ReSTv2 support to event and node DAOs (c524493)
- dao: implement querying ReSTv2 search properties (a588325)
- dao: Include comparators and values (JS-11) (9ad41d2)
- dao: use JSON against modern (19+) OpenNMS instead of XML (c17db2c)
- rest: add POST support (d3af9e2)
- rest: return a useful OnmsResult on error (094399c)
OpenNMS.js v0.1.0-alpha.3
Bug Fixes
- browser: fix error when using the dev .js file in a browser (ee7d22a)
- cli: only attempt to read the configuration file if it exists (2339c6d)
- dao: handle single-entry array responses (6c66be6)
- rest: fix axios include handling (e461831)
- rest: fix handling of XML data in node (70fd445)
- rest: generate a node version with webpack (58d2938)
- v2: consider the server type when comparing the version numbers (e2c03ee)
- v2: fix handling of 204 codes (a352ea8)
- v2: remove the implicit wildcards (4940010)
Features
OpenNMS.js v0.1.0-alpha.2
re-released with an updated version for npmjs
OpenNMS.js v0.1.0-alpha.1
initial alpha release 0.1.0-alpha.1