summaryrefslogtreecommitdiffstats
path: root/robot/assets/cmpv2/k8s-mongo-ves-client.yaml
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2021-04-12 11:47:19 +0200
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2021-04-12 17:29:42 +0200
commit0fa522a59e55d57deb5e827cfae997ee71b0d0de (patch)
tree49ddcaabcecac36f0ac2ab790dd5846a682690b7 /robot/assets/cmpv2/k8s-mongo-ves-client.yaml
parent8f25be8f8f2ba6401b70c4d06d59fbc7b9c5abfc (diff)
[ROBOT] Add new E2E test for 5G BulkPM usecase from HTTP server to ONAP gating
Fix of failng test cases Issue-ID: INT-1815 Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Change-Id: Id6f0c1ecfcf0cf7d4211aa614eeed08e72762b3e
Diffstat (limited to 'robot/assets/cmpv2/k8s-mongo-ves-client.yaml')
-rw-r--r--robot/assets/cmpv2/k8s-mongo-ves-client.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/robot/assets/cmpv2/k8s-mongo-ves-client.yaml b/robot/assets/cmpv2/k8s-mongo-ves-client.yaml
new file mode 100644
index 00000000..42523993
--- /dev/null
+++ b/robot/assets/cmpv2/k8s-mongo-ves-client.yaml
@@ -0,0 +1,37 @@
+tosca_definitions_version: cloudify_dsl_1_3
+imports:
+ - 'http://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml'
+ - 'plugin:k8splugin?version=>=3.4.2,<4.0.0'
+inputs:
+ tag_version:
+ type: string
+ description: Docker image to be used
+ default: 'mongo'
+ replicas:
+ type: integer
+ description: Number of instances
+ default: 1
+ service_component_type:
+ type: string
+ default: "mongo-ves-client"
+ service_component_name_override:
+ type: string
+ default: "mongo-ves-client"
+node_templates:
+ mongo:
+ type: dcae.nodes.ContainerizedServiceComponent
+ interfaces:
+ cloudify.interfaces.lifecycle:
+ start:
+ inputs:
+ envs:
+ MONGO_INITDB_ROOT_USERNAME: root
+ MONGO_INITDB_ROOT_PASSWORD: zXcVbN123!
+ MONGO_INITDB_DATABASE: pnf_simulator
+ ports:
+ - '27017:0'
+ properties:
+ service_component_type: { get_input: service_component_type }
+ service_component_name_override: { get_input: service_component_name_override }
+ image: { get_input: tag_version }
+ replicas: { get_input: replicas }