blob: 4ccc4781bff3eb34d0b1aa183b52979c015b7cea [file] [log] [blame]
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +03001export class RequestInfo {
2 instanceName: string;
3 source: string;
4 suppressRollback: boolean;
5 requestorId: string;
6 productFamilyId: string;
7}
8
9export class ModelInfo {
10 modelType: string;
11 modelInvariantId: string;
12 modelVersionId: string;
13 modelName: string;
14 modelVersion: string;
15 modelCustomizationId: string;
16 modelCustomizationName: string;
17}
18
19export class RequestParameters {
20 userParams: any[];
21 testApi: string;
22}
23
24export class CloudConfiguration {
25 lcpCloudRegionId: string;
26 tenantId: string;
27}
28
29export class LineOfBusiness {
30 lineOfBusinessName: string;
31}
32
33export class Platform {
34 platformName: string;
35}
36
37export class VfcModel {
38 uuid: string;
39 invariantUuid: string;
40 name: string;
41 version: string;
42 vfcInstanceGroupProperties : any;
43}
44
45export class RelatedInstance {
46 instanceId: string;
47 modelInfo: ModelInfo;
48}
49
50export class RelatedInstanceList {
51 relatedInstance: RelatedInstance;
52}
53
54export class RequestDetails {
55 requestInfo: RequestInfo;
56 modelInfo: ModelInfo;
57 requestParameters: RequestParameters;
58 cloudConfiguration: CloudConfiguration;
59 lineOfBusiness: LineOfBusiness;
60 platform: Platform;
61 relatedInstanceList: RelatedInstanceList[];
62}
63
64export class RootObject {
65 requestDetails: RequestDetails;
66}
67// {
68// "requestDetails": {
69// "modelInfo": {
70// “modelType”: “vnf”,
71// “modelInvariantId”: “ff5256d1-5a33-55df-13ab-12abad84e7ff”,
72// “modelVersionId”: “fe042c22-ba82-43c6-b2f6-8f1fc4164091”,
73// “modelName”: “vSAMP12”,
74// "modelVersion": "1.0",
75// “modelCustomizationName”: “vSAMP12 1”,
76// “modelCustomizationId”: “a7f1d08e-b02d-11e6-80f5-76304dec7eb7”
77// },
78// “cloudConfiguration”: {
79// “lcpCloudRegionId”: “mdt1”,
80// “tenantId”: “88a6ca3ee0394ade9403f075db23167e”
81// },
82// "requestInfo": {
83// “instanceName”: “MSOTEST103a”,
84// “productFamilyId”: “a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb”,
85// “source”: “VID”,
86// “suppressRollback”: false,
87// “requestorId”: “az2016”
88// },
89// "platform": {
90// "platformName": "{some platformName}"
91// },
92// "lineOfBusiness": {
93// "lineOfBusinessName": "{some string}"
94// },
95// "relatedInstanceList": [
96// {
97// “relatedInstance”: {
98// “instanceId”: “{serviceInstanceId}”,
99// “modelInfo”: {
100// “modelType”: “service”,
101// “modelInvariantId”: “ff3514e3-5a33-55df-13ab-12abad84e7ff”,
102// “modelVersionId”: “fe6985cd-ea33-3346-ac12-ab121484a3fe”,
103// “modelName”: “{parent service model name}”,
104// "modelVersion": "1.0"
105// }
106// }
107// },
108// {
109// “relatedInstance”: {
110// “instanceId”: “{instanceGroupId}”,
111// “modelInfo”: {
112// “modelType”: “networkCollection”,
113// “modelInvariantId”: “9ea660dc-155f-44d3-b45c-cc7648b4f31c”,
114// “modelVersionId”: “bb07aad1-ce2d-40c1-85cb-5392f76bb1ef”,
115// “modelName”: “{network collection model name}”,
116// "modelVersion": "1.0"
117// }
118// }
119// }
120
121// ],
122// “requestParameters”: {
123// “userParams”: []
124// }
125// }
126// }