plstackapi.git
11 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/plstackapi
Scott Baker [Wed, 6 Aug 2014 18:27:44 +0000 (11:27 -0700)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plstackapi

11 years agobump version number to 1.0.22-2
Scott Baker [Wed, 6 Aug 2014 18:27:36 +0000 (11:27 -0700)]
bump version number to 1.0.22-2

11 years agoadded default siterole
Tony Mack [Wed, 6 Aug 2014 17:46:14 +0000 (13:46 -0400)]
added default siterole

11 years agocleaner version of selector
Scott Baker [Wed, 6 Aug 2014 01:52:14 +0000 (18:52 -0700)]
cleaner version of selector

11 years agofiltering of select in sliverinline now working
Scott Baker [Wed, 6 Aug 2014 01:33:31 +0000 (18:33 -0700)]
filtering of select in sliverinline now working

11 years agoinject node_deployment info into change_form for slice admin
Scott Baker [Wed, 6 Aug 2014 00:19:24 +0000 (17:19 -0700)]
inject node_deployment info into change_form for slice admin

11 years agodynamically get list of sites for request account page
Scott Baker [Tue, 5 Aug 2014 17:15:26 +0000 (10:15 -0700)]
dynamically get list of sites for request account page

11 years agomerge amisha changes
Scott Baker [Tue, 5 Aug 2014 16:51:40 +0000 (09:51 -0700)]
merge amisha changes

11 years agoMake changes to install observer initscript in the right place
Sapan Bhatia [Tue, 5 Aug 2014 03:49:52 +0000 (23:49 -0400)]
Make changes to install observer initscript in the right place

11 years agoTypo in spec file
Sapan Bhatia [Tue, 5 Aug 2014 03:45:59 +0000 (23:45 -0400)]
Typo in spec file

11 years agoAdd observer initscript to build rpm
Sapan Bhatia [Tue, 5 Aug 2014 03:45:13 +0000 (23:45 -0400)]
Add observer initscript to build rpm

11 years agoChecking in initscript to run observer
Sapan Bhatia [Tue, 5 Aug 2014 03:42:21 +0000 (23:42 -0400)]
Checking in initscript to run observer

11 years agoIf an object's peer is not set, it implies no dependency. So rather than
Sapan Bhatia [Mon, 4 Aug 2014 14:48:28 +0000 (10:48 -0400)]
If an object's peer is not set, it implies no dependency. So rather than
failing the dependency check, we pass it.

11 years agoput legacyapi in the xmlrpc dir, since it was being hidden by the admin api
Scott Baker [Fri, 1 Aug 2014 21:56:49 +0000 (14:56 -0700)]
put legacyapi in the xmlrpc dir, since it was being hidden by the admin api

11 years agoLog exception when graph cannot be loaded
Sapan Bhatia [Wed, 23 Jul 2014 21:24:13 +0000 (17:24 -0400)]
Log exception when graph cannot be loaded

11 years agoFixed tabulations
Sapan Bhatia [Wed, 23 Jul 2014 20:39:41 +0000 (16:39 -0400)]
Fixed tabulations

11 years agoUpdated fixtures to latest versoin in master
Sapan Bhatia [Wed, 23 Jul 2014 20:31:16 +0000 (16:31 -0400)]
Updated fixtures to latest versoin in master

11 years agoMinor bug fixes
Sapan Bhatia [Wed, 23 Jul 2014 14:35:33 +0000 (10:35 -0400)]
Minor bug fixes

11 years agoPoint default observer back to OpenStack observer
Sapan Bhatia [Wed, 23 Jul 2014 14:27:49 +0000 (10:27 -0400)]
Point default observer back to OpenStack observer

11 years agoRemoved deleters, which are not used in 3.0
Sapan Bhatia [Wed, 23 Jul 2014 14:26:25 +0000 (10:26 -0400)]
Removed deleters, which are not used in 3.0

11 years agoService provider deleter, refactored
Sapan Bhatia [Wed, 23 Jul 2014 14:25:21 +0000 (10:25 -0400)]
Service provider deleter, refactored

11 years agoOrigin server deleter, refactored
Sapan Bhatia [Wed, 23 Jul 2014 14:25:00 +0000 (10:25 -0400)]
Origin server deleter, refactored

11 years agoHPC service does not support deletion
Sapan Bhatia [Wed, 23 Jul 2014 14:18:31 +0000 (10:18 -0400)]
HPC service does not support deletion

11 years agoTypographic error
Sapan Bhatia [Wed, 23 Jul 2014 14:17:28 +0000 (10:17 -0400)]
Typographic error

11 years agoContent provider deleter, refactored
Sapan Bhatia [Wed, 23 Jul 2014 14:13:10 +0000 (10:13 -0400)]
Content provider deleter, refactored

11 years agoCDN Prefix deleter, refactored
Sapan Bhatia [Wed, 23 Jul 2014 14:12:42 +0000 (10:12 -0400)]
CDN Prefix deleter, refactored

11 years agoMerge changes to sync steps in OpenStack Observer back into EC2
Sapan Bhatia [Wed, 23 Jul 2014 14:03:50 +0000 (10:03 -0400)]
Merge changes to sync steps in OpenStack Observer back into EC2
Observer.

11 years agoUpdate OpenStack Observer's event loop from EC2 observer
Sapan Bhatia [Wed, 23 Jul 2014 14:02:45 +0000 (10:02 -0400)]
Update OpenStack Observer's event loop from EC2 observer

11 years agoRemoved old-style deleters
Sapan Bhatia [Wed, 23 Jul 2014 14:01:22 +0000 (10:01 -0400)]
Removed old-style deleters

11 years agoSteps in which deletion is not supported have to return an empty list
Sapan Bhatia [Wed, 23 Jul 2014 13:59:32 +0000 (09:59 -0400)]
Steps in which deletion is not supported have to return an empty list
when queried for deleted objects.

11 years agoSlice deployment deleter, refactored
Sapan Bhatia [Wed, 23 Jul 2014 13:53:53 +0000 (09:53 -0400)]
Slice deployment deleter, refactored

11 years agoSite deployment step, refactored
Sapan Bhatia [Wed, 23 Jul 2014 13:50:33 +0000 (09:50 -0400)]
Site deployment step, refactored

11 years agoNetwork sliver deleter, refactored
Sapan Bhatia [Wed, 23 Jul 2014 13:48:55 +0000 (09:48 -0400)]
Network sliver deleter, refactored

11 years agoNetwork deployment deleter, refactored
Sapan Bhatia [Wed, 23 Jul 2014 13:45:23 +0000 (09:45 -0400)]
Network deployment deleter, refactored

11 years agoUser deployments deleter refactored
Sapan Bhatia [Wed, 23 Jul 2014 13:43:20 +0000 (09:43 -0400)]
User deployments deleter refactored

11 years agoSliver deleter, refactored
Sapan Bhatia [Wed, 23 Jul 2014 13:37:19 +0000 (09:37 -0400)]
Sliver deleter, refactored

11 years agoDeleters should not be calling delete on the data model.
Sapan Bhatia [Wed, 23 Jul 2014 13:34:16 +0000 (09:34 -0400)]
Deleters should not be calling delete on the data model.

11 years agoUser deleter, refactored
Sapan Bhatia [Wed, 23 Jul 2014 13:34:02 +0000 (09:34 -0400)]
User deleter, refactored

11 years agoSlice deleter, refactored
Sapan Bhatia [Wed, 23 Jul 2014 13:33:44 +0000 (09:33 -0400)]
Slice deleter, refactored

11 years agoRefactored site deleter.
Sapan Bhatia [Wed, 23 Jul 2014 13:05:38 +0000 (09:05 -0400)]
Refactored site deleter.

11 years agoThis is in the default implementation of sync_step now
Sapan Bhatia [Wed, 23 Jul 2014 13:03:42 +0000 (09:03 -0400)]
This is in the default implementation of sync_step now

11 years agoProvide default implementation of fetch_pending to remove redundant code
Sapan Bhatia [Wed, 23 Jul 2014 12:59:30 +0000 (08:59 -0400)]
Provide default implementation of fetch_pending to remove redundant code
from steps.

11 years agoNetworks deleter for OpenStack
Sapan Bhatia [Wed, 23 Jul 2014 12:51:18 +0000 (08:51 -0400)]
Networks deleter for OpenStack

11 years agoExplicitly prevent deletion processing in steps in which it doesn't make
Sapan Bhatia [Tue, 22 Jul 2014 05:27:02 +0000 (01:27 -0400)]
Explicitly prevent deletion processing in steps in which it doesn't make
sense.

11 years agoFixed indentations.
Sapan Bhatia [Tue, 22 Jul 2014 05:22:15 +0000 (01:22 -0400)]
Fixed indentations.

11 years agoBug fix
Sapan Bhatia [Tue, 22 Jul 2014 05:22:00 +0000 (01:22 -0400)]
Bug fix

11 years agoDeletion
Sapan Bhatia [Tue, 22 Jul 2014 05:21:36 +0000 (01:21 -0400)]
Deletion

11 years agoDjango's delete method does not accept unknown keywords
Sapan Bhatia [Tue, 22 Jul 2014 05:21:05 +0000 (01:21 -0400)]
Django's delete method does not accept unknown keywords

11 years agoFixed a typo
Sapan Bhatia [Tue, 22 Jul 2014 05:11:36 +0000 (01:11 -0400)]
Fixed a typo

11 years agoContinuing removal of delters from EventManager
Sapan Bhatia [Tue, 22 Jul 2014 04:48:09 +0000 (00:48 -0400)]
Continuing removal of delters from EventManager

11 years agoDon't load deleters, they don't exist anymore
Sapan Bhatia [Tue, 22 Jul 2014 04:43:55 +0000 (00:43 -0400)]
Don't load deleters, they don't exist anymore

11 years agoLet's not have an outer exception try/catch... it only hides inner
Sapan Bhatia [Tue, 22 Jul 2014 04:35:56 +0000 (00:35 -0400)]
Let's not have an outer exception try/catch... it only hides inner
exceptions.

11 years agoMore cleanups
Sapan Bhatia [Tue, 22 Jul 2014 04:32:42 +0000 (00:32 -0400)]
More cleanups

11 years agoMerged some changes that SCott made to event_manager
Sapan Bhatia [Tue, 22 Jul 2014 04:30:16 +0000 (00:30 -0400)]
Merged some changes that SCott made to event_manager

11 years agoDropped extraneous sync steps in ec2_observer/steps directory
Sapan Bhatia [Tue, 22 Jul 2014 04:27:35 +0000 (00:27 -0400)]
Dropped extraneous sync steps in ec2_observer/steps directory

11 years agoAdded awslib, for interacting with Amazon AWS.
Sapan Bhatia [Tue, 22 Jul 2014 04:22:58 +0000 (00:22 -0400)]
Added awslib, for interacting with Amazon AWS.

11 years agoImported bug fixes
Sapan Bhatia [Tue, 22 Jul 2014 04:14:29 +0000 (00:14 -0400)]
Imported bug fixes

11 years agoMade 'observer' a symlink
Sapan Bhatia [Tue, 22 Jul 2014 03:23:36 +0000 (23:23 -0400)]
Made 'observer' a symlink

11 years agoRename observer to openstack_observer, making room for more convenient
Sapan Bhatia [Tue, 22 Jul 2014 03:21:23 +0000 (23:21 -0400)]
Rename observer to openstack_observer, making room for more convenient
switching to a different observer.

11 years agoThis tree was mixed up, with an old version of the EC2 Observer. This
Sapan Bhatia [Tue, 22 Jul 2014 02:53:58 +0000 (22:53 -0400)]
This tree was mixed up, with an old version of the EC2 Observer. This
change copies across the version demo'd the OpenCloud developer meeting.

11 years agoFixed indentation
Sapan Bhatia [Tue, 22 Jul 2014 00:09:06 +0000 (20:09 -0400)]
Fixed indentation

11 years agoImplement new mark/purge deletion for User Model
Sapan Bhatia [Tue, 22 Jul 2014 00:08:04 +0000 (20:08 -0400)]
Implement new mark/purge deletion for User Model

11 years agoDefault to purging on delete if the Observer cannot be loaded.
Sapan Bhatia [Tue, 22 Jul 2014 00:07:23 +0000 (20:07 -0400)]
Default to purging on delete if the Observer cannot be loaded.

11 years agoMove queries for deleted objects into a new manager
Sapan Bhatia [Tue, 22 Jul 2014 00:06:59 +0000 (20:06 -0400)]
Move queries for deleted objects into a new manager

11 years agoAdded ec2 observer, WIP
Sapan Bhatia [Mon, 12 May 2014 19:28:02 +0000 (15:28 -0400)]
Added ec2 observer, WIP

11 years agoAdded deletion field to fetch pending method.
Sapan Bhatia [Wed, 30 Apr 2014 04:53:06 +0000 (00:53 -0400)]
Added deletion field to fetch pending method.

11 years agoExecute deletors and purge record.
Sapan Bhatia [Wed, 30 Apr 2014 04:52:32 +0000 (00:52 -0400)]
Execute deletors and purge record.

11 years agoPurge operation.
Sapan Bhatia [Wed, 30 Apr 2014 04:51:02 +0000 (00:51 -0400)]
Purge operation.

11 years agoChanged core Observer logic to incorporate explicit deletions.
Sapan Bhatia [Wed, 30 Apr 2014 04:31:44 +0000 (00:31 -0400)]
Changed core Observer logic to incorporate explicit deletions.

11 years agoDrop original deleter logic. Deletions will not be explicit.
Sapan Bhatia [Wed, 30 Apr 2014 03:45:48 +0000 (23:45 -0400)]
Drop original deleter logic. Deletions will not be explicit.

11 years agoDecommissioning the garbage collector, no longer needed with explicit
Sapan Bhatia [Wed, 30 Apr 2014 03:05:53 +0000 (23:05 -0400)]
Decommissioning the garbage collector, no longer needed with explicit
deletions.

11 years agoNew version of delete, which marks as delete instead of removing an
Sapan Bhatia [Wed, 30 Apr 2014 00:33:51 +0000 (20:33 -0400)]
New version of delete, which marks as delete instead of removing an
object.

11 years agoAdded deletion check as a default filter of the User model.
Sapan Bhatia [Tue, 29 Apr 2014 18:41:23 +0000 (14:41 -0400)]
Added deletion check as a default filter of the User model.

11 years agoMake the deletion check a default filter on the base model, inherited by
Sapan Bhatia [Tue, 29 Apr 2014 18:36:51 +0000 (14:36 -0400)]
Make the deletion check a default filter on the base model, inherited by
subclasses of the base model.

11 years agoThis change makes a 'deletion check' a default filter for object
Sapan Bhatia [Tue, 29 Apr 2014 18:26:10 +0000 (14:26 -0400)]
This change makes a 'deletion check' a default filter for object
retrievals.

11 years agoAdded a 'deleted' field to all models. Specifically to:
Sapan Bhatia [Tue, 29 Apr 2014 14:32:14 +0000 (10:32 -0400)]
Added a 'deleted' field to all models. Specifically to:
- plcorebase
- user (which does not derive from plcorebase)

11 years agoUpdated backend status during call
Sapan Bhatia [Tue, 29 Apr 2014 04:42:40 +0000 (00:42 -0400)]
Updated backend status during call

11 years agoMake default value of status field "pending"
Sapan Bhatia [Tue, 29 Apr 2014 04:41:39 +0000 (00:41 -0400)]
Make default value of status field "pending"

11 years agoUpdated fixtures with backend_status field
Sapan Bhatia [Tue, 29 Apr 2014 04:34:45 +0000 (00:34 -0400)]
Updated fixtures with backend_status field

11 years agoMap errors and feed them into the database.
Sapan Bhatia [Tue, 29 Apr 2014 04:24:09 +0000 (00:24 -0400)]
Map errors and feed them into the database.

11 years agoFeed errors that occur in the back end in the backend_status field
Sapan Bhatia [Tue, 29 Apr 2014 03:58:36 +0000 (23:58 -0400)]
Feed errors that occur in the back end in the backend_status field

11 years agoAdded backend_status field to user object
Sapan Bhatia [Tue, 29 Apr 2014 01:09:53 +0000 (21:09 -0400)]
Added backend_status field to user object

11 years agoAdded a new field called 'backend_status' to the core model. This field
Sapan Bhatia [Tue, 29 Apr 2014 01:06:39 +0000 (21:06 -0400)]
Added a new field called 'backend_status' to the core model. This field
is to be used by the Observer to convey the status of object
provisioning to the end user.

11 years agoThis patch logs exceptions in the core of the Observer, which might
Sapan Bhatia [Mon, 28 Apr 2014 17:07:18 +0000 (13:07 -0400)]
This patch logs exceptions in the core of the Observer, which might
occur in case of a misconfiguration or in case there's an Observer bug.

11 years agoDeleters are no longer used
Sapan Bhatia [Wed, 23 Jul 2014 14:51:39 +0000 (10:51 -0400)]
Deleters are no longer used

11 years agoRefactored teh sync_volume_slice step with new style of deletion
Sapan Bhatia [Wed, 23 Jul 2014 14:51:16 +0000 (10:51 -0400)]
Refactored teh sync_volume_slice step with new style of deletion

11 years agoRefactored the sync_volume step with new style of deletion
Sapan Bhatia [Wed, 23 Jul 2014 14:50:51 +0000 (10:50 -0400)]
Refactored the sync_volume step with new style of deletion

11 years agoRefactored volume access right step
Sapan Bhatia [Wed, 23 Jul 2014 14:46:56 +0000 (10:46 -0400)]
Refactored volume access right step

11 years agoRestage to pl/master
jcnelson [Wed, 16 Jul 2014 19:50:27 +0000 (15:50 -0400)]
Restage to pl/master

11 years agoMake principal_id a unique field in SyndicatePrincipal
jcnelson [Wed, 16 Jul 2014 19:32:29 +0000 (15:32 -0400)]
Make principal_id a unique field in SyndicatePrincipal

11 years agoMerge branch 'master' of git://git.planet-lab.org/plstackapi
jcnelson [Wed, 16 Jul 2014 19:31:08 +0000 (15:31 -0400)]
Merge branch 'master' of git://git.planet-lab.org/plstackapi

11 years agoremove unused code
Tony Mack [Wed, 16 Jul 2014 17:26:28 +0000 (13:26 -0400)]
remove unused code

11 years agofix incorrect latitudes in cdn operator view
Scott Baker [Tue, 15 Jul 2014 21:36:47 +0000 (14:36 -0700)]
fix incorrect latitudes in cdn operator view

11 years agocheck in hello world xos dashboard
Scott Baker [Tue, 15 Jul 2014 20:57:34 +0000 (13:57 -0700)]
check in hello world xos dashboard

11 years agoremove debugging
Scott Baker [Tue, 15 Jul 2014 18:23:03 +0000 (11:23 -0700)]
remove debugging

11 years agoprevent problems if xos-backbone loaded twice
Scott Baker [Tue, 15 Jul 2014 18:21:08 +0000 (11:21 -0700)]
prevent problems if xos-backbone loaded twice

11 years agofix error if dashboard url is of unknown kind
Scott Baker [Tue, 15 Jul 2014 17:58:22 +0000 (10:58 -0700)]
fix error if dashboard url is of unknown kind

11 years agodemo index view, loading msg for datatables, hide views with no role
Scott Baker [Tue, 15 Jul 2014 17:38:06 +0000 (10:38 -0700)]
demo index view, loading msg for datatables, hide views with no role

11 years agoremove newlines and add comments
Scott Baker [Tue, 15 Jul 2014 17:29:17 +0000 (10:29 -0700)]
remove newlines and add comments

11 years agohyperlink coloring in slice list
Scott Baker [Tue, 15 Jul 2014 01:18:18 +0000 (18:18 -0700)]
hyperlink coloring in slice list