-
Notifications
You must be signed in to change notification settings - Fork 2
Position Manager
Kelvin Ubaechu edited this page May 3, 2024
·
3 revisions
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 (Historical)*
- POST: /position/{positionParty}/requestPosition retrieves the position for a specific party and time interval with use of CtsStreams
*This endpoint is still in the codebase, but no longer conforms to the new March 2024 Draft Standard, thus it shouldn't be used. Use the /requestPosition endpoint instead
PositionManagerModel represents the database table.
PositionRepository contains all the native SQL queries.
Code Documentation
- Actor Pseudocode - LMA, LMM, TEUA
- RESTful Controller Payloads
- Position Manager
- Logging
- Time in CTS
- UML and Java Classes
- Simple Binary Encoding (SBE)
- SBE Quick Guide
- Auction Market
Building and Running the Project
- Setup Run and Drive - with YouTube videos
- Dependencies and Prerequisites
- Set Up MySQL
- Parity Terminal Client
- Project Build Steps
- In Case of Difficulty
Docker
- Docker Background
- Docker Setup Requirements
- Docker Setup Part 1
- Docker Setup Part 2
- Running EML-CTS as a Single Executable JAR
- Docker Quick Guide
General Tech Guides
Spring 2024 Updates