-
Notifications
You must be signed in to change notification settings - Fork 2
ADR for billing system #144
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please structure the ADR document as described in https://kb.vshn.ch/app-catalog/adr/0001-architecture-decision-records.html
Other than that, I like the proposal and I think that could work. I'm a bit unsure about storing the events in CRDs because of the volume, maybe you want to test that a bit more and see where the limitations are.
Up to several thousands CRs I don't see an issue. And if we use one CR per service and not per event we are quite good to go. We could even generate this CR in comp-functions and later be consumed by the controller thus it will be just another object in a service. If we arrive to have hundreds of services, we will gonna have more limitations from stackgres and from kube objects (crossplane) then this CR alone. |
@zugao Mind adding a bit more context to the ADR? I think an example of a creation and a deletion event in the "Context" section would help to set the stage on what events we have to send to Odoo for a better understanding. Also an important detail: The |
I added a complete example and the reasoning behind the custom resource in the Decision section. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nits here and there and a few questions, but all in all, I quite like it and I think we can go this way.
d8e5507
to
cac94cc
Compare
In the implementation phase, we also have to figure out where to get the information for We do store some of the required data as labels and annotations in the organization namespace on the control-plane via the Servala Portal. |
Summary
This ADR presents solutions for our new Event-Based BIlling
Checklist
change
,decision
,requirement/quality
,requirement/functional
,dependency
as they show up in the changelog