Skip to content

Releases: mmahacek/PyONMS

v0.1.4

Choose a tag to compare

@mmahacek mmahacek released this 13 May 00:39
671c0c8

[0.1.4] 2026-05-12

  • Split requirements.txt to just the necessary packages for operation and created requirements-dev.txt for development.
  • Update pyproject to use requirements.txt for dependencies.
  • Fix processing of Info endpoint 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

Choose a tag to compare

@mmahacek mmahacek released this 26 Feb 20:14
f229a05

[0.1.3] 2024-02-26

What's Changed

  • Revert nodes get functions to default components to NodeComponents.NONE instead of ALL.
  • Added Enlkind endpoint and models.
  • Update local testing/linting configuration.
  • Add testing for utils methods.
  • Add mypy for type checking during development.
  • Add pyonms.utils.check_ip_address() to validate IP addresses.
  • Fix type hint for models.Info's version and datetimeformatConfig attributes.
  • Rename all _to_dict() methods to to_dict(). Added stub method reference to keep backward compatibility.

Full Changelog: v0.1.2...v0.1.3

v0.1.2

Choose a tag to compare

@mmahacek mmahacek released this 21 Dec 22:55
7d01ee3

What's Changed

  • Updated ApiPayloadError exception to trigger when API returns HTTP 400+.

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@mmahacek mmahacek released this 21 Dec 22:22
bea15bf

Breaking Change

  • Add ApiPayloadError exception when API returns HTTP 500-599. Previously many error responses were steamrolled over.

What's Changed

  • Renamed internal uri parameters to be url.
  • Deprecate MethodNotImplemented exception. Replaced with base NotImplementedError.
  • Docstring updates to satisfy pylint.
  • Prevent Event.id from being sent as part of the event payload when posting to the events endpoint.
  • Update get_foreign_sources() and get_requisitions() to no longer use custom _get() method.
  • Endpoint._put() method now returns the Requests.Response object instead of null.
  • Tweaks to testing framework settings.
  • Added NodeComponents.NONE option.
  • Fix type hint on Endpoint_post.data attribute.
  • Add Node/IP/Service metadata modification to the Nodes endpoint.

Full Changelog: v0.0.13...v0.0.14

v0.0.13

Choose a tag to compare

@mmahacek mmahacek released this 01 Dec 17:59
cd741ef

What's Changed

Full Changelog: v0.0.12...v0.0.13

v0.0.12

Choose a tag to compare

@mmahacek mmahacek released this 01 Dec 04:08
eba5a15

What's Changed

Full Changelog: v0.0.11...v0.0.12

v0.0.11

Choose a tag to compare

@mmahacek mmahacek released this 29 Nov 19:18
db13367

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

Choose a tag to compare

@mmahacek mmahacek released this 11 Sep 23:29
18b5c5f

Potentially Breaking Change

  • If a GET call returns an error 500, previously we suppressed the error and returned a None value. Now we will raise an InvalidValueError exception 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_daemon method to use new event model
  • Add FIQL support to alarms, events, and nodes
    • For get_alarms, get_events, and get_nodes methods, you can add a fiql parameter to specify a valid search.
  • Option to ignore SSL certs

Full Changelog: v0.0.9...v0.0.10

v0.0.9

Choose a tag to compare

@mmahacek mmahacek released this 02 Aug 23:13
f0eaf11

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

Choose a tag to compare

@mmahacek mmahacek released this 12 Apr 01:29
d53f742

What's Changed

Full Changelog: v0.0.6...v0.0.8