The APIs to the portfolios business functions
DayTrader is multi-tier application built around the paradigm of an online stock trading system. Example business functions include login, register, view portfolio, lookup stock quotes, and buy or sell stock. DayTrader was originally developed by IBM and donated to the Apache Geronimo community in the 2005 timeframe. The DayTrader architecture is representitive of monolithic applications that many businesses are still using. For that reason, we selected it to clarify the techniques for refactoring a monolith to microservices. For the original monolithic architecture, see http://geronimo.apache.org/GMOxDOC30/daytrader-a-more-complex-application.html.
The Portfolios Application(highlighted in the green box) is a Spring Boot Application responsible for managing user portfolios
The Portfolios Database(highlighted in the green box) stores user portfolio information.
Note: attributes not directly related to portfolios are struck through in the diagram.
1. Java Development Kit (64 bit) 1.8+
2. Apache Maven 3.3.9+
1. cd daytrader-portfoliosapp
2. mvn clean install
1. cd daytrader-portfoliosapp
2. mvn -Pci clean install
To see the API documentation,
1. Start the application
a. cd daytrader-portfoliosapp
b. daytrader-portfolios\env\external\bin\start_server
2. Point you browser to https://localhost:3443/swagger-ui.html
3. Stop the application after reviewing the APIs
a. cd daytrader-portfoliosapp
b. daytrader-portfolios\env\external\bin\stop_server