canonical / ops-reactive-interface

Helper for operator-framework focused interface libraries to be used in reactive charms
Apache License 2.0
2 stars 2 forks source link

Helper for operator-framework focused interface libraries to be used in reactive charms #1

Closed johnsca closed 3 years ago

johnsca commented 4 years ago

Library to allow interface API libraries designed primarily for the operator framework to be registered with the legacy reactive framework so that they can be used in reactive charms with minimal effort on the interface API library maintainer (primarily just by implementing a manage_flags method which will only be called when used in a reactive charm). The docs now contain a complete, albeit simple, example of how this is intended to be used.

This depends on https://github.com/juju-solutions/charms.reactive/pull/227 (but can use it from the branch until it's released).

Things that are missing / known to be broken:

johnsca commented 4 years ago

I'll have to sort out the GitHub Workflow issue for the integration test, but I did get a passing run locally, at least:

========== 1 passed in 753.61s (0:12:33) ==========
_____________________ summary _____________________
  integration: commands succeeded
  congratulations :)