aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2
diff options
context:
space:
mode:
Diffstat (limited to 'asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2')
-rw-r--r--asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource1/images/mysql.pngbin63119 -> 0 bytes
-rw-r--r--asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource1/mysql.yml85
-rw-r--r--asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource2/images/mysql.pngbin63119 -> 0 bytes
-rw-r--r--asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource2/mysql.yml85
-rw-r--r--asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/topology.txt1
-rw-r--r--asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/topologyTemplate.txt2
6 files changed, 0 insertions, 173 deletions
diff --git a/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource1/images/mysql.png b/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource1/images/mysql.png
deleted file mode 100644
index 8e02f49b7b..0000000000
--- a/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource1/images/mysql.png
+++ /dev/null
Binary files differ
diff --git a/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource1/mysql.yml b/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource1/mysql.yml
deleted file mode 100644
index 4ee2c8ca88..0000000000
--- a/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource1/mysql.yml
+++ /dev/null
@@ -1,85 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
-description: MySQL RDBMS installation on a specific mounted volume path.
-template_name: mysql-getServiceArtifactListNoContentTest
-template_version: 1.1.1-SNAPSHOT
-template_author: FastConnect
-
-imports:
- - "tosca-normative-types-root:1.0.0.wd03-SNAPSHOT"
- - "tosca-normative-types-compute:1.0.0.wd03-SNAPSHOT"
- - "tosca-normative-types-database:1.0.0.wd03-SNAPSHOT"
- - "tosca-normative-types-DBMS:1.0.0.wd03-SNAPSHOT"
-
-node_types:
- alien.nodes.Mysql-getServiceArtifactListNoContentTest:
- derived_from: tosca.nodes.Database
- description: >
- A node to install MySQL v5.5 database with data
- on a specific attached volume.
- capabilities:
- host:
- type: alien.capabilities.MysqlDatabase-getServiceArtifactListNoContentTest
- properties:
- valid_node_types: [ tosca.nodes.WebApplication ]
- requirements:
- - host: tosca.nodes.Compute
- type: tosca.relationships.HostedOn
- tags:
- icon: /images/mysql.png
- properties:
- db_port:
- type: integer
- default: 3306
- description: The port on which the underlying database service will listen to data.
- db_name:
- type: string
- required: true
- default: wordpress
- description: The logical name of the database.
- db_user:
- type: string
- default: pass
- description: The special user account used for database administration.
- db_password:
- type: string
- default: pass
- description: The password associated with the user account provided in the ‘db_user’ property.
- bind_address:
- type: boolean
- default: true
- required: false
- description: If true,the server accepts TCP/IP connections on all server host IPv4 interfaces.
- storage_path:
- type: string
- default: /mountedStorage
- constraints:
- - valid_values: [ "/mountedStorage", "/var/mysql" ]
- interfaces:
- Standard:
- create: scripts/install_mysql.sh
- start:
- inputs:
- VOLUME_HOME: { get_property: [SELF, storage_path] }
- PORT: { get_property: [SELF, db_port] }
- DB_NAME: { get_property: [SELF, db_name] }
- DB_USER: { get_property: [SELF, db_user] }
- DB_PASSWORD: { get_property: [SELF, db_password] }
- BIND_ADRESS: { get_property: [SELF, bind_address] }
- implementation: scripts/start_mysql.sh
- fastconnect.cloudify.extensions:
- start_detection:
- inputs:
- PORT: { get_property: [SELF, db_port] }
- implementation: scripts/mysql_start_detection.groovy
- artifacts:
- - scripts: scripts
- type: tosca.artifacts.File
-
-capability_types:
- alien.capabilities.MysqlDatabase-getServiceArtifactListNoContentTest:
- derived_from: tosca.capabilities.Container
-
-artifact_types:
- tosca.artifacts.GroovyScript-getServiceArtifactListNoContentTest:
- description: A groovy script (.groovy file)
- file_ext: [groovy]
diff --git a/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource2/images/mysql.png b/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource2/images/mysql.png
deleted file mode 100644
index 8e02f49b7b..0000000000
--- a/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource2/images/mysql.png
+++ /dev/null
Binary files differ
diff --git a/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource2/mysql.yml b/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource2/mysql.yml
deleted file mode 100644
index b564dd0c4e..0000000000
--- a/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/resource2/mysql.yml
+++ /dev/null
@@ -1,85 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
-description: MySQL RDBMS installation on a specific mounted volume path.
-template_name: mysql-getServiceArtifactListNoContentTest2
-template_version: 1.1.1-SNAPSHOT
-template_author: FastConnect
-
-imports:
- - "tosca-normative-types-root:1.0.0.wd03-SNAPSHOT"
- - "tosca-normative-types-compute:1.0.0.wd03-SNAPSHOT"
- - "tosca-normative-types-database:1.0.0.wd03-SNAPSHOT"
- - "tosca-normative-types-DBMS:1.0.0.wd03-SNAPSHOT"
-
-node_types:
- alien.nodes.Mysql-getServiceArtifactListNoContentTest2:
- derived_from: tosca.nodes.Database
- description: >
- A node to install MySQL v5.5 database with data
- on a specific attached volume.
- capabilities:
- host:
- type: alien.capabilities.MysqlDatabase-getServiceArtifactListNoContentTest2
- properties:
- valid_node_types: [ tosca.nodes.WebApplication ]
- requirements:
- - host: tosca.nodes.Compute
- type: tosca.relationships.HostedOn
- tags:
- icon: /images/mysql.png
- properties:
- db_port:
- type: integer
- default: 3306
- description: The port on which the underlying database service will listen to data.
- db_name:
- type: string
- required: true
- default: wordpress
- description: The logical name of the database.
- db_user:
- type: string
- default: pass
- description: The special user account used for database administration.
- db_password:
- type: string
- default: pass
- description: The password associated with the user account provided in the ‘db_user’ property.
- bind_address:
- type: boolean
- default: true
- required: false
- description: If true,the server accepts TCP/IP connections on all server host IPv4 interfaces.
- storage_path:
- type: string
- default: /mountedStorage
- constraints:
- - valid_values: [ "/mountedStorage", "/var/mysql" ]
- interfaces:
- Standard:
- create: scripts/install_mysql.sh
- start:
- inputs:
- VOLUME_HOME: { get_property: [SELF, storage_path] }
- PORT: { get_property: [SELF, db_port] }
- DB_NAME: { get_property: [SELF, db_name] }
- DB_USER: { get_property: [SELF, db_user] }
- DB_PASSWORD: { get_property: [SELF, db_password] }
- BIND_ADRESS: { get_property: [SELF, bind_address] }
- implementation: scripts/start_mysql.sh
- fastconnect.cloudify.extensions:
- start_detection:
- inputs:
- PORT: { get_property: [SELF, db_port] }
- implementation: scripts/mysql_start_detection.groovy
- artifacts:
- - scripts: scripts
- type: tosca.artifacts.File
-
-capability_types:
- alien.capabilities.MysqlDatabase-getServiceArtifactListNoContentTest2:
- derived_from: tosca.capabilities.Container
-
-artifact_types:
- tosca.artifacts.GroovyScript-getServiceArtifactListNoContentTest2:
- description: A groovy script (.groovy file)
- file_ext: [groovy]
diff --git a/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/topology.txt b/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/topology.txt
deleted file mode 100644
index 279351879a..0000000000
--- a/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/topology.txt
+++ /dev/null
@@ -1 +0,0 @@
-{"id":"3293c9c8-a162-43fc-b8d1-431399f89cb7","delegateId":"25845cce-05c8-4502-b5fe-abfd6bd6f28e","delegateType":"topologytemplate","dependencies":[{"name":"tosca-normative-types-DBMS","version":"1.0.0.wd03-SNAPSHOT"},{"name":"tosca-normative-types-softwareComponent","version":"1.0.0.wd03-SNAPSHOT"},{"name":"tosca-normative-types-compute","version":"1.0.0.wd03-SNAPSHOT"},{"name":"mysql-getServiceArtifactListNoContentTest2","version":"1.1.1-SNAPSHOT"},{"name":"tosca-normative-types-root","version":"1.0.0.wd03-SNAPSHOT"},{"name":"tosca-normative-types-database","version":"1.0.0.wd03-SNAPSHOT"}],"nodeTemplates":[{"key":"Mysql-getServiceArtifactListNoContentTest2","value":{"type":"alien.nodes.Mysql-getServiceArtifactListNoContentTest2","name":null,"properties":{"bind_address":"true","storage_path":"/mountedStorage","db_port":"3306","db_name":"wordpress","db_user":"pass","db_password":"pass"},"attributes":{"tosca_id":null,"tosca_name":null},"relationships":null,"requirements":{"dependency":{"type":"tosca.capabilities.Root","properties":null},"host":{"type":"tosca.nodes.Compute","properties":null}},"capabilities":{"database_endpoint":{"type":"tosca.capabilities.DatabaseEndpoint","properties":{"port":null,"protocol":{"value":"tcp","definition":false},"url_path":null,"secure":{"value":"false","definition":false}}},"host":{"type":"alien.capabilities.MysqlDatabase-getServiceArtifactListNoContentTest2","properties":{"valid_node_types":null}},"root":{"type":"tosca.capabilities.Root","properties":null}},"artifacts":{"scripts":{"artifactType":"tosca.artifacts.File","artifactRef":"scripts","artifactName":"scripts","artifactRepository":null}}}},{"key":"Compute","value":{"type":"tosca.nodes.Compute","name":null,"properties":{"disk_size":null,"num_cpus":null,"os_distribution":null,"os_arch":null,"mem_size":null,"os_type":null,"os_version":null},"attributes":{"ip_address":null,"tosca_id":null,"tosca_name":null},"relationships":{"dependsOnMysql-getServiceArtifactListNoContentTest2":{"type":"tosca.relationships.DependsOn","target":"Mysql-getServiceArtifactListNoContentTest2","requirementName":"dependency","requirementType":"tosca.capabilities.Root","targetedCapabilityName":"root"}},"requirements":{"dependency":{"type":"tosca.capabilities.Root","properties":null},"network":{"type":"tosca.capabilities.Connectivity","properties":null}},"capabilities":{"host":{"type":"tosca.capabilities.Container","properties":{"valid_node_types":null}},"root":{"type":"tosca.capabilities.Root","properties":null},"attach":{"type":"tosca.capabilities.Attachment","properties":null},"scalable":{"type":"tosca.capabilities.Scalable","properties":{"max_intances":{"value":"1","definition":false},"default_instances":{"value":"1","definition":false},"min_intances":{"value":"1","definition":false}}}},"artifacts":null}}]} \ No newline at end of file
diff --git a/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/topologyTemplate.txt b/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/topologyTemplate.txt
deleted file mode 100644
index 3c342f6cd1..0000000000
--- a/asdc-tests/src/test/resources/CI/tests/getServiceListTest/Service2/topologyTemplate.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-{"id":"25845cce-05c8-4502-b5fe-abfd6bd6f28e","name":"ServiceArtListNoContent","description":null,"topologyId":"3293c9c8-a162-43fc-b8d1-431399f89cb7"}
-