Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- We will need to send a REST request from our SoapUI (or any tool that we
- can use for this purpose). As Endpoint, the request should have the IP
- address of the machine that hosts the solution. As Resource/Method, we
- will use a POST, and as Url for the request we will aim for the identity
- module of the platform, https://IDENTITY:5000/v2.0/tokens, where
- “IDENTITY” will be the specified IP address for the keystone admin url.
- Also, we should make sure that the request contains the right headers:
- * Accept: application/json
- * Content-Type: application/json
- Once we have configured our request, we will copy in the body the
- following code:
- .. code-block:: json
- :force:
- {
- "auth": {
- "tenantName": "Client's tenant name",
- "token": {
- "id": "Identifier of the token."
- }
- }
- }
- To execute the request correctly, we need to know the ``tenantName`` (admin)
- and the token ID. The token ID is used constantly in the solution in
- most of the requests executed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement