fishey2 / java-component-template

A template project for Java based projects with Spring Boot 2, Gradle, Logback and JUnit5
MIT License
7 stars 0 forks source link

Add JPA/Hibernate with simple initial schema for PostgreSQL database #17

Open fishey2 opened 4 years ago

fishey2 commented 4 years ago

Add JPA/Hibernate with simple initial schema for PostgreSQL database

Acceptance Criteria: Given that the Spring App is running And that the database is running And that the message queue is running When I call the POST /message endpoint with a message Then it will put the message in the 'message' table And it will record the current correlationId

Given that the Spring App is running And that the database is running When I call the GET /message/{correlationId} endpoint Then it will return the message from the 'message' table