-
Notifications
You must be signed in to change notification settings - Fork 6
Corrected syntaxic and typing errors #87
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,6 +41,7 @@ topology_template: | |
| node: Network | ||
| capability: tosca.capabilities.Connectivity | ||
| relationship: tosca.relationships.Network | ||
| - local_storage: BlockStorage # Replace requirements of BlockStorage | ||
| capabilities: | ||
| os: | ||
| properties: | ||
|
|
@@ -119,12 +120,13 @@ topology_template: | |
| default_instances: 1 | ||
| BlockStorage: | ||
| type: tosca.nodes.BlockStorage | ||
| requirements: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well you are hitting one of the major differences between Alien and TOSCA see Note that in Yorc we do follow the specification and we automatically reverse those relationships. |
||
| - attachToComputeAttach: | ||
| type_requirement: attachment | ||
| node: Compute | ||
| capability: tosca.capabilities.Attachment | ||
| relationship: tosca.relationships.AttachTo | ||
| # attachment is not a requirement of BlockStorage | ||
| # requirements: | ||
| # - attachToComputeAttach: | ||
| # type_requirement: attachment | ||
| # node: Compute | ||
| # capability: tosca.capabilities.Attachment | ||
| # relationship: tosca.relationships.AttachTo | ||
| LinuxFileSystem: | ||
| type: alien.nodes.LinuxFileSystem | ||
| properties: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -72,6 +72,7 @@ topology_template: | |
| node: PublicNetwork | ||
| capability: tosca.capabilities.Connectivity | ||
| relationship: tosca.relationships.Network | ||
| - local_storage: BlockStorage # Replace requirements of BlockStorage | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert (see comment on attachements) |
||
| capabilities: | ||
| os: | ||
| properties: | ||
|
|
@@ -87,6 +88,7 @@ topology_template: | |
| protocol: tcp | ||
| network_name: PRIVATE | ||
| initiator: source | ||
|
|
||
| ConsulAgentDC1: | ||
| type: org.ystia.yorc.experimental.consul.linux.ansible.nodes.ConsulAgent | ||
| properties: | ||
|
|
@@ -154,13 +156,15 @@ topology_template: | |
| type: tosca.nodes.BlockStorage | ||
| properties: | ||
| size: "1 GIB" | ||
| device: "/dev/vdb" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Another difference between Alien and the spec... Device is a property of the BlockStorage. |
||
| requirements: | ||
| - attachToComputeCsdc1Attach: | ||
| type_requirement: attachment | ||
| node: ComputeCSDC1 | ||
| capability: tosca.capabilities.Attachment | ||
| relationship: tosca.relationships.AttachTo | ||
| # device: "/dev/vdb" # not a property of tosca.nodes.BlockStorage, isn't it? | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert (see comment on attachements) |
||
| # | ||
| # attachment is not a requirement of BlockStorage | ||
| # requirements: | ||
| # - attachToComputeCsdc1Attach: | ||
| # type_requirement: attachment | ||
| # node: ComputeCSDC1 | ||
| # capability: tosca.capabilities.Attachment | ||
| # relationship: tosca.relationships.AttachTo | ||
| LinuxFileSystem: | ||
| type: alien.nodes.LinuxFileSystem | ||
| properties: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,7 +44,7 @@ node_types: | |
| type: integer | ||
| description: > | ||
| JVM heap size (in megabytes) for the JobManager | ||
| default: "512" | ||
| default: 512 # integer instead of string, isn't it? | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree, please remove comment |
||
| repository: | ||
| type: string | ||
| default: http://archive.apache.org/dist/flink | ||
|
|
@@ -118,7 +118,7 @@ node_types: | |
| This value should be as large as possible. | ||
| If the cluster is exclusively running Flink, the total amount of available memory per machine minus some memory for the operating system (maybe 1-2 GB) | ||
| is a good value. | ||
| default: "512" | ||
| default: 512 # should be an integer instead of a string, shouldn't it? | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree, please remove comment |
||
| taskmanager_numberOfTaskSlots: | ||
| type: integer | ||
| description: > | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,7 @@ metadata: | |
| template_version: 2.2.0-SNAPSHOT | ||
| template_author: Ystia | ||
|
|
||
| description: | ||
| description: '' # instead of null, isn't it? | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree, please remove the line |
||
|
|
||
| imports: | ||
| - tosca-normative-types:1.0.0-ALIEN20 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -213,7 +213,7 @@ node_types: | |
| derived_from: org.ystia.kubernetes.pub.nodes.KubernetesApp | ||
| tags: | ||
| icon: /images/kubernetes-app-icon.png | ||
| properties: | ||
| # properties: isn't it? | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree, please remove the line |
||
| interfaces: | ||
| Standard: | ||
| inputs: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,7 @@ metadata: | |
| template_version: 2.2.0-SNAPSHOT | ||
| template_author: Ystia | ||
|
|
||
| description: | ||
| description: '' # instead of null, isn't it? | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree, please remove the line |
||
|
|
||
| imports: | ||
| - tosca-normative-types:1.0.0-ALIEN20 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -104,8 +104,10 @@ topology_template: | |
|
|
||
| Compute_ES: | ||
| type: tosca.nodes.Compute | ||
| properties: | ||
| mem_size: 12GB | ||
| capabilities: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have to check |
||
| host: | ||
| properties: | ||
| mem_size: 12 GB # is a property of the hot capability, isn't it? | ||
| requirements: | ||
| - network: | ||
| node: Network | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,7 +57,7 @@ topology_template: | |
| node: Compute | ||
| Kafka: | ||
| type: org.ystia.kafka.linux.bash.nodes.Kafka | ||
| properties: | ||
| properties: {} # instead of null or remove this line, isn't it? | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree, please remove the line |
||
| requirements: | ||
| - host: | ||
| node: Java | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -327,7 +327,7 @@ topology_template: | |
| capability: org.ystia.yorc.pub.capabilities.YorcConfigContainer | ||
| relationship: org.ystia.yorc.linux.ansible.relationships.YorcConfigOpenstackHostedOnYorc | ||
| - openstackSecretsHostedOnVault: | ||
| type_requirement: host | ||
| type_requirement: vault | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure, will check |
||
| node: VaultServer | ||
| capability: org.alien4cloud.vault.pub.capabilities.VaultServer | ||
| relationship: org.ystia.yorc.linux.ansible.relationships.OpenstackSecretsOnVault | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -91,8 +91,10 @@ topology_template: | |
|
|
||
| Compute_ES: | ||
| type: tosca.nodes.Compute | ||
| properties: | ||
| mem_size: 12GB | ||
| capabilities: | ||
| host: | ||
| properties: | ||
| mem_size: 12 GB # is a property of the hot capability, isn't it? | ||
| requirements: | ||
| - network: | ||
| node: Network | ||
|
|
@@ -152,8 +154,8 @@ topology_template: | |
| node: Elasticsearch | ||
| KibanaDashboard: | ||
| type: org.ystia.kibana.linux.bash.nodes.KibanaDashboard | ||
| properties: | ||
| repository: { get_input: kbn_repository } | ||
| # properties: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree, please remove the line |
||
| # repository: { get_input: kbn_repository } # This property is undefined in the KibanaDashboard node type, isn't it? | ||
| requirements: | ||
| - host: | ||
| node: Kibana | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,12 +100,15 @@ topology_template: | |
|
|
||
| Compute_ES: | ||
| type: tosca.nodes.Compute | ||
| properties: | ||
| mem_size: 12GB | ||
| capabilities: | ||
| host: | ||
| properties: | ||
| mem_size: 12GB # is a property of the hot capability, isn't it? | ||
| requirements: | ||
| - network: | ||
| node: Network | ||
| relationship: tosca.relationships.Network | ||
| - local_storage: BlockStorage_ES # Replace requirements of BlockStorage_ES | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert (see comment on attachements) |
||
| capabilities: | ||
| os: | ||
| properties: | ||
|
|
@@ -131,11 +134,13 @@ topology_template: | |
| type: tosca.nodes.BlockStorage | ||
| properties: | ||
| size: "10 GB" | ||
| requirements: | ||
| - attachment: | ||
| node: Compute_ES | ||
| capability: tosca.capabilities.Attachment | ||
| relationship: tosca.relationships.AttachTo | ||
| # | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert (see comment on attachements) |
||
| # attachment is not a requirement of BlocStorage | ||
| # requirements: | ||
| # - attachment: | ||
| # node: Compute_ES | ||
| # capability: tosca.capabilities.Attachment | ||
| # relationship: tosca.relationships.AttachTo | ||
| LinuxFileSystem_ES: | ||
| type: alien.nodes.LinuxFileSystem | ||
| properties: | ||
|
|
@@ -244,6 +249,7 @@ topology_template: | |
| - network: | ||
| node: Network | ||
| relationship: tosca.relationships.Network | ||
| - local_storage: BlockStorage_KFK # Replace requirements of BlockStorage_KFK | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert (see comment on attachements) |
||
| capabilities: | ||
| os: | ||
| properties: | ||
|
|
@@ -269,11 +275,12 @@ topology_template: | |
| type: tosca.nodes.BlockStorage | ||
| properties: | ||
| size: "10 GB" | ||
| requirements: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert (see comment on attachements) |
||
| - attachment: | ||
| node: Compute_KFK | ||
| capability: tosca.capabilities.Attachment | ||
| relationship: tosca.relationships.AttachTo | ||
| # attachment is not a requirement of BlocStorage | ||
| # requirements: | ||
| # - attachment: | ||
| # node: Compute_KFK | ||
| # capability: tosca.capabilities.Attachment | ||
| # relationship: tosca.relationships.AttachTo | ||
| LinuxFileSystem_KFK: | ||
| type: alien.nodes.LinuxFileSystem | ||
| properties: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,6 +40,7 @@ topology_template: | |
| - network: | ||
| node: Network | ||
| relationship: tosca.relationships.Network | ||
| - local_storage: BlockStorage # Replace requirements of BlockStorage | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert (see comment on attachements) |
||
| capabilities: | ||
| os: | ||
| properties: | ||
|
|
@@ -58,11 +59,12 @@ topology_template: | |
| type: tosca.nodes.BlockStorage | ||
| properties: | ||
| size: "10 GB" | ||
| requirements: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert (see comment on attachements) |
||
| - attachment: | ||
| node: Compute | ||
| capability: tosca.capabilities.Attachment | ||
| relationship: tosca.relationships.AttachTo | ||
| # attachment is not a requirement of BlocStorage | ||
| # requirements: | ||
| # - attachment: | ||
| # node: Compute | ||
| # capability: tosca.capabilities.Attachment | ||
| # relationship: tosca.relationships.AttachTo | ||
| LinuxFileSystem: | ||
| type: alien.nodes.LinuxFileSystem | ||
| properties: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert (see comment on attachements)