Skip to content

batatinha-delivery/java-oss-test

Repository files navigation

teste-oss-java


Local environment

run docker-compose up to start database and migration.

Metadata

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.

Monitoring

"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.

Logs

Review your logs according standard log levels.

You MUST NOT log sensitive information in ANY circumstances, for more information see: Sensitive Information.

Resilience

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.

Database

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.

Feature flags

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.

Business audit

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages