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