summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPreston Cody <codeman@gentoo.org>2007-08-07 01:36:04 +0000
committerPreston Cody <codeman@gentoo.org>2007-08-07 01:36:04 +0000
commitd8fdb6acc366021b6997063044bde33efb457d3e (patch)
tree6edda2aeecc2e5944406f57f285acba65e919cb2 /docs
parenttrying to make dyn_tags work better (diff)
downloadscire-d8fdb6acc366021b6997063044bde33efb457d3e.tar.gz
scire-d8fdb6acc366021b6997063044bde33efb457d3e.tar.bz2
scire-d8fdb6acc366021b6997063044bde33efb457d3e.zip
This is a very large commit from Rodrigo Lazo (rlazo) for Google SoC
This is the latest patch on the job execution series. As far as I could test it, now scire should be able to create, distribute, execute and gather the output of a job with the new models. Also the jobs register their status on the database (pending, downloaded, running, failed, finished or cancelled). So now all the backend code needed to "watch" a job is on its place. Right now a job gets executed but dies on the post processing stage (at least that is what I understand from the error message) Just move the GACL_functions.py from server/ to server/modules and apply this patch and you'll how myltiple entries are created for each member of the group in jobs_clients and on job_history. I've take some precautions regarding concurrency adding some locks, I'm not sure they are enough so please comment on that svn path=/; revision=247
Diffstat (limited to 'docs')
-rw-r--r--docs/scire2.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/scire2.sql b/docs/scire2.sql
index 71a3437..7bf55f5 100644
--- a/docs/scire2.sql
+++ b/docs/scire2.sql
@@ -14,7 +14,7 @@ INSERT INTO jobs_status (statusid, statusname) values (2, 'Downloaded');
INSERT INTO jobs_status (statusid, statusname) values (3, 'Running');
INSERT INTO jobs_status (statusid, statusname) values (4, 'Failed');
INSERT INTO jobs_status (statusid, statusname) values (5, 'Finished');
-
+INSERT INTO jobs_status (statusid, statusname) values (6, 'Cancelled');
INSERT INTO `permissions` VALUES (0,'View Users','Able to list the users',1,'2007-03-26 01:29:28','Default'),(23,'Test Permission 1','this is only a test.',1,'2007-03-26 02:20:40','Default'),(24,'Add ClientGroup','In the clients section, lets you add a group of clients.',2,'2007-04-01 17:03:11','Default'),(25,'Edit ClientGroup','Allows editing of the name and parent of a clientgroup.',2,'2007-04-01 17:07:32','Default'),(26,'Delete ClientGroup','deleting of a clientgroup. clients within move to parent.',2,'2007-04-01 17:08:39','Default'),(27,'Assign Permission','allows assigning permissions of users to clients. This is a very important permission!',2,'2007-04-01 17:52:25','Default'),(28,'View Permissions','see the list of active permissions.',2,'2007-04-01 17:53:17','Default'),(29,'Edit Client','edit client information.',2,'2007-04-01 18:10:02','Default'),(30,'Delete Client','remove a client.',2,'2007-04-01 18:10:21','Default'),(31,'Change User Pass/Name','If set, the ability to change a user\'s password will be enabled.',1,'2007-04-01 21:16:08','Default'),(32,'Add UserGroup','allows creation of usergroups.',1,'2007-04-01 23:18:59','Default');