-
Notifications
You must be signed in to change notification settings - Fork 2
Generation of Random Instruments for Testing
Each of these classes generate the specified objects in place and send the objects directly to the TEUA Controller.
To run, in EnergyApplication.java, create a new instance of the needed random class as an argument of CommandLineRunner.

Generates 50 random ClientCreateTenderPayload objects.
Options exist to specify number of tenders generated, a range of values for the tenders, and a range of quantities for the tenders.
Generates 50 random ClientCreateStreamTenderPayload objects with 6 stream intervals each.
Options exist to specify number of tenders and stream intervals generated, a range of values for the tenders, and a range of quantities for the tenders.
Generates 50 random ClientCreateQuotePayload objects.
Options exist to specify number of quote create requests, a range of values for the quote create requests, and a range of quantities for the quote create requests.
Generates 50 random ClientCreateStreamQuotePayload objects with 6 stream intervals each.
Options exist to specify number of quote create requests and stream intervals generated, a range of values for the quote create requests, and a range of quantities for the quote create requests.
Generates 50 random ClientAcceptQuotePayload objects.
Because the Quote IDs of quote accepts generated must match the Quote IDs of quote create requests, which are not known by this generator, this class is currently useless.
Run this java file directly. Generates a postman collection with 100 random tenders at path eml-cts/complete/src/main/resources/Generated_Postman_Collection.json. The segmentID is set to 2 by default, signifying that the tenders go to the auction market.
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