Statistics
| Branch: | Tag: | Revision:

root / kamaki @ 819311d3

Name Size
  cli
  clients
__init__.py 1.5 kB

Latest revisions

# Date Author Comment
819311d3 06/03/2013 05:19 pm Stavros Sachtouris

Handle url proccessing even if url is unicode

Also, fix typos and default values for service configurations

e7884f25 06/03/2013 04:49 pm Stavros Sachtouris

Fix typo in astakos client: version_id-->versionId

3950a864 06/03/2013 04:06 pm Stavros Sachtouris

Adjust cached auth info reading to recent changes

82e32e50 06/03/2013 03:14 pm Stavros Sachtouris

Fix typos in user command flow

ef00bc31 06/03/2013 02:37 pm Stavros Sachtouris

Apply servce.url options to cross-sercice calls

Refs: #3874

Let cross-service initializations to use explicit service endpoint urls if
there is no single authentication url.
- In Image commands, there are calls that use astakos and pithos clients
- In pithos there are calls that use astakos client

8cec3671 06/03/2013 02:22 pm Stavros Sachtouris

Use explicitely set services urls if no auth_url

Refs: #3874

In current configuration, kamaki checks for auth_url. If that fails,
it raises an error. If it is not set, it prints a warning and attempts
to read the <service>.url option from the configuration file....

cb4a5d9c 06/03/2013 12:58 pm Stavros Sachtouris

Implement --cloud arg to switch between clouds

Refs: #3913

Config file can (optionaly) contain:

[remotes]
example = https://www.example.org/astakos/identity/v2.0/
old_version = https://www.example.org/astakos/identity/v1.0/
...

Now, user can explicitely request for a remote cloud authentication URI:...

f724cd35 05/31/2013 05:37 pm Stavros Sachtouris

Get endpoint urls for all CLI operations

Refs: #3874

Use kamaki.clients.astakos.AstakosClient as a cached astakos client to get
user information and, most importantly, endpoints. Allow users to authenticate
multiple tokens on the same session. In every session there must be at most...

05e144e2 05/31/2013 01:29 pm Stavros Sachtouris

Create config file version 3

Refs: #3874

Minimum config file:
[global]
token = <user token>

Changes:

- Only one field "cli" for user command specs, to map command groups to CLIs:

[cli]
user = astakos
file = pithos
server = cyclades
...

- Specify client services/apis and versions....

528550d9 05/30/2013 04:35 pm Stavros Sachtouris

Enrich/rename astakos client calls with endpoints

Refs: #3874

Kamaki.clients.astakos.AstakosClient is now a high-level client lib that
offers access to token-authenticated astakos-aquired cached information.
Users who need an astakos client should use the snf-astakosclient instead....

View revisions

Also available in: Atom