Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.3 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.3 KB

test

Prerequisites

How to build & run

Development way

  • run ./gradlew build
  • run ./gradle bootRun
  • send some data to make sure that server works echo -e "MATCH(n) RETURN n;\r" | nc localhost 9999

Build for production

  • run ./gradlew bootJar will cook fat jar (single file with all dependecies inside)

How to run with modified settings

To provide specific config run

  • java -jar build/libs/neoj4-warmup-proxy-0.0.1-SNAPSHOT.jar --spring.config.location=/path/to/config

Or change single property like port number

  • java -jar build/libs/neoj4-warmup-proxy-0.0.1-SNAPSHOT.jar --server.socketPort=11111

How to get code coverage

  • run ./gradlew jacocoTestReport
  • open build/reports/coverage/index.html

Spring experience