PaaS Deployment
<?xml version="1.0" encoding="ASCII"?>
<camel:CamelModel
xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel="http://www.cloudsocket.eu/2016/05/camel" xmlns:deployment="http://www.cloudsocket.eu/2016/05/camel/deployment" xmlns:provider="http://www.cloudsocket.eu/2016/05/camel/provider" xmlns:requirement="http://www.cloudsocket.eu/2016/05/camel/requirement" xmlns:type="http://www.cloudsocket.eu/2016/05/camel/type" xsi:schemaLocation="http://www.cloudsocket.eu/2016/05/camel camel.ecore http://www.cloudsocket.eu/2016/05/camel/deployment camel.ecore#deployment http://www.cloudsocket.eu/2016/05/camel/provider camel.ecore#provider http://www.cloudsocket.eu/2016/05/camel/requirement camel.ecore#requirement http://www.cloudsocket.eu/2016/05/camel/type camel.ecore#type" name="ChristmasCardSendingModel"> <applications name="ChristmasCardSending" version="1.0" owner="@organisationModels.0/@organisation"/> <deploymentModels name="ChristmasCardSendingDeployment"> <internalComponents xsi:type="deployment:InternalServiceComponent" name="CardDesigner" type="SERVLET" serviceType="REST"> <configurations xsi:type="deployment:PaaSConfiguration" name="CardDesignerPaaSConfiguration" api="PUL" version="1.0" endpoint=""/> <requiredHost name="CardDesignerRequiredHost"/> <workflowTaskIDs>sid-1C5E88D8-C7E3-4FAC-85E5-FAD80099C28B</workflowTaskIDs> <workflowTaskIDs>sid-D891CCD3-40B6-4555-9C84-81BECCDCB1C2</workflowTaskIDs> <workflowTaskIDs>sid-B99151C2-9914-4E71-9540-9DFE38334B7B</workflowTaskIDs> </internalComponents> <internalComponents name="tomcat" type="SERVLET_CONTAINER" internalComponentRequirement="@requirementModels.0/@requirements.0"> <providedHosts name="TomcatProvidedHost"/> <requiredHost name="TomcatRequiredHost"/> </internalComponents> <internalComponentInstances xsi:type="deployment:InternalServiceComponentInstance" name="CardDesignerInstance" type="@deploymentModels.0/@internalComponents.0" endpoint="http://localhost:8080/demo-app-1.0/services/cardDesigner"> <requiredHostInstance name="CardDesignerInstanceRequiredHost" type="@deploymentModels.0/@internalComponents.0/@requiredHost"/> </internalComponentInstances> <internalComponentInstances name="TomcatInstance" type="@deploymentModels.0/@internalComponents.1"> <providedHostInstances name="TomcatInstanceProvidedHost" type="@deploymentModels.0/@internalComponents.1/@providedHosts.0"/> <requiredHostInstance name="TomcatInstanceRequiredHost" type="@deploymentModels.0/@internalComponents.1/@requiredHost"/> </internalComponentInstances> <hostings name="TomcatToCardDesigner" providedHost="@deploymentModels.0/@internalComponents.1/@providedHosts.0" requiredHost="@deploymentModels.0/@internalComponents.0/@requiredHost"/> <hostings name="PaaSToTomcat" providedHost="@deploymentModels.0/@paas.0/@providedHosts.0" requiredHost="@deploymentModels.0/@internalComponents.1/@requiredHost"/> <hostingInstances name="PaaSInstanceToTomcatInstance" type="@deploymentModels.0/@hostings.1" providedHostInstance="@deploymentModels.0/@paasInstances.0/@providedHostInstances.0" requiredHostInstance="@deploymentModels.0/@internalComponentInstances.1/@requiredHostInstance"/> <hostingInstances name="TomcatInstanceToCardDesignerInstance" type="@deploymentModels.0/@hostings.0" providedHostInstance="@deploymentModels.0/@internalComponentInstances.1/@providedHostInstances.0" requiredHostInstance="@deploymentModels.0/@internalComponentInstances.0/@requiredHostInstance"/> <vmRequirementSets name="CardDesignerPaaSVMRequirementSet" locationRequirement="@requirementModels.0/@requirements.5" providerRequirement="@requirementModels.0/@requirements.3" quantitativeHardwareRequirement="@requirementModels.0/@requirements.4" osOrImageRequirement="@requirementModels.0/@requirements.2"/> <saas name="EmailService" registryID=""> <workflowTaskIDs>sid-A952A4DD-CED9-440F-82FC-A6DE0568780A</workflowTaskIDs> </saas> <saasInstances name="EmailServiceInstance" type="@deploymentModels.0/@saas.0" serviceType="REST"> <endpoints>https://api.sendgrid.com/api/mail.send.json</endpoints> </saasInstances> <paas name="CardDesignerPaaS" paasRequirementSet="@deploymentModels.0/@paasRequirementSets.0"> <providedHosts name="CardDesignerPaaSHost"/> </paas> <paasInstances name="AtosPaaSInstance" type="@deploymentModels.0/@paas.0" paasFeature="@providerModels.0/@rootFeature/@subFeatures.0"> <providedHostInstances name="AtosPaaSProvidedHost" type="@deploymentModels.0/@paas.0/@providedHosts.0"/> </paasInstances> <paasRequirementSets name="CardDesignerPaaSRequirementSet" vmRequirementSet="@deploymentModels.0/@vmRequirementSets.0" paasRequirement="@requirementModels.0/@requirements.1"/> </deploymentModels> <locationModels name="ChristmasCardSendingLocation"> <regions id="EU" name="Europe"/> </locationModels> <organisationModels name="BrokerOrganisation"> <organisation name="Broker" email="info@broker.com"/> </organisationModels> <providerModels name="ATOSCloudFoundry"> <rootFeature name="ATOSCloud"> <attributes name="DeploymentModel" valueType="@typeModels.0/@dataTypes.0"/> <attributes name="ServiceModel"> <value xsi:type="type:StringsValue" value="PaaS"/> </attributes> <attributes name="Availability" valueType="@typeModels.0/@dataTypes.1" unitType="PERCENTAGE"/> <subFeatures name="PaaS"> <attributes name="Pricing" valueType="@typeModels.0/@dataTypes.6"/> <attributes name="Scaling" valueType="@typeModels.0/@dataTypes.7"/> <attributes name="Location" valueType="@typeModels.0/@dataTypes.8"/> <subFeatures xsi:type="provider:Alternative" name="AddOns"> <featureCardinality cardinalityMax="-1"/> <variants name="CanopyComposeServiceBroker"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="addOnType" valueType="@typeModels.0/@dataTypes.5"> <value xsi:type="type:EnumerateValue" name="BROKER"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="DatabaseAdminApp"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <subFeatures name="DatabaseAdminApp"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </subFeatures> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Datadog"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="addOnType" valueType="@typeModels.0/@dataTypes.5"> <value xsi:type="type:EnumerateValue" name="MONITORING" value="1"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Dynatrace"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="addOnType" valueType="@typeModels.0/@dataTypes.5"> <value xsi:type="type:EnumerateValue" name="ANALYTICS" value="2"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Nagios"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="addOnType" valueType="@typeModels.0/@dataTypes.5"> <value xsi:type="type:EnumerateValue" name="MONITORING" value="1"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="NewRelic"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="addOnType" valueType="@typeModels.0/@dataTypes.5"> <value xsi:type="type:EnumerateValue" name="MONITORING" value="1"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Pingdom"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="addOnType" valueType="@typeModels.0/@dataTypes.5"> <value xsi:type="type:EnumerateValue" name="MONITORING" value="1"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> </subFeatures> <subFeatures xsi:type="provider:Alternative" name="Services"> <featureCardinality cardinalityMax="-1"/> <variants name="Neo4j"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="serviceType" valueType="@typeModels.0/@dataTypes.4"> <value xsi:type="type:EnumerateValue" name="DB"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Abacus"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="serviceType" valueType="@typeModels.0/@dataTypes.4"> <value xsi:type="type:EnumerateValue" name="METERING" value="3"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Cassandra"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="serviceType" valueType="@typeModels.0/@dataTypes.4"> <value xsi:type="type:EnumerateValue" name="DB"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="CouchDB"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="serviceType" valueType="@typeModels.0/@dataTypes.4"> <value xsi:type="type:EnumerateValue" name="DB"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Dingo-postgresql"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="serviceType" valueType="@typeModels.0/@dataTypes.4"> <value xsi:type="type:EnumerateValue" name="DB"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="ElasticSearch"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="serviceType" valueType="@typeModels.0/@dataTypes.4"> <value xsi:type="type:EnumerateValue" name="SEARCH" value="2"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Mongodb"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="serviceType" valueType="@typeModels.0/@dataTypes.4"> <value xsi:type="type:EnumerateValue" name="DB"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Mysql"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="serviceType" valueType="@typeModels.0/@dataTypes.4"> <value xsi:type="type:EnumerateValue" name="DB"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Postgresql"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="serviceType" valueType="@typeModels.0/@dataTypes.4"> <value xsi:type="type:EnumerateValue" name="DB"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="RabbitMQ"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="serviceType" valueType="@typeModels.0/@dataTypes.4"> <value xsi:type="type:EnumerateValue" name="MESSAGE_QUEUE"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Redis"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <attributes name="serviceType" valueType="@typeModels.0/@dataTypes.4"> <value xsi:type="type:EnumerateValue" name="DB"/> </attributes> <featureCardinality cardinalityMax="1"/> </variants> </subFeatures> <subFeatures xsi:type="provider:Alternative" name="Middleware"> <featureCardinality cardinalityMax="-1"/> <variants name="JBoss"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Tomcat"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Tomee"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> </subFeatures> <subFeatures xsi:type="provider:Alternative" name="Runtimes"> <featureCardinality cardinalityMax="-1"/> <variants name="Java"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Clojure"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="DotNet"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Go"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Groovy"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Node"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="PhP"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Python"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Ruby"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Scala"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Swift"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> </subFeatures> <subFeatures xsi:type="provider:Alternative" name="Frameworks"> <featureCardinality cardinalityMax="-1"/> <variants name="Django"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Grails"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Hhvm"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Play"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Rack"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Sails"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Sinatra"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> <variants name="Spring"> <attributes name="version" valueType="@typeModels.0/@dataTypes.3"/> <featureCardinality cardinalityMax="1"/> </variants> </subFeatures> <featureCardinality cardinalityMin="1" cardinalityMax="1"/> </subFeatures> <featureCardinality cardinalityMin="1" cardinalityMax="1"/> </rootFeature> </providerModels> <requirementModels name="ChristmasCardSendingRequirement"> <requirements xsi:type="requirement:InternalComponentRequirement" name="TomcatBetweenSevenAndEight" minVersion="7.0" minVersionIncluded="true" maxVersion="8.0" maxVersionIncluded="true"/> <requirements xsi:type="requirement:PaaSRequirement" name="CardDesignerPaaSRequirement"> <pricingTypes>METERED</pricingTypes> <statusTypes>PRODUCTION</statusTypes> <runtimeTypes>JAVA</runtimeTypes> </requirements> <requirements xsi:type="requirement:OSRequirement" name="UbuntuRequirement" os="ubuntu"/> <requirements xsi:type="requirement:ProviderRequirement" name="PublicProviderRequirement"/> <requirements xsi:type="requirement:QuantitativeHardwareRequirement" name="CardDesignerHWRequirement" minCPU="1.0" minCores="2" minRAM="4096" minStorage="20"/> <requirements xsi:type="requirement:LocationRequirement" name="EuropeLocationRequirement" locations="@locationModels.0/@regions.0"/> </requirementModels> <typeModels name="ChristmasCardSendingType"> <dataTypes xsi:type="type:Enumeration" name="DeploymentModel"> <values name="PUBLIC"/> <values name="PRIVATE" value="1"/> </dataTypes> <dataTypes xsi:type="type:Range" name="AvailabilityRange" primitiveType="DoubleType"> <lowerLimit included="true"> <value xsi:type="type:DoublePrecisionValue" value="99.9"/> </lowerLimit> <upperLimit> <value xsi:type="type:DoublePrecisionValue" value="100.0"/> </upperLimit> </dataTypes> <dataTypes xsi:type="type:Enumeration" name="RuntimeType"> <values name="JAVA"/> <values name="CLOJURE" value="1"/> <values name="DOTNET" value="2"/> <values name="GO" value="3"/> <values name="GROOVY" value="4"/> <values name="NODE" value="5"/> <values name="PHP" value="6"/> <values name="PYTHON" value="7"/> <values name="RUBY" value="8"/> <values name="SCALA" value="9"/> <values name="SWIFT" value="10"/> </dataTypes> <dataTypes xsi:type="type:List" name="VersionList" primitiveType="StringType"> <values xsi:type="type:StringsValue" value="0."/> <values xsi:type="type:StringsValue" value="."/> </dataTypes> <dataTypes xsi:type="type:Enumeration" name="ServiceType"> <values name="DB"/> <values name="MESSAGE_QUEUE" value="1"/> <values name="SEARCH" value="2"/> <values name="METERING" value="3"/> </dataTypes> <dataTypes xsi:type="type:Enumeration" name="AddOnType"> <values name="BROKER"/> <values name="MONITORING" value="1"/> <values name="ANALYTICS" value="2"/> <values name="APP" value="3"/> </dataTypes> <dataTypes xsi:type="type:Enumeration" name="PricingType"> <values name="METERED"/> <values name="FIXED" value="1"/> <values name="FREE" value="2"/> </dataTypes> <dataTypes xsi:type="type:Enumeration" name="ScalingType"> <values name="HORIZONTAL"/> <values name="VERTICAL" value="1"/> <values name="AUTO" value="2"/> </dataTypes> <dataTypes xsi:type="type:Enumeration" name="LocationType"> <values name="EUROPE"/> <values name="NORTH_AMERICA" value="1"/> <values name="SOUTH_AMERICA" value="2"/> <values name="ASIA" value="3"/> <values name="OCEANIA" value="4"/> </dataTypes> </typeModels>
</camel:CamelModel>