Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / plankton @ d0986bac

# Date Author Comment
d0986bac 04/30/2013 05:05 pm Christos Stavrakakis

Cyclades: remove all quotaholder settings

Remove from cyclades all settings that were relative with Quotaholder.
Remove CYCLADES_USE_QUOTAHOLDER settings, since Cyclades can not work
any more without quotas.
Remove CYCLADES_QUOTAHOLDER_URL and CYCLADES_QUOTAHOLDER_TOKEN since...

cda71050 04/22/2013 10:10 am Christos Stavrakakis

plankton: Cleanup and improve code

Major refactor in plankton APP and ImageBackend code:
  • Remove unused code
  • Remove 'plankton_method' decorator that added an ImageBackend to
    requests an replace it with 'image_backend' context manager. This
    context manager is responsible for opening and closing connections...
14c94c48 04/22/2013 10:10 am Christos Stavrakakis

Improve performance in listing images

Use '_get_domain_objects' function of Pithos backend, to list all
objects in a 'plankton' domain, instead of looping over all accessible
accounts, containers and objects. This function also returns metadata
and permissions for each object in order to avoid two extra calls for...

07f5a62c 04/22/2013 10:10 am Christos Stavrakakis

List all images in snf-manage image-list

Until now 'snf-manage image-list' management command printed only images
that were public, or accessible by a specific user. This commit changes
this command to print all images (regardless of the owner).

59573532 04/22/2013 10:10 am Christos Stavrakakis

plankton: raise BadRequest for invalid location

Modify 'add_image' plankton API method, to check that location parameter
is a valid Pithos url, and raise BadRequest if not.

22b5ac0b 04/22/2013 10:10 am Christos Stavrakakis

plankton: Correct image unregister

Correct usage of 'update_object_meta' function to remove all metadata
from plankton domain. Use an empty dictionary with replace=True.

Refs #3522

62d3ea53 04/22/2013 10:10 am Christos Stavrakakis

plankton: add logging to backend functions

a1a4cbfb 04/22/2013 10:10 am Christos Stavrakakis

Bypass authentication in image-show command

Make image-show management command to show information about an image
without passing a userid. Use 'image_list' command of ImageBackend
instead of 'get_image' because the second one will raise Forbidden for
non-public images....

a9be7bf7 04/15/2013 04:11 pm Christos Stavrakakis

Fix small typo in import statement

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

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

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

Move common test code to snf_django.lib.testing

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.

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...
bd40abfa 04/08/2013 11:06 am Christos Stavrakakis

Move cloud faults to 'snf_django.lib.api.faults'

Gather all faults from all synnefo projects into common
'snf_django.lib.api.faults'.

f13aab5d 04/02/2013 01:49 pm Christos Stavrakakis

Delete Image without deleting file from Pithos

Until now, deleting an image resulted in deletion of the corresponding
file from Pithos. Plankton Images are files in Pithos with special
metadata on the 'plankton' metadata domain. Adding an Image to plankton...

4fb602b1 04/02/2013 01:49 pm Christos Stavrakakis

Fix plankton ItemNotFound exception

Plankton backend raised AssertionError when an Image was not found.
Change this to raise faults.ItemNotFound error. Temporary commit
until common API decorator is implemented.

Refs #3356

354b9b6f 04/01/2013 07:02 pm Kostas Papadimitriou

Merge branch 'feature-astakos-authpolicies' into develop

Conflicts:
snf-cyclades-app/synnefo/api/management/commands/flavor-create.py
version

c58ae966 03/22/2013 05:12 pm Stratos Psomadakis

Fix plankton shared_from image listing

Commit 469d099 introduced a typo which caused /plankton/shared_images/
to raise an UnboundLocalError.

225cea18 03/14/2013 03:58 pm Christos Stavrakakis

Move common code for mngmt commands to webproject

Move cyclades functions that are useful for all managament commands, like
pprint_table or parse_filters, to snf-webproject.

b336e6fa 03/11/2013 06:18 pm Georgios D. Tsoukalas

Fix+move HTTP quotaholder client in synnefo.lib

Allow per-service configuration of the (http) quotaholder client.
Kamaki is no longer needed in service (or ganeti) nodes,
because the client has been moved to snf-common.

Also fix the default quotaholder settings for pithos backend to be disabled...

f4366b6c 03/07/2013 02:03 pm Stratos Psomadakis

Correctly instantiate pithos backend pool

Plankton should explicitly pass quotaholder related args to the pithos
backend pool constructor (after the feature of deregistering images
without deleting them is implemented, plankton should only pass
quotaholder_enable=false to the constructor)....

7856a37a 03/07/2013 02:03 pm Stratos Psomadakis

pep8 fixes

450a6d2b 02/15/2013 05:08 pm Christos Stavrakakis

Add plankton test

Add test for malformed filter when listing images.

469d0997 02/14/2013 04:26 pm Georgios D. Tsoukalas

ui compatibility: translate uuids to display names

cc92b70f 02/06/2013 02:18 pm Christos Stavrakakis

Fix pep8 warnings

c3bcaeff 01/22/2013 01:43 pm Stratos Psomadakis

plankton: Handle correctly request filters

Make sure that when listing public images plankton verifies that
size_max and size_min req filters are integers, and return a Bad
Request response otherwise.

cc964746 12/19/2012 05:32 pm Christos Stavrakakis

Properly configure plankton as an app

All django apps need a models.py file

37f87d98 12/19/2012 05:32 pm Christos Stavrakakis

Add basic tests for plankton

52194c77 12/19/2012 05:32 pm Christos Stavrakakis

Refactor some test code

b2f94a0c 11/26/2012 02:20 pm Christos Stavrakakis

Make Plankton API return all available images

Modify Plankton API, such that GET to /images/ retrieves a list of
available images that the authenticated user has access to. This
includes images owned by the user, images shared with the user and
public images.

45f19863 11/26/2012 02:14 pm Christos Stavrakakis

Update management command to display user images

d0e8984d 11/26/2012 12:51 pm Christos Stavrakakis

Merge branch 'devel-0.12' into devel-0.13

Conflicts:
snf-cyclades-app/synnefo/plankton/backend.py

2db7d9df 11/26/2012 12:22 pm Christos Stavrakakis

Handle Pithos NotAllowedError

7a0aa449 11/22/2012 01:26 pm Christos Stavrakakis

Add function for pretty printing tables

29490fca 11/22/2012 01:26 pm Christos Stavrakakis

Fix white space

aed77afe 11/22/2012 01:26 pm Christos Stavrakakis

Extend Plankton API with shared-images

Extend Plankton API, to support listing all non-public images that
are available to the user. This can be done by issuing a GET to
shared-images/ and shared-images/detail.

39a6388d 11/09/2012 01:08 pm Christos Stavrakakis

Improve management commands

6639a243 11/08/2012 06:19 pm Christos Stavrakakis

Merge branch 'master' into devel-0.12

Conflicts:
snf-cyclades-app/synnefo/api/management/commands/flavor-list.py
snf-cyclades-app/synnefo/api/management/commands/server-list.py
snf-cyclades-app/synnefo/api/networks.py
snf-cyclades-app/synnefo/logic/rapi.py

77fccdd4 11/06/2012 11:36 am Christos Stavrakakis

Implement image-list and image-show commands

Implement two new management commands for plankton.
- image-list: lists public images or all images available
to a user
- image-show: displays information about a public image

Also, this commit fixes a bug in server-show, when trying...

ffab341c 10/30/2012 01:12 pm Christos Stavrakakis

Revert dummy images from commit 9555268a

9555268a 10/29/2012 06:46 pm Kostas Papadimitriou

Optionally group public nics in one network view in ui

ed275428 10/24/2012 01:27 pm Christos Stavrakakis

Merge branch 'master' into devel-0.12

Conflicts:
snf-cyclades-app/setup.py

1f478427 10/24/2012 01:13 pm Sofia Papagiannaki

Plankton raise HttpResponseForbidden in case of NotAllowedError

1e28ba40 10/19/2012 04:34 pm Christos Stavrakakis

Remove trailing whitespace

7784ab88 10/19/2012 04:33 pm Christos Stavrakakis

Pool connections to snf-pithos-backend

5f01e1e6 05/14/2012 03:53 pm Kostas Papadimitriou

Revert plankton backends

236223aa 04/30/2012 02:43 pm Kostas Papadimitriou

Fix multiple connect actions sent to the server

Refs #2358

7ff5095d 03/19/2012 04:06 pm Giorgos Verigakis

Remove leftover debug prints

5a497049 03/02/2012 04:56 pm Giorgos Verigakis

Remove duplicate check

0d316750 02/28/2012 06:14 pm Giorgos Verigakis

Use pithos-backend v0.9.1

4b3b8688 02/24/2012 05:51 pm Giorgos Verigakis

Use lib.astakos instead of our own middleware

2035039b 02/24/2012 05:49 pm Giorgos Verigakis

Switch to the logging middleware

4fd2095b 02/08/2012 01:27 pm Giorgos Verigakis

Merge remote-tracking branch 'origin/master' into astakos-integration

Conflicts:
snf-cyclades-app/synnefo/api/util.py

4ec83e68 02/04/2012 08:57 pm Giorgos Verigakis

Unquote header names and values

c5e1f5cb 02/03/2012 05:33 pm Giorgos Verigakis

Fix merge conflict

cc875294 02/02/2012 05:10 pm Giorgos Verigakis

Merge remote-tracking branch 'origin/master' into astakos-integration

Conflicts:
runtests.sh
snf-cyclades-app/synnefo/aai/__init__.py
snf-cyclades-app/synnefo/aai/fixtures/auth_test_data.json
snf-cyclades-app/synnefo/aai/middleware.py
snf-cyclades-app/synnefo/aai/models.py...

f83c0b53 01/31/2012 09:50 am Vangelis Koukis

Merge branch 'plankton'

9c0ac5af 01/30/2012 06:55 pm Kostas Papadimitriou

Renamed snf-app to snf-cyclades-app