Two simple endpoints exposed by WildFly Swarm using JPA, JAX-RS and CDI
Developed mainly to be consumed by a BPMN2 process. More info here.
Electrical and Structural permits can be in status INPROGRESS
,APPROVED
or DENIED
.
- Maven
- Java 8
- Sollar Vilage Model Jar installed
mvn wildfly-swarm:run
APIs will be available at:
GET http//localhost:8080/electricalpermit/{id}
GET http//localhost:8080/structuralpermit/{id}
PUT http//localhost:8080/electricalpermit/{id}/{status}
PUT http//localhost:8080/structuralpermit/{id}/{status}