Kubectl create secret generic oidc -n stock-trader -from-literal=name= -from-literal=issuer= -from-literal=auth= -from-literal=token= -from-literal=id= -from-literal=secret= -from-literal=key= -from-literal=nodeport= : # Example oidc: Kubectl create secret generic jwt -n stock-trader -from-literal=audience=stock-trader -from-literal=issuer= This project requires two secrets: jwt and oidc. Tradr sibling repository for an alternate, more professional-looking version, implemented in JavaScript and Vue. This is version 1 of the Stock Trader UI, implemented in Java, and is deliberately simplistic. You also need to use https if using the IBMid version. Or in a Kubernetes environment, you'd replace localhost with your proxy node address, andĩ080 with your node port or ingress port. You can hit the main entry point by entering a URL such as in yourīrowser's address bar. All of the real logic is in the PortfolioServices.java, whichĬontains all of the REST calls to the Broker microservice, and appropriate JSON wrangling. Is no use of JavaScript or anything fancy. The servlets just concern themselves with constructing the right HTML to return. The viewPortfolio and addStock servlets expect a query paramĮach page has a header and footer image, and there's an index.html that redirects to the summary servlet. Transfers control back to summary when done. Transfers control to other servlets, such as addPortfolio, viewPortfolio, and addStock, each of which The main entry point is the summary servlet, which lets you choose an operation and a portfolio to act upon. Request, which broker checks for via mpJwt. It uses the mpRestClient to make the call, and passes a JWT on the Which then calls various other services as needed. The trader microservice provides the UI for the Stock Trader sample.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |