Keystone Authenticate JSON response element order [closed]

asked 2014-07-17 12:51:49 -0500

fed007 gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason too subjective and argumentative by smaffulli
close date 2014-07-17 15:15:04.282342

Comments

This seems to be more appropriate for a discussion, not a 'question' appropriate for this site. Read http://ask.openstack.org/faq to learn what we mean by 'question' as opposed as a topic for a conversation. The OpenStack mailing list would be more appriate for this.

smaffulli gravatar imagesmaffulli ( 2014-07-17 15:17:06 -0500 )edit