OHLC Engine sample app.
For building and running the application you need:
Navigate to and invoke this jUnit test to get the output. Since the dataset is larger all the records cannot be displayed in IDE console due to buffer size limitation, hence for simplicity the end-to-end logs are appended to external ${LOGS}/ohlc-logger.log
file under following location ohlcEngine/logs/*
this folder and files will be generated once is started.
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main
method in the com.ohlc.trading.ohlcEngine.OHLCEngineApplication
class from your IDE.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:run
The easiest way to deploy the sample application to Cloud Foundry is to use the cf CLI:
cf push manifest.yml
This will do following things:
- Upload a droplet on CF.
- An app with name from manifest will be created on CF
- Service called "ohlcEngine"