From: Ezhilarasi Date: Fri, 8 Feb 2019 11:41:04 +0000 (+0530) Subject: Add model to stores X-Git-Tag: 0.4.2~298 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F78110%2F1;p=ccsdk%2Fcds.git Add model to stores Change-Id: I892ef553c3b8616a1e1c9cae377cacd5ea5398ee Issue-ID: CCSDK-703 Signed-off-by: Ezhilarasi --- 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 - 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