Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwilk2011-07-13 22:32:43 +0000
committerRyan D. Brooks2011-07-13 22:32:43 +0000
commit4b5fea671657690dcb4fef8ebf1dba993319b4d9 (patch)
treedc92f4aa827979841b122eed5ab07fce68186ef5 /plugins/org.eclipse.osee.ats.config.demo
parent5e11404d5ec635fdac5ead50ca8d30b648a09ca8 (diff)
downloadorg.eclipse.osee-4b5fea671657690dcb4fef8ebf1dba993319b4d9.tar.gz
org.eclipse.osee-4b5fea671657690dcb4fef8ebf1dba993319b4d9.tar.xz
org.eclipse.osee-4b5fea671657690dcb4fef8ebf1dba993319b4d9.zip
bug[ats_4B08V]: Fix allowed attribute types per branch
Diffstat (limited to 'plugins/org.eclipse.osee.ats.config.demo')
-rw-r--r--plugins/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/PopulateDemoActions.java7
-rw-r--r--plugins/org.eclipse.osee.ats.config.demo/support/OseeTypes_Demo.osee1
2 files changed, 1 insertions, 7 deletions
diff --git a/plugins/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/PopulateDemoActions.java b/plugins/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/PopulateDemoActions.java
index 0312f45eb70..80d653ed37c 100644
--- a/plugins/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/PopulateDemoActions.java
+++ b/plugins/org.eclipse.osee.ats.config.demo/src/org/eclipse/osee/ats/config/demo/PopulateDemoActions.java
@@ -258,7 +258,6 @@ public class PopulateDemoActions extends XNavigateItemAction {
OseeLog.log(OseeAtsConfigDemoActivator.class, Level.INFO,
new StringBuilder("Modifying artifact => ").append(art).toString());
art.setSoleAttributeValue(CoreAttributeTypes.Csci, DemoCscis.Navigation.name());
- art.setSoleAttributeValue(CoreAttributeTypes.SafetyCriticality, "I");
art.setSoleAttributeValue(CoreAttributeTypes.Subsystem, DemoSubsystems.Navigation.name());
Artifact navArt =
ArtifactQuery.getArtifactFromTypeAndName(CoreArtifactTypes.Component, DemoSubsystems.Navigation.name(),
@@ -271,7 +270,6 @@ public class PopulateDemoActions extends XNavigateItemAction {
OseeLog.log(OseeAtsConfigDemoActivator.class, Level.INFO,
new StringBuilder("Modifying artifact => ").append(art).toString());
art.setSoleAttributeValue(CoreAttributeTypes.Csci, DemoCscis.Interface.name());
- art.setSoleAttributeValue(CoreAttributeTypes.SafetyCriticality, "IV");
art.setSoleAttributeValue(CoreAttributeTypes.Subsystem, DemoSubsystems.Communications.name());
Artifact robotArt =
ArtifactQuery.getArtifactFromTypeAndName(CoreArtifactTypes.Component, DemoSubsystems.Robot_API.name(),
@@ -295,7 +293,6 @@ public class PopulateDemoActions extends XNavigateItemAction {
OseeLog.log(OseeAtsConfigDemoActivator.class, Level.INFO, "Adding artifact => " + name);
Artifact newArt =
ArtifactTypeManager.addArtifact(CoreArtifactTypes.SoftwareRequirement, parentArt.getBranch(), name);
- newArt.setSoleAttributeValue(CoreAttributeTypes.SafetyCriticality, "IV");
newArt.setSoleAttributeValue(CoreAttributeTypes.Subsystem, DemoSubsystems.Communications.name());
newArt.persist();
parentArt.addChild(newArt);
@@ -340,7 +337,6 @@ public class PopulateDemoActions extends XNavigateItemAction {
OseeLog.log(OseeAtsConfigDemoActivator.class, Level.INFO,
new StringBuilder("Modifying branch artifact => ").append(branchArtifact).toString());
branchArtifact.setSoleAttributeValue(CoreAttributeTypes.Csci, DemoCscis.Interface.name());
- branchArtifact.setSoleAttributeValue(CoreAttributeTypes.SafetyCriticality, "IV");
branchArtifact.setSoleAttributeValue(CoreAttributeTypes.Subsystem, DemoSubsystems.Communications.name());
Artifact comArt =
ArtifactQuery.getArtifactFromTypeAndName(CoreArtifactTypes.Component, DemoSubsystems.Robot_API.name(),
@@ -354,7 +350,6 @@ public class PopulateDemoActions extends XNavigateItemAction {
OseeLog.log(OseeAtsConfigDemoActivator.class, Level.INFO,
new StringBuilder("Modifying parent artifact => ").append(parentArtifact).toString());
parentArtifact.setSoleAttributeValue(CoreAttributeTypes.Csci, DemoCscis.Navigation.name());
- parentArtifact.setSoleAttributeValue(CoreAttributeTypes.SafetyCriticality, "V");
parentArtifact.setSoleAttributeValue(CoreAttributeTypes.Subsystem,
DemoSubsystems.Cognitive_Decision_Aiding.name());
parentArtifact.persist();
@@ -386,7 +381,6 @@ public class PopulateDemoActions extends XNavigateItemAction {
OseeLog.log(OseeAtsConfigDemoActivator.class, Level.INFO,
new StringBuilder("Modifying artifact => ").append(art).toString());
art.setSoleAttributeValue(CoreAttributeTypes.Csci, DemoCscis.Interface.name());
- art.setSoleAttributeValue(CoreAttributeTypes.SafetyCriticality, "IV");
art.setSoleAttributeValue(CoreAttributeTypes.Subsystem, DemoSubsystems.Communications.name());
Artifact comArt =
ArtifactQuery.getArtifactFromTypeAndName(CoreArtifactTypes.Component, DemoSubsystems.Robot_API.name(),
@@ -410,7 +404,6 @@ public class PopulateDemoActions extends XNavigateItemAction {
OseeLog.log(OseeAtsConfigDemoActivator.class, Level.INFO, "Adding artifact => " + name);
Artifact newArt =
ArtifactTypeManager.addArtifact(CoreArtifactTypes.SoftwareRequirement, parentArt.getBranch(), name);
- newArt.setSoleAttributeValue(CoreAttributeTypes.SafetyCriticality, "IV");
newArt.setSoleAttributeValue(CoreAttributeTypes.Subsystem, DemoSubsystems.Communications.name());
parentArt.addChild(newArt);
diff --git a/plugins/org.eclipse.osee.ats.config.demo/support/OseeTypes_Demo.osee b/plugins/org.eclipse.osee.ats.config.demo/support/OseeTypes_Demo.osee
index 47ee97835bc..01e304e9065 100644
--- a/plugins/org.eclipse.osee.ats.config.demo/support/OseeTypes_Demo.osee
+++ b/plugins/org.eclipse.osee.ats.config.demo/support/OseeTypes_Demo.osee
@@ -44,6 +44,7 @@ artifactType "Demo Code Team Workflow" extends "Team Workflow" {
attribute "demo.code.DP Effectivity"
attribute "demo.code.SP Effectivity"
attribute "demo.code.WP Effectivity"
+ attribute "Partition" branchGuid "AyH_f2sSKy3l07fIvAAA"
}
artifactType "Demo Req Team Workflow" extends "Team Workflow" {

Back to the top