Mandatory microservices and external services
As mentioned earlier, the core part of the example is just that which is needed to do the basics of creating portfolios and buying/selling stock. Those parts of the example have a solid border around each box, as shown in Figure 3.3.
The following subsections will describe each of the microservices and their dependencies that are required in order to exercise the primary functionality of the IBM Stock Trader application—that is, the ability to create portfolios and buy and sell stocks within them.
Trader
Trader is the standard UI client for the example. As seen earlier in Figure 3.1, it presents a list of existing portfolios, allowing you to create new ones, update existing ones (by buying or selling stocks), and delete portfolios. It communicates, via REST service calls, with the Broker microservice, passing a JavaScript Object Notation (JSON) Web Token (JWT) for single-sign-on (SSO) purposes.
It is implemented via a...