Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Keystone Authenticate JSON response element order

Hi I am curious if there is any discussion about changing the order of the elements in the service-catalog to be more friendly to stream processing?

I can see building up a JSON Object or XML DOM but if we are processing an input stream it would be best that the serializing logic SEES the "name": "Object Store" FIRST before the endpoint URL data.

I am proposing a simple re-ordering of these elements to allow a more logical stream flow.

eg: (* Note the "name" is first... )

 {
           "name": "Object Storage",
            "type": "object-store",
            "endpoints": [
                {
                    "publicURL": "https://region-a.geo-1.objects.hpcloudsvc.com/v1/1111111111111", 
                    "region": "region-a.geo-1", 
                    "tenantId": "1111111111111", 
                    "versionId": "1.0", 
                    "versionInfo": "https://region-a.geo-1.objects.hpcloudsvc.com/v1.0/", 
                    "versionList": "https://region-a.geo-1.objects.hpcloudsvc.com"
                }
            ]

        }

This obviously is not a deal breaker for me but would be useful for speed.

Neil