/penr-oz-springapi-kong

Kong API gateway integration example with Spring API

Primary LanguageJavaMIT LicenseMIT

Kong API gateway integration example with Spring API

Reference Documentation

For further reference, please consider the following sections:

Build

$ ./gradlew build

Run

$ docker-compose up penr-oz-springapi-kong

Use

try

Debug

docker-compose.override.yml

version: '3'
services:
  penr-oz-springapi-kong:
    entrypoint: java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:5005
    ports:
      - "5005:5005"

then

$ docker-compose up penr-oz-springapi-kong

finally use your favorite IDE to put breakpoints and connect to debugger e.g. Intellij Remote Java which requires a correct local JDK installed.

Stop

$ docker-compose stop

Clean

$ docker-compose down

Check/Health

docker-compose ps