Revision 38db356b docs/developers/clients-api.rst
b/docs/developers/clients-api.rst | ||
---|---|---|
225 | 225 |
|
226 | 226 |
user = AstakosClient(AUTHENTICATION_URL, TOKEN) |
227 | 227 |
|
228 |
cyclades_endpoints = user.get_endpoints('compute') |
|
228 |
cyclades_endpoints = user.get_service_endpoints('compute')
|
|
229 | 229 |
CYCLADES_URL = cyclades_endpoints['publicURL'] |
230 | 230 |
cyclades = CycladesClient(CYCLADES_URL, TOKEN) |
231 | 231 |
|
... | ... | |
255 | 255 |
|
256 | 256 |
user = AstakosClient(AUTHENTICATION_URL, TOKEN) |
257 | 257 |
|
258 |
cyclades_endpoints = user.get_endpoints('compute') |
|
258 |
cyclades_endpoints = user.get_service_endpoints('compute')
|
|
259 | 259 |
CYCLADES_URL = cyclades_endpoints['publicURL'] |
260 | 260 |
cyclades = CycladesClient(CYCLADES_URL, TOKEN) |
261 | 261 |
|
... | ... | |
282 | 282 |
astakos = AstakosClient(AUTHENTICATION_URL, TOKEN) |
283 | 283 |
USER_UUID = astakos.user_term('uuid') |
284 | 284 |
|
285 |
PITHOS_URL = astakos.get_endpoints('object-store')['publicURL'] |
|
285 |
PITHOS_URL = astakos.get_service_endpoints('object-store')['publicURL']
|
|
286 | 286 |
pithos = PithosClient(PITHOS_URL, TOKEN, USER_UUID, IMAGE_CONTAINER) |
287 | 287 |
|
288 |
IMAGE_URL = astakos.get_endpoints('image')['publicURL'] |
|
288 |
IMAGE_URL = astakos.get_service_endpoints('image')['publicURL']
|
|
289 | 289 |
plankton = ImageClient(IMAGE_URL, TOKEN) |
290 | 290 |
|
291 | 291 |
for img in pithos.list_objects(): |
Also available in: Unified diff