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 bootRunIn order to close the database
./gradlew composeDown
See the migration
./gradlew liquibase diffGenerate the migration 2.
./gradlew liquibase diffChangelogExecute migration 3.
./gradlew liquibase updateDue to an unresolved issue you must remove the line with content
-- liquibase formatted sqlthat is generated with each migration
Memory tests
./gradlew testMemoryH2 tests
./gradlew testH2Database tests
./gradlew testDB
./gradlew build -x test
- CI/CD