Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2008-06-17 01:26:43 +0000
committerddunne2008-06-17 01:26:43 +0000
commit916dfd052580f6c55e9fd62ced5f419b744f20b4 (patch)
tree3220fb853b7fdf381397ea1568ee10ba3af1cb55
parent8be2d0144dcdeba662956ed63980fd843c72d117 (diff)
downloadorg.eclipse.osee-916dfd052580f6c55e9fd62ced5f419b744f20b4.tar.gz
org.eclipse.osee-916dfd052580f6c55e9fd62ced5f419b744f20b4.tar.xz
org.eclipse.osee-916dfd052580f6c55e9fd62ced5f419b744f20b4.zip
Minimized demo actions created
-rw-r--r--org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/config/DemoDbActionData.java31
-rw-r--r--org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/config/PopulateDemoActions.java11
2 files changed, 18 insertions, 24 deletions
diff --git a/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/config/DemoDbActionData.java b/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/config/DemoDbActionData.java
index d3504ca1f3d..0094b4330d6 100644
--- a/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/config/DemoDbActionData.java
+++ b/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/config/DemoDbActionData.java
@@ -64,19 +64,19 @@ public class DemoDbActionData {
public static Set<DemoDbActionData> getReqSawActionsData() {
Set<DemoDbActionData> actionDatas = new HashSet<DemoDbActionData>();
- actionDatas.add(new DemoDbActionData(new String[] {"SAW Requirement (committed) Changes for"}, "Diagram View",
+ actionDatas.add(new DemoDbActionData(new String[] {"SAW (committed) Reqt Changes for"}, "Diagram View",
PriorityType.Priority_1, new String[] {DemoDbAIs.SAW_Requirements.getAIName(),
DemoDbAIs.SAW_Code.getAIName(), DemoDbAIs.SAW_Test.getAIName()}, new Integer[] {1},
DefaultTeamState.Implement));
- actionDatas.add(new DemoDbActionData(new String[] {"SAW More Requirement (uncommitted) Changes for"},
- "Diagram View", PriorityType.Priority_3, new String[] {DemoDbAIs.SAW_Code.getAIName(),
- DemoDbAIs.SAW_SW_Design.getAIName(), DemoDbAIs.SAW_Requirements.getAIName(),
- DemoDbAIs.SAW_Test.getAIName()}, new Integer[] {1}, DefaultTeamState.Implement));
- actionDatas.add(new DemoDbActionData(new String[] {"SAW Even More Requirement (no-branch) Changes for"},
+ actionDatas.add(new DemoDbActionData(new String[] {"SAW (uncommitted) More Reqt Changes for"}, "Diagram View",
+ PriorityType.Priority_3, new String[] {DemoDbAIs.SAW_Code.getAIName(), DemoDbAIs.SAW_SW_Design.getAIName(),
+ DemoDbAIs.SAW_Requirements.getAIName(), DemoDbAIs.SAW_Test.getAIName()}, new Integer[] {1},
+ DefaultTeamState.Implement));
+ actionDatas.add(new DemoDbActionData(new String[] {"SAW (no-branch) Even More Requirement Changes for"},
"Diagram View", PriorityType.Priority_3, new String[] {DemoDbAIs.SAW_Code.getAIName(),
DemoDbAIs.SAW_SW_Design.getAIName(), DemoDbAIs.SAW_Requirements.getAIName(),
DemoDbAIs.SAW_Test.getAIName()}, new Integer[] {1}, DefaultTeamState.Implement));
- actionDatas.add(new DemoDbActionData(new String[] {"SAW More Requirement (uncommitted-conflicted) Changes for"},
+ actionDatas.add(new DemoDbActionData(new String[] {"SAW (uncommitted-conflicted) More Requirement Changes for"},
"Diagram View", PriorityType.Priority_3, new String[] {DemoDbAIs.SAW_Requirements.getAIName()},
new Integer[] {1}, DefaultTeamState.Implement));
return actionDatas;
@@ -85,27 +85,22 @@ public class DemoDbActionData {
public static Set<DemoDbActionData> getNonReqSawActionData() {
Set<DemoDbActionData> actionDatas = new HashSet<DemoDbActionData>();
actionDatas.add(new DemoDbActionData(new String[] {"Workaround for"}, "Graph View", PriorityType.Priority_1,
- new String[] {DemoDbAIs.Adapter.getAIName(), DemoDbAIs.SAW_Code.getAIName()}, new Integer[] {1},
- DefaultTeamState.Implement));
+ new String[] {DemoDbAIs.Adapter.getAIName()}, new Integer[] {1}, DefaultTeamState.Implement));
actionDatas.add(new DemoDbActionData(new String[] {"Working with"}, "Diagram Tree", PriorityType.Priority_3,
- new String[] {DemoDbAIs.SAW_Code.getAIName(), DemoDbAIs.SAW_SW_Design.getAIName(),
- DemoDbAIs.SAW_Requirements.getAIName(), DemoDbAIs.SAW_Test.getAIName()}, new Integer[] {0, 2},
- DefaultTeamState.Endorse));
+ new String[] {DemoDbAIs.SAW_SW_Design.getAIName()}, new Integer[] {0, 2}, DefaultTeamState.Endorse));
return actionDatas;
}
public static Set<DemoDbActionData> getGenericActionData() {
Set<DemoDbActionData> actionDatas = new HashSet<DemoDbActionData>();
actionDatas.add(new DemoDbActionData(new String[] {"Problem with the", "Can't see the"}, "Graph View",
- PriorityType.Priority_1, new String[] {DemoDbAIs.Adapter.getAIName(), DemoDbAIs.SAW_Code.getAIName()},
- new Integer[] {1}, DefaultTeamState.Implement));
+ PriorityType.Priority_1, new String[] {DemoDbAIs.Adapter.getAIName()}, new Integer[] {1},
+ DefaultTeamState.Implement));
actionDatas.add(new DemoDbActionData(new String[] {"Problem in", "Can't load"}, "Diagram Tree",
- PriorityType.Priority_3, new String[] {DemoDbAIs.CIS_Code.getAIName(), DemoDbAIs.CIS_SW_Design.getAIName(),
- DemoDbAIs.CIS_Requirements.getAIName(), DemoDbAIs.CIS_Test.getAIName()}, new Integer[] {0, 2},
+ PriorityType.Priority_3, new String[] {DemoDbAIs.CIS_Test.getAIName()}, new Integer[] {0, 2},
DefaultTeamState.Endorse));
actionDatas.add(new DemoDbActionData(new String[] {"Button W doesn't work on"}, "Situation Page",
- PriorityType.Priority_3, new String[] {DemoDbAIs.CIS_Code.getAIName(), DemoDbAIs.CIS_SW_Design.getAIName(),
- DemoDbAIs.CIS_Requirements.getAIName(), DemoDbAIs.CIS_Test.getAIName()}, new Integer[] {0, 2},
+ PriorityType.Priority_3, new String[] {DemoDbAIs.CIS_Test.getAIName()}, new Integer[] {0, 2},
DefaultTeamState.Analyze));
actionDatas.add(new DemoDbActionData(new String[] {"Problem with the"}, "user window", PriorityType.Priority_4,
new String[] {DemoDbAIs.Timesheet.getAIName()}, new Integer[] {1}, DefaultTeamState.Implement));
diff --git a/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/config/PopulateDemoActions.java b/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/config/PopulateDemoActions.java
index 26453bfcbad..cdac9cf9af8 100644
--- a/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/config/PopulateDemoActions.java
+++ b/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/config/PopulateDemoActions.java
@@ -218,7 +218,7 @@ public class PopulateDemoActions extends XNavigateItemAction {
if (result.isFalse()) throw new IllegalArgumentException(
(new StringBuilder("Error creating working branch: ")).append(result.getText()).toString());
- DemoDbUtil.sleep(40000);
+ DemoDbUtil.sleep(5000);
DemoDbUtil.setDefaultBranch(reqTeam.getSmaMgr().getBranchMgr().getWorkingBranch());
@@ -275,7 +275,7 @@ public class PopulateDemoActions extends XNavigateItemAction {
if (result.isFalse()) throw new IllegalArgumentException(
(new StringBuilder("Error committing working branch: ")).append(result.getText()).toString());
- DemoDbUtil.sleep(40000);
+ DemoDbUtil.sleep(5000);
OSEELog.logInfo(OseeAtsConfigDemoPlugin.class, "Completing Action", false);
}
@@ -292,7 +292,7 @@ public class PopulateDemoActions extends XNavigateItemAction {
if (result.isFalse()) throw new IllegalArgumentException(
(new StringBuilder("Error creating working branch: ")).append(result.getText()).toString());
- DemoDbUtil.sleep(40000);
+ DemoDbUtil.sleep(5000);
DemoDbUtil.setDefaultBranch(reqTeam.getSmaMgr().getBranchMgr().getWorkingBranch());
@@ -306,11 +306,10 @@ public class PopulateDemoActions extends XNavigateItemAction {
Artifact comArt =
ArtifactQuery.getArtifactFromTypeAndName(Requirements.COMPONENT, "Robot API",
BranchPersistenceManager.getInstance().getDefaultBranch());
-
branchArtifact.addRelation(CoreRelationEnumeration.ALLOCATION__COMPONENT, comArt);
branchArtifact.persistAttributesAndRelations();
- // Set to parent branch to make conflicting changes
+ // Set to parent branch to make some conflicting changes
DemoDbUtil.setDefaultBranch(reqTeam.getSmaMgr().getBranchMgr().getWorkingBranch().getParentBranch());
Artifact parentArtifact =
@@ -337,7 +336,7 @@ public class PopulateDemoActions extends XNavigateItemAction {
if (result.isFalse()) throw new IllegalArgumentException(
(new StringBuilder("Error creating working branch: ")).append(result.getText()).toString());
- DemoDbUtil.sleep(40000);
+ DemoDbUtil.sleep(5000);
DemoDbUtil.setDefaultBranch(reqTeam.getSmaMgr().getBranchMgr().getWorkingBranch());

Back to the top