See packages org.theenergymashuplab.cts.controller.payloads, .model, .dao, and .repository for details.
The Position Manager uses JPA to store its information. The REST API for the PositionManager RestController is
- POST: /position/{positionParty}/add adds a position for a particular Party and time interval, creating a database row if not present.
- GET: /position/{positionParty}/getPosition retrieves the position for a specific Party and time interval
PositionManagerModel represents the database table.
PositionRepository contains all the native SQL queries.