Repository navigation
Releases: mmahacek/PyONMS
Releases · mmahacek/PyONMS
Release list
v0.1.4
[0.1.4] 2026-05-12
- Split
requirements.txtto just the necessary packages for operation and createdrequirements-dev.txtfor development. - Update pyproject to use
requirements.txtfor dependencies. - Fix processing of
Infoendpoint services. - Update pytest to use environment variables for server credentials.
- Address pylint and mypy findings.
- [Development Tool] Docker Compose file for creating test Horizon instance.
Full Changelog: v0.1.3...v0.1.4
v0.1.3
[0.1.3] 2024-02-26
What's Changed
- Revert nodes get functions to default components to
NodeComponents.NONEinstead ofALL. - Added
Enlkindendpoint and models. - Update local testing/linting configuration.
- Add testing for
utilsmethods. - Add
mypyfor type checking during development. - Add
pyonms.utils.check_ip_address()to validate IP addresses. - Fix type hint for
models.Info'sversionanddatetimeformatConfigattributes. - Rename all
_to_dict()methods toto_dict(). Added stub method reference to keep backward compatibility.
Full Changelog: v0.1.2...v0.1.3
v0.1.2
What's Changed
- Updated
ApiPayloadErrorexception to trigger when API returns HTTP 400+.
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Breaking Change
- Add
ApiPayloadErrorexception when API returns HTTP 500-599. Previously many error responses were steamrolled over.
What's Changed
- Renamed internal
uriparameters to beurl. - Deprecate
MethodNotImplementedexception. Replaced with baseNotImplementedError. - Docstring updates to satisfy pylint.
- Prevent
Event.idfrom being sent as part of the event payload when posting to theeventsendpoint. - Update
get_foreign_sources()andget_requisitions()to no longer use custom_get()method. Endpoint._put()method now returns theRequests.Responseobject instead of null.- Tweaks to testing framework settings.
- Added
NodeComponents.NONEoption. - Fix type hint on
Endpoint_post.dataattribute. - Add Node/IP/Service metadata modification to the
Nodesendpoint.
Full Changelog: v0.0.13...v0.0.14
v0.0.13
v0.0.12
v0.0.11
What's Changed
- Add lastAutomationTime and firstAutomationTime parameters to the Alarm model
- Apply pylint suggestions
- Add option to set a timeout for REST calls
- Slightly improve error handling on some REST calls
Full Changelog: v0.0.10...v0.0.11
v0.0.10
Potentially Breaking Change
- If a GET call returns an error 500, previously we suppressed the error and returned a
Nonevalue. Now we will raise anInvalidValueErrorexception and print out the error message.
What's Changed
- Added User Defined Link endpoint
- Requisition endpoint updates
- Added category add/remove methods
- Ability to merge existing and new node if adding interfaces
- Added method to send just one node to a requisition via REST
- Event model rework - converted parameters from list to dict
- Update
reload_daemonmethod to use new event model - Add FIQL support to alarms, events, and nodes
- For
get_alarms,get_events, andget_nodesmethods, you can add afiqlparameter to specify a valid search.
- For
- Option to ignore SSL certs
Full Changelog: v0.0.9...v0.0.10
v0.0.9
What's Changed
- Fix event object to_dict() method
- Add OnmsMonitoredService status enum values
- Add list of running daemons to Info object
- Update alarm object to handle situation fields
- Check for valid daemon name in reload_daemon()
- Add support for creating/updating/deleting User Defined Links
- Fix handling for non-JSON responses
- Import/type hint/doc updates
Full Changelog: v0.0.8...v0.0.9
v0.0.8
What's Changed
Full Changelog: v0.0.6...v0.0.8