Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / api @ e1feace1

# Date Author Comment
e1feace1 05/14/2013 11:19 am Giorgos Korfiatis

astakos: Fix call to util function send_feedback

47a8481f 05/10/2013 01:21 pm Sofia Papagiannaki

astakos: include resource presentation info in authenticate response

If option parameter ``usage`` is passed then the response should
contain also the resource presentation information
(as it used to be in the past)

b095201e 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: remove astakos.im.api module

Replace all AstakosCallpoint references

78c3a39c 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: remove user argument from the api methods

User request.user field (set by user_for_token decorator)

79b5d61b 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: WIP move all api calls under ``/astakos/api``

Refs: #3340

276f454e 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: Change user_for_token decorator

user_for_token after successful user authentication
sets the request user attribute
The wrapped methods no more need the ``user`` argument:
they can get the token holder by the request object

7f313da1 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: rename api utility methods

6f1d4d03 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: fix user api utility calls

2931c601 05/02/2013 04:36 pm Kostas Papadimitriou

astakos: Proper string type check

using basestring also handles unicode objects

ec5e00aa 04/29/2013 12:13 pm Giorgos Korfiatis

Revert quotaholder's name to quotaholder_app

In order to facilitate migrations.

3a1bed03 04/25/2013 05:49 pm Giorgos Korfiatis

astakos: Set and return commission names in API calls

Support issue_commission's `name' parameter for an optional description
of the commission. Include this field in the dict returned by
get_commission.

Change astakosclient accordingly.

3f7b6f6f 04/25/2013 12:43 pm Giorgos Korfiatis

astakos: Correct qh call to auto accept commissions

4df49ee7 04/24/2013 01:15 pm Giorgos Korfiatis

astakos: Further validate input in quota API calls

ad730cc5 04/23/2013 04:12 pm Giorgos Korfiatis

astakos: Validate input of quota-related API calls

271d2c4c 04/23/2013 03:40 pm Giorgos Korfiatis

astakos: Rename get_service_quotas to service_get_quotas

So that it follows the naming scheme of other astakosclient calls.

bbf79074 04/23/2013 11:48 am Giorgos Korfiatis

quotaholder: Change provisions argument to list

It is the API code's task to transform the input dict to list.

948e15bc 04/22/2013 06:47 pm Giorgos Korfiatis

Turn callpoint into a module of functions

Class structure is no more needed; there is no need for initialization,
since the code is used internally.

08043775 04/22/2013 04:14 pm Giorgos Korfiatis

astakos: Move get_resources in resources.py

4e03ba30 04/19/2013 05:37 pm Kostas Papadimitriou

Update astakos usage view

Update view to use the introduced astakos quotas api.

5afce44d 04/19/2013 01:28 pm Giorgos Korfiatis

astakos: Add user parameter in service_quotas API call

Using this parameter, the service can query the quotas of a specific
user.

b830f774 04/19/2013 12:29 pm Giorgos Korfiatis

Move transaction.py to snf_django package

bb005bc2 04/18/2013 12:20 pm Giorgos Korfiatis

New call astakos/api/service_quotas

Returns quotas for all resources associated with the service that makes
the call.

6c0f4562 04/12/2013 06:18 pm Giorgos Korfiatis

quotaholder: Unify accept and reject commission code

Incorporate accept/reject functions in resolve_pending_commissions,
in order to enforce a total ordering on locking holdings.
Add a wrapper (resolve_pending_commission) that operates on a single
serial.

befa5997 04/11/2013 02:07 pm Giorgos Korfiatis

Merge branch 'develop' into feature-quotas

Conflicts:
snf-astakos-app/astakos/im/api/service.py
snf-quotaholder-app/quotaholder_django/quotaholder_app/callpoint.py

a4398c8c 04/08/2013 02:14 pm Giorgos Korfiatis

Remove client_key parameter from quotas API

It is not necessary, since the service token in used for authorization.
The api_method decorator is modified so that it passes to the method
the service data through the request object.

1028e568 04/08/2013 01:43 pm Giorgos Korfiatis

API call for resources

18f21257 04/08/2013 01:41 pm Giorgos Korfiatis

API calls for quotas and commissions