Statistics
| Branch: | Tag: | Revision:

root @ 75380308

# Date Author Comment
4161cb70 04/18/2013 12:20 pm Giorgos Korfiatis

Move resource data away from astakos settings

UI-related presentation data go to presentation.py.
Remove load_service_resources call and related astakos-init
management command.

34d3883a 04/18/2013 12:20 pm Giorgos Korfiatis

Make resource name independent of service name

Also remove unused ResourceMetadata model.

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

Import resources from definition and config files

Register a service's resources giving option --json <file>.
The json file is expected to represent a dictionary with keys
"service" and "resources".

Currently the default base quota (uplimit) for each resource is read...

9747707e 04/18/2013 12:20 pm Giorgos Korfiatis

Sync quotas efficiently when importing resources

When changing the default base quota (uplimit) for a preexisting resource,
do a bulk update of the related holdings.
When importing a new resource, create the new related holdings.

Prompt the admin for the uplimit in the management command, if a config...

143d8a9d 04/18/2013 12:20 pm Kostas Papadimitriou

Cleanup CLRF's

26551b92 04/18/2013 12:20 pm Kostas Papadimitriou

Remove resource/service model dependencies

- Remove foreign key dependency between Service/Resource model. Replace
it with a service CharField to keep track of the service identifier
that the resource was registered from.
- Remove all references to resource service name in resource lookups

75380308 04/18/2013 12:20 pm Kostas Papadimitriou

Use updated resource models in projects views

7125062f 04/17/2013 02:09 pm Giorgos Korfiatis

Make astakos-quota robust on missing base quotas

b1bbe6e4 04/15/2013 02:36 pm Giorgos Korfiatis

Merge branch 'feature-quotas-astakosclient' into feature-quotas

fa7a3ca1 04/15/2013 01:40 pm Ilias Tsitsimpis

astakosclient: Documentation changes

  • Document 3 new AstakosClient Exceptions
  • Change package name from snf-astakos-client to astakosclient
5c418e94 04/15/2013 01:25 pm Ilias Tsitsimpis

astakosclient: Add documentation for quotas functionality

12eab714 04/15/2013 12:51 pm Ilias Tsitsimpis

astakosclient: Create function issue_one_commission

Refs #3440

10797183 04/15/2013 12:27 pm Ilias Tsitsimpis

astakosclient: Create function check_input to simplify code

81875157 04/15/2013 11:23 am Ilias Tsitsimpis

astakosclient: Resolve multiple commissions at once

Refs #3440

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.

7b7392a6 04/12/2013 05:55 pm Ilias Tsitsimpis

astakosclient: Add some more unit-tests

925d0fee 04/12/2013 05:50 pm Ilias Tsitsimpis

astakosclient: Rephrase some comments

Most astakos-quotas calls use services' tokens

b5008ef0 04/12/2013 05:49 pm Ilias Tsitsimpis

astakosclient: Rename some functions

19198628 04/12/2013 05:37 pm Ilias Tsitsimpis

astakosclient: Raise BadValue when failing to parse request data

805e294c 04/12/2013 05:17 pm Ilias Tsitsimpis

astakosclient: Add request for commission's actions

0a2a342c 04/12/2013 05:16 pm Ilias Tsitsimpis

astakosclient: ReRaise json Exceptions as AstakosClient ones

994f37b6 04/12/2013 01:06 pm Ilias Tsitsimpis

astakosclient: Add request for commission's info

Refs #3440

7a0180ef 04/12/2013 12:37 pm Ilias Tsitsimpis

astakosclient: Add request for pending commissions

Refs #3440

670b67f4 04/12/2013 11:52 am Ilias Tsitsimpis

astakosclient: PEP-8 style fixes

fd420756 04/12/2013 11:36 am Ilias Tsitsimpis

astakosclient: Add request for Commissions

Refs #3440

83f9157b 04/12/2013 11:32 am Ilias Tsitsimpis

astakosclient: Replace ValueError with BadValue

All Exceptions that AstakosClient is raising should
be under AstakosClientException class

baeb2ba5 04/12/2013 11:29 am Ilias Tsitsimpis

astakosclient: Add request for Quotas

Refs #3440

c4644612 04/12/2013 11:27 am Ilias Tsitsimpis

astakoclient: Add request for Resource List

Refs #3440

61660c26 04/12/2013 11:14 am Giorgos Korfiatis

Remove quotaholder views and urls files

No more needed, since quotaholder is integrated in astakos.

d3ea66f0 04/11/2013 06:34 pm Giorgos Korfiatis

Remove snf-quotaholder-app package and devflow entry

The quotaholder has been integrated in snf-astakos-app package.

6bd4129b 04/11/2013 06:30 pm Kostas Papadimitriou

Move astakos webproject hooks

move astakos.im.synnefo_settings to astakos.synnefo_settings and make
the appropriate changes in setup.py

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

6cc50d6a 04/11/2013 01:21 pm Giorgos Korfiatis

Cleanup obsolete quota code

4b355d71 04/11/2013 11:49 am Christos Stavrakakis

Add 'snf-django-lib' to dependencies

f0001470 04/11/2013 11:34 am Christos Stavrakakis

Merge branch 'feature-snf-django' into develop

Conflicts:
docs/older/Changelog.pithos-app
snf-astakos-app/astakos/im/api/__init__.py
snf-pithos-app/pithos/api/util.py

a43b07ae 04/11/2013 11:27 am Christos Stavrakakis

Add section for v0.13next to NEWS and Changelog

7e41df58 04/11/2013 11:24 am Christos Stavrakakis

Add release dates for version 0.13

e7f22a2a 04/10/2013 07:05 pm Christos Stavrakakis

Merge branch 'release-0.13' into develop

Conflicts:
snf-astakos-app/astakos/im/messages.py

5ef4d441 04/10/2013 06:35 pm Kostas Papadimitriou

Fix create vm view images filtering in cyclades ui

use the new synnefo.user method `get_username` to populate
personal/shared images.

aee9a389 04/10/2013 03:22 pm Giorgos Korfiatis

Force query to list before passing as argument

An unevaluated query ends up being used as an argument of intended list
type to another query, which fails in the case of an EmptyQuerySet, which
is not iterable.

043ffb0c 04/10/2013 01:10 pm Stratos Psomadakis

Remove unused example.conf from -gtools.

338d0cec 04/10/2013 01:03 pm Stratos Psomadakis

Remove kvm-vif-bridge script from repo

kvm-vif-bridge is provided by snf-network. Remove it from the synnefo
repo to avoid confusion.

93c6900c 04/10/2013 12:18 pm Ilias Tsitsimpis

snf-django-lib: PEP-8 style fixes

6c1c0738 04/10/2013 12:05 pm Ilias Tsitsimpis

snf-django-lib: ReRaise AstakosClientExceptions as API Faults

fde7b7cb 04/10/2013 12:00 pm Ilias Tsitsimpis

snf-django-lib: Fault Exceptions now have code attr

21190887 04/10/2013 11:50 am Ilias Tsitsimpis

astakosclient: AstakosClientException now has details attr

e0223f54 04/10/2013 11:26 am Giorgos Korfiatis

quotaholder: Impose ordering on locking holdings

Prefetch all holdings required for update with a specified order
(by entity/resource pair).

Refs #3560

072047b1 04/09/2013 07:46 pm Sofia Papagiannaki

Further updates for Changelog file for 0.13

3045e739 04/09/2013 06:43 pm Constantinos Venetsanopoulos

Update Changelog file for 0.13

6d5e232d 04/09/2013 06:07 pm Kostas Papadimitriou

Include 0.13 helpdesk features in NEWS file

07168279 04/09/2013 05:53 pm Kostas Papadimitriou

Astakos dashboard url change

landing instead of user profile

334dc272 04/09/2013 05:46 pm Ilias Tsitsimpis

astakosclient: For objpool pool_size is now size

1be9263c 04/09/2013 05:42 pm Vangelis Koukis

Even more updates to the NEWS file for 0.13

00e1dd01 04/09/2013 05:36 pm Vangelis Koukis

Further updates to the NEWS file for 0.13

420c24ee 04/09/2013 05:31 pm Ilias Tsitsimpis

PEP8 styling fixes in faults.py

0d25d281 04/09/2013 05:21 pm Vangelis Koukis

Initial update of NEWS file for 0.13

a33ee5d2 04/09/2013 02:46 pm Sofia Papagiannaki

Update installation guide

Refs: #3519

Stamp Database Revision section

32ee6f20 04/09/2013 12:22 pm Kostas Papadimitriou

Fix url typo

591e1df0 04/09/2013 10:54 am Sofia Papagiannaki

Deactivate pithos md5 update by default

Refs: #3554

f3f35d05 04/09/2013 10:08 am Sofia Papagiannaki

Update Changelog

Refs: #3561

5ede2c79 04/08/2013 08:11 pm Constantinos Venetsanopoulos

Make all Changelog files prior to 0.13 obsolete

Since v0.13, all Synnefo components will have the same version and the
same Changelog, NEWS, Upgrade, Copyright file. This patch addresses
old Changelog, NEWS and Upgrade files:

  • Move all separate Changelog files under docs/older/...
61c5b615 04/08/2013 07:10 pm Sofia Papagiannaki

Make pithos backend pool size configurable

Refs: #3561

827de879 04/08/2013 06:37 pm Giorgos Korfiatis

Project admins and max pending projects in docs

be5ea27b 04/08/2013 06:17 pm Christos Stavrakakis

Fix typo

e2554e08 04/08/2013 06:17 pm Christos Stavrakakis

Add snf-django-lib to ci/config

04a1b675 04/08/2013 06:17 pm Christos Stavrakakis

Move astakos lib from snf-common to snf-django-lib

cdd30404 04/08/2013 05:53 pm Giorgos Korfiatis

Make pending project options more descriptive

36011c7a 04/08/2013 05:12 pm Giorgos Korfiatis

Fix description for resource `ram' in settings

b1728317 04/08/2013 05:00 pm Ilias Tsitsimpis

astakosclient: For objpool pool_size is now size

4427df6f 04/08/2013 04:36 pm Christos Stavrakakis

Add objpool to snf-common dependencies

30333691 04/08/2013 04:27 pm Christos Stavrakakis

Move code and PEP8 fixes

1a736ca8 04/08/2013 04:27 pm Christos Stavrakakis

Use 'python-objpool' instead of 'synnefo.lib.pool'

Use the python-objpool package for pooling resources as object, instead
of the pooling code that existed in snf-common ('synnefo.lib.pool')

Refs #3524

09fbe62f 04/08/2013 03:59 pm Christos Stavrakakis

Remove override_users option from astakos options

1ecb12b5 04/08/2013 02:56 pm Christos Stavrakakis

Rename snf-astakos-client to astakosclient

088188f2 04/08/2013 02:56 pm Christos Stavrakakis

Add astakosclient to snf-django-lib dependencies

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.

b32b5995 04/08/2013 01:45 pm Giorgos Korfiatis

Docs for resource and quota API

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

4850202e 04/08/2013 01:37 pm Giorgos Korfiatis

Do not register resources in quotaholder

79e3da8a 04/08/2013 01:36 pm Giorgos Korfiatis

Prepare quotaholder calls for the new API

- {accept, reject}_commission take a single serial
- resolve_pending_commissions takes a set of serials to accept
and a set of serials to reject
- commission exceptions record the provision on which they are raised...

798819c7 04/08/2013 01:03 pm Olga Brani

Merge branch 'release-0.13' of https://code.grnet.gr/git/synnefo into release-0.13

83886184 04/08/2013 01:03 pm Olga Brani

Correct company url in Astakos footer template

c273dd61 04/08/2013 12:47 pm Kostas Papadimitriou

Revert unknown account message

89feafec 04/08/2013 12:33 pm Olga Brani

Merge branch 'release-0.13' of https://code.grnet.gr/git/synnefo into release-0.13

97edde10 04/08/2013 11:43 am Christos Stavrakakis

Add snf-django-lib to devflow.conf

1052bb2b 04/08/2013 11:07 am Christos Stavrakakis

Remove obsolete Ganeti RAPI client from snf-common

This Ganeti RAPI client has been moved to snf-cyclades-app.

896754a6 04/08/2013 11:07 am Christos Stavrakakis

Move parsedate module to snf_django

bcfd8e6b 04/08/2013 11:07 am Christos Stavrakakis

Add ASTAKOS_URL setting to PITHOS

Common 'api_method' decorator, needs the ASTAKOS_URL setting to
authenticate with Astakos. Create this setting for Pithos based
on PITHOS_AUTHENTICATION_URL.

8df4fae6 04/08/2013 11:07 am Christos Stavrakakis

Remove PITHOS_AUTHENTICATION_USERS setting

Remove this setting as it introduces unnecessary complexity. Also,
it will need to be supported by snf-astakos-client. If needed by
tests to bypass communication with astakos, a mocking library should
be used.

d2b8ec7b 04/08/2013 11:07 am Christos Stavrakakis

Move common test code to snf_django.lib.testing

05d401cf 04/08/2013 11:06 am Christos Stavrakakis

Remove VM/Network DeletedError and BuildingError

Handle these errors explicitly in the code instead of the "api_method"
decorator.

f6ff4b40 04/08/2013 11:06 am Christos Stavrakakis

Remove ImageBackend NotAllowedError

Refs #3359

d9d1763e 04/08/2013 11:06 am Christos Stavrakakis

Use the common 'api_method' decorator in plankton

Use the common 'api_method' decorator in all plankton API methods.
Modify the 'plankton_method' decorator to only create and close
the ImageBackend.

b3fd98ae 04/08/2013 11:06 am Christos Stavrakakis

Use common 'api_method' decorator to cyclades api

Update Cyclades API methods to use the new common 'api_method'
decorator. Also, update all the relevant tests.

ee7a2b87 04/08/2013 11:06 am Christos Stavrakakis

Use common 'api_method' decorator to astakos api

Update all astakos API methods to use the new common 'api_method'
decorator. The 'api_method' decorator 'user_required' option
authenticates uses by their token through astakos. Consequently,
astakos methods can not use this option. Instead, two custom...

65bbcd43 04/08/2013 11:06 am Christos Stavrakakis

Use common 'api_method' decorator in pithos api

Update all pithos API methods to use the new common 'api_method'
decorator. However, this decorator is not enough for pithos since
pithos methods require some extra tasks:
  • Create a PithosBackend connection...
cf5f17b6 04/08/2013 11:06 am Christos Stavrakakis

Add fault.xml template to pithos and astakos

9dcb5b8a 04/08/2013 11:06 am Christos Stavrakakis

Remove dead code

72bf812d 04/08/2013 11:06 am Christos Stavrakakis

Implement single decorator for handling API calls

Create a single decorator for API methods to be used be accross all
synnefo. This decorator does the following:

  • Proper logging of 5xx faults and unexpected errors
  • Authentication with Astakos using snf-astakos-client...