Add model to stores 10/78110/1
authorEzhilarasi <ezhrajam@in.ibm.com>
Fri, 8 Feb 2019 11:41:04 +0000 (17:11 +0530)
committerEzhilarasi <ezhrajam@in.ibm.com>
Fri, 8 Feb 2019 11:41:12 +0000 (17:11 +0530)
Change-Id: I892ef553c3b8616a1e1c9cae377cacd5ea5398ee
Issue-ID: CCSDK-703
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
cds-ui/client/src/app/common/core/store/models/blueprint.model.ts
cds-ui/client/src/app/common/core/store/models/itopologytemplate.model.ts [new file with mode: 0644]

index a061a43..f4989fb 100644 (file)
@@ -21,10 +21,10 @@ limitations under the License.
 
 import { IMetaData } from './metadata.model';
 import { IImportModel } from './imports.model';
-
+import { ITopologyTemplate } from './itopologytemplate.model';
 
 export interface IBlueprint {
         metadata: IMetaData;
         fileImports: Array<IImportModel>
-        toplogyTemplates: string;
+        toplogyTemplates: ITopologyTemplate;
 }
\ No newline at end of file
diff --git a/cds-ui/client/src/app/common/core/store/models/itopologytemplate.model.ts b/cds-ui/client/src/app/common/core/store/models/itopologytemplate.model.ts
new file mode 100644 (file)
index 0000000..cadf4f9
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+============LICENSE_START==========================================
+===================================================================
+Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
+===================================================================
+
+Unless otherwise specified, all software contained herein is licensed
+under the Apache License, Version 2.0 (the License);
+you may not use this software except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+============LICENSE_END============================================
+*/
+
+export interface ITopologyTemplate {
+    inputs: object;
+       node_template: object;
+       workflow: object;
+}
\ No newline at end of file