Identity endpoint discovery does not work with some OpenStack instances. #902

Open
bouskaJ opened this Issue Dec 11, 2016 · 1 comment

Projects

None yet

2 participants

@bouskaJ
bouskaJ commented Dec 11, 2016

You can find more info in #899

@bouskaJ bouskaJ changed the title from Keystone endpoint discovery does not work with some OpenStack instances. to Identity endpoint discovery does not work with some OpenStack instances. Dec 11, 2016
@auhlig auhlig added the enhancement label Dec 11, 2016
@auhlig
Member
auhlig commented Dec 11, 2016 edited

Thanks @bouskaJ.

Short summary: Implement Identity service discovery.
Initial GET /identityreturns

HTTP/1.1 300 Multiple Choices
{
   "versions":{
      "values":[
         {
            "status":"stable",
            "updated":"2016-10-06T00:00:00Z",
            "media-types":[
               {
                  "base":"application/json",
                  "type":"application/vnd.openstack.identity-v3+json"
               }
            ],
            "id":"v3.7",
            "links":[
               {
                  "href":"http://172.24.1.69/identity/v3/",
                  "rel":"self"
               }
            ]
         },
         {
            "status":"deprecated",
            "updated":"2016-08-04T00:00:00Z",
            "media-types":[
               {
                  "base":"application/json",
                  "type":"application/vnd.openstack.identity-v2.0+json"
               }
            ],
            "id":"v2.0",
            "links":[
               {
                  "href":"http://172.24.1.69/identity/v2.0/",
                  "rel":"self"
               },
               {
                  "href":"http://docs.openstack.org/",
                  "type":"text/html",
                  "rel":"describedby"
               }
            ]
         }
      ]
   }
}

Extract endpoint of the identity service from the response.
Os4js Identity V2 service should only get the v2-endpoint and v3 the v3-endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment