Skip to content

Add interface schemata and docs for service-mesh interfaces #534

Description

@james-garner-canonical

When we landed the service-mesh interface libraries, we didn't add interface docs and metadata at that time. #533 highlights the need for accurate interface metadata -- in particular, we need to be sure we have the canonical interface name exactly right.


The libraries touched by #533 should all have the following files added at minimum:

  • interface/v0/README.md
  • interface/v0/interface.yaml

These should follow the format of the files found in https://github.com/canonical/charmlibs/tree/main/interfaces/istio_metadata/interface/v0


Ideally we'd also add Pydantic schemas at the same time. These should follow the lightweight format of https://github.com/canonical/charmlibs/blob/main/interfaces/istio_metadata/src/charmlibs/interfaces/istio_metadata/_schema.py

They don't need to be symlinks into the libraries (though they could be) -- copies of any schema classes from the libraries are perfectly acceptable.


While these files can all technically be added with only review from the service-mesh team as codeowners of the libraries, I'd appreciate being pinged for review on them too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docsImprovements or additions to documentationinterface-metadataRelated to interface specifications specifically.team-service-meshMaintained by the canonical/service-mesh team.

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions