Sequence of Web Service Calls
The following image shows the sequence of web services calls:
- Communication is initiated by a client login API call.
This call includes username, password, and the tenant.
- The OPE gateway forwards this call to the Auth Center service.
- The Auth Center service reads the Consul configuration located at /config/application/auth/userinfo to retrieve information for username, password, and tenant.
- The Auth Center service authenticates the request and generates the JWT with the following information:
JWT is validation is controlled by Consul Keys /config/application/auth/jwtexpiration and /config/application/auth/jwtsecret.
- The client stores the JWT and passes this token as part of the Offer Search Engine and Model Loading Engine web service SOAP and REST calls.
- To access Model Loading Engine web services, client calls the OPE Gateway with the required web service payload along with the JWT.
- The OPE Gateway intercepts and validates the JWT.
- If valid, the tenant ID is extracted from the payload and the call is forwarded to the appropriate Model Loading Engine container.
- The response is forwarded to the OPE Gateway.
- The OPE Gateway forwards this response to the client.
When accessing TIBCO OPE, the flow of web services call is similar to that described in Steps 6 to Step 10.
Copyright © Cloud Software Group, Inc. All rights reserved.