Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ats.config.demo/support/WorkDef_Team_Demo_SwDesign.ats')
-rw-r--r--plugins/org.eclipse.osee.ats.config.demo/support/WorkDef_Team_Demo_SwDesign.ats180
1 files changed, 180 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.ats.config.demo/support/WorkDef_Team_Demo_SwDesign.ats b/plugins/org.eclipse.osee.ats.config.demo/support/WorkDef_Team_Demo_SwDesign.ats
new file mode 100644
index 0000000000..4cb0f2cad2
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.config.demo/support/WorkDef_Team_Demo_SwDesign.ats
@@ -0,0 +1,180 @@
+workDefinition "WorkDef_Team_Demo_SwDesign" {
+ id "WorkDef_Team_Demo_SwDesign"
+ startState "Endorse"
+
+ widgetDefinition "Problem" {
+ attributeName "ats.Problem"
+ xWidgetName "XTextDam"
+ option FILL_VERTICALLY
+ }
+
+ widgetDefinition "Proposed Resolution" {
+ attributeName "ats.Proposed Resolution"
+ xWidgetName "XTextDam"
+ option FILL_VERTICALLY
+ }
+
+ widgetDefinition "Title" {
+ attributeName "Name"
+ xWidgetName "XTextDam"
+ option REQUIRED_FOR_TRANSITION
+ }
+
+ widgetDefinition "Description" {
+ attributeName "ats.Description"
+ xWidgetName "XTextDam"
+ option REQUIRED_FOR_TRANSITION
+ option FILL_VERTICALLY
+ }
+
+ widgetDefinition "User Community" {
+ attributeName "ats.User Community"
+ xWidgetName "XListDam(OPTIONS_FROM_ATTRIBUTE_VALIDITY)"
+ option HORIZONTAL_LABEL
+ }
+
+ widgetDefinition "Working Branch" {
+ xWidgetName "XWorkingBranch"
+ }
+
+ widgetDefinition "Commit Manager" {
+ xWidgetName "XCommitManager"
+ }
+
+ widgetDefinition "Resolution" {
+ attributeName "ats.Resolution"
+ xWidgetName "XTextDam"
+ option FILL_VERTICALLY
+ }
+ decisionReviewDefinition "Analyze.None.TransitionTo" {
+ title
+ "Auto-created Decision Review from ruleId: atsAddDecisionReview.test.addDecisionReview.Analyze.None.TransitionTo"
+ description "This is a rule created to test the Review rules."
+ relatedToState "Analyze"
+ blockingType Transition
+ onEvent TransitionTo
+ assignee named "UnAssigned"
+ autoTransitionToDecision True
+ option "Completed"
+ }
+ decisionReviewDefinition "Implement.None.CreateBranch" {
+ title
+ "Auto-created Decision Review from ruleId: atsAddDecisionReview.test.addDecisionReview.Implement.None.CreateBranch"
+ description "This is a rule created to test the Review rules."
+ relatedToState "Implement"
+ blockingType Transition
+ onEvent CreateBranch
+ assignee named "UnAssigned"
+ option "Completed"
+ }
+ peerReviewDefinition "Authorize.None.TransitionTo" {
+ title
+ "Auto-created Decision Review from ruleId atsAddPeerToPeerReview.test.addPeerToPeerReview.Authorize.None.TransitionTo"
+ description "This is a rule created to test the Review rules."
+ relatedToState "Authorize"
+ blockingType Transition
+ onEvent TransitionTo
+ assignee named "UnAssigned"
+ }
+ peerReviewDefinition "Implement.None.CommitBranch" {
+ title
+ "Auto-created Decision Review from ruleId atsAddPeerToPeerReview.test.addPeerToPeerReview.Implement.None.CommitBranch"
+ description "This is a rule created to test the Review rules."
+ relatedToState "Implement"
+ blockingType Transition
+ onEvent CommitBranch
+ assignee named "UnAssigned"
+ }
+
+ state "Analyze" {
+ type Working
+ ordinal 2
+ to "Cancelled"
+ to "Authorize" AsDefault
+ to "Endorse" OverrideAttributeValidation
+ rule RequireStateHourSpentPrompt
+ decisionReview "Analyze.None.TransitionTo"
+ layout {
+ attributeWidget "ats.Work Package"
+ widget "Problem"
+ widget "Proposed Resolution"
+ composite {
+ numColumns 6
+ attributeWidget "ats.Change Type"
+ attributeWidget "ats.Priority"
+ attributeWidget "ats.Need By"
+ }
+ attributeWidget "ats.Estimated Hours"
+ }
+ }
+
+ state "Endorse" {
+ type Working
+ ordinal 1
+ to "Cancelled"
+ to "Analyze" AsDefault
+ rule RequireStateHourSpentPrompt
+ layout {
+ widget "Title"
+ widget "Description"
+ widget "Proposed Resolution"
+ composite {
+ numColumns 6
+ attributeWidget "ats.Change Type"
+ attributeWidget "ats.Priority"
+ attributeWidget "ats.Need By"
+ }
+ attributeWidget "ats.Validation Required"
+ attributeWidget "ats.Work Package"
+ widget "User Community"
+ }
+ }
+
+ state "Cancelled" {
+ type Cancelled
+ ordinal 6
+ to "Analyze" OverrideAttributeValidation
+ to "Endorse" OverrideAttributeValidation
+ to "Authorize" OverrideAttributeValidation
+ to "Implement" OverrideAttributeValidation
+ }
+
+ state "Authorize" {
+ type Working
+ ordinal 3
+ to "Cancelled"
+ to "Implement" AsDefault
+ to "Analyze" OverrideAttributeValidation
+ peerReview "Authorize.None.TransitionTo"
+ layout {
+ attributeWidget "ats.Work Package"
+ attributeWidget "ats.Estimated Completion Date"
+ }
+ }
+
+ state "Completed" {
+ type Completed
+ ordinal 5
+ to "Implement" OverrideAttributeValidation
+ rule AddDecisionValidateBlockingReview
+ }
+
+ state "Implement" {
+ type Working
+ ordinal 4
+ to "Cancelled"
+ to "Completed" AsDefault
+ to "Analyze" OverrideAttributeValidation
+ to "Authorize" OverrideAttributeValidation
+ rule RequireStateHourSpentPrompt
+ decisionReview "Implement.None.CreateBranch"
+ peerReview "Implement.None.CommitBranch"
+ layout {
+ widget "Working Branch"
+ widget "Commit Manager"
+ attributeWidget "ats.Work Package"
+ attributeWidget "ats.Estimated Completion Date"
+ widget "Resolution"
+ }
+ }
+} \ No newline at end of file

Back to the top