apache-airflow-providers-opsgenie

Package apache-airflow-providers-opsgenie

Opsgenie

Release: 3.0.0

Provider package

This is a provider package for opsgenie provider. All classes for this provider package are in airflow.providers.opsgenie python package.

Installation

You can install this package on top of an existing Airflow 2.1+ installation via pip install apache-airflow-providers-opsgenie

PIP requirements

PIP package

Version required

apache-airflow

>=2.1.0

opsgenie-sdk

>=2.1.5

Changelog

3.0.0

Breaking changes

OpsgenieAlertHook constructor does not take additional arguments or keyword arguments anymore. Changed the return type of OpsgenieAlertHook.get_conn to return an opsgenie_sdk.AlertApi object instead of a requests.Session object. Removed the OpsegnieAlertHook.execute method and replaced it with OpsegnieAlertHook.create_alert it now returns an opsgenie_sdk.SuccessResponse object instead of an Any type. OpsgenieAlertHook now takes visible_to instead of visibleTo key in the payload. OpsgenieAlertHook now takes request_id instead of requestId key in the payload.

  • Add 'OpsgenieCloseAlertOperator' (#20488)

  • Organize Opsgenie provider classes (#20454)

  • rewrite opsgenie alert hook with official python sdk, related issue #18641 (#20263)

  • Rename 'OpsgenieAlertOperator' to 'OpsgenieCreateAlertOperator' (#20514)

2.0.1

Misc

  • Optimise connection importing for Airflow 2.2.0

2.0.0

Breaking changes

  • Auto-apply apply_default decorator (#15667)

Warning

Due to apply_default decorator removal, this version of the provider requires Airflow 2.1.0+. If your Airflow version is < 2.1.0, and you want to install this provider version, first upgrade Airflow to at least version 2.1.0. Otherwise your Airflow package version will be upgraded automatically and you will have to manually run airflow upgrade db to complete the migration.

Bug Fixes

  • Fix hooks extended from http hook (#16109)

1.0.2

Bug Fixes

  • Fix type hints in OpsgenieAlertOperator (#14637)

1.0.1

Updated documentation and readme files.

1.0.0

Initial version of the provider.

Was this entry helpful?