aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/factories/models/requestDetails.model.ts
blob: 1663f7af7c48772aee060700e2804bb3e8a6b2a8 (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
123
124
125
126
127
export class RequestInfo {
  instanceName: string;
  source: string;
  suppressRollback: boolean;
  requestorId: string;
  productFamilyId: string;
}

export class ModelInfo {
  modelType: string;
  modelInvariantId: string;
  modelVersionId: string;
  modelName: string;
  modelVersion: string;
  modelCustomizationId: string;
  modelCustomizationName: string;
  customizationUuid: string;
}

export class RequestParameters {
  userParams: any[];
  testApi: string;
}

export class CloudConfiguration {
  lcpCloudRegionId: string;
  tenantId: string;
}

export class LineOfBusiness {
  lineOfBusinessName: string;
}

export class Platform {
  platformName: string;
}

export class VfcModel {
  uuid: string;
  invariantUuid: string;
  name: string;
  version: string;
  vfcInstanceGroupProperties : any;
}

export class RelatedInstance {
  instanceId: string;
  modelInfo: ModelInfo;
}

export class RelatedInstanceList {
  relatedInstance: RelatedInstance;
}

export class RequestDetails {
  requestInfo: RequestInfo;
  modelInfo: ModelInfo;
  requestParameters: RequestParameters;
  cloudConfiguration: CloudConfiguration;
  lineOfBusiness: LineOfBusiness;
  platform: Platform;
  relatedInstanceList: RelatedInstanceList[];
}

export class RootObject {
  requestDetails: RequestDetails;
}
// {
//   "requestDetails": {
//       "modelInfo": {
//          “modelType”: “vnf”,
//          “modelInvariantId”: “ff5256d1-5a33-55df-13ab-12abad84e7ff”,
//          “modelVersionId”: “fe042c22-ba82-43c6-b2f6-8f1fc4164091”,
//          “modelName”: “vSAMP12”,
//          "modelVersion": "1.0",
//          “modelCustomizationName”: “vSAMP12 1”,
//          “modelCustomizationId”: “a7f1d08e-b02d-11e6-80f5-76304dec7eb7”
//       },
//       “cloudConfiguration”: {
//           “lcpCloudRegionId”: “mdt1”,
//           “tenantId”: “88a6ca3ee0394ade9403f075db23167e”
//       },
//       "requestInfo": {
//           “instanceName”: “MSOTEST103a”,
//           “productFamilyId”: “a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb”,
//           “source”: “VID”,
//           “suppressRollback”: false,
//           “requestorId”: “az2016”
//       },
//      "platform": {
//        "platformName": "{some platformName}"
//      },
//      "lineOfBusiness": {
//        "lineOfBusinessName": "{some string}"
//      },
//       "relatedInstanceList": [
//          {
//             “relatedInstance”: {
//                “instanceId”: “{serviceInstanceId}”,
//                “modelInfo”: {
//                   “modelType”: “service”,
//                   “modelInvariantId”: “ff3514e3-5a33-55df-13ab-12abad84e7ff”,
//                   “modelVersionId”: “fe6985cd-ea33-3346-ac12-ab121484a3fe”,
//                   “modelName”: “{parent service model name}”,
//                   "modelVersion": "1.0"
//                }
//             }
//          },
//          {
//             “relatedInstance”: {
//                “instanceId”: “{instanceGroupId}”,
//                “modelInfo”: {
//                   “modelType”: “networkInstanceGroup”,
//                   “modelInvariantId”: “9ea660dc-155f-44d3-b45c-cc7648b4f31c”,
//                   “modelVersionId”: “bb07aad1-ce2d-40c1-85cb-5392f76bb1ef”,
//                   “modelName”: “{network collection model name}”,
//                   "modelVersion": "1.0"
//                }
//             }
//          }

//       ],
//       “requestParameters”: {
//             “userParams”: []
//       }
//   }
// }