Beispiel #1
0
 def read(*args, **kwargs):
     acct_url = 'http://127.0.01/AUTH_FOO'
     body = {'access': {'serviceCatalog':
                            [{u'endpoints': [{'publicURL': acct_url}],
                              'type': 'object-store'}],
                        'token': {'id': 'XXXXXXX'}}}
     return c.json_dumps(body)
Beispiel #2
0
 def read(*args, **kwargs):
     acct_url = "http://127.0.01/AUTH_FOO"
     body = {
         "access": {
             "serviceCatalog": [{u"endpoints": [{"publicURL": acct_url}], "type": "object-store"}],
             "token": {"id": "XXXXXXX"},
         }
     }
     return c.json_dumps(body)
Beispiel #3
0
 def read(*args, **kwargs):
     body = {'a': '1',
             'b': '2'}
     return c.json_dumps(body)
Beispiel #4
0
 def read(*args, **kwargs):
     body = {"a": "1", "b": "2"}
     return c.json_dumps(body)