The data-platform-libs
charm provides a set of charm libraries which offers
convenience methods for interacting with charmed databases, but also writing you
own database consuming application charms, through relations
This charm is not meant to be deployed itself, and is used as a mechanism for hosting libraries only.
This charm is not intended to be deployed. It is a container for standalone charm libraries, which can be managed using charmcraft fetch-lib
(ref.
link), after which they may be imported and used as normal charms. For example:
charmcraft fetch-lib charms.data_platform_libs.v0.database_requires
Following are the libraries available in this repository:
database_provides
- a library that offers custom events and methods for provider-side of the relation (e.g. mysql)database_requires
- a library that offers custom events and methods for requirer-side of the relation (e.g. wordpress)
The charms from the tests/integration
folder aren't meant to be used for anything beyond testing and example code. They serve as examples of how to use the charm libraries.
Please see the Juju SDK docs for guidelines on enhancements to this
charm following best practice guidelines, and CONTRIBUTING.md
for developer guidance.