Execution in local machine:
export GRADLE_OPTS="-Xmx4096m -Dorg.gradle.daemon=false"
./gradlew nativeCompile
build/native/nativeCompile/test-native-app -Dspring.profiles.active=dev
Execution in docker:
docker build -t iundarigun/native .
docker run --rm -p 1980:8080 -e SPRING_PROFILES_ACTIVE=docker -e UNIVERSITY_URL=http://universities.hipolabs.com iundarigun/native
-
Simple get endpoint returning string ✅
-
Simple get endpoint returning string using profiles ✅
-
Simple get endpoint returning an object ✅
-
simple get endpoint returning an object across Service ✅
-
simple get endpoint returning an object across Service adding Lombok ✅
-
simple post endpoint adding an object across Service ✅
-
simple post endpoint with @Valid to add an object across Service ✅
-
Add swagger ✅
-
simple get and post endpoint with snake_case ✅
-
Add mapstruct ✅
-
Add dockerfile ✅
- Issues: need to add
GRADLE_OPTS="-Xmx4096m -Dorg.gradle.daemon=false"
in the dockerfile to avoid compilation errors (out of memory)
- Issues: need to add
-
database ✅
- Issues: need to add
export GRADLE_OPTS="-Xmx4096m -Dorg.gradle.daemon=false"
before compile in local
- Issues: need to add
-
database @CreatedDate and @LastModifiedDate ✅
- Unsolved issue -> local compile is not working -> GC exception
-
flyway ✅
-
Feign to call external endpoint ✅
-
configure url by env vars ✅
-
security basic username and password ✅
-
kafka ✅
-
security with jwt