diff --git a/design/Petclinic2.json b/design/Petclinic2.json new file mode 100644 index 000000000..42e7a1dc8 --- /dev/null +++ b/design/Petclinic2.json @@ -0,0 +1,905 @@ +{ + "@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