diff --git a/ADAPT/test/DECIDE.json b/ADAPT/test/DECIDE.json new file mode 100644 index 0000000000000000000000000000000000000000..58285f8a89abc32d0d7c3c363e03e5edfa36fe30 --- /dev/null +++ b/ADAPT/test/DECIDE.json @@ -0,0 +1,952 @@ +{ + "id" : "db4630ad-00e0-4d7a-966b-44288416bf21", + "name" : "Socks-shop", + "description" : "A generic microservices application", + "version" : "0.2.2-alpha", + "highTechnologicalRisk" : false, + "nfrs" : [ { + "type" : "Performance", + "tags" : [ "Application" ], + "abstractValue" : "High", + "value" : 100.0, + "unit" : "milliseconds" + }, { + "type" : "Availability", + "tags" : [ "Application" ], + "abstractValue" : "Medium", + "value" : 98.0, + "unit" : "percentage" + } ], + "microservices" : [ { + "id" : "15f66315-bd6b-41d5-837a-a0b94e188978", + "name" : "Front-end", + "classification" : "Computing Public IP", + "stateful" : false, + "programmingLanguage" : "NodeJs", + "tags" : [ "Application" ], + "publicIP" : true, + "endpoints" : [ "http://mircroservice1.com/service" ], + "deploymentOrder" : 0, + "detachableResources" : [ { + "id" : "01420849-546d-4c34-950b-5d7171c495f5", + "name" : "none", + "db" : false, + "sql" : false, + "classification" : "storage" + } ] + }, { + "id" : "2ffa33ff-1f6f-4197-9199-48b7040386d2", + "name" : "Order", + "classification" : "Computing", + "stateful" : false, + "programmingLanguage" : "Java", + "tags" : [ "Application" ], + "publicIP" : false, + "endpoints" : [ "http://mircroservice1.com/service" ], + "deploymentOrder" : 0, + "detachableResources" : [ { + "id" : "69d265aa-fb64-43b2-934a-a87278827c9c", + "name" : "Mongo", + "db" : true, + "sql" : false, + "classification" : "db" + } ] + }, { + "id" : "71948dd0-f8d0-4bfc-b262-50dd04661013", + "name" : "Payment", + "classification" : "Computing", + "stateful" : false, + "programmingLanguage" : "Go", + "tags" : [ "Application" ], + "publicIP" : false, + "endpoints" : [ "http://mircroservice1.com/service" ], + "deploymentOrder" : 0, + "detachableResources" : [ { + "id" : "7407e313-d2fc-44a9-8830-73c85d4d17c6", + "name" : "none", + "db" : false, + "sql" : false, + "classification" : "storage" + } ] + }, { + "id" : "0b7af2fb-52d9-435a-bb99-bd2b61ffa789", + "name" : "User", + "classification" : "Computing", + "stateful" : false, + "programmingLanguage" : "Go", + "tags" : [ "Application" ], + "publicIP" : false, + "endpoints" : [ "http://mircroservice1.com/service" ], + "deploymentOrder" : 0, + "detachableResources" : [ { + "id" : "d9bf985e-1a35-4d26-a499-b2fdc6830055", + "name" : "Mongo", + "db" : true, + "sql" : false, + "classification" : "db" + } ] + }, { + "id" : "52ee44fe-dcef-479d-a6f8-2b761cc65d07", + "name" : "Catalogue", + "classification" : "Computing", + "stateful" : false, + "programmingLanguage" : "Go", + "tags" : [ "Application" ], + "publicIP" : false, + "endpoints" : [ "http://mircroservice1.com/service" ], + "deploymentOrder" : 0, + "detachableResources" : [ { + "id" : "17151dde-ec54-488c-b9f1-638fd15b2c28", + "name" : "MySQL", + "db" : true, + "sql" : true, + "classification" : "db" + } ] + }, { + "id" : "0f53359b-bb7d-43bf-9c13-e944291e9ad4", + "name" : "Cart", + "classification" : "Computing", + "stateful" : false, + "programmingLanguage" : "Java", + "tags" : [ "Application" ], + "publicIP" : false, + "endpoints" : [ "http://mircroservice1.com/service" ], + "deploymentOrder" : 0, + "detachableResources" : [ { + "id" : "b6bfeb8d-f881-4e4f-9b0c-044506fd39d4", + "name" : "Mongo", + "db" : true, + "sql" : false, + "classification" : "db" + } ] + }, { + "id" : "de5d2442-09bc-4d59-99ff-ddfe5724fa5c", + "name" : "Shipping", + "classification" : "Computing", + "stateful" : false, + "programmingLanguage" : "Java", + "tags" : [ "Application" ], + "publicIP" : false, + "endpoints" : [ "http://mircroservice1.com/service" ], + "deploymentOrder" : 0, + "detachableResources" : [ { + "id" : "c57a1fbd-d0ef-43c4-912d-5b7a5d066320", + "name" : "RabbitMQ", + "db" : false, + "sql" : false, + "classification" : "queue system" + } ] + }, { + "id" : "eabad57d-7cae-4e2b-bebf-1d95b8534f53", + "name" : "Queue-Master", + "classification" : "Computing", + "stateful" : false, + "programmingLanguage" : "Java", + "tags" : [ "Application" ], + "publicIP" : false, + "endpoints" : [ "http://mircroservice1.com/service" ], + "deploymentOrder" : 0, + "detachableResources" : [ { + "id" : "e524abef-6814-4724-bad6-4ac048c917e0", + "name" : "none", + "db" : false, + "sql" : false, + "classification" : "storage" + } ] + } ], + "mcsla" : { + "sla" : { + "description" : "SockShop App Service Level Agreement", + "validityPeriod" : 0, + "objectives" : [ { + "termName" : "Availability", + "type" : "slo", + "value" : "99.8", + "unit" : "percentage", + "conditionStatement" : "greaterOrEqual", + "metrics" : [ { + "id" : "CSA_AV_001", + "scale" : "ratio", + "expression" : { + "expression" : "AVAILABILITY_AGGREGATION_SUMTYPE", + "expressionLanguage" : "predefined", + "unit" : "percentage" + }, + "underlyingMetrics" : [ { + "id" : "15f66315-bd6b-41d5-837a-a0b94e188978", + "scale" : "ratio", + "expression" : { + "expression" : "AVAILABILITY_MTBFMTTR", + "expressionLanguage" : "predefined", + "unit" : "percentage" + } + }, { + "id" : "2ffa33ff-1f6f-4197-9199-48b7040386d2", + "scale" : "ratio", + "expression" : { + "expression" : "AVAILABILITY_MTBFMTTR", + "expressionLanguage" : "predefined", + "unit" : "percentage" + } + }, { + "id" : "71948dd0-f8d0-4bfc-b262-50dd04661013", + "scale" : "ratio", + "expression" : { + "expression" : "AVAILABILITY_MTBFMTTR", + "expressionLanguage" : "predefined", + "unit" : "percentage" + } + }, { + "id" : "0b7af2fb-52d9-435a-bb99-bd2b61ffa789", + "scale" : "ratio", + "expression" : { + "expression" : "AVAILABILITY_MTBFMTTR", + "expressionLanguage" : "predefined", + "unit" : "percentage" + } + }, { + "id" : "52ee44fe-dcef-479d-a6f8-2b761cc65d07", + "scale" : "ratio", + "expression" : { + "expression" : "AVAILABILITY_MTBFMTTR", + "expressionLanguage" : "predefined", + "unit" : "percentage" + } + }, { + "id" : "0f53359b-bb7d-43bf-9c13-e944291e9ad4", + "scale" : "ratio", + "expression" : { + "expression" : "AVAILABILITY_MTBFMTTR", + "expressionLanguage" : "predefined", + "unit" : "percentage" + } + }, { + "id" : "de5d2442-09bc-4d59-99ff-ddfe5724fa5c", + "scale" : "ratio", + "expression" : { + "expression" : "AVAILABILITY_MTBFMTTR", + "expressionLanguage" : "predefined", + "unit" : "percentage" + } + }, { + "id" : "eabad57d-7cae-4e2b-bebf-1d95b8534f53", + "scale" : "ratio", + "expression" : { + "expression" : "AVAILABILITY_MTBFMTTR", + "expressionLanguage" : "predefined", + "unit" : "percentage" + } + } ] + } ] + }, { + "termName" : "Performance", + "type" : "slo", + "value" : "300.0", + "unit" : "millisecond", + "conditionStatement" : "lessOrEqual", + "metrics" : [ { + "id" : "CSA_PE_001", + "scale" : "ratio", + "expression" : { + "expression" : "AGGREGATION_MAXTYPE", + "expressionLanguage" : "predefined", + "unit" : "millisecond" + } + } ] + }, { + "termName" : "Location", + "type" : "sqo", + "value" : "europe", + "conditionStatement" : "equal" + }, { + "termName" : "Scalability", + "type" : "sqo", + "value" : "messageCount", + "conditionStatement" : "equal" + }, { + "termName" : "Cost", + "type" : "slo", + "value" : "10000.0", + "unit" : "euro", + "conditionStatement" : "less", + "metrics" : [ { + "id" : "CSA_CO_001", + "scale" : "ratio", + "expression" : { + "expression" : "AGGREGATION_SUMTYPE", + "expressionLanguage" : "predefined", + "unit" : "euro" + } + } ] + } ] + }, + "csSlas" : { + "15" : { + "description" : "C8_Germany", + "validityPeriod" : 0, + "coveredServices" : [ "Virtual Machine" ], + "objectives" : [ { + "termName" : "Region", + "type" : "sqo", + "value" : "Europe", + "conditionStatement" : "equal", + "metrics" : [ { + "id" : "CS15_001", + "descriptor" : "Location based on continents", + "scale" : "nominal", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "english" + } + } ] + }, { + "termName" : "Zone", + "type" : "sqo", + "value" : "Germany", + "conditionStatement" : "equal", + "metrics" : [ { + "id" : "CS15_001", + "descriptor" : "Location based on countries", + "scale" : "nominal", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "english" + } + } ] + }, { + "termName" : "Provider", + "type" : "sqo", + "value" : "Arsys", + "conditionStatement" : "equal", + "metrics" : [ { + "id" : "CS15_001", + "descriptor" : "Name of the cloud service provider", + "scale" : "nominal", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "english" + } + } ] + }, { + "termName" : "Availability", + "type" : "slo", + "value" : "99.9", + "unit" : "percentage", + "conditionStatement" : "greaterOrEqual", + "metrics" : [ { + "id" : "CS15_001", + "descriptor" : "Uptime during a time period", + "scale" : "ratio", + "expression" : { + "expression" : "AVAILABILITY_UPTIME_BC", + "expressionLanguage" : "predefined", + "unit" : "percentage" + } + } ] + }, { + "comment" : "Response time: Virtual Machine Performance", + "termName" : "Performance", + "type" : "slo", + "value" : "2", + "unit" : "millisecond", + "conditionStatement" : "lessOrEqual", + "metrics" : [ { + "id" : "CS15_001", + "descriptor" : "Response time for a request", + "scale" : "interval", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "predefined", + "unit" : "millisecond" + } + } ] + }, { + "comment" : "Legal Level/Certifications", + "termName" : "Legal Level", + "type" : "sqo", + "value" : "Legal Level 2", + "conditionStatement" : "equal", + "metrics" : [ { + "id" : "CS15_001", + "descriptor" : "Pre defined legal levels", + "scale" : "ordinal", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "english" + } + } ] + }, { + "termName" : "Cost", + "type" : "slo", + "value" : "150", + "unit" : "euro", + "conditionStatement" : "less", + "metrics" : [ { + "id" : "CS15_001", + "descriptor" : "Cost limitation", + "scale" : "ratio", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "predefined" + } + } ] + } ] + }, + "28" : { + "description" : "g3.8xlarge", + "validityPeriod" : 0, + "coveredServices" : [ "Virtual Machine" ], + "objectives" : [ { + "termName" : "Region", + "type" : "sqo", + "value" : "North America", + "conditionStatement" : "equal", + "metrics" : [ { + "id" : "CS28_001", + "descriptor" : "Location based on continents", + "scale" : "nominal", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "english" + } + } ] + }, { + "termName" : "Zone", + "type" : "sqo", + "value" : "United States", + "conditionStatement" : "equal", + "metrics" : [ { + "id" : "CS28_001", + "descriptor" : "Location based on countries", + "scale" : "nominal", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "english" + } + } ] + }, { + "termName" : "Provider", + "type" : "sqo", + "value" : "Amazon", + "conditionStatement" : "equal", + "metrics" : [ { + "id" : "CS28_001", + "descriptor" : "Name of the cloud service provider", + "scale" : "nominal", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "english" + } + } ] + }, { + "termName" : "Availability", + "type" : "slo", + "value" : "99.8", + "unit" : "percentage", + "conditionStatement" : "greaterOrEqual", + "metrics" : [ { + "id" : "CS28_001", + "descriptor" : "Uptime during a time period", + "scale" : "ratio", + "expression" : { + "expression" : "AVAILABILITY_UPTIME_BC", + "expressionLanguage" : "predefined", + "unit" : "percentage" + } + } ] + }, { + "comment" : "Response time: Virtual Machine Performance", + "termName" : "Performance", + "type" : "slo", + "value" : "2", + "unit" : "millisecond", + "conditionStatement" : "lessOrEqual", + "metrics" : [ { + "id" : "CS28_001", + "descriptor" : "Response time for a request", + "scale" : "interval", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "predefined", + "unit" : "millisecond" + } + } ] + }, { + "comment" : "Legal Level/Certifications", + "termName" : "Legal Level", + "type" : "sqo", + "value" : "Legal Level 2", + "conditionStatement" : "equal", + "metrics" : [ { + "id" : "CS28_001", + "descriptor" : "Pre defined legal levels", + "scale" : "ordinal", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "english" + } + } ] + }, { + "termName" : "Cost", + "type" : "slo", + "value" : "2209", + "unit" : "euro", + "conditionStatement" : "less", + "metrics" : [ { + "id" : "CS28_001", + "descriptor" : "Cost limitation", + "scale" : "ratio", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "predefined" + } + } ] + } ] + }, + "38" : { + "description" : "A2v2", + "validityPeriod" : 0, + "coveredServices" : [ "Virtual Machine" ], + "objectives" : [ { + "termName" : "Region", + "type" : "sqo", + "value" : "Europe", + "conditionStatement" : "equal", + "metrics" : [ { + "id" : "CS38_001", + "descriptor" : "Location based on continents", + "scale" : "nominal", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "english" + } + } ] + }, { + "termName" : "Zone", + "type" : "sqo", + "value" : "Ireland", + "conditionStatement" : "equal", + "metrics" : [ { + "id" : "CS38_001", + "descriptor" : "Location based on countries", + "scale" : "nominal", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "english" + } + } ] + }, { + "termName" : "Provider", + "type" : "sqo", + "value" : "Azure", + "conditionStatement" : "equal", + "metrics" : [ { + "id" : "CS38_001", + "descriptor" : "Name of the cloud service provider", + "scale" : "nominal", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "english" + } + } ] + }, { + "termName" : "Availability", + "type" : "slo", + "value" : "95", + "unit" : "percentage", + "conditionStatement" : "greaterOrEqual", + "metrics" : [ { + "id" : "CS38_001", + "descriptor" : "Uptime during a time period", + "scale" : "ratio", + "expression" : { + "expression" : "AVAILABILITY_UPTIME_BC", + "expressionLanguage" : "predefined", + "unit" : "percentage" + } + } ] + }, { + "comment" : "Response time: Virtual Machine Performance", + "termName" : "Performance", + "type" : "slo", + "value" : "5", + "unit" : "millisecond", + "conditionStatement" : "lessOrEqual", + "metrics" : [ { + "id" : "CS38_001", + "descriptor" : "Response time for a request", + "scale" : "interval", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "predefined", + "unit" : "millisecond" + } + } ] + }, { + "comment" : "Legal Level/Certifications", + "termName" : "Legal Level", + "type" : "sqo", + "value" : "Legal Level 2", + "conditionStatement" : "equal", + "metrics" : [ { + "id" : "CS38_001", + "descriptor" : "Pre defined legal levels", + "scale" : "ordinal", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "english" + } + } ] + }, { + "termName" : "Cost", + "type" : "slo", + "value" : "93,60", + "unit" : "euro", + "conditionStatement" : "less", + "metrics" : [ { + "id" : "CS38_001", + "descriptor" : "Cost limitation", + "scale" : "ratio", + "expression" : { + "expression" : "EMPTY", + "expressionLanguage" : "predefined" + } + } ] + } ] + } + } + }, + "containers" : [ { + "imageName" : "my-traefik", + "imageTag" : "1", + "dockerPrivateRegistryIp" : "54.221.168.175", + "dockerPrivateRegistryPort" : 8200, + "hostname" : "front-end", + "restart" : "always", + "command" : [ "--consul", "--consul.endpoint=54.221.168.175:8500", "--consul.prefix=Socks-shop/traefik" ], + "entrypoint" : [ "traefik" ], + "dockerHostNodeName" : "node-2", + "consulKvProviderNodeName" : "node-1", + "addConsulService" : 1, + "consulServicePort" : 80, + "addConsulTraefikRules" : 0, + "portMapping" : [ { + "hostPort" : "80", + "containerPort" : "80" + }, { + "hostPort" : "8082", + "containerPort" : "8082" + }, { + "hostPort" : "9411", + "containerPort" : "9411" + } ], + "endpoints" : [ { + "protocol" : "http", + "port" : 80 + } ], + "dockerPrivateRegistryPassword" : "d3cid3", + "containerName" : "traefik-private", + "dockerPrivateRegistryUser" : "decide-user" + }, { + "imageName" : "weaveworksdemos/catalogue", + "imageTag" : "latest", + "hostname" : "catalogue", + "restart" : "always", + "dockerHostNodeName" : "node-2", + "networks" : [ "catalogue-network" ], + "environment" : [ "ZIPKIN=http://TBD_zipkin-ip:8493/api/v1/spans" ], + "consulKvProviderNodeName" : "node-1", + "addConsulService" : 1, + "consulServicePort" : 8480, + "addConsulTraefikRules" : 1, + "portMapping" : [ { + "hostPort" : "8480", + "containerPort" : "80" + } ], + "endpoints" : [ { + "protocol" : "http", + "port" : 8480 + } ], + "containerName" : "catalogue" + }, { + "imageName" : "weaveworksdemos/catalogue-db", + "imageTag" : "latest", + "hostname" : "catalogue-db", + "restart" : "always", + "dockerHostNodeName" : "node-2", + "networks" : [ "catalogue-network" ], + "environment" : [ "MYSQL_ROOT_PASSWORD=$${MYSQL_ROOT_PASSWORD}", "MYSQL_ALLOW_EMPTY_PASSWORD=true", "MYSQL_DATABASE=socksdb" ], + "containerName" : "catalogue-db" + }, { + "imageName" : "weaveworksdemos/user-db", + "imageTag" : "latest", + "hostname" : "user-db", + "restart" : "always", + "dockerHostNodeName" : "node-1", + "networks" : [ "user-network" ], + "containerName" : "user-db" + }, { + "imageName" : "weaveworksdemos/user", + "imageTag" : "latest", + "hostname" : "user", + "restart" : "always", + "dockerHostNodeName" : "node-1", + "networks" : [ "user-network" ], + "environment" : [ "MONGO_HOST=user-db:27017" ], + "consulKvProviderNodeName" : "node-1", + "addConsulService" : 1, + "consulServicePort" : 8485, + "addConsulTraefikRules" : 1, + "portMapping" : [ { + "hostPort" : "8485", + "containerPort" : "80" + } ], + "endpoints" : [ { + "protocol" : "http", + "port" : 8485 + } ], + "containerName" : "user", + "hostMapping" : [ { + "ip" : "", + "referencedContainerName" : "traefik-private", + "host" : "zipkin" + } ] + }, { + "imageName" : "mongo", + "imageTag" : "latest", + "hostname" : "carts-db", + "restart" : "always", + "dockerHostNodeName" : "node-1", + "networks" : [ "carts-network" ], + "containerName" : "carts-db" + }, { + "imageName" : "weaveworksdemos/carts", + "imageTag" : "latest", + "hostname" : "user", + "restart" : "always", + "dockerHostNodeName" : "node-1", + "networks" : [ "carts-network" ], + "environment" : [ "JAVA_OPTS=-Xms64m -Xmx128m -XX:PermSize=32m -XX:MaxPermSize=64m -XX:+UseG1GC -Djava.security.egd=file:/dev/urandom", "ZIPKIN=TBD_traefik-ip" ], + "consulKvProviderNodeName" : "node-1", + "addConsulService" : 1, + "consulServicePort" : 8481, + "addConsulTraefikRules" : 1, + "portMapping" : [ { + "hostPort" : "8481", + "containerPort" : "80" + } ], + "endpoints" : [ { + "protocol" : "http", + "port" : 8481 + } ], + "containerName" : "carts" + }, { + "imageName" : "openzipkin/zipkin", + "imageTag" : "latest", + "hostname" : "zipkin", + "restart" : "always", + "dockerHostNodeName" : "node-1", + "environment" : [ "reschedule=on-node-failure" ], + "addConsulService" : 1, + "consulServicePort" : 9411, + "addConsulTraefikRules" : 1, + "portMapping" : [ { + "hostPort" : "8493", + "containerPort" : "9411" + } ], + "endpoints" : [ { + "protocol" : "http", + "port" : 9411 + } ], + "containerName" : "zipkin" + }, { + "imageName" : "weaveworksdemos/front-end", + "imageTag" : "latest", + "hostname" : "front-end", + "restart" : "always", + "dockerHostNodeName" : "node-2", + "addConsulService" : 1, + "consulServicePort" : 8479, + "addConsulTraefikRules" : 1, + "portMapping" : [ { + "hostPort" : "8479", + "containerPort" : "8079" + } ], + "endpoints" : [ { + "protocol" : "http", + "port" : 8479, + "skipRule" : 1, + "containerNameOverride" : "shop-front-end" + } ], + "containerName" : "front-end", + "hostMapping" : [ { + "ip" : "", + "referencedContainerName" : "traefik-private", + "host" : "catalogue" + }, { + "ip" : "", + "referencedContainerName" : "traefik-private", + "host" : "carts" + }, { + "ip" : "", + "referencedContainerName" : "traefik-private", + "host" : "user" + }, { + "ip" : "", + "referencedContainerName" : "zipkin", + "host" : "zipkin" + } ] + }, { + "imageName" : "weaveworksdemos/shipping", + "imageTag" : "latest", + "hostname" : "shipping", + "restart" : "always", + "dockerHostNodeName" : "node-2", + "networks" : [ "shipping-network" ], + "environment" : [ "ZIPKIN=http://TBD_zipkin-ip}" ], + "consulKvProviderNodeName" : "node-1", + "addConsulService" : 1, + "consulServicePort" : 8483, + "addConsulTraefikRules" : 1, + "portMapping" : [ { + "hostPort" : "8483", + "containerPort" : "80" + } ], + "endpoints" : [ { + "protocol" : "http", + "port" : 8483 + } ], + "containerName" : "shipping" + }, { + "imageName" : "weaveworksdemos/queue-master", + "imageTag" : "latest", + "hostname" : "queue-master", + "restart" : "always", + "dockerHostNodeName" : "node-2", + "networks" : [ "shipping-network" ], + "volumeMapping" : [ { + "hostPath" : "/var/run/docker.sock", + "containerPath" : "/var/run/docker.sock" + } ], + "containerName" : "queue-master" + }, { + "imageName" : "rabbitmq", + "imageTag" : "3.6.8", + "hostname" : "rabbitmq", + "restart" : "always", + "dockerHostNodeName" : "node-2", + "networks" : [ "shipping-network" ], + "containerName" : "rabbitmq" + }, { + "imageName" : "weaveworksdemos/orders", + "imageTag" : "latest", + "hostname" : "orders", + "restart" : "always", + "dockerHostNodeName" : "node-2", + "networks" : [ "orders-network" ], + "environment" : [ "ZIPKIN=http://TBD_zipkin-ip}" ], + "consulKvProviderNodeName" : "node-1", + "addConsulService" : 1, + "consulServicePort" : 8482, + "addConsulTraefikRules" : 1, + "portMapping" : [ { + "hostPort" : "8482", + "containerPort" : "80" + } ], + "endpoints" : [ { + "protocol" : "http", + "port" : 8482 + } ], + "containerName" : "orders" + }, { + "imageName" : "mongo", + "imageTag" : "latest", + "hostname" : "orders-db", + "restart" : "always", + "dockerHostNodeName" : "node-2", + "networks" : [ "orders-network" ], + "containerName" : "orders-db" + }, { + "imageName" : "weaveworksdemos/payment", + "imageTag" : "latest", + "hostname" : "payment", + "restart" : "always", + "dockerHostNodeName" : "node-2", + "environment" : [ "ZIPKIN=http://TBD_zipkin-ip}", "reschedule=on-node-failure" ], + "consulKvProviderNodeName" : "node-1", + "addConsulService" : 1, + "consulServicePort" : 8484, + "addConsulTraefikRules" : 1, + "portMapping" : [ { + "hostPort" : "8484", + "containerPort" : "80" + } ], + "endpoints" : [ { + "protocol" : "http", + "port" : 8484 + } ], + "containerName" : "payment" + } ], + "virtualMachines" : [ { + "vmSoftwareId" : "21b7ebed-5076-43b6-8351-0e06cf16eedc", + "vmResourceId" : "27b1fb7b-2fd9-4042-8902-e4996e0bc420", + "vmRegionId" : "d112253a-951f-417a-a1f1-3a892bf35a45", + "instanceTypeId" : "f554e8a1-29d8-48e5-bd68-c01417576628", + "keyPairId" : "dbe5cc42-1f33-4ca4-b761-aec1c46a76fe", + "dockerPrivateRegistryIp" : "54.221.168.175", + "dockerHostNodeName" : "node-1", + "dockerHostPublicIp" : "82.223.100.123", + "vmUser" : "root", + "openedPort" : "22,80,8000-9000,9411", + "dockerPrivateRegistryPort" : "8200" + }, { + "vmSoftwareId" : "21b7ebed-5076-43b6-8351-0e06cf16eedc", + "vmResourceId" : "27b1fb7b-2fd9-4042-8902-e4996e0bc420", + "vmRegionId" : "d112253a-951f-417a-a1f1-3a892bf35a45", + "instanceTypeId" : "f554e8a1-29d8-48e5-bd68-c01417576628", + "keyPairId" : "dbe5cc42-1f33-4ca4-b761-aec1c46a76fe", + "dockerPrivateRegistryIp" : "54.221.168.175", + "dockerHostNodeName" : "node-2", + "dockerHostPublicIp" : "82.223.2.216", + "vmUser" : "root", + "openedPort" : "22,80,8000-9000,9411", + "dockerPrivateRegistryPort" : "8200" + } ], + "recommendedPatterns" : [ { + "title" : "Resiliency Management Process", + "uriRef" : "http://decideh2020.eu/resources/patterns/resiliency-management-process", + "tags" : [ "Application" ], + "positiveImpacts" : [ "availability" ], + "categories" : [ "optimization" ], + "selected" : true + }, { + "title" : "Compliant Data Replication", + "uriRef" : "http://decideh2020.eu/resources/patterns/compliant-data-replication", + "tags" : [ "Application" ], + "positiveImpacts" : [ "location" ], + "categories" : [ "optimization", "deployment" ], + "selected" : true + }, { + "title" : "Elasticity Manager", + "uriRef" : "http://decideh2020.eu/resources/patterns/elasticity-manager", + "tags" : [ "Application" ], + "positiveImpacts" : [ "scalability" ], + "categories" : [ "deployment" ], + "selected" : true + } ], + "schema" : [ { + "microservices" : [ "[15f66315-bd6b-41d5-837a-a0b94e188978", " 2ffa33ff-1f6f-4197-9199-48b7040386d2", " 69d265aa-fb64-43b2-934a-a87278827c9c", " 71948dd0-f8d0-4bfc-b262-50dd04661013", " 52ee44fe-dcef-479d-a6f8-2b761cc65d07", " 17151dde-ec54-488c-b9f1-638fd15b2c28", " de5d2442-09bc-4d59-99ff-ddfe5724fa5c", " c57a1fbd-d0ef-43c4-912d-5b7a5d066320", " eabad57d-7cae-4e2b-bebf-1d95b8534f53]" ], + "csId" : "56", + "index" : 1689678579 + }, { + "microservices" : [ "[0b7af2fb-52d9-435a-bb99-bd2b61ffa789", " d9bf985e-1a35-4d26-a499-b2fdc6830055", " 0f53359b-bb7d-43bf-9c13-e944291e9ad4", " b6bfeb8d-f881-4e4f-9b0c-044506fd39d4]" ], + "csId" : "55", + "index" : 1689679104 + } ], + "monitoring" : { + "status" : true, + "urls" : [ "http://85.91.40.245:8093" ] + }, + "applicationInstanceId" : "f6229960-201c-4f56-af96-b4659a95299d", + "consulJoinIp" : "54.221.168.175" +} \ No newline at end of file