Skip to main content

Serialized Data Interface for Juju Operators

Project description

Serialized Interface Library

https://pypi.org/project/serialized-data-interface/

This libraries enables its user to create serialized and validated Juju Operator interfaces.

An interface Schema will be defined through YAML e.g:

v1:
  provides:
    type: object
    properties:
      access-key:
        type: string
      namespace:
        type: ['string', 'null']
      port:
        type: number
      secret-key:
        type: string
      secure:
        type: boolean
      service:
        type: string
    required:
      - access-key
      - port
      - secret-key
      - secure
      - service

When our charms interchange data, this library will validate the data through the schema on both ends.

Real World Example

TODO

  • Currently only provides data to App relations, should also support unit relations.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

serialized_data_interface-0.2.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

serialized_data_interface-0.2.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file serialized_data_interface-0.2.1.tar.gz.

File metadata

  • Download URL: serialized_data_interface-0.2.1.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.4 Linux/5.11.0-16-generic

File hashes

Hashes for serialized_data_interface-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d07a5ded1f20f0e5f6fd37edb6ff6a93c23f287d262e7ea781d3d06862ae8dc8
MD5 931ca3bc9751d1c3d8eebe17d7aa68f1
BLAKE2b-256 f522871f9b9ecd35fbba53f5aecaf9b7d45f7a2d7012702fa742998c3fbb1281

See more details on using hashes here.

File details

Details for the file serialized_data_interface-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for serialized_data_interface-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 537a39d2532df5a55a8c3b10cf22dec60c1905ea5f32eb5c51c9892b7e550484
MD5 6a877c16b58402b8467326f2e3c8a352
BLAKE2b-256 dfd0a7b5ee765275a3493f83a44496e83a1ac6bb1c928a44c00f735ec527a2b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page