diff --git a/design/Petclinic-alone.json b/design/Petclinic-alone.json deleted file mode 100644 index 4ce3ebd36..000000000 --- a/design/Petclinic-alone.json +++ /dev/null @@ -1,523 +0,0 @@ -{ - "@self" : "/csa/api/topology-model/topology/c0929227-1fbb-4f9f-b8e4-e587938c42d7", - "@type" : "urn:x-hp:2013:software:cloud:topology_model:topology", - "groupId" : "com.hp.csa", - "artifactId" : "ff8081814e95c8f0014e95d0eab71570", - "version" : "1.50.00", - "displayName" : "PetClinic Application", - "description" : "A partial PetClinic Application design requiring an infrastructure with Database and Application Server for fulfillment.", - "resources" : [ { - "id" : "ApplicationServer__VERSION__1__GROUPID__com.hp.csa.type0001", - "name" : "Application Server", - "component" : { - "@self" : "/csa/api/topology-model/component-type/2966f971-29e9-42b2-b91a-1673711407fb", - "groupId" : "com.hp.csa.type", - "artifactId" : "ApplicationServer", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "installPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "protocol", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ ], - "annotations" : { - "uniqueName" : "ApplicationServe0001", - "displayName" : "Application Server", - "x" : "527", - "description" : "\n ", - "y" : "243" - }, - "capabilityChars" : [ ], - "requirements" : [ { - "id" : "541b8c11-1399-442b-bef9-b28d9a12dd38", - "name" : "Tomcat 7", - "description" : "Tomcat 7" - } ] - }, { - "id" : "New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4__VERSION__1__GROUPID__com.hp.csa.type0001", - "name" : "PetClinic DB Conf", - "component" : { - "@self" : "/csa/api/topology-model/component-type/b183f792-136a-4d14-ad0f-4545033008a0", - "groupId" : "com.hp.csa.type", - "artifactId" : "New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "configurationurl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/mysqldb_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "mysqlusername", - "propertyValue" : { - "value" : "petdb", - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "mysqlpassword", - "propertyValue" : { - "value" : "opsware", - "type" : "string" - } - }, { - "propertyKey" : "artifactusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactpassword", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "remotefilepath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "servicecommand", - "propertyValue" : { - "value" : "sh /tmp/mysqldb_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "rel0001", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "configuresDb_New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4", - "resourceReference" : { - "name" : "Database Server" - } - } ], - "annotations" : { - "uniqueName" : "PetClinicDBConf0001", - "displayName" : "PetClinic DB Conf", - "x" : "225", - "description" : "\n ", - "y" : "74" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "DatabaseServer__VERSION__1__GROUPID__com.hp.csa.type0001", - "name" : "Database Server", - "component" : { - "@self" : "/csa/api/topology-model/component-type/61614206-5669-47b8-bc9c-b247248f440d", - "groupId" : "com.hp.csa.type", - "artifactId" : "DatabaseServer", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "type", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ ], - "annotations" : { - "uniqueName" : "DatabaseServer0001", - "displayName" : "Database Server", - "x" : "227", - "description" : "\n ", - "y" : "245" - }, - "capabilityChars" : [ ], - "requirements" : [ { - "id" : "ca4a0d9b-2d36-43a8-a37e-c8933e779867", - "name" : "MySQL 5.6", - "description" : "MySQL 5.6" - } ] - }, { - "id" : "6f7664fc-6af2-3bc4-63a4-b8e94587fce1", - "name" : "PetClinic Application", - "component" : { - "@self" : "/csa/api/topology-model/component-type/71b645da-5c0f-4ef5-a52a-80246fa4f023", - "groupId" : "com.hp.csa.type", - "artifactId" : "PetClinicApplicationType", - "version" : "1.50.0000" - }, - "properties" : [ { - "propertyKey" : "configurationurl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/petclinic_jdbc_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "hostusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "mysqlusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "localfilepath", - "propertyValue" : { - "value" : "petclinic.war", - "type" : "string" - } - }, { - "propertyKey" : "mysqlpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "apphostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "dbhostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "dbpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "tomcathome", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifacturl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/petclinic.war", - "type" : "string" - } - }, { - "propertyKey" : "dbusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "remotefilepath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "servicecommand", - "propertyValue" : { - "value" : "sh /tmp/petclinic_jdbc_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "hostpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "0506f000-2161-1fb5-26f5-c3fffc499349", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "hostedOn_PetClinicApplicationType__VERSION__1^50^0000__GROUPID__com^hp^csa^type", - "resourceReference" : { - "name" : "Application Server" - } - }, { - "relationType" : "association", - "id" : "32484c1f-3d27-05b3-75bd-46c7f3e6c44c", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "dbDetails_PetClinicApplicationType__VERSION__1^50^0000__GROUPID__com^hp^csa^type", - "resourceReference" : { - "name" : "PetClinic DB Conf" - } - } ], - "annotations" : { - "uniqueName" : "PetClinicApplica0001", - "displayName" : "PetClinic Application", - "x" : "521", - "description" : "PetClinic Application", - "y" : "73" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - } ], - "revision" : 36, - "properties" : [ { - "propertyKey" : "metamodelId", - "propertyValue" : { - "value" : "test", - "type" : "string" - } - }, { - "propertyKey" : "is_express", - "propertyValue" : { - "value" : "false", - "type" : "boolean" - } - } ], - "iconUrl" : "/csa/images/library/pets.png", - "tagIds" : [ { - "@self" : "/csa/api/tag/8a818cf8ara15bc772b0145cb6efjhg99" - } ], - "state" : "UNLOCKED", - "partial" : true, - "hidden" : false, - "profiles" : [ ], - "annotations" : { - "serviceBlueprintId" : "ff8081814e95c8f0014e95d0eb201577", - "providerType" : "independent" - } -} \ No newline at end of file diff --git a/design/Petclinic-vm.json b/design/Petclinic-vm.json deleted file mode 100644 index b94ec9439..000000000 --- a/design/Petclinic-vm.json +++ /dev/null @@ -1,997 +0,0 @@ -{ - "@self" : "/csa/api/topology-model/topology/7698138d-4709-42df-a977-6b8398ae40a9", - "@type" : "urn:x-hp:2013:software:cloud:topology_model:topology", - "groupId" : "com.hp.csa", - "artifactId" : "ff8081814e95c8f0014e95d100f71600", - "version" : "1.50.01", - "displayName" : "PetClinic Application on vCenter", - "description" : "A two-tier PetClinic Application with Database component installed on MySQL and Application component on Tomcat Server. These components are deployed on vCenter Servers.", - "resources" : [ { - "id" : "01c99a61-d8b2-debe-cbfc-44b7929167e9", - "name" : "vCenter Server", - "component" : { - "@self" : "/csa/api/topology-model/component-type/87abc676-6e86-4b7c-af5b-baa04aa754ca", - "groupId" : "com.hp.csa.type", - "artifactId" : "VcenterServerType", - "version" : "15.07.0000" - }, - "properties" : [ { - "propertyKey" : "customizationSpec", - "propertyValue" : { - "value" : "LINUX", - "type" : "string" - } - }, { - "propertyKey" : "vmResourcePool", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "vmID", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "ipAddress", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "hostSystem", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmNamePrefix", - "propertyValue" : { - "value" : "codar", - "type" : "string" - } - }, { - "propertyKey" : "ipAddressList", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privateKey", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "macAddress", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : "ENC(LfKJws2kwAi0lQ6fOH7pNQ==)", - "type" : "string_encrypted" - } - }, { - "propertyKey" : "memorySize", - "propertyValue" : { - "value" : "1024", - "type" : "number" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "vmFolder", - "propertyValue" : { - "value" : "/Sandbox", - "type" : "string" - } - }, { - "propertyKey" : "clusterName", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmTemplateReference", - "propertyValue" : { - "value" : "T-Ubuntu14", - "type" : "string" - } - }, { - "propertyKey" : "dataStore", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmState", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "cpuCount", - "propertyValue" : { - "value" : "2", - "type" : "number" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : "administrator", - "type" : "string" - } - } ], - "outgoingRelations" : [ ], - "annotations" : { - "uniqueName" : "vCenterServer0001", - "displayName" : "vCenter Server", - "x" : "275", - "description" : "vCenter Server", - "y" : "433" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "afb3aea0-1f37-775c-f3e7-6b452188be36", - "name" : "vCenter Server", - "component" : { - "@self" : "/csa/api/topology-model/component-type/87abc676-6e86-4b7c-af5b-baa04aa754ca", - "groupId" : "com.hp.csa.type", - "artifactId" : "VcenterServerType", - "version" : "15.07.0000" - }, - "properties" : [ { - "propertyKey" : "customizationSpec", - "propertyValue" : { - "value" : "LINUX", - "type" : "string" - } - }, { - "propertyKey" : "vmResourcePool", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmID", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "ipAddress", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "hostSystem", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmNamePrefix", - "propertyValue" : { - "value" : "codar", - "type" : "string" - } - }, { - "propertyKey" : "ipAddressList", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privateKey", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "macAddress", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : "ENC(OCFfirN48AnR8Gg+yD5y7g==)", - "type" : "string_encrypted" - } - }, { - "propertyKey" : "memorySize", - "propertyValue" : { - "value" : "1024", - "type" : "number" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "vmFolder", - "propertyValue" : { - "value" : "/Sandbox", - "type" : "string" - } - }, { - "propertyKey" : "clusterName", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmTemplateReference", - "propertyValue" : { - "value" : "T-Ubuntu14", - "type" : "string" - } - }, { - "propertyKey" : "dataStore", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmState", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "cpuCount", - "propertyValue" : { - "value" : "2", - "type" : "number" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : "administrator", - "type" : "string" - } - } ], - "outgoingRelations" : [ ], - "annotations" : { - "uniqueName" : "vCenterServer0002", - "displayName" : "vCenter Server", - "x" : "556", - "description" : "vCenter Server", - "y" : "430" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "e293d1f8-46e5-4e2a-258d-c61772360db3", - "name" : "Tomcat Application Server", - "component" : { - "@self" : "/csa/api/topology-model/component-type/1648af89-1380-4ef7-abeb-16f365b47d23", - "groupId" : "com.hp.csa.type", - "artifactId" : "Tomcat_Server_c2bc9714_19c3_488b_bdd0_37ee9544a21f_aade4fa90c4a4c8397d9a9bf4d141949", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "configurationUrl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/install_tomcat.sh", - "type" : "string" - } - }, { - "propertyKey" : "sshPort", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "installPath", - "propertyValue" : { - "value" : "/usr/local/tomcat", - "type" : "string" - } - }, { - "propertyKey" : "appProtocol", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "appPort", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "remoteFilePath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "Result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "serviceCommand", - "propertyValue" : { - "value" : "sh /tmp/install_tomcat.sh", - "type" : "string" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactUrl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/Software/apache-tomcat-7.0.64.tar.gz", - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactPassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "artifactUsername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "4c7aef31-78a1-277f-e7e8-431ff6497e5b", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "installsOn_Tomcat_Server_c2bc9714_19c3_488b_bdd0_37ee9544a21f_aade4fa90c4a4c8397d9a9bf4d141949", - "resourceReference" : { - "name" : "vCenter Server" - } - } ], - "annotations" : { - "uniqueName" : "TomcatApplicatio0001", - "displayName" : "Tomcat Application Server", - "x" : "539", - "description" : "Apache Tomcat Application Server", - "y" : "256" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "01a77e8e-3578-ec61-2663-d192034b25e2", - "name" : "PetClinic DB Conf", - "component" : { - "@self" : "/csa/api/topology-model/component-type/b183f792-136a-4d14-ad0f-4545033008a0", - "groupId" : "com.hp.csa.type", - "artifactId" : "New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "configurationurl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/mysqldb_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "mysqlusername", - "propertyValue" : { - "value" : "petdb", - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "mysqlpassword", - "propertyValue" : { - "value" : "ENC(k7XvwW2X6TxXNbnrNZgU+w==)", - "type" : "string_encrypted" - } - }, { - "propertyKey" : "artifactusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "artifactpassword", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "remotefilepath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "servicecommand", - "propertyValue" : { - "value" : "sh /tmp/mysqldb_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "41c13ceb-8111-2c10-7262-fe3b7ed1e9bf", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "configuresDb_New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4", - "resourceReference" : { - "name" : "MySQL Database" - } - } ], - "annotations" : { - "uniqueName" : "PetClinicDBConf0001", - "displayName" : "PetClinic DB Conf", - "x" : "270", - "description" : "Creates Pet Clinic Database on the database server", - "y" : "68" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "f4bc9e42-4fb0-892a-81f8-ce4c9069fbdf", - "name" : "MySQL Database", - "component" : { - "@self" : "/csa/api/topology-model/component-type/fc473c57-dbcb-4dd8-85a6-d3522ca0b6d1", - "groupId" : "com.hp.csa.type", - "artifactId" : "MySQL_Database_20509e36_558f_4502_ba03_f76f5d879afb_f21f3034d7ea4431981b737d81ce6299", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "configurationUrl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/install_mysql.sh", - "type" : "string" - } - }, { - "propertyKey" : "sshPort", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "installPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "type", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "remoteFilePath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "Result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "serviceCommand", - "propertyValue" : { - "value" : "sh /tmp/install_mysql.sh", - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactUrl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/Software/mysql-server_5.6.26-1ubuntu14.04_amd64.deb-bundle.tar", - "type" : "string" - } - }, { - "propertyKey" : "artifactPassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactUsername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "bff202f5-7178-3cb2-db44-0ca9a05d6ef2", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "installsOn_MySQL_Database_20509e36_558f_4502_ba03_f76f5d879afb_f21f3034d7ea4431981b737d81ce6299", - "resourceReference" : { - "name" : "vCenter Server" - } - } ], - "annotations" : { - "uniqueName" : "MySQLDatabase0001", - "displayName" : "MySQL Database", - "x" : "273", - "description" : "MySQL Database Server", - "y" : "254" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "efc90fde-c75c-d5e5-bd3e-7f7ce358e2e2", - "name" : "PetClinic Application", - "component" : { - "@self" : "/csa/api/topology-model/component-type/71b645da-5c0f-4ef5-a52a-80246fa4f023", - "groupId" : "com.hp.csa.type", - "artifactId" : "PetClinicApplicationType", - "version" : "1.50.0000" - }, - "properties" : [ { - "propertyKey" : "configurationurl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/petclinic_jdbc_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "hostusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "mysqlusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "localfilepath", - "propertyValue" : { - "value" : "petclinic.war", - "type" : "string" - } - }, { - "propertyKey" : "mysqlpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "apphostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "dbhostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "dbpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "tomcathome", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifacturl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/petclinic.war", - "type" : "string" - } - }, { - "propertyKey" : "dbusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "remotefilepath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "servicecommand", - "propertyValue" : { - "value" : "sh /tmp/petclinic_jdbc_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "hostpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "2693f7e8-004c-2cdc-6e9d-81cdf284706d", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "hostedOn_PetClinicApplicationType__VERSION__1^50^0000__GROUPID__com^hp^csa^type", - "resourceReference" : { - "name" : "Tomcat Application Server" - } - }, { - "relationType" : "association", - "id" : "a71030c7-8d78-a6fb-88c5-d096ca1485fa", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "dbDetails_PetClinicApplicationType__VERSION__1^50^0000__GROUPID__com^hp^csa^type", - "resourceReference" : { - "name" : "PetClinic DB Conf" - } - } ], - "annotations" : { - "uniqueName" : "PetClinicApplica0001", - "displayName" : "PetClinic Application", - "x" : "539", - "description" : "PetClinic Application", - "y" : "71" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - } ], - "revision" : 171, - "properties" : [ ], - "iconUrl" : "/csa/images/library/pets.png", - "tagIds" : [ { - "@self" : "/csa/api/tag/8a818cf8ara15bc772b0145cb6efjhg99" - } ], - "state" : "UNLOCKED", - "partial" : false, - "hidden" : false, - "profiles" : [ ], - "annotations" : { - "serviceBlueprintId" : "ff8081814fbaac4f014fbaba65a5001f", - "providerType" : "independent" - } -} \ No newline at end of file diff --git a/design/Petclinic.json b/design/Petclinic.json index 486813d0e..4ce3ebd36 100644 --- a/design/Petclinic.json +++ b/design/Petclinic.json @@ -1,877 +1,523 @@ -{ - "@self" : "/csa/api/topology-model/topology/f78a358e-28d0-4690-95ee-644697765bcb", - "@type" : "urn:x-hp:2013:software:cloud:topology_model:topology", - "groupId" : "com.hp.csa", - "artifactId" : "ff8081814e95c8f0014e95d0e1611538", - "version" : "1.50.00", - "displayName" : "PetClinic Application on Existing Servers", - "description" : "A two-tier PetClinic Application with Database component installed on MySQL and Application component on Tomcat Server. These components are deployed on Existing Servers.", - "resources" : [ { - "id" : "ad53c4fb-fcbb-6422-af6e-432d27ecddc1", - "name" : "Existing Server1", - "component" : { - "@self" : "/csa/api/topology-model/component-type/9fe842bb-515f-41e9-be9b-71f5f872a412", - "groupId" : "com.hp.csa.type", - "artifactId" : "Existing_Server_b9ce5335_9ba9_46b6_9591_ca18b73cabb6_e4595de7583849f29037184578e03cb8", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "PASSWORD", - "propertyValue" : { - "value" : "ENC(6Hq6RfPPTz1SQM7+r55A+A==)", - "type" : "string_encrypted" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "HOST-FQDN", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "IPADDRESS", - "propertyValue" : { - "value" : "192.168.192.191", - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "USERNAME", - "propertyValue" : { - "value" : "administrator", - "type" : "string" - } - }, { - "propertyKey" : "INSTANCE-ID", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "SSHPORT", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "PRIVATEKEY", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "TIMEOUT", - "propertyValue" : { - "value" : "90000", - "type" : "string" - } - }, { - "propertyKey" : "Result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ ], - "annotations" : { - "uniqueName" : "ExistingServer10001", - "displayName" : "Existing Server1", - "x" : "707", - "description" : "Existing Server Component", - "y" : "374" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "e293d1f8-46e5-4e2a-258d-c61772360db3", - "name" : "Tomcat Application Server", - "component" : { - "@self" : "/csa/api/topology-model/component-type/1648af89-1380-4ef7-abeb-16f365b47d23", - "groupId" : "com.hp.csa.type", - "artifactId" : "Tomcat_Server_c2bc9714_19c3_488b_bdd0_37ee9544a21f_aade4fa90c4a4c8397d9a9bf4d141949", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "configurationUrl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/install_tomcat.sh", - "type" : "string" - } - }, { - "propertyKey" : "sshPort", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "installPath", - "propertyValue" : { - "value" : "/usr/local/tomcat", - "type" : "string" - } - }, { - "propertyKey" : "appProtocol", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "appPort", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "remoteFilePath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "Result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "serviceCommand", - "propertyValue" : { - "value" : "sh /tmp/install_tomcat.sh", - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactPassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "artifactUrl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/Software/apache-tomcat-7.0.64.tar.gz", - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactUsername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "92a9a41a-19be-9cb0-ffaa-9cb7f0d138eb", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "installsOn_Tomcat_Server_c2bc9714_19c3_488b_bdd0_37ee9544a21f_aade4fa90c4a4c8397d9a9bf4d141949", - "resourceReference" : { - "name" : "Existing Server1" - } - } ], - "annotations" : { - "uniqueName" : "TomcatApplicatio0001", - "displayName" : "Tomcat Application Server", - "x" : "704", - "description" : "Apache Tomcat Application Server", - "y" : "234" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "01a77e8e-3578-ec61-2663-d192034b25e2", - "name" : "PetClinic DB Conf", - "component" : { - "@self" : "/csa/api/topology-model/component-type/b183f792-136a-4d14-ad0f-4545033008a0", - "groupId" : "com.hp.csa.type", - "artifactId" : "New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "configurationurl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/mysqldb_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "mysqlusername", - "propertyValue" : { - "value" : "petdb", - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "mysqlpassword", - "propertyValue" : { - "value" : "ENC(ipjjccloYMk98frrGMoaEg==)", - "type" : "string_encrypted" - } - }, { - "propertyKey" : "artifactusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "artifactpassword", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "remotefilepath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "servicecommand", - "propertyValue" : { - "value" : "sh /tmp/mysqldb_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "41c13ceb-8111-2c10-7262-fe3b7ed1e9bf", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "configuresDb_New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4", - "resourceReference" : { - "name" : "MySQL Database" - } - } ], - "annotations" : { - "uniqueName" : "PetClinicDBConf0001", - "displayName" : "PetClinic DB Conf", - "x" : "431", - "description" : "Creates Pet Clinic Database on the database server", - "y" : "73" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "f4bc9e42-4fb0-892a-81f8-ce4c9069fbdf", - "name" : "MySQL Database", - "component" : { - "@self" : "/csa/api/topology-model/component-type/fc473c57-dbcb-4dd8-85a6-d3522ca0b6d1", - "groupId" : "com.hp.csa.type", - "artifactId" : "MySQL_Database_20509e36_558f_4502_ba03_f76f5d879afb_f21f3034d7ea4431981b737d81ce6299", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "configurationUrl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/install_mysql.sh", - "type" : "string" - } - }, { - "propertyKey" : "sshPort", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "installPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "type", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "remoteFilePath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "Result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "serviceCommand", - "propertyValue" : { - "value" : "sh /tmp/install_mysql.sh", - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactPassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "artifactUrl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/Software/mysql-server_5.6.26-1ubuntu14.04_amd64.deb-bundle.tar", - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactUsername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "2682cf5e-b1a1-3062-c557-fb29a1c5e414", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "installsOn_MySQL_Database_20509e36_558f_4502_ba03_f76f5d879afb_f21f3034d7ea4431981b737d81ce6299", - "resourceReference" : { - "name" : "Existing Server2" - } - } ], - "annotations" : { - "uniqueName" : "MySQLDatabase0001", - "displayName" : "MySQL Database", - "x" : "430", - "y" : "233", - "description" : "MySQL Database Server" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "dd6f1ef1-c545-74be-6145-7aed94809039", - "name" : "Existing Server2", - "component" : { - "@self" : "/csa/api/topology-model/component-type/9fe842bb-515f-41e9-be9b-71f5f872a412", - "groupId" : "com.hp.csa.type", - "artifactId" : "Existing_Server_b9ce5335_9ba9_46b6_9591_ca18b73cabb6_e4595de7583849f29037184578e03cb8", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "PASSWORD", - "propertyValue" : { - "value" : "ENC(Bt59XPpjZ6wddNpSoq0I8Q==)", - "type" : "string_encrypted" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "HOST-FQDN", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "IPADDRESS", - "propertyValue" : { - "value" : "192.168.192.191", - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "USERNAME", - "propertyValue" : { - "value" : "administrator", - "type" : "string" - } - }, { - "propertyKey" : "INSTANCE-ID", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "SSHPORT", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "PRIVATEKEY", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "TIMEOUT", - "propertyValue" : { - "value" : "90000", - "type" : "string" - } - }, { - "propertyKey" : "Result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ ], - "annotations" : { - "uniqueName" : "ExistingServer20001", - "displayName" : "Existing Server2", - "x" : "430", - "description" : "Existing Server Component", - "y" : "378" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "8f17d95d-fb53-eb76-b5d8-739726e98deb", - "name" : "PetClinic Application", - "component" : { - "@self" : "/csa/api/topology-model/component-type/71b645da-5c0f-4ef5-a52a-80246fa4f023", - "groupId" : "com.hp.csa.type", - "artifactId" : "PetClinicApplicationType", - "version" : "1.50.0000" - }, - "properties" : [ { - "propertyKey" : "configurationurl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/petclinic_jdbc_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "hostusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "mysqlusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "localfilepath", - "propertyValue" : { - "value" : "petclinic.war", - "type" : "string" - } - }, { - "propertyKey" : "mysqlpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "apphostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "dbhostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "dbpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "tomcathome", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifacturl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/petclinic.war", - "type" : "string" - } - }, { - "propertyKey" : "dbusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "remotefilepath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "servicecommand", - "propertyValue" : { - "value" : "sh /tmp/petclinic_jdbc_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "hostpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "89aae530-c07f-af9f-2547-9ed3faeb3eab", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "hostedOn_PetClinicApplicationType__VERSION__1^50^0000__GROUPID__com^hp^csa^type", - "resourceReference" : { - "name" : "Tomcat Application Server" - } - }, { - "relationType" : "association", - "id" : "d76a8f07-9a45-4eff-d603-dd0591063162", - "properties" : [ { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_relation_type", - "propertyValue" : { - "value" : { - "first" : "Association", - "second" : "ASSOCIATION" - }, - "type" : "pair" - } - } ], - "relationDescriptorName" : "dbDetails_PetClinicApplicationType__VERSION__1^50^0000__GROUPID__com^hp^csa^type", - "resourceReference" : { - "name" : "PetClinic DB Conf" - } - } ], - "annotations" : { - "uniqueName" : "PetClinicApplica0001", - "displayName" : "PetClinic Application", - "x" : "714", - "description" : "PetClinic Application", - "y" : "70" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - } ], - "revision" : 179, - "properties" : [ ], - "iconUrl" : "/csa/images/library/pets.png", - "tagIds" : [ { - "@self" : "/csa/api/tag/8a818cf8ara15bc772b0145cb6efjhg99" - } ], - "state" : "UNLOCKED", - "partial" : false, - "hidden" : false, - "profiles" : [ ], - "annotations" : { - "serviceBlueprintId" : "ff8081814e95c8f0014e95d0e1b3153d", - "providerType" : "independent" - } +{ + "@self" : "/csa/api/topology-model/topology/c0929227-1fbb-4f9f-b8e4-e587938c42d7", + "@type" : "urn:x-hp:2013:software:cloud:topology_model:topology", + "groupId" : "com.hp.csa", + "artifactId" : "ff8081814e95c8f0014e95d0eab71570", + "version" : "1.50.00", + "displayName" : "PetClinic Application", + "description" : "A partial PetClinic Application design requiring an infrastructure with Database and Application Server for fulfillment.", + "resources" : [ { + "id" : "ApplicationServer__VERSION__1__GROUPID__com.hp.csa.type0001", + "name" : "Application Server", + "component" : { + "@self" : "/csa/api/topology-model/component-type/2966f971-29e9-42b2-b91a-1673711407fb", + "groupId" : "com.hp.csa.type", + "artifactId" : "ApplicationServer", + "version" : "1" + }, + "properties" : [ { + "propertyKey" : "installPath", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "hostname", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "password", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "protocol", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_enable_modify_during_lifecycle_properties", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "port", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_modifiable_properties", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "username", + "propertyValue" : { + "value" : null, + "type" : "string" + } + } ], + "outgoingRelations" : [ ], + "annotations" : { + "uniqueName" : "ApplicationServe0001", + "displayName" : "Application Server", + "x" : "527", + "description" : "\n ", + "y" : "243" + }, + "capabilityChars" : [ ], + "requirements" : [ { + "id" : "541b8c11-1399-442b-bef9-b28d9a12dd38", + "name" : "Tomcat 7", + "description" : "Tomcat 7" + } ] + }, { + "id" : "New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4__VERSION__1__GROUPID__com.hp.csa.type0001", + "name" : "PetClinic DB Conf", + "component" : { + "@self" : "/csa/api/topology-model/component-type/b183f792-136a-4d14-ad0f-4545033008a0", + "groupId" : "com.hp.csa.type", + "artifactId" : "New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4", + "version" : "1" + }, + "properties" : [ { + "propertyKey" : "configurationurl", + "propertyValue" : { + "value" : "http://core.sd.hpsw.local/petclinic/scripts/mysqldb_conf.sh", + "type" : "string" + } + }, { + "propertyKey" : "mysqlusername", + "propertyValue" : { + "value" : "petdb", + "type" : "string" + } + }, { + "propertyKey" : "_modifiable_properties", + "propertyValue" : { + "value" : "", + "type" : "string" + } + }, { + "propertyKey" : "mysqlpassword", + "propertyValue" : { + "value" : "opsware", + "type" : "string" + } + }, { + "propertyKey" : "artifactusername", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "hostname", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "password", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "artifactpassword", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_enable_modify_during_lifecycle_properties", + "propertyValue" : { + "value" : "", + "type" : "string" + } + }, { + "propertyKey" : "port", + "propertyValue" : { + "value" : "22", + "type" : "string" + } + }, { + "propertyKey" : "response", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "privatekeyPath", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "remotefilepath", + "propertyValue" : { + "value" : "/tmp/", + "type" : "string" + } + }, { + "propertyKey" : "servicecommand", + "propertyValue" : { + "value" : "sh /tmp/mysqldb_conf.sh", + "type" : "string" + } + }, { + "propertyKey" : "username", + "propertyValue" : { + "value" : null, + "type" : "string" + } + } ], + "outgoingRelations" : [ { + "relationType" : "association", + "id" : "rel0001", + "properties" : [ { + "propertyKey" : "_enable_modify_during_lifecycle_properties", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_modifiable_properties", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_relation_type", + "propertyValue" : { + "value" : { + "first" : "Association", + "second" : "ASSOCIATION" + }, + "type" : "pair" + } + } ], + "relationDescriptorName" : "configuresDb_New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4", + "resourceReference" : { + "name" : "Database Server" + } + } ], + "annotations" : { + "uniqueName" : "PetClinicDBConf0001", + "displayName" : "PetClinic DB Conf", + "x" : "225", + "description" : "\n ", + "y" : "74" + }, + "capabilityChars" : [ ], + "requirements" : [ ] + }, { + "id" : "DatabaseServer__VERSION__1__GROUPID__com.hp.csa.type0001", + "name" : "Database Server", + "component" : { + "@self" : "/csa/api/topology-model/component-type/61614206-5669-47b8-bc9c-b247248f440d", + "groupId" : "com.hp.csa.type", + "artifactId" : "DatabaseServer", + "version" : "1" + }, + "properties" : [ { + "propertyKey" : "hostname", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "password", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_enable_modify_during_lifecycle_properties", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "port", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_modifiable_properties", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "type", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "username", + "propertyValue" : { + "value" : null, + "type" : "string" + } + } ], + "outgoingRelations" : [ ], + "annotations" : { + "uniqueName" : "DatabaseServer0001", + "displayName" : "Database Server", + "x" : "227", + "description" : "\n ", + "y" : "245" + }, + "capabilityChars" : [ ], + "requirements" : [ { + "id" : "ca4a0d9b-2d36-43a8-a37e-c8933e779867", + "name" : "MySQL 5.6", + "description" : "MySQL 5.6" + } ] + }, { + "id" : "6f7664fc-6af2-3bc4-63a4-b8e94587fce1", + "name" : "PetClinic Application", + "component" : { + "@self" : "/csa/api/topology-model/component-type/71b645da-5c0f-4ef5-a52a-80246fa4f023", + "groupId" : "com.hp.csa.type", + "artifactId" : "PetClinicApplicationType", + "version" : "1.50.0000" + }, + "properties" : [ { + "propertyKey" : "configurationurl", + "propertyValue" : { + "value" : "http://core.sd.hpsw.local/petclinic/scripts/petclinic_jdbc_conf.sh", + "type" : "string" + } + }, { + "propertyKey" : "hostusername", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "mysqlusername", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_modifiable_properties", + "propertyValue" : { + "value" : "", + "type" : "string" + } + }, { + "propertyKey" : "localfilepath", + "propertyValue" : { + "value" : "petclinic.war", + "type" : "string" + } + }, { + "propertyKey" : "mysqlpassword", + "propertyValue" : { + "value" : null, + "type" : "string_encrypted" + } + }, { + "propertyKey" : "apphostname", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "result", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "artifactusername", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "artifactpassword", + "propertyValue" : { + "value" : null, + "type" : "string_encrypted" + } + }, { + "propertyKey" : "dbhostname", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "dbpassword", + "propertyValue" : { + "value" : null, + "type" : "string_encrypted" + } + }, { + "propertyKey" : "port", + "propertyValue" : { + "value" : "22", + "type" : "string" + } + }, { + "propertyKey" : "tomcathome", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_enable_modify_during_lifecycle_properties", + "propertyValue" : { + "value" : "", + "type" : "string" + } + }, { + "propertyKey" : "response", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "artifacturl", + "propertyValue" : { + "value" : "http://core.sd.hpsw.local/petclinic/scripts/petclinic.war", + "type" : "string" + } + }, { + "propertyKey" : "dbusername", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "privatekeyPath", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "remotefilepath", + "propertyValue" : { + "value" : "/tmp/", + "type" : "string" + } + }, { + "propertyKey" : "servicecommand", + "propertyValue" : { + "value" : "sh /tmp/petclinic_jdbc_conf.sh", + "type" : "string" + } + }, { + "propertyKey" : "hostpassword", + "propertyValue" : { + "value" : null, + "type" : "string_encrypted" + } + } ], + "outgoingRelations" : [ { + "relationType" : "association", + "id" : "0506f000-2161-1fb5-26f5-c3fffc499349", + "properties" : [ { + "propertyKey" : "_enable_modify_during_lifecycle_properties", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_modifiable_properties", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_relation_type", + "propertyValue" : { + "value" : { + "first" : "Association", + "second" : "ASSOCIATION" + }, + "type" : "pair" + } + } ], + "relationDescriptorName" : "hostedOn_PetClinicApplicationType__VERSION__1^50^0000__GROUPID__com^hp^csa^type", + "resourceReference" : { + "name" : "Application Server" + } + }, { + "relationType" : "association", + "id" : "32484c1f-3d27-05b3-75bd-46c7f3e6c44c", + "properties" : [ { + "propertyKey" : "_enable_modify_during_lifecycle_properties", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_modifiable_properties", + "propertyValue" : { + "value" : null, + "type" : "string" + } + }, { + "propertyKey" : "_relation_type", + "propertyValue" : { + "value" : { + "first" : "Association", + "second" : "ASSOCIATION" + }, + "type" : "pair" + } + } ], + "relationDescriptorName" : "dbDetails_PetClinicApplicationType__VERSION__1^50^0000__GROUPID__com^hp^csa^type", + "resourceReference" : { + "name" : "PetClinic DB Conf" + } + } ], + "annotations" : { + "uniqueName" : "PetClinicApplica0001", + "displayName" : "PetClinic Application", + "x" : "521", + "description" : "PetClinic Application", + "y" : "73" + }, + "capabilityChars" : [ ], + "requirements" : [ ] + } ], + "revision" : 36, + "properties" : [ { + "propertyKey" : "metamodelId", + "propertyValue" : { + "value" : "test", + "type" : "string" + } + }, { + "propertyKey" : "is_express", + "propertyValue" : { + "value" : "false", + "type" : "boolean" + } + } ], + "iconUrl" : "/csa/images/library/pets.png", + "tagIds" : [ { + "@self" : "/csa/api/tag/8a818cf8ara15bc772b0145cb6efjhg99" + } ], + "state" : "UNLOCKED", + "partial" : true, + "hidden" : false, + "profiles" : [ ], + "annotations" : { + "serviceBlueprintId" : "ff8081814e95c8f0014e95d0eb201577", + "providerType" : "independent" + } } \ No newline at end of file diff --git a/design/Petclinic2.json b/design/Petclinic2.json deleted file mode 100644 index 16708f6bc..000000000 --- a/design/Petclinic2.json +++ /dev/null @@ -1,905 +0,0 @@ -{ - "@self" : "/csa/api/topology-model/topology/8ddb3347-9e9a-4c77-91c8-f945b4ab5710", - "@type" : "urn:x-hp:2013:software:cloud:topology_model:topology", - "groupId" : "com.hp.csa", - "artifactId" : "c8415766-9e3a-4a59-8c6d-635c5848c6bf", - "version" : "1.50.00", - "displayName" : "PetClinic Application_Two Tier Infrastructure with MySQL and Tomcat", - "description" : "A partial PetClinic Application design requiring an infrastructure with Database and Application Server for fulfillment.", - "resources" : [ { - "id" : "New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4__VERSION__1__GROUPID__com.hp.csa.type0001_8ddb3347-9e9a-4c77-91c8-f945b4ab5710", - "name" : "PetClinic DB Conf", - "component" : { - "@self" : "/csa/api/topology-model/component-type/b183f792-136a-4d14-ad0f-4545033008a0", - "groupId" : "com.hp.csa.type", - "artifactId" : "New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "configurationurl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/mysqldb_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "mysqlusername", - "propertyValue" : { - "value" : "petdb", - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "mysqlpassword", - "propertyValue" : { - "value" : "opsware", - "type" : "string" - } - }, { - "propertyKey" : "artifactusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactpassword", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "remotefilepath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "servicecommand", - "propertyValue" : { - "value" : "sh /tmp/mysqldb_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "rel0001", - "properties" : [ ], - "relationDescriptorName" : "configuresDb_New_PetDB_855ff95b_fde7_432e_b4dd_b7f7e8c2ba67_e6b6ca0914a34eec93438670d70e55e4", - "resourceReference" : { - "name" : "MySQL" - } - } ], - "annotations" : { - "uniqueName" : "PetClinicDBConf0001", - "displayName" : "PetClinic DB Conf", - "x" : "225", - "description" : "\n ", - "y" : "74" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "6f7664fc-6af2-3bc4-63a4-b8e94587fce1_8ddb3347-9e9a-4c77-91c8-f945b4ab5710", - "name" : "PetClinic Application", - "component" : { - "@self" : "/csa/api/topology-model/component-type/71b645da-5c0f-4ef5-a52a-80246fa4f023", - "groupId" : "com.hp.csa.type", - "artifactId" : "PetClinicApplicationType", - "version" : "1.50.0000" - }, - "properties" : [ { - "propertyKey" : "configurationurl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/petclinic_jdbc_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "hostusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "mysqlusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "localfilepath", - "propertyValue" : { - "value" : "petclinic.war", - "type" : "string" - } - }, { - "propertyKey" : "mysqlpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "apphostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "dbhostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "dbpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "tomcathome", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifacturl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/petclinic.war", - "type" : "string" - } - }, { - "propertyKey" : "dbusername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "remotefilepath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "servicecommand", - "propertyValue" : { - "value" : "sh /tmp/petclinic_jdbc_conf.sh", - "type" : "string" - } - }, { - "propertyKey" : "hostpassword", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "rel0002", - "properties" : [ ], - "relationDescriptorName" : "hostedOn_PetClinicApplicationType__VERSION__1^50^0000__GROUPID__com^hp^csa^type", - "resourceReference" : { - "name" : "Tomcat" - } - }, { - "relationType" : "association", - "id" : "rel0003", - "properties" : [ ], - "relationDescriptorName" : "dbDetails_PetClinicApplicationType__VERSION__1^50^0000__GROUPID__com^hp^csa^type", - "resourceReference" : { - "name" : "PetClinic DB Conf" - } - } ], - "annotations" : { - "uniqueName" : "PetClinicApplica0001", - "displayName" : "PetClinic Application", - "x" : "521", - "description" : "PetClinic Application", - "y" : "77" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "Tomcat_Server_c2bc9714_19c3_488b_bdd0_37ee9544a21f_aade4fa90c4a4c8397d9a9bf4d141949__VERSION__1__GROUPID__com.hp.csa.type0001_8ddb3347-9e9a-4c77-91c8-f945b4ab5710", - "name" : "Tomcat", - "component" : { - "@self" : "/csa/api/topology-model/component-type/1648af89-1380-4ef7-abeb-16f365b47d23", - "groupId" : "com.hp.csa.type", - "artifactId" : "Tomcat_Server_c2bc9714_19c3_488b_bdd0_37ee9544a21f_aade4fa90c4a4c8397d9a9bf4d141949", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "sshPort", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "configurationUrl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/install_tomcat.sh", - "type" : "string" - } - }, { - "propertyKey" : "installPath", - "propertyValue" : { - "value" : "/usr/local/tomcat", - "type" : "string" - } - }, { - "propertyKey" : "appProtocol", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "appPort", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "remoteFilePath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "Result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "serviceCommand", - "propertyValue" : { - "value" : "sh /tmp/install_tomcat.sh", - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactPassword", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactUrl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/Software/apache-tomcat-7.0.64.tar.gz", - "type" : "string" - } - }, { - "propertyKey" : "artifactUsername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "rel0004", - "properties" : [ ], - "relationDescriptorName" : "installsOn_Tomcat_Server_c2bc9714_19c3_488b_bdd0_37ee9544a21f_aade4fa90c4a4c8397d9a9bf4d141949", - "resourceReference" : { - "name" : "Application Server" - } - } ], - "annotations" : { - "uniqueName" : "Tomcat0001", - "displayName" : "Tomcat", - "x" : "389", - "description" : "\n ", - "y" : "69" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "MySQL_Database_20509e36_558f_4502_ba03_f76f5d879afb_f21f3034d7ea4431981b737d81ce6299__VERSION__1__GROUPID__com.hp.csa.type0001_8ddb3347-9e9a-4c77-91c8-f945b4ab5710", - "name" : "MySQL", - "component" : { - "@self" : "/csa/api/topology-model/component-type/fc473c57-dbcb-4dd8-85a6-d3522ca0b6d1", - "groupId" : "com.hp.csa.type", - "artifactId" : "MySQL_Database_20509e36_558f_4502_ba03_f76f5d879afb_f21f3034d7ea4431981b737d81ce6299", - "version" : "1" - }, - "properties" : [ { - "propertyKey" : "configurationUrl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/scripts/install_mysql.sh", - "type" : "string" - } - }, { - "propertyKey" : "sshPort", - "propertyValue" : { - "value" : "22", - "type" : "string" - } - }, { - "propertyKey" : "installPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "type", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "remoteFilePath", - "propertyValue" : { - "value" : "/tmp/", - "type" : "string" - } - }, { - "propertyKey" : "Result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "serviceCommand", - "propertyValue" : { - "value" : "sh /tmp/install_mysql.sh", - "type" : "string" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "port", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "response", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactPassword", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privatekeyPath", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "artifactUrl", - "propertyValue" : { - "value" : "http://core.sd.hpsw.local/petclinic/Software/mysql-server_5.6.26-1ubuntu14.04_amd64.deb-bundle.tar", - "type" : "string" - } - }, { - "propertyKey" : "artifactUsername", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : null, - "type" : "string" - } - } ], - "outgoingRelations" : [ { - "relationType" : "association", - "id" : "rel0005", - "properties" : [ ], - "relationDescriptorName" : "installsOn_MySQL_Database_20509e36_558f_4502_ba03_f76f5d879afb_f21f3034d7ea4431981b737d81ce6299", - "resourceReference" : { - "name" : "Database Sever" - } - } ], - "annotations" : { - "uniqueName" : "MySQL0001", - "displayName" : "MySQL", - "x" : "139", - "description" : "\n ", - "y" : "68" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "d7ccb110-b03e-df5a-c528-e4a2bfd90424_8ddb3347-9e9a-4c77-91c8-f945b4ab5710", - "name" : "Database Sever", - "component" : { - "@self" : "/csa/api/topology-model/component-type/87abc676-6e86-4b7c-af5b-baa04aa754ca", - "groupId" : "com.hp.csa.type", - "artifactId" : "VcenterServerType", - "version" : "15.07.0000" - }, - "properties" : [ { - "propertyKey" : "customizationSpec", - "propertyValue" : { - "value" : "LINUX", - "type" : "string" - } - }, { - "propertyKey" : "vmResourcePool", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmID", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "ipAddress", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "hostSystem", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmNamePrefix", - "propertyValue" : { - "value" : "codar", - "type" : "string" - } - }, { - "propertyKey" : "ipAddressList", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privateKey", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "macAddress", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : "ENC(WfYJ7KMr6E636AIlW1YruQ==)", - "type" : "string_encrypted" - } - }, { - "propertyKey" : "memorySize", - "propertyValue" : { - "value" : "1024", - "type" : "number" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "vmFolder", - "propertyValue" : { - "value" : "/Sandbox", - "type" : "string" - } - }, { - "propertyKey" : "clusterName", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmTemplateReference", - "propertyValue" : { - "value" : "T-Ubuntu14", - "type" : "string" - } - }, { - "propertyKey" : "dataStore", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmState", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "cpuCount", - "propertyValue" : { - "value" : "2", - "type" : "number" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : "administrator", - "type" : "string" - } - } ], - "outgoingRelations" : [ ], - "annotations" : { - "uniqueName" : "DatabaseSever0001", - "displayName" : "Database Sever", - "x" : "143", - "description" : "vCenter Server", - "y" : "297" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - }, { - "id" : "126dd3d1-2edf-5818-7735-cf029fa77cb5_8ddb3347-9e9a-4c77-91c8-f945b4ab5710", - "name" : "Application Server", - "component" : { - "@self" : "/csa/api/topology-model/component-type/87abc676-6e86-4b7c-af5b-baa04aa754ca", - "groupId" : "com.hp.csa.type", - "artifactId" : "VcenterServerType", - "version" : "15.07.0000" - }, - "properties" : [ { - "propertyKey" : "customizationSpec", - "propertyValue" : { - "value" : "LINUX", - "type" : "string" - } - }, { - "propertyKey" : "vmResourcePool", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmID", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "ipAddress", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "_modifiable_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "hostSystem", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmNamePrefix", - "propertyValue" : { - "value" : "codar", - "type" : "string" - } - }, { - "propertyKey" : "ipAddressList", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "result", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "privateKey", - "propertyValue" : { - "value" : null, - "type" : "string_encrypted" - } - }, { - "propertyKey" : "hostname", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "macAddress", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "password", - "propertyValue" : { - "value" : "ENC(K7xhvifX4+KwApHPlBVAyQ==)", - "type" : "string_encrypted" - } - }, { - "propertyKey" : "memorySize", - "propertyValue" : { - "value" : "1024", - "type" : "number" - } - }, { - "propertyKey" : "_enable_modify_during_lifecycle_properties", - "propertyValue" : { - "value" : "", - "type" : "string" - } - }, { - "propertyKey" : "vmFolder", - "propertyValue" : { - "value" : "/Sandbox", - "type" : "string" - } - }, { - "propertyKey" : "clusterName", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmTemplateReference", - "propertyValue" : { - "value" : "T-Ubuntu14", - "type" : "string" - } - }, { - "propertyKey" : "dataStore", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "vmState", - "propertyValue" : { - "value" : null, - "type" : "string" - } - }, { - "propertyKey" : "cpuCount", - "propertyValue" : { - "value" : "2", - "type" : "number" - } - }, { - "propertyKey" : "username", - "propertyValue" : { - "value" : "administrator", - "type" : "string" - } - } ], - "outgoingRelations" : [ ], - "annotations" : { - "uniqueName" : "ApplicationServe0001", - "displayName" : "Application Server", - "x" : "383", - "description" : "vCenter Server", - "y" : "297" - }, - "capabilityChars" : [ ], - "requirements" : [ ] - } ], - "revision" : 0, - "properties" : [ { - "propertyKey" : "metamodelId", - "propertyValue" : { - "value" : "test", - "type" : "string" - } - }, { - "propertyKey" : "is_express", - "propertyValue" : { - "value" : "false", - "type" : "boolean" - } - } ], - "iconUrl" : "/csa/images/library/pets.png", - "tagIds" : [ ], - "state" : "UNLOCKED", - "partial" : false, - "hidden" : true, - "profiles" : [ ], - "annotations" : { - "serviceBlueprintId" : "ff8081814f96ba96014fba3f3ec57887", - "testRunPartialId" : "ff8081814e95c8f0014e95d0eb201577", - "concreteTopologyRef" : "e15e4627-3375-416f-a694-41e071558952_1.50.00.26", - "partialTopologyRef" : "c0929227-1fbb-4f9f-b8e4-e587938c42d7_1.50.00.28", - "providerType" : "independent" - } -} \ No newline at end of file