Skip to content
Snippets Groups Projects
pushpull.staLang 1.34 KiB
Newer Older
Nikolaus Huber's avatar
Nikolaus Huber committed
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"
}