Skip to content
Snippets Groups Projects
Commit da82e14b authored by Fabian Brosig's avatar Fabian Brosig
Browse files

add Min example as Eclipse project

parent 9156bfff
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Min</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
</projectDescription>
eclipse.preferences.version=1
encoding/min.diagram=UTF-8
encoding/min.system=UTF-8
LIST ENTITIES
USING dml@'/Min/minmodels.properties';
\ No newline at end of file
LIST METRICS (RESOURCE '_I3tj4EnuEeOWVc_o6w1CBw' AS res1,
SERVICE '_A_DeMEmxEeOPLK3yYyEQWQ' AS svc1)
USING dml@'/Min/minmodels.properties';
\ No newline at end of file
SELECT res1.utilization, svc1.avgResponseTime
FOR RESOURCE '_I3tj4EnuEeOWVc_o6w1CBw' AS res1,
SERVICE '_A_DeMEmxEeOPLK3yYyEQWQ' AS svc1
USING dml@'/Min/minmodels.properties';
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<deployment:Deployment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:deployment="http://www.descartes-research.net/metamodel/deployment/0.1" xmlns:resourcelandscape="http://www.descartes-research.net/metamodel/resourcelandscape/0.1" id="_04BXQOa4EeGWevb6qKkohg" name="depl">
<system href="min.system#_zdRVAEeoEeSW4Op0B0CyhQ"/>
<targetResourceLandscape href="min.resourcelandscape#_FE29UEnuEeOWVc_o6w1CBw"/>
<deploymentContexts id="_XCpjIEnvEeOWVc_o6w1CBw" name="DeplContext">
<assemblyContext href="min.system#_5QiUIEeoEeSW4Op0B0CyhQ"/>
<resourceContainer xsi:type="resourcelandscape:ComputingInfrastructure" href="min.resourcelandscape#_GaVigEnuEeOWVc_o6w1CBw"/>
</deploymentContexts>
</deployment:Deployment>
<?xml version="1.0" encoding="ASCII"?>
<pi:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="http://eclipse.org/graphiti/mm/algorithms" xmlns:pi="http://eclipse.org/graphiti/mm/pictograms" visible="true" gridUnit="10" diagramTypeId="DescartesCompositeComponentDiagram" name="Diagram of MySys" snapToGrid="true" pictogramLinks="//@children.0/@link //@children.0/@children.1/@link //@children.0/@anchors.0/@link //@children.0/@children.2/@link //@children.0/@children.2/@children.1/@link //@children.0/@children.2/@anchors.0/@link //@connections.0/@link" version="0.11.0">
<graphicsAlgorithm xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.0" lineWidth="1" transparency="0.0" width="1000" height="1000"/>
<link>
<businessObjects href="min.system#_zdRVAEeoEeSW4Op0B0CyhQ"/>
</link>
<children xsi:type="pi:ContainerShape" visible="true" active="true">
<graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="1.0" width="621" height="231" y="30">
<graphicsAlgorithmChildren xsi:type="al:RoundedRectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="2" transparency="0.5" width="421" height="231" x="100" cornerHeight="5" cornerWidth="5"/>
</graphicsAlgorithm>
<link>
<businessObjects href="min.system#_zdRVAEeoEeSW4Op0B0CyhQ"/>
</link>
<anchors xsi:type="pi:BoxRelativeAnchor" visible="true" active="true" outgoingConnections="//@connections.0" referencedGraphicsAlgorithm="//@children.0/@graphicsAlgorithm/@graphicsAlgorithmChildren.0" useAnchorLocationAsConnectionEndpoint="true" relativeHeight="0.5">
<graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="101" height="20" x="-100" y="-10">
<graphicsAlgorithmChildren xsi:type="al:Ellipse" background="//@colors.3" foreground="//@colors.2" lineWidth="2" lineStyle="UNSPECIFIED" width="20" height="20" x="70"/>
<graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="2">
<points x="89" y="9"/>
<points x="101" y="9"/>
</graphicsAlgorithmChildren>
<graphicsAlgorithmChildren xsi:type="al:Text" foreground="//@colors.4" lineWidth="1" filled="false" transparency="0.0" width="70" height="20" font="//@fonts.0" horizontalAlignment="ALIGNMENT_RIGHT" value="ProvRole_IA"/>
</graphicsAlgorithm>
<link>
<businessObjects href="min.system#_zdRVAUeoEeSW4Op0B0CyhQ"/>
</link>
</anchors>
<children visible="true">
<graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="2" filled="false" transparency="0.0">
<points x="100" y="20"/>
<points x="521" y="20"/>
</graphicsAlgorithm>
</children>
<children visible="true">
<graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.4" lineWidth="1" filled="false" transparency="0.0" width="421" height="20" x="100" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="MySys"/>
<link>
<businessObjects href="min.system#_zdRVAEeoEeSW4Op0B0CyhQ"/>
</link>
</children>
<children xsi:type="pi:ContainerShape" visible="true" active="true">
<graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="1.0" width="230" height="50" x="115" y="160">
<graphicsAlgorithmChildren xsi:type="al:RoundedRectangle" background="//@colors.3" foreground="//@colors.2" lineWidth="2" transparency="0.0" width="100" height="50" x="65" cornerHeight="5" cornerWidth="5"/>
</graphicsAlgorithm>
<link>
<businessObjects href="min.system#_5QiUIEeoEeSW4Op0B0CyhQ"/>
</link>
<anchors xsi:type="pi:BoxRelativeAnchor" visible="true" active="true" incomingConnections="//@connections.0" referencedGraphicsAlgorithm="//@children.0/@children.2/@graphicsAlgorithm/@graphicsAlgorithmChildren.0" relativeHeight="0.5">
<graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="66" height="10" x="-65" y="-5">
<graphicsAlgorithmChildren xsi:type="al:Ellipse" background="//@colors.3" foreground="//@colors.2" lineWidth="2" lineStyle="UNSPECIFIED" width="10" height="10" x="50"/>
<graphicsAlgorithmChildren xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="2">
<points x="59" y="4"/>
<points x="66" y="4"/>
</graphicsAlgorithmChildren>
<graphicsAlgorithmChildren xsi:type="al:Text" foreground="//@colors.4" lineWidth="1" filled="false" transparency="0.0" width="50" height="20" y="-5" font="//@fonts.0" horizontalAlignment="ALIGNMENT_RIGHT" value="provRole"/>
</graphicsAlgorithm>
<link>
<businessObjects href="min.repository#_fMTX4EicEeOUHduTkzq26A"/>
</link>
</anchors>
<children visible="true">
<graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.2" lineWidth="2" filled="false" transparency="0.0">
<points x="65" y="20"/>
<points x="165" y="20"/>
</graphicsAlgorithm>
</children>
<children visible="true">
<graphicsAlgorithm xsi:type="al:Text" foreground="//@colors.4" lineWidth="1" filled="false" transparency="0.0" width="100" height="20" x="65" font="//@fonts.0" horizontalAlignment="ALIGNMENT_CENTER" value="actx"/>
<link>
<businessObjects href="min.system#_5QiUIEeoEeSW4Op0B0CyhQ"/>
</link>
</children>
</children>
</children>
<connections xsi:type="pi:FreeFormConnection" visible="true" active="true" start="//@children.0/@anchors.0" end="//@children.0/@children.2/@anchors.0">
<graphicsAlgorithm xsi:type="al:Polyline" foreground="//@colors.4" lineWidth="3" lineStyle="DASH" filled="false" transparency="0.0"/>
<link>
<businessObjects href="min.system#_6lWyAEeoEeSW4Op0B0CyhQ"/>
</link>
</connections>
<colors red="227" green="238" blue="249"/>
<colors red="255" green="255" blue="255"/>
<colors red="98" green="131" blue="167"/>
<colors red="187" green="218" blue="247"/>
<colors/>
<fonts name="Arial" size="8" bold="true"/>
</pi:Diagram>
<?xml version="1.0" encoding="ASCII"?>
<repository:Repository xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:functions="http://www.descartes-research.net/metamodel/functions/0.1" xmlns:repository="http://www.descartes-research.net/metamodel/repository/0.1" xmlns:resourcetype="http://www.descartes-research.net/metamodel/resourcetype/0.1" xmlns:servicebehavior="http://www.descartes-research.net/metamodel/servicebehavior/0.1" id="_O2wgMEcEEeOgk9V4uRCQAw" name="repositoryName">
<imports importURI="min.resourcetype"/>
<interfaces id="_Tq2AUUhvEeOHzfCev3b1wQ" name="IA">
<signatures id="_aeA_cEh-EeOdTtmYhYAY2w" name="boof"/>
</interfaces>
<components xsi:type="repository:BasicComponent" id="_ePxeNEicEeOUHduTkzq26A" name="Comp">
<interfaceProvidingRoles id="_fMTX4EicEeOUHduTkzq26A" name="provRole" interface="_Tq2AUUhvEeOHzfCev3b1wQ"/>
<fineGrainedBehavior describedSignature="_aeA_cEh-EeOdTtmYhYAY2w" interfaceProvidingRole="_fMTX4EicEeOUHduTkzq26A">
<behavior>
<actions xsi:type="servicebehavior:InternalAction">
<resourceDemand characterization="EXPLICIT">
<resourceType xsi:type="resourcetype:ProcessingResourceType" href="min.resourcetype#_wb33sEibEeOUHduTkzq26A"/>
<explicitDescription>
<probFunction xsi:type="functions:ExponentialDistribution" rate="2.0"/>
</explicitDescription>
</resourceDemand>
</actions>
</behavior>
</fineGrainedBehavior>
</components>
</repository:Repository>
<?xml version="1.0" encoding="UTF-8"?>
<resourcelandscape:DistributedDataCenter xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:resourceconfiguration="http://www.descartes-research.net/metamodel/resourceconfiguration/0.1" xmlns:resourcelandscape="http://www.descartes-research.net/metamodel/resourcelandscape/0.1" id="_FE29UEnuEeOWVc_o6w1CBw" name="ddc">
<consistsOf id="_FnQfwEnuEeOWVc_o6w1CBw" name="dc">
<contains xsi:type="resourcelandscape:ComputingInfrastructure" id="_GaVigEnuEeOWVc_o6w1CBw" name="compinfra">
<configSpec xsi:type="resourceconfiguration:ActiveResourceSpecification" id="_HaU_4EnuEeOWVc_o6w1CBw" name="activers">
<processingResourceSpecifications id="_I3tj4EnuEeOWVc_o6w1CBw" name="processingCPU" schedulingPolicy="PROCESSOR_SHARING" processingRate="1000.0">
<activeResourceType href="min.resourcetype#_wb33sEibEeOUHduTkzq26A"/>
<nrOfParProcUnits id="_Jd8dcEnuEeOWVc_o6w1CBw" name="numberofcores" number="1"/>
</processingResourceSpecifications>
<processingResourceSpecifications id="_daxLACRlEeS6t8oIpPE2Zg" name="processingHDD" schedulingPolicy="FCFS">
<activeResourceType href="min.resourcetype#_KmZtECRlEeS6t8oIpPE2Zg"/>
<nrOfParProcUnits id="_jRyBsCRlEeS6t8oIpPE2Zg" name="multiplicity" number="1"/>
</processingResourceSpecifications>
<processingResourceSpecifications id="_rbWJ0CRlEeS6t8oIpPE2Zg" name="delayResource">
<activeResourceType href="min.resourcetype#_2AqisCRlEeS6t8oIpPE2Zg"/>
<nrOfParProcUnits id="_8hMQcCRlEeS6t8oIpPE2Zg" name="multiplicity" number="1"/>
</processingResourceSpecifications>
</configSpec>
</contains>
</consistsOf>
</resourcelandscape:DistributedDataCenter>
<?xml version="1.0" encoding="UTF-8"?>
<resourcetype:ResourceTypeRepository xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:resourcetype="http://www.descartes-research.net/metamodel/resourcetype/0.1">
<resourceTypes xsi:type="resourcetype:ProcessingResourceType" id="_wb33sEibEeOUHduTkzq26A" name="CPU"/>
<resourceTypes xsi:type="resourcetype:ProcessingResourceType" id="_KmZtECRlEeS6t8oIpPE2Zg" name="HDD"/>
<resourceTypes xsi:type="resourcetype:ProcessingResourceType" id="_2AqisCRlEeS6t8oIpPE2Zg" name="DELAY"/>
</resourcetype:ResourceTypeRepository>
<?xml version="1.0" encoding="ASCII"?>
<system:System xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:repository="http://www.descartes-research.net/metamodel/repository/0.1" xmlns:system="http://www.descartes-research.net/metamodel/system/0.1" id="_zdRVAEeoEeSW4Op0B0CyhQ" name="MySys">
<assemblyContexts id="_5QiUIEeoEeSW4Op0B0CyhQ" name="actx">
<encapsulatedComponent xsi:type="repository:BasicComponent" href="min.repository#_ePxeNEicEeOUHduTkzq26A"/>
</assemblyContexts>
<providingDelegationConnectors id="_6lWyAEeoEeSW4Op0B0CyhQ" name="PDCn_provRole_ProvRole_IA" assemblyContext="_5QiUIEeoEeSW4Op0B0CyhQ" outerInterfaceProvidingRole="_zdRVAUeoEeSW4Op0B0CyhQ">
<innerInterfaceProvidingRole href="min.repository#_fMTX4EicEeOUHduTkzq26A"/>
</providingDelegationConnectors>
<interfaceProvidingRoles id="_zdRVAUeoEeSW4Op0B0CyhQ" name="ProvRole_IA">
<interface href="min.repository#_Tq2AUUhvEeOHzfCev3b1wQ"/>
</interfaceProvidingRoles>
</system:System>
<?xml version="1.0" encoding="ASCII"?>
<usageprofile:UsageProfile xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:functions="http://www.descartes-research.net/metamodel/functions/0.1" xmlns:usageprofile="http://www.descartes-research.net/metamodel/usageprofile/0.1" id="_yiEmIEeqEeSW4Op0B0CyhQ" name="usgProfile">
<imports importURI="min.system"/>
<imports importURI="min.repository"/>
<system href="min.system#_zdRVAEeoEeSW4Op0B0CyhQ"/>
<usageScenarios id="_yiFNMEeqEeSW4Op0B0CyhQ" name="do">
<scenarioBehavior>
<actions xsi:type="usageprofile:SystemCallUserAction" id="_A_DeMEmxEeOPLK3yYyEQWQ" name="SysCall_boof">
<providingRole href="min.system#_zdRVAUeoEeSW4Op0B0CyhQ"/>
<signature href="min.repository#_aeA_cEh-EeOdTtmYhYAY2w"/>
</actions>
</scenarioBehavior>
<workloadType xsi:type="usageprofile:ClosedWorkloadType" population="10">
<thinkTime>
<probFunction xsi:type="functions:ExponentialDistribution" rate="4.2"/>
</thinkTime>
</workloadType>
</usageScenarios>
</usageprofile:UsageProfile>
## Model Instance
dml.files.usageprofile=/Min/min.usageprofile
dml.files.system=/Min/min.system
dml.files.resourcelandscape=/Min/min.resourcelandscape
dml.files.repository=/Min/min.repository
dml.files.deployment=/Min/min.deployment
#dml.outputdirectory=/Min/results/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment