diff --git a/edu.kit.ipd.descartes.adaptation.test/test_models/SEAMS_Case_Study/AdaptationPoints.xmi b/edu.kit.ipd.descartes.adaptation.test/test_models/SEAMS_Case_Study/AdaptationPoints.xmi index 558a074c8346c1f219f8a8b69a82f2668daa5b84..699fab4331290ca069070835885646280b16d29d 100644 --- a/edu.kit.ipd.descartes.adaptation.test/test_models/SEAMS_Case_Study/AdaptationPoints.xmi +++ b/edu.kit.ipd.descartes.adaptation.test/test_models/SEAMS_Case_Study/AdaptationPoints.xmi @@ -1,30 +1,77 @@ <?xml version="1.0" encoding="ASCII"?> -<adaptationpoints:AdaptationPointDescriptions xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:adaptationpoints="http://www.descartes-research.net/metamodel/adaptationpoints/0.1" xmlns:containerrepository="http://www.descartes-research.net/metamodel/containerrepository/0.1" xmlns:resourceconfiguration="http://www.descartes-research.net/metamodel/resourceconfiguration/0.1" xmlns:resourcelandscape="http://www.descartes-research.net/metamodel/resourcelandscape/0.1" xsi:schemaLocation="http://www.descartes-research.net/metamodel/adaptationpoints/0.1 ../../../edu.kit.ipd.descartes.mm.adaptationpoints/model/adaptationpoints.ecore http://www.descartes-research.net/metamodel/containerrepository/0.1 ../../../edu.kit.ipd.descartes.mm.resourcelandscape/model/containerrepository.ecore http://www.descartes-research.net/metamodel/resourceconfiguration/0.1 ../../../edu.kit.ipd.descartes.mm.resourcelandscape/model/resourceconfiguration.ecore http://www.descartes-research.net/metamodel/resourcelandscape/0.1 ../../../edu.kit.ipd.descartes.mm.resourcelandscape/model/resourcelandscape.ecore" id="1" name="SEAMS-AdaptationPoints"> - <adaptationPoints xsi:type="adaptationpoints:ModelVariableConfigurationRange" id="238746123" name="AmountOfCores" minValue="1.0" maxValue="4.0"> - <adaptableEntity xsi:type="resourceconfiguration:NumberOfParallelProcessingUnits" href="ContainerTemplateRepo.xmi#1341341"/> +<adaptationpoints:AdaptationPointDescriptions + xmi:version="2.0" + xmlns:xmi="http://www.omg.org/XMI" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:adaptationpoints="http://www.descartes-research.net/metamodel/adaptationpoints/0.1" + xmlns:containerrepository="http://www.descartes-research.net/metamodel/containerrepository/0.1" + xmlns:resourceconfiguration="http://www.descartes-research.net/metamodel/resourceconfiguration/0.1" + xmlns:resourcelandscape="http://www.descartes-research.net/metamodel/resourcelandscape/0.1" + xsi:schemaLocation="http://www.descartes-research.net/metamodel/adaptationpoints/0.1 ../../../edu.kit.ipd.descartes.mm.adaptationpoints/model/adaptationpoints.ecore http://www.descartes-research.net/metamodel/containerrepository/0.1 ../../../edu.kit.ipd.descartes.mm.resourcelandscape/model/containerrepository.ecore http://www.descartes-research.net/metamodel/resourceconfiguration/0.1 ../../../edu.kit.ipd.descartes.mm.resourcelandscape/model/resourceconfiguration.ecore http://www.descartes-research.net/metamodel/resourcelandscape/0.1 ../../../edu.kit.ipd.descartes.mm.resourcelandscape/model/resourcelandscape.ecore" + id="1" name="SEAMS-AdaptationPoints"> + <adaptationPoints + xsi:type="adaptationpoints:ModelVariableConfigurationRange" + id="238746123" + name="AmountOfCores" + minValue="1.0" + maxValue="4.0"> + <adaptableEntity + xsi:type="resourceconfiguration:NumberOfParallelProcessingUnits" + href="ContainerTemplateRepo.xmi#1341341"/> </adaptationPoints> - <adaptationPoints xsi:type="adaptationpoints:ModelEntityConfigurationRange" id="12312412412" name="NumberOfAppServerVmInstances"> - <variationPossibility xsi:type="adaptationpoints:PropertyRange"> - <minValueConstraint oclString="self.containedIn.contains -> select( r
 | r.template = self.template)->size() >= 1"/> - <maxValueConstraint oclString="self.containedIn.contains -> select( r
 | r.template = self.template)->size() <= 4"/> + <adaptationPoints + xsi:type="adaptationpoints:ModelEntityConfigurationRange" + id="12312412412" + name="NumberOfAppServerVmInstances"> + <variationPossibility + xsi:type="adaptationpoints:PropertyRange"> + <minValueConstraint + oclString="self.containedIn.contains -> select( r
 | r.template = self.template)->size() >= 1"/> + <maxValueConstraint + oclString="self.containedIn.contains -> select( r
 | r.template = self.template)->size() <= 4"/> </variationPossibility> - <adaptableEntity xsi:type="resourcelandscape:RuntimeEnvironment" href="AcamarCluster.xmi#12"/> + <adaptableEntity + xsi:type="resourcelandscape:RuntimeEnvironment" + href="AcamarCluster.xmi#12"/> </adaptationPoints> - <adaptationPoints xsi:type="adaptationpoints:ModelEntityConfigurationRange" id="xyz" name="NumberOfAppServerTemplateInstances"> - <variationPossibility xsi:type="adaptationpoints:PropertyRange"> - <minValueConstraint oclString="self.referringContainers->size() >= 1"/> - <maxValueConstraint oclString="self.referringContainers->size() <= 10"/> + <adaptationPoints + xsi:type="adaptationpoints:ModelEntityConfigurationRange" + id="xyz" + name="NumberOfAppServerTemplateInstances"> + <variationPossibility + xsi:type="adaptationpoints:PropertyRange"> + <minValueConstraint + oclString="self.referringContainers->size() >= 1"/> + <maxValueConstraint + oclString="self.referringContainers->size() <= 10"/> </variationPossibility> - <adaptableEntity xsi:type="containerrepository:ContainerTemplate" href="ContainerTemplateRepo.xmi#2"/> + <adaptableEntity + xsi:type="containerrepository:ContainerTemplate" + href="ContainerTemplateRepo.xmi#2"/> </adaptationPoints> - <adaptationPoints xsi:type="adaptationpoints:ModelEntityConfigurationRange" id="123321" name="VmMigration"> - <variationPossibility xsi:type="adaptationpoints:SetOfConfigurations"> - <valueConstraint oclString=""Specify a fancy OCL constraint here""/> - <variants href="AcamarCluster.xmi#4"/> - <variants href="AcamarCluster.xmi#5"/> - <variants href="AcamarCluster.xmi#6"/> - <variants href="AcamarCluster.xmi#7"/> + <adaptationPoints + xsi:type="adaptationpoints:ModelEntityConfigurationRange" + id="123321" + name="VmMigration"> + <variationPossibility + xsi:type="adaptationpoints:SetOfConfigurations"> + <valueConstraint + oclString=""Specify a fancy OCL constraint here""/> + <variants + xsi:type="resourcelandscape:ComputingInfrastructure" + href="AcamarCluster.xmi#4"/> + <variants + xsi:type="resourcelandscape:ComputingInfrastructure" + href="AcamarCluster.xmi#5"/> + <variants + xsi:type="resourcelandscape:ComputingInfrastructure" + href="AcamarCluster.xmi#6"/> + <variants + xsi:type="resourcelandscape:ComputingInfrastructure" + href="AcamarCluster.xmi#7"/> </variationPossibility> - <adaptableEntity xsi:type="resourcelandscape:RuntimeEnvironment" href="AcamarCluster.xmi#13"/> + <adaptableEntity + xsi:type="resourcelandscape:RuntimeEnvironment" + href="AcamarCluster.xmi#13"/> </adaptationPoints> </adaptationpoints:AdaptationPointDescriptions>