Open arvindh123 opened 1 month ago
Constraint Provider
service is a new service
Entity service will check with constraint provider service before its operation
Example:
constraint provider
for limits
before creation of entity
constraint provider
for rate limits and message per second before the publish or subscribe of message. In this approach , since constraint provider is a separate service, we can move them to API Gateway in future
Constraint Provider
as library , which can wrapped with service layer like logging and metrics .
Constraint Provider
will be like a middleware. So when ever service request pass through constraint provider
, it will check for constraint provided in configuration file.
Example:
constraint provider
middleware will check for limits
before creation of entity
.constraint provider
for rate limits and message per second before the publish or subscribe of message. Constraint Provider
implementation in Database as Trigger.
Whenever service starts, it should get configuration from source and create new trigger in database.
A configuration can be stored in
TOML
file Stripe
configuration should load to memory on start. If there is any change in configuration source data, it should automatically update the configuration memory on the fly.
Is your feature request related to a problem? Please describe.
No
Describe the feature you are requesting, as well as the possible use case(s) for it.
Service configuration helps to configure the service as per user need.
Indicate the importance of this feature to you.
Must-have
Anything else?
No response