https://github.com/epam/edp-ddm-rest-api-core-base-image
https://github.com/epam/edp-ddm-rest-api-core-base-image
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/epam/edp-ddm-rest-api-core-base-image
- Owner: epam
- License: apache-2.0
- Created: 2021-10-28T15:23:57.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-05T09:18:43.000Z (over 1 year ago)
- Last Synced: 2025-07-07T20:34:42.998Z (about 1 year ago)
- Language: Java
- Size: 217 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# rest-api-core
This library contains **all** the business logic of the Rest API microservice which is to be generated with `service-generation-utility`. The Rest API microservice is to accept REST requests, process them and either work with DB or send events to Kafka for `Kafka API` microservice for further processing.
# Related components
* `model-core`
* Kafka
* DB
# Usage
1. retrieve operations (GET)
* `GenericQueryService` / `GenericSearchService` to be sub-classed as a Service-layer
* `AbstractQueryHandler` / `AbstractSearchHandler` to be sub-classed as a DB-layer
2. modifying operations (POST, PUT, PATCH, DELETE)
* `GenericService` to be sub-classed as a Service-layer
3. Rest Controllers - to be created for accepting REST requests, marshalling and calling the mentioned Services
# Deployment
The library is delivered as a docker image with all dependencies inside.
### License
rest-api-core is Open Source software released under the Apache 2.0 license.