From: Ezhilarasi Date: Thu, 14 Mar 2019 07:42:55 +0000 (+0530) Subject: Velocity mode support X-Git-Tag: 0.4.2~186^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F22%2F82222%2F1;p=ccsdk%2Fcds.git Velocity mode support Change-Id: I6814b57d117fed267bbb39988ca2e6f4ea7f7c49 Issue-ID: CCSDK-707 Signed-off-by: Ezhilarasi --- diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts index 37ac522af..7203dc8b3 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts @@ -217,15 +217,12 @@ export class EditorComponent implements OnInit { setEditorMode() { switch (this.fileExtension) { case "xml": - // console.log("xml mode set"); this.mode = 'xml'; break; case "py": - console.log("python mode set"); this.mode = 'python'; break; case "kts": - // console.log("kotlin mode set"); this.mode = 'kotlin'; break; case "txt": @@ -234,9 +231,11 @@ export class EditorComponent implements OnInit { case "meta": this.mode = 'text'; break; + case "vtl": + this.mode = 'velocity'; + break; default: this.mode = 'json'; - console.log("json mode set"); } } }