From 0b85497213dbb5a37c0161b966a8139ce846931e Mon Sep 17 00:00:00 2001 From: Nikolaus Huber <nikolaus.huber@uni-wuerzburg.de> Date: Wed, 25 Sep 2013 16:40:19 +0000 Subject: [PATCH] git-svn-id: https://se1.informatik.uni-wuerzburg.de/usvn/svn/code/code/DMM/trunk@13169 9e42b895-fcda-4063-8a3b-11be15eb1bbd --- Examples/SEAMS_Case_Study/pushpull.staLang | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Examples/SEAMS_Case_Study/pushpull.staLang diff --git a/Examples/SEAMS_Case_Study/pushpull.staLang b/Examples/SEAMS_Case_Study/pushpull.staLang new file mode 100644 index 00000000..ebb658d3 --- /dev/null +++ b/Examples/SEAMS_Case_Study/pushpull.staLang @@ -0,0 +1,60 @@ +AdaptationProcess [id: testID1] { + name AdaptationProcessName1 + tactics : + Tactic [id: tacticID1] { + name tactic1Name + implementedPlan + AdaptationPlan [id: planID1] { + name AdaptationPlan1 + } + } + actions : + Action [id:actionID1] { + name ActionName1 + referredAdaptationPoint AmountOfvCpus + } + strategies : + Strategy [id:stratID1] { + name Strategie1 + objective objectiveName + triggeringEvents + Event [id:eventID1] { + name Event1 + } + tactics { + WeightedTactic [id:wtacID2] { + name wTacName1 + currentWeight 1.4 + defaultWeight 2.3 + usedTactic tactic1Name + } + } + weightingFunction + WeightingFunction [id:wFunc1] { + name func1Name + weightingFunctionImplementation Tempalate + weightedMetrics { + WeightedMetric [id:metric1] { + name wMetric1 + weight 1.4 + metricType Vm1Utilization + } + } + } + } + goal OverallGoal { + description "Description of our overal Goal" + objectives : + Objective [id:objID1] { + name objectiveName + specifications : + Specification { + value 4.3 + relationalOperator RelationalOperator + metricType Vm2Utilization + } + } + } + ImportDeclaration "platform:/resource/Examples/SEAMS_Case_Study/default.adaptationpoints" + ImportDeclaration "platform:/resource/Examples/SEAMS_Case_Study/simucomresults.perfdatarepo" +} \ No newline at end of file -- GitLab