Author: mattmann
Date: Sat Mar 17 03:18:59 2012
New Revision: 1301857
URL: http://svn.apache.org/viewvc?rev=1301857&view=rev
Log:
- fix for OODT-71: Add lifecycle model supporting transition, done and waiting
states
Added:
oodt/trunk/workflow/src/main/resources/examples/wengine/wengine-lifecycle.xml
(with props)
Modified:
oodt/trunk/CHANGES.txt
Modified: oodt/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/oodt/trunk/CHANGES.txt?rev=1301857&r1=1301856&r2=1301857&view=diff
==============================================================================
--- oodt/trunk/CHANGES.txt (original)
+++ oodt/trunk/CHANGES.txt Sat Mar 17 03:18:59 2012
@@ -4,6 +4,9 @@ Apache OODT Change Log
Release 0.4: Current Development
--------------------------------------------
+* OODT-71 Add lifecycle model supporting transition, done
+ and waiting states (mattmann)
+
* OODT-414 Create Java Logger Handler for CAS-PGE (bfoster)
* OODT-415 Add support to ExecUtils callProgram to take OutputStreams
Added:
oodt/trunk/workflow/src/main/resources/examples/wengine/wengine-lifecycle.xml
URL:
http://svn.apache.org/viewvc/oodt/trunk/workflow/src/main/resources/examples/wengine/wengine-lifecycle.xml?rev=1301857&view=auto
==============================================================================
---
oodt/trunk/workflow/src/main/resources/examples/wengine/wengine-lifecycle.xml
(added)
+++
oodt/trunk/workflow/src/main/resources/examples/wengine/wengine-lifecycle.xml
Sat Mar 17 03:18:59 2012
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more contributor
+license agreements. See the NOTICE.txt file distributed with this work for
+additional information regarding copyright ownership. The ASF licenses this
+file to you under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations under
+the License.
+-->
+<!-- FIXME: Change namespace URI? -->
+<cas:workflowlifecycles xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
+<default>
+ <stage name="init">
+ <status>NULL</status>
+ <status>LOADED</status>
+ <status>QUEUED</status>
+ </stage>
+ <stage name="precondition">
+ <status>PRECONDITION EVAL</status>
+ <status>RUN PRECONDITION</status>
+ <status>RESULTS BAIL</status>
+ <status>RESULTS BLOCKED</status>
+ <status>RESULTS SUCCESS</status>
+ <status>RESULTS FAILURE</status>
+ <status>PRECONDITION SUCCESS</status>
+ </stage>
+ <stage name="running">
+ <status>READY</status>
+ <status>EXECUTING</status>
+ <status>BLOCKED</status>
+ <status>RESULTS SUCCESS</status>
+ <status>RESULTS BAIL</status>
+ </stage>
+ <stage name="postcondition">
+ <status>POSTCONDITION EVAL</status>
+ <status>RUN POSTCONDITION</status>
+ <status>RESULTS BAIL</status>
+ <status>RESULTS BLOCKED</status>
+ <status>RESULTS SUCCESS</status>
+ <status>RESULTS FAILURE</status>
+ <status>POSTCONDITION SUCCESS</status>
+ </stage>
+ <stage name="final">
+ <status>SUCCESS</status>
+ <status>OFF</status>
+ <status>FAILURE</status>
+ </stage>
+
+ </default>
+<!--
+ Lifecycles can also be specified at the
+ Workflow Id level, by starting with a
+ <lifecycle name="" workflowId="some_id">
+
+ declaration, and then using the stage
+ and status tags appropriately as shown
+ above
+
+ </lifecycle>
+ -->
+</cas:workflowlifecycles>
Propchange:
oodt/trunk/workflow/src/main/resources/examples/wengine/wengine-lifecycle.xml
------------------------------------------------------------------------------
svn:executable = *