This service is meant to create, store, return and update mappings of input and abstractions to services.
- Query for mappings
- Get mapping by label and type combination.
- Get all mappings
- Create mapping
- Update mapping
- Delete mapping by ID.
To run from docker:
- Make sure that the Docker is installed and running.
- Assemble this project. Or
./gradlew assemblefrom terminal. - Run
docker-compose up --buildfrom the root project. - On another terminal run
docker psto see assigned ports.
- Returns list of all existing mappings.
- Returns a single mapping that has the corresponding label/type pair.
With minimum json body:
{
"label": "firstname",
"type": "string"
}
Additional parameters: "abstraction" with a string value corresponding to the abstraction.
With json body:
{
"label": "firstname",
"type": "string",
"abstraction": "VALID FIRST NAME"
}
- Where id is the mapping id.
- Docker 17.xx.x
- JDK 10
- IntelliJ 2018
This project is licensed under the MIT License