aboutsummaryrefslogtreecommitdiffstats
path: root/dpo/tosca_model/schema.yaml
diff options
context:
space:
mode:
authorVENKATESH KUMAR <vv770d@att.com>2017-08-22 23:36:51 +0100
committerVENKATESH KUMAR <vv770d@att.com>2017-08-23 00:57:24 -0400
commit64dd2f365ce28e8254ba8fa4407dc5d7f192dacf (patch)
treef950dd24404a02acfdd0a853cbb9fef3fb4b65ce /dpo/tosca_model/schema.yaml
parentef607b769611ddb809a4c13ce421f88ece16017d (diff)
dcaegen2 vescollector seedcode
Initial seed code delivery for vescollector for support on the gen2dcae platform Issue-ID: DCAEGEN2-52 Change-Id: Id2477eb266f05caf64c67dd809b1ad146ff4fb92 Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Diffstat (limited to 'dpo/tosca_model/schema.yaml')
-rw-r--r--dpo/tosca_model/schema.yaml240
1 files changed, 240 insertions, 0 deletions
diff --git a/dpo/tosca_model/schema.yaml b/dpo/tosca_model/schema.yaml
new file mode 100644
index 00000000..f2eaae76
--- /dev/null
+++ b/dpo/tosca_model/schema.yaml
@@ -0,0 +1,240 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+capability_types:
+ dcae.capabilities.cdapHost:
+ derived_from: tosca.capabilities.Root
+ dcae.capabilities.composition.host:
+ derived_from: tosca.capabilities.Root
+ properties:
+ location_id:
+ type: string
+ service_id:
+ type: string
+ dcae.capabilities.dockerHost:
+ derived_from: tosca.capabilities.Root
+ dcae.capabilities.service.provide:
+ derived_from: tosca.capabilities.Root
+ properties:
+ request_format:
+ type: string
+ request_version:
+ type: string
+ response_format:
+ type: string
+ response_version:
+ type: string
+ dcae.capabilities.stream.subscribe:
+ derived_from: tosca.capabilities.Root
+ properties:
+ format:
+ type: string
+ version:
+ type: string
+relationship_types:
+ dcae.relationships.rework_connected_to:
+ derived_from: tosca.relationships.Root
+ dcae.relationships.rework_contained_in:
+ derived_from: tosca.relationships.Root
+node_types:
+ cloudify.dcae.nodes.Root:
+ derived_from: tosca.nodes.Root
+ cloudify.dcae.nodes.rework.DockerContainer:
+ attributes:
+ service_component_name:
+ type: string
+ capabilities:
+ service:
+ type: dcae.capabilities.service.provide
+ stream:
+ type: dcae.capabilities.stream.subscribe
+ derived_from: cloudify.dcae.nodes.Root
+ properties:
+ application_config:
+ required: true
+ type: map
+ image:
+ required: true
+ type: string
+ location_id:
+ required: true
+ type: string
+ service_component_type:
+ required: true
+ type: string
+ service_id:
+ required: true
+ type: string
+ requirements:
+ - host:
+ capability: dcae.capabilities.dockerHost
+ relationship: dcae.relationships.rework_contained_in
+ - stream:
+ capability: dcae.capabilities.stream.subscribe
+ relationship: dcae.relationships.rework_connected_to
+ dcae.nodes.MicroService.cdap:
+ attributes:
+ service_component_name:
+ type: string
+ capabilities:
+ service:
+ type: dcae.capabilities.service.provide
+ stream:
+ type: dcae.capabilities.stream.subscribe
+ derived_from: cloudify.dcae.nodes.Root
+ properties:
+ app_config:
+ required: false
+ type: map
+ app_preferences:
+ required: false
+ type: map
+ artifact_name:
+ required: false
+ type: string
+ artifact_version:
+ required: false
+ type: string
+ jar_url:
+ type: string
+ location_id:
+ type: string
+ namespace:
+ required: false
+ type: string
+ program_preferences:
+ required: false
+ type: list
+ programs:
+ required: false
+ type: list
+ service_component_type:
+ type: string
+ service_endpoints:
+ required: false
+ type: list
+ service_id:
+ type: string
+ streamname:
+ required: false
+ type: string
+ requirements:
+ - host:
+ capability: dcae.capabilities.cdapHost
+ relationship: dcae.relationships.rework_contained_in
+ - stream:
+ capability: dcae.capabilities.stream.subscribe
+ relationship: dcae.relationships.rework_connected_to
+ dcae.nodes.Root:
+ derived_from: tosca.nodes.Root
+ dcae.nodes.cdapApp:
+ attributes:
+ service_component_name:
+ type: string
+ derived_from: dcae.nodes.Root
+ properties:
+ jar_url:
+ required: true
+ type: string
+ location_id:
+ required: true
+ type: string
+ service_component_type:
+ required: true
+ type: string
+ service_id:
+ required: true
+ type: string
+ requirements:
+ - host:
+ capability: dcae.capabilities.cdapHost
+ relationship: dcae.relationships.rework_contained_in
+ - composition:
+ capability: dcae.capabilities.composition.host
+ dcae.nodes.dockerApp:
+ attributes:
+ service_component_name:
+ type: string
+ derived_from: dcae.nodes.Root
+ properties:
+ image:
+ required: true
+ type: string
+ location_id:
+ required: true
+ type: string
+ service_component_type:
+ required: true
+ type: string
+ service_id:
+ required: true
+ type: string
+ requirements:
+ - host:
+ capability: dcae.capabilities.dockerHost
+ relationship: dcae.relationships.rework_contained_in
+ - composition:
+ capability: dcae.capabilities.composition.host
+ dcae.nodes.dockerApp.ves:
+ derived_from: dcae.nodes.dockerApp
+ properties:
+ docker_collector.dmaap.streamid:
+ type: string
+ docker_collector.inputQueue.maxPending:
+ type: string
+ docker_collector.keystore.alias:
+ type: string
+ docker_collector.keystore.file.location:
+ type: string
+ docker_collector.keystore.passwordfile:
+ type: string
+ docker_collector.schema.checkflag:
+ type: string
+ docker_collector.schema.file:
+ type: string
+ docker_collector.service.port:
+ type: string
+ docker_collector.service.secure.port:
+ type: string
+ docker_header.authflag:
+ type: string
+ docker_header.authlist:
+ type: string
+ docker_tomcat.maxthreads:
+ type: string
+ service_0_service_endpoint:
+ type: string
+ service_0_service_name:
+ type: string
+ service_0_verb:
+ type: string
+ stream_0_key:
+ type: string
+ stream_0_route:
+ type: string
+ stream_1_key:
+ type: string
+ stream_1_route:
+ type: string
+ stream_2_key:
+ type: string
+ stream_3_key:
+ type: string
+ capabilities:
+ service_0:
+ type: dcae.capabilities.service.provide
+ stream_0:
+ type: dcae.capabilities.stream.subscribe
+ stream_1:
+ type: dcae.capabilities.stream.subscribe
+ requirements:
+ - stream_0:
+ capability: dcae.capabilities.stream.subscribe
+ relationship: dcae.relationships.rework_connected_to
+ - stream_1:
+ capability: dcae.capabilities.stream.subscribe
+ relationship: dcae.relationships.rework_connected_to
+ - stream_2:
+ capability: dcae.capabilities.stream.subscribe
+ relationship: dcae.relationships.rework_connected_to
+ - stream_3:
+ capability: dcae.capabilities.stream.subscribe
+ relationship: dcae.relationships.rework_connected_to