From f69e8adf256684b1019f78bd63ee0967e5c044a6 Mon Sep 17 00:00:00 2001 From: Nikolaus Huber <nikolaus.huber@uni-wuerzburg.de> Date: Wed, 25 Sep 2013 16:52:41 +0000 Subject: [PATCH] git-svn-id: https://se1.informatik.uni-wuerzburg.de/usvn/svn/code/code/DMM/trunk@13171 9e42b895-fcda-4063-8a3b-11be15eb1bbd --- Examples/SEAMS_Case_Study/pushpull.staLang | 28 ++++++++++++---------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/Examples/SEAMS_Case_Study/pushpull.staLang b/Examples/SEAMS_Case_Study/pushpull.staLang index ebb658d3..57a9b565 100644 --- a/Examples/SEAMS_Case_Study/pushpull.staLang +++ b/Examples/SEAMS_Case_Study/pushpull.staLang @@ -1,32 +1,36 @@ AdaptationProcess [id: testID1] { - name AdaptationProcessName1 + name PushPullAdaptationProcess tactics : Tactic [id: tacticID1] { - name tactic1Name + name AddResources implementedPlan AdaptationPlan [id: planID1] { - name AdaptationPlan1 + name AddResourcesAdaptationPlan } } actions : Action [id:actionID1] { - name ActionName1 + name Add_vCPU referredAdaptationPoint AmountOfvCpus + adaptationActionOperation AdaptationActionOperation { + adaptationOperationScope AdaptationScope + adaptationOperationDirection AdaptationDirection + } } strategies : Strategy [id:stratID1] { - name Strategie1 - objective objectiveName + name PUSH + objective MaintainSLAs triggeringEvents Event [id:eventID1] { - name Event1 + name SlaViolated } tactics { WeightedTactic [id:wtacID2] { name wTacName1 currentWeight 1.4 defaultWeight 2.3 - usedTactic tactic1Name + usedTactic AddResources } } weightingFunction @@ -37,21 +41,21 @@ AdaptationProcess [id: testID1] { WeightedMetric [id:metric1] { name wMetric1 weight 1.4 - metricType Vm1Utilization + metricType CV_EJB_AvgResponseTime } } } } goal OverallGoal { - description "Description of our overal Goal" + description "Maintain SLAs and resource efficiency" objectives : Objective [id:objID1] { - name objectiveName + name MaintainSLAs specifications : Specification { value 4.3 relationalOperator RelationalOperator - metricType Vm2Utilization + metricType CV_EJB_AvgResponseTime } } } -- GitLab