Skip to content

Commit 1486a9d

Browse files
committed
Identation problem in artifacts
1 parent 5154acf commit 1486a9d

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

ToscaDesigner/Generated TOSCA files/MyrtusFace_Application.tosca

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,18 @@ topology_template:
5555
relationship: con_HostedOn_2
5656
capability: host
5757
artifacts:
58-
fullchain.pem:
59-
type: File
60-
deploy_path: /certs/fullchain.pem
61-
file: /home/hesi/cert/fullchain.pem
62-
key:
63-
type: File
64-
deploy_path: /certs/privkey.pem
65-
file: /home/hesi/cert/privkey.pem
66-
nginx.conf:
67-
type: File
68-
deploy_path: /etc/nginx/conf.d/default.conf
69-
file: /servicetemplates/example.eu.myrtus.servicetemplates/MyrtusFace_Application_w1-wip2/files/MyrtusProxy_w1-wip1_0/nginx.conf/nginx.conf
58+
fullchain.pem:
59+
type: File
60+
deploy_path: /certs/fullchain.pem
61+
file: /home/hesi/cert/fullchain.pem
62+
key:
63+
type: File
64+
deploy_path: /certs/privkey.pem
65+
file: /home/hesi/cert/privkey.pem
66+
nginx.conf:
67+
type: File
68+
deploy_path: /etc/nginx/conf.d/default.conf
69+
file: /servicetemplates/example.eu.myrtus.servicetemplates/MyrtusFace_Application_w1-wip2/files/MyrtusProxy_w1-wip1_0/nginx.conf/nginx.conf
7070
MyrtusCameraFeed_0:
7171
type: example.eu.myrtus.nodetypes.MyrtusCameraFeed
7272
metadata:

ToscaDesigner/src/main/resources/fr/softeam/templates/TNodeTemplate.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
{{/unless}}{{#unless (noStereotypeApplications this "TDeploymentArtifacts")}}
2727
artifacts:
2828
{{#each ../ownedElement}}{{#extension}}{{#eq name "TDeploymentArtifacts"}}{{#each ../ownedElement}}{{#extension}}{{#eq name "TDeploymentArtifact"}}
29-
{{../name}}:
30-
type: {{getProperty ../this "type"}}
31-
deploy_path: {{getProperty ../this "deploy_path"}}
32-
file: {{getProperty ../this "file"}}
29+
{{../name}}:
30+
type: {{getProperty ../this "type"}}
31+
deploy_path: {{getProperty ../this "deploy_path"}}
32+
file: {{getProperty ../this "file"}}
3333
{{/eq}}{{/extension}}{{/each}}{{/eq}}{{/extension}}{{/each}}
3434
{{/unless}}

0 commit comments

Comments
 (0)