architecture-as-code icon indicating copy to clipboard operation
architecture-as-code copied to clipboard

Publish CALM to SchemaStore

Open rocketstack-matt opened this issue 1 year ago • 4 comments

Feature Request

Description of Problem:

We want to make it as easy as possible for people to use the CALM manifest, ideally developers IDEs would automatically recognise Architecture as Code manifests and apply autocomplete and validation.

Potential Solutions:

SchemaStore is a commonly adopted mechanism for publishing schemas, being well integrated to many common tools like IntelliJ and VS Code. Propose we start publishing our manifest via SchemaStore (details here).

  • We should decide whether we will contribute a copy of our schema into the SchemaStore repo or set it up as remotely hosted.
  • Suggest we agree a recommended file suffix (e.g. *.calm.json, *.calm.yaml, *.calm.yml) which will provide the simplest integration with the schema without developers needing to configure their IDEs.

Other potential options would be to simply self host (currently doing this and versioning via tags) but this provides less integration.

rocketstack-matt avatar Dec 21 '23 15:12 rocketstack-matt

I like the ideal of *.calm.(json/yaml/yml) as our format.

Budlee avatar Mar 05 '24 09:03 Budlee

We can submit a copy, however, I would have thought that we keep self hosting until we are ready with V1 that is agreed upon and then we submit it to the JSON Schema Store. Therefore I would think we close this and comeback to this question later down the line

Budlee avatar Mar 13 '24 10:03 Budlee

There is a remote hosting option, tbh I think that may be best even long term, it can even support multiple versions so would just mean an update to schemastore each time we add a new draft.

rocketstack-matt avatar Mar 13 '24 10:03 rocketstack-matt

I think we should consider removing this from the April milestone (which needs closing) as we aren't planning to do this quite yet given that we don't have a v1 yet.

willosborne avatar Jul 26 '24 14:07 willosborne

Superseded by publication to our our hosting service - http://calm.finos.org/draft

rocketstack-matt avatar Oct 16 '24 17:10 rocketstack-matt