๐ Management the blank service for the blanksystem.
From Lg Pentagon or lg5! Get Lg5-Spring to develop ฮผ-services faster.
For more information, check this pages https://lufgarciaqu.medium.com.
For full documentation visit the Wiki.
More details and Repository.
Install 1/1: Setup JDK 21.
sdk use java 21.0.2-amzn
Install 1/2: Install the dependencies in your project.
mvn clean install
Use the infra repository blank-infra to deploy with K8s
- blank-acceptance-test
- blank-api
- blank-container
- blank-data-access
- blank-domain
- blank-external
- blank-message
Using makefile
๐ To start the Kafka Cluster and Postgres.
make docker-up
โ๏ธ To the Kafka Cluster and Postgres stop or destroy:
make docker-down
๐ To start the blank Service.
make run-app
๐ blank API, Port:8181
Username:
None
Password:None
๐ PgAdmin, Port:5013
Username:
blanksystem@db.com
Password:blanksystem-db
๐ Kafka UI, Port:9080
Username:
None
Password:None
If you add a new Avro model, REMEMBER execute avro model again.
make run-avro-model
This project is prepared to send log files and process visualization with filebeat. You can specify the directory for stored the *.log files. Now, genera two file logs.
Simple log
- [log.path]/[application_name]-simple.log
Complex log
- [log.path]/[application_name]-complex.log
- Specify the directory with
log.path
property.
Simple: Simple details about application logs.
Complex: More details about application logs.
โ Checkstyle 1/4: configuration that checks the Google coding conventions from Google Java Style.
make run-checkstyle
๐งช Running Unit Test 2/4: Using JUnit 5.
make run-unit-test
๐พ Running Integration Test 3/4: Using Test Containers, JUnit 5 and Rest-Assured.
make run-integration-test
๐ฅRunning Acceptance Test 4/4: Using Cucumber, Test Containers, JUnit 5 and Rest-Assured.
make run-acceptance-test
๐งช Run a Unit Test
make run-ut-spec TEST_NAME=BlankMessageListenerImplTestDetails:
make run-ut-spec TEST_NAME=[TestNameTest]
๐พRun an Integration Test
make run-it-spec TEST_NAME=OtherRepositoryITDetails:
make run-it-spec TEST_NAME=[TestNameTest|TestNameIT]
๐ฅ Run an Acceptance Test
make run-at-spec TEST_NAME=AcceptanceTestCaseDetails:
make run-at-spec TEST_NAME=[TestNameAcceptanceT]
โ ๏ธ Any Test: Be careful, this option is slower.make run-test-spec TEST_NAME=BlankMessageListenerImplTestDetails:
make run-test-spec TEST_NAME=[TestNameTest|TestNameIT|TestNameAcceptanceT]
You can show the Acceptance Test Report Online.
The MIT License (MIT). Please see License for more information.