Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping service to domain instead of multiple services versions to domain. #912

Open
kucjac opened this issue Oct 25, 2024 · 2 comments
Open

Comments

@kucjac
Copy link

kucjac commented Oct 25, 2024

Use Case

In real life dynamic system a new service version is being release quite often. Currently EventCatalog requires mapping each service version to a domain. This might be very difficult or even impossible to follow all the changes in a live system. On the other hand, different service versions are not located in different domains.

Proposed Solution

What if a mapping of domain - service doesn't depend on the service version. Instead a service should be an independent abstraction which might have multiple versions. This way mapping services might be much easier and more natural.

Implementation Notes

No response

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.
  • If this issue is labeled needs-discussion, it means the spec has not been finalized yet. Please reach out in the EventCatalog Discord.
@kucjac kucjac changed the title Multiple services to domain with multiple service versions. Mapping multiple services versions to domain. Oct 26, 2024
@kucjac kucjac changed the title Mapping multiple services versions to domain. Mapping service to domain instead of multiple services versions to domain. Oct 26, 2024
@XaaXaaX
Copy link
Contributor

XaaXaaX commented Oct 27, 2024

@kucjac
seems fair to me , can you elaborate your idea?
i assume as today a domain has a collection of services inside its markdown each service is identified by a combination of id and version.

Does this cause any problem?

@boyney123
Copy link
Collaborator

Hey @kucjac

Thanks for reaching out. Do you have your services within your domains? /domain/A/services/B? or do you have /domains and /services folders?

Also the version is optional for the frontmatter. If you do not specify a version then your domain will always pick the latest version of that service? Does this help?

Without understanding more it's hard to advice, but I'm happy to have a 30min call if you fancy it where I can learn more of your problems and advice you/get feedback? https://calendly.com/boyneyy123/30min might be easier?

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

No branches or pull requests

3 participants