summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models.ts
blob: ad1da27c62d33f9f81d9436589facaefe17042da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/*-
 * ============LICENSE_START=======================================================
 * SDC
 * ================================================================================
 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
 * ================================================================================
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file 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=========================================================
 */

/**
 * Created by ob0695 on 2/23/2017.
 */
import from = require("core-js/fn/array/from");
export * from './models/activity';
export * from './models/additional-information';
export * from './models/app-config';
export * from './models/validation-config';
export * from './models/plugins-config';
export * from './models/artifacts';
export * from './models/aschema-property';
export * from './models/schema-attribute';
export * from './models/attributes';
export * from './models/capability';
export * from './models/category';
export * from './models/comments';
export * from './models/components/component';
export * from './models/components/displayComponent';
export * from './models/components/resource';
export * from './models/components/service';
export * from './models/componentsInstances/componentInstance';
export * from './models/componentsInstances/resourceInstance';
export * from './models/componentsInstances/serviceInstance';
export * from './models/componentsInstances/serviceProxyInstance';
export * from './models/graph/zones/group-instance';
export * from './models/graph/zones/policy-instance';
export * from './models/csar-component';
//export * from './models/data-type-properties';
export * from './models/properties-inputs/property-be-model';
export * from './models/properties-inputs/property-fe-model';
export * from './models/properties-inputs/property-fe-map';
export * from './models/properties-inputs/derived-fe-property';
export * from './models/properties-inputs/property-declare-api-model';
export * from './models/properties-inputs/property-input-detail';
export * from './models/properties-inputs/input-fe-model';
export * from './models/properties-inputs/simple-flat-property';
export * from './models/data-types-map';
export * from './models/data-types';
export * from './models/distribution';
export * from './models/export-excel';
export * from './models/file-download';
export * from './models/graph/graph-links/common-base-link';
export * from './models/graph/graph-links/common-ci-link-base';
export * from './models/graph/graph-links/composition-graph-links/composition-ci-link-base';
export * from './models/graph/graph-links/composition-graph-links/composition-ci-simple-link';
export * from './models/graph/graph-links/composition-graph-links/composition-ci-ucpe-host-link';
export * from './models/graph/graph-links/composition-graph-links/composition-ci-ucpe-link';
export * from './models/graph/graph-links/composition-graph-links/composition-ci-vl-link';
export * from './models/graph/graph-links/composition-graph-links/composition-ci-vl-ucpe-link';
export * from './models/graph/graph-links/links-factory';
export * from './models/graph/graph-links/module-graph-links/module-ci-link-base';
export * from './models/graph/graph-links/module-graph-links/module-ci-vl-link';
export * from './models/graph/graphTooltip';
export * from './models/graph/assetPopoverObj';
export * from './models/graph/link-menu';
export * from './models/graph/match-relation';
export * from './models/graph/nodes/base-common-node';
export * from './models/graph/nodes/common-ci-node-base';
export * from './models/graph/nodes/composition-graph-nodes/composition-ci-node-base';
export * from './models/graph/nodes/composition-graph-nodes/composition-ci-node-cp';
export * from './models/graph/nodes/composition-graph-nodes/composition-ci-node-configuration';
export * from './models/graph/nodes/composition-graph-nodes/composition-ci-node-service';
export * from './models/graph/nodes/composition-graph-nodes/composition-ci-node-service-proxy';
export * from './models/graph/nodes/composition-graph-nodes/composition-ci-node-ucpe-cp';
export * from './models/graph/nodes/composition-graph-nodes/composition-ci-node-ucpe';
export * from './models/graph/nodes/composition-graph-nodes/composition-ci-node-vf';
export * from './models/graph/nodes/composition-graph-nodes/composition-ci-node-vfc';
export * from './models/graph/nodes/composition-graph-nodes/composition-ci-node-vl';
export * from './models/graph/nodes/modules-graph-nodes/module-node-base';
export * from './models/graph/nodes/nodes-factory';
export * from './models/graph/point';
export * from './models/graph/connectRelationModel';
export * from './models/graph/relationship';
export * from './models/heat-parameters';
export * from './models/input-property-base';
export * from './models/inputs-and-properties';
export * from './models/inputs';
export * from './models/instance-inputs-properties-map';
export * from './models/left-panel';
export * from './models/member';
export * from './models/modules/base-module';
export * from './models/operation';
export * from './models/properties';
export * from './models/requirement';
export * from './models/server-error-response';
export * from './models/tab';
export * from './models/tooltip-data';
export * from './models/user';
export * from './models/validate';
export * from './models/component-metadata';
export * from './models/modal';
export * from './models/button';
export * from './models/wizard-step';
export * from './models/radio-button';
export * from './models/filter-properties-assignment-data';
export * from './models/properties-inputs/input-be-model';
export * from './models/service-instance-properties-and-interfaces';
export * from './models/relationship-types';
export * from './models/tosca-presentation';
export * from './models/node-types';
export * from './models/capability-types';
- network-cm-proxy summary: Get a node given a cm Handle and xpath description: Get a node with an option to retrieve all the children for a given cm Handle operationId: getNodeByCmHandleAndXpath parameters: - name: cm-handle in: path description: "The identifier for a network function, network element, subnetwork\ \ or any other cm object by managed Network CM Proxy" required: true schema: type: string - name: xpath in: query description: xpath required: false schema: type: string default: / - name: include-descendants in: query description: include-descendants required: false schema: type: boolean default: false responses: "200": description: OK content: application/json: schema: type: object "400": description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "401": description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "403": description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "404": description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' deprecated: true /v1/cm-handles/{cm-handle}/list-node: post: tags: - network-cm-proxy summary: Add list-node child element(s) description: Add one or more list-node child elements under existing node for the given CM Handle operationId: addListNodeElements parameters: - name: cm-handle in: path description: "The identifier for a network function, network element, subnetwork\ \ or any other cm object by managed Network CM Proxy" required: true schema: type: string - name: xpath in: query description: xpath required: true schema: type: string requestBody: content: application/json: schema: type: string required: true responses: "201": description: Created content: {} "400": description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "401": description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "403": description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "404": description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' deprecated: true /v1/cm-handles/{cm-handle}/nodes/query: get: tags: - network-cm-proxy summary: Query data nodes description: Query nodes for the given cps path and cm Handle operationId: queryNodesByCmHandleAndCpsPath parameters: - name: cm-handle in: path description: "The identifier for a network function, network element, subnetwork\ \ or any other cm object by managed Network CM Proxy" required: true schema: type: string - name: cps-path in: query description: cps-path required: false schema: type: string default: / - name: include-descendants in: query description: include-descendants required: false schema: type: boolean default: false responses: "200": description: OK content: application/json: schema: type: object "400": description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "401": description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "403": description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "404": description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' deprecated: true /v1/cm-handles/{cm-handle}/nodes: put: tags: - network-cm-proxy summary: Replace a node with descendants description: Replace a node with descendants for the given cps path and cm Handle operationId: replaceNode parameters: - name: cm-handle in: path description: "The identifier for a network function, network element, subnetwork\ \ or any other cm object by managed Network CM Proxy" required: true schema: type: string - name: xpath in: query description: xpath required: false schema: type: string default: / requestBody: content: application/json: schema: type: string required: true responses: "200": description: OK content: application/json: schema: type: object "400": description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "401": description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "403": description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "404": description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' deprecated: true post: tags: - network-cm-proxy summary: Create a node with descendants description: Create a node with descendants for the given CM Handle; top level or under existing node (requires xpath) operationId: createNode parameters: - name: cm-handle in: path description: "The identifier for a network function, network element, subnetwork\ \ or any other cm object by managed Network CM Proxy" required: true schema: type: string - name: xpath in: query description: xpath required: false schema: type: string default: / requestBody: content: application/json: schema: type: string required: true responses: "201": description: Created content: {} "400": description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "401": description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "403": description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "404": description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' deprecated: true patch: tags: - network-cm-proxy summary: Update node leaves description: Update node leaves for the given cps path and cm Handle operationId: updateNodeLeaves parameters: - name: cm-handle in: path description: "The identifier for a network function, network element, subnetwork\ \ or any other cm object by managed Network CM Proxy" required: true schema: type: string - name: xpath in: query description: xpath required: false schema: type: string default: / requestBody: content: application/json: schema: type: string required: true responses: "200": description: OK content: application/json: schema: type: object "400": description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "401": description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "403": description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "404": description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' deprecated: true /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-operational: get: tags: - network-cm-proxy summary: Get resource data from pass-through operational for cm handle description: Get resource data from pass-through operational for given cm handle operationId: getResourceDataOperationalForCmHandle parameters: - name: cm-handle in: path description: "The identifier for a network function, network element, subnetwork\ \ or any other cm object by managed Network CM Proxy" required: true schema: type: string - name: resourceIdentifier in: query description: The format of resource identifier depend on the associated DMI Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but it can really be anything. required: true allowReserved: true schema: type: string examples: sample1: value: resourceIdentifier: \parent\child sample2: value: resourceIdentifier: "\\parent\\listElement[key=value]" sample3: value: resourceIdentifier: "\\parent\\listElement[key=value]\\grandChild" sample4: value: resourceIdentifier: "parent=1,child=abc" - name: Accept in: header description: "Accept parameter for response, if accept parameter is null,\ \ that means client can accept any format." required: false schema: type: string enum: - application/json - application/yang-data+json - name: options in: query description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\ \ in parenthesis'()'." required: false allowReserved: true schema: type: string examples: sample1: value: options: "(key1=value1,key2=value2)" sample2: value: options: "(key1=value1,key2=value1/value2)" sample3: value: options: "(key1=10,key2=value2,key3=[val31;val32])" responses: "200": description: OK content: application/json: schema: type: object "400": description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "401": description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "403": description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "404": description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running: get: tags: - network-cm-proxy summary: Get resource data from pass-through running for cm handle description: Get resource data from pass-through running for given cm handle operationId: getResourceDataRunningForCmHandle parameters: - name: cm-handle in: path description: "The identifier for a network function, network element, subnetwork\ \ or any other cm object by managed Network CM Proxy" required: true schema: type: string - name: resourceIdentifier in: query description: The format of resource identifier depend on the associated DMI Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but it can really be anything. required: true allowReserved: true schema: type: string examples: sample1: value: resourceIdentifier: \parent\child sample2: value: resourceIdentifier: "\\parent\\listElement[key=value]" sample3: value: resourceIdentifier: "\\parent\\listElement[key=value]\\grandChild" sample4: value: resourceIdentifier: "parent=1,child=abc" - name: Accept in: header description: "Accept parameter for response, if accept parameter is null,\ \ that means client can accept any format." required: false schema: type: string enum: - application/json - application/yang-data+json - name: options in: query description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\ \ in parenthesis'()'." required: false allowReserved: true schema: type: string examples: sample1: value: options: "(key1=value1,key2=value2)" sample2: value: options: "(key1=value1,key2=value1/value2)" sample3: value: options: "(key1=10,key2=value2,key3=[val31;val32])" responses: "200": description: OK content: application/json: schema: type: object "400": description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "401": description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "403": description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "404": description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' post: tags: - network-cm-proxy summary: create resource data from pass-through running for cm handle description: create resource data from pass-through running for given cm handle operationId: createResourceDataRunningForCmHandle parameters: - name: cm-handle in: path description: "The identifier for a network function, network element, subnetwork\ \ or any other cm object by managed Network CM Proxy" required: true schema: type: string - name: resourceIdentifier in: query description: The format of resource identifier depend on the associated DMI Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but it can really be anything. required: true allowReserved: true schema: type: string examples: sample1: value: resourceIdentifier: \parent\child sample2: value: resourceIdentifier: "\\parent\\listElement[key=value]" sample3: value: resourceIdentifier: "\\parent\\listElement[key=value]\\grandChild" sample4: value: resourceIdentifier: "parent=1,child=abc" - name: Content-Type in: header description: "Content parameter for request, if content parameter is null,\ \ default value is application/json." required: false schema: type: string default: application/json requestBody: content: application/json: schema: type: string application/yang-data+json: schema: type: string required: true responses: "201": description: Created content: {} "400": description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "401": description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "403": description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "404": description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' /v1/ch/{cm-handle}/modules: get: tags: - network-cm-proxy summary: Fetch all module references (name and revision) for a given cm handle description: fetch all module references (name and revision) for a given cm handle operationId: getModuleReferencesByCmHandle parameters: - name: cm-handle in: path description: "The identifier for a network function, network element, subnetwork\ \ or any other cm object by managed Network CM Proxy" required: true schema: type: string responses: "200": description: OK content: application/json: schema: type: object "400": description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "401": description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "403": description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' "404": description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' components: schemas: ErrorMessage: title: Error type: object properties: status: type: string message: type: string details: type: string