summaryrefslogtreecommitdiffstats
path: root/cds-ui
diff options
context:
space:
mode:
authorEzhilarasi <ezhrajam@in.ibm.com>2019-02-08 17:11:04 +0530
committerEzhilarasi <ezhrajam@in.ibm.com>2019-02-08 17:11:12 +0530
commit1e82c75e0d7b2746ac3fcba093a2695979f809a1 (patch)
tree93edcea210301894de178f774a8297fab6669f8c /cds-ui
parent7375775ff3ee600fc1f8633dd21ec35f86c050b7 (diff)
Add model to stores
Change-Id: I892ef553c3b8616a1e1c9cae377cacd5ea5398ee Issue-ID: CCSDK-703 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Diffstat (limited to 'cds-ui')
-rw-r--r--cds-ui/client/src/app/common/core/store/models/blueprint.model.ts4
-rw-r--r--cds-ui/client/src/app/common/core/store/models/itopologytemplate.model.ts26
2 files changed, 28 insertions, 2 deletions
diff --git a/cds-ui/client/src/app/common/core/store/models/blueprint.model.ts b/cds-ui/client/src/app/common/core/store/models/blueprint.model.ts
index a061a4364..f4989fb73 100644
--- a/cds-ui/client/src/app/common/core/store/models/blueprint.model.ts
+++ b/cds-ui/client/src/app/common/core/store/models/blueprint.model.ts
@@ -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
index 000000000..cadf4f9e3
--- /dev/null
+++ b/cds-ui/client/src/app/common/core/store/models/itopologytemplate.model.ts
@@ -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