Replies: 2 comments
-
|
Hum ... 🤔 I have some concerns regarding this ...
In a nutshell, I would say that we already have solutions to address this kind of situation, and I am not keen on adding more complexity to address organizational issues. I'd prefer to keep working on keeping Microcks lean and easier to deploy to avoid having people slowed down by deployment problems. What do you think? |
Beta Was this translation helpful? Give feedback.
-
|
Large organizations usually work with separate environments (PROD, QAT, etc.). In such cases, they often prefer to deploy one or more Microcks instances per environment. (With a promotion process). The highest performing organizations (aligned with DORA metrics) typically rely on the CLI upload command rather than import. This approach supports overrides during merges, similar to GitOps repository practices. They may also use Review Apps created from pull requests. But, at the code level, mature organizations generally adopt API versioning (via headers, parameters, or URLs), all validation will be as soon as possible (CI). I think all the features make it possible to address a wide range of scenarios. I have my own preferences, and perhaps I don't see certain limitations. It's only my opinion ! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Context
Currently, Microcks allows importing specification files either:
In many teams, OpenAPI or AsyncAPI specs are versioned alongside the application code:
mainbranch contains the validated and production-ready specs.gitGraph commit id: "Init repo" tag: "v1.0" branch feature/new-endpoint commit id: "Add preview spec (preview-PR-113)" checkout main merge feature/new-endpoint tag: "v1.1"Problem
When importing preview specs from feature branches, we risk:
Proposal
Enable or document a first-class integration pattern for branch-based spec previews, where:
my-api:1.2-feature-new-endpoint).main, the final import updates the canonical version of the API (e.g.my-api:1.2).Trigger
This discussion originates from efforts to integrate Microcks into the To be Continuous ecosystem.
The ongoing integration work at to-be-continuous/microcks raised the need for a way to handle branch-based preview specs in Microcks as part of CI/CD pipelines.
Beta Was this translation helpful? Give feedback.
All reactions