aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/clds/tosca-converter
diff options
context:
space:
mode:
authorSirisha_Manchikanti <sirisha.manchikanti@est.tech>2021-05-07 15:17:52 +0100
committerSirisha_Manchikanti <sirisha.manchikanti@est.tech>2021-05-13 09:00:52 +0100
commitf83411a86e2277adae69e780e8511913d61a0f17 (patch)
treed75f197e703270cda608c9bd0d236f7ce8c12e13 /src/main/resources/clds/tosca-converter
parentcac5cc982413ab9593186d308eda8936e9603ad9 (diff)
Modular structure of clamp including controlloop
This commit is the first commit that puts in multi module structure while changing the existing CLAMP code as little as possible. It adds a structure where common, models, participant and runtime are direct children under clamp, and current clamp code is moved under runtime. This runtime directory will host controlloop runtime code in later commits. Issue-ID: POLICY-3215 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I15bc8be92ed020343bff4024c4718fec462c40d7 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'src/main/resources/clds/tosca-converter')
-rw-r--r--src/main/resources/clds/tosca-converter/default-tosca-types.yaml87
-rw-r--r--src/main/resources/clds/tosca-converter/templates.json398
2 files changed, 0 insertions, 485 deletions
diff --git a/src/main/resources/clds/tosca-converter/default-tosca-types.yaml b/src/main/resources/clds/tosca-converter/default-tosca-types.yaml
deleted file mode 100644
index a11a73698..000000000
--- a/src/main/resources/clds/tosca-converter/default-tosca-types.yaml
+++ /dev/null
@@ -1,87 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_1_0
-data_types:
- tosca.datatypes.Root:
- description: The TOSCA root Data Type all other TOSCA base Data Types derive from
- tosca.datatypes.Credential:
- derived_from: tosca.datatypes.Root
- properties:
- protocol:
- type: string
- required: false
- token_type:
- type: string
- default: password
- token:
- type: string
- keys:
- type: map
- required: false
- entry_schema:
- type: string
- user:
- type: string
- required: false
- tosca.datatypes.TimeInterval:
- derived_from: tosca.datatypes.Root
- properties:
- start_time:
- type: timestamp
- required: true
- end_time:
- type: timestamp
- required: true
- tosca.datatypes.network.NetworkInfo:
- derived_from: tosca.datatypes.Root
- properties:
- network_name:
- type: string
- network_id:
- type: string
- addresses:
- type: list
- entry_schema:
- type: string
- tosca.datatypes.network.PortInfo:
- derived_from: tosca.datatypes.Root
- properties:
- port_name:
- type: string
- port_id:
- type: string
- network_id:
- type: string
- mac_address:
- type: string
- addresses:
- type: list
- entry_schema:
- type: string
- # tosca.datatypes.network.PortDef:
- # derived_from: integer
- # constraints:
- # - in_range: [ 1, 65535 ]
- # tosca.datatypes.network.PortSpec:
- # derived_from: tosca.datatypes.Root
- # properties:
- # protocol:
- # type: string
- # required: true
- # default: tcp
- # constraints:
- # - valid_values: [ udp, tcp, igmp ]
- # target:
- # type: PortDef
- # required: false
- # target_range:
- # type: range
- # required: false
- # constraints:
- # - in_range: [ 1, 65535 ]
- # source:
- # type: PortDef
- # required: false
- # source_range:
- # type: range
- # required: false
- # constraints:
- # - in_range: [ 1, 65535 ] \ No newline at end of file
diff --git a/src/main/resources/clds/tosca-converter/templates.json b/src/main/resources/clds/tosca-converter/templates.json
deleted file mode 100644
index f709e2f6d..000000000
--- a/src/main/resources/clds/tosca-converter/templates.json
+++ /dev/null
@@ -1,398 +0,0 @@
-{
- "integer":{
- "type":{
- "defaultValue":"integer",
- "visible":true,
- "static":false
- },
- "description":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "title":{
- "defaultValue":"",
- "visible":true,
- "static":false
-
- },
- "deprecated":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "default":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "enum":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "const":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "multipleOf":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "maximum":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "exclusiveMaximum":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "minimum":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "exclusiveMinimum":{
- "defaultValue":"",
- "visible":true,
- "static":false
- }
- },
- "number":{
- "type":{
- "defaultValue":"number",
- "visible":true,
- "static":false
- },
- "description":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "title":{
- "defaultValue":"",
- "visible":true,
- "static":false
-
- },
- "deprecated":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "default":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "enum":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "const":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "multipleOf":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "maximum":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "exclusiveMaximum":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "minimum":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "exclusiveMinimum":{
- "defaultValue":"",
- "visible":true,
- "static":false
- }
- },
- "boolean":{
- "type":{
- "defaultValue":"boolean",
- "visible":true,
- "static":false
- },
- "description":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "title":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "deprecated":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "default":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "const":{
- "defaultValue":"",
- "visible":true,
- "static":false
- }
- },
- "string":{
- "type":{
- "defaultValue":"string",
- "visible":true,
- "static":false
- },
- "description":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "title":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "deprecated":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "default":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "enum":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "const":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "length":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "minLength":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "maxLength":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "pattern":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "format":{
- "defaultValue":"",
- "visible":true,
- "static":false
- }
- },
- "timestamp":{
- "type":{
- "defaultValue":"string",
- "visible":true,
- "static":false
- },
- "description":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "title":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "deprecated":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "default":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "enum":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "const":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "length":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "minLength":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "maxLength":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "pattern":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "format":{
- "defaultValue":"",
- "visible":true,
- "static":false
- }
- },
- "array":{
- "type":{
- "defaultValue":"array",
- "visible":true,
- "static":false
- },
- "description":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "title":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "deprecated":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "default":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "const":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "uniqueItems":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "properties":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "minContains":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "maxContains":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "minItems":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "maxItems":{
- "defaultValue":"",
- "visible":true,
- "static":false
- }
- },
- "object":{
- "type":{
- "defaultValue":"object",
- "visible":true,
- "static":false
- },
- "description":{
- "defaultValue":"",
- "visible":true,
- "static":true
- },
- "title":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "format":{
- "defaultValue":"tabs",
- "visible":true,
- "static":true
- },
- "required":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "minProperties":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "maxProperties":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "properties":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "dependentRequired":{
- "defaultValue":"",
- "visible":true,
- "static":false
- },
- "dependencies":{
- "defaultValue":"",
- "visible":true,
- "static":false
- }
- }
-} \ No newline at end of file