run docker-compose up
to start database and migration.
This boilerplate is compliance with IRC-MTDT, IRC-LOG, IRC-DTB, IRC-WATCH, IRC-FAIL, FT-FTOGGLE and IRC-BAS but in case of changes reviews the standards and always keep the spec.contents[*].certifications
updated.
if any Standards is not applicable, define as NOT_APPLICABLE in spec.contents[*].certifications
.
"You Build it, you Run it"
You MUST create a documentation page for Production Management and add this documentation in metadata certifications.
You MUST follow monitoring standards for new projects to configure monitoring and alerts for your use case.
Review your logs according standard log levels.
You MUST NOT log sensitive information in ANY circumstances, for more information see: Sensitive Information.
As suggested on IRC, review all timeouts configurations and circuit breakers configurations (application.yaml
-> resilience4j.circuitbreaker
).
Define your fallback strategy, for this example the ifood.boilerplate.fallback.FallbackPublisher
will be called in failure case.
Read IRC-DTB and check application.yaml
, application-dev.yaml
and application-prod.yaml
configurations to your service use case.
Request on #database-architecture
channel for new database to your service and change jdbc.url
properties in application-dev.yaml
, application-prod.yaml
files.
Review jdbc.username
property with is a correct database user and jdbc.password
is the same name of Vault key.
- RFC - Feature Toggles
- IRC-FTOGGLE | iFood Feature Toggles
- Feature Flags: Walkthrough for Applications
by default, the feature-flags sdk use a configuration file in /toggles/feature-toggles.properties
.
All flags inserted in the FeatureFlag enum must be registered in Tompero. For canary deployment, all flags must be registered for serviceName-canary
.
By default, a business audit is enabled and it depends on the local Kafka (localhost:9092
), you can disable in business.audit.disable:true
property (application.yaml
).
For development
and production
environments, request Kafka topic credentials for this project by following: Kafka Credentials for Business Audit