This is a Work in Progress replication of the existing api-core service for oipie implemented in Java.
- 🐳 Docker
- ☕️ Java 17
- 💡 IntelliJ Idea or another code editor
- ☕ ️Java
17
- 🌱 Spring-boot
2.7.6
- 🐘 Gradle
7.5.1
- 🧪 Rest-assured
5.3.0
- 𝌏 Liquibase
4.17.2
- ✏️ Checkstyle
10.5.0
- Set Env vars
Initialize the database and the service 2.
./gradlew bootRun
In order to close the database
./gradlew composeDown
See the migration
./gradlew liquibase diff
Generate the migration 2.
./gradlew liquibase diffChangelog
Execute migration 3.
./gradlew liquibase update
Due to an unresolved issue you must remove the line with content
-- liquibase formatted sql
that is generated with each migration
Memory tests
./gradlew testMemory
H2 tests
./gradlew testH2
Database tests
./gradlew testDB
./gradlew build -x test
- CI/CD