diff --git a/Examples/SEAMS_Case_Study/pushpull.staLang b/Examples/SEAMS_Case_Study/pushpull.staLang index ebb658d3f0b5e2dc8000383f5c8540204188ec39..57a9b565cc9f8e44408188448a5b6d239b6c71c4 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 } } }