Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 1 | export class VidConfiguration { |
| 2 | |
| 3 | public static VNF_STATUS_CHECK_ENABLED = false; |
| 4 | |
| 5 | /* |
| 6 | * UPLOAD_SUPPLEMENTARY_STATUS_CHECK_ENABLED: Determines the Property to Govern Presence of |
| 7 | * Upload Supplementary File on Volume Group Screen. |
| 8 | * Set to false, to disable the check. |
| 9 | */ |
| 10 | public static UPLOAD_SUPPLEMENTARY_STATUS_CHECK_ENABLED = false; |
| 11 | |
| 12 | /* |
| 13 | * List of valid VNF status combinations |
| 14 | */ |
| 15 | public static VNF_VALID_STATUS_LIST = [ |
| 16 | { |
| 17 | 'provStatus': 'preprov', |
| 18 | 'orchestrationStatus': 'pending-create', |
| 19 | 'inMaint': false, |
| 20 | 'operationalStatus': null |
| 21 | }, |
| 22 | { |
| 23 | 'provStatus': 'preprov', |
| 24 | 'orchestrationStatus': 'created', |
| 25 | 'inMaint': false, |
| 26 | 'operationalStatus': null |
| 27 | }, |
| 28 | { |
| 29 | 'provStatus': 'preprov', |
| 30 | 'orchestrationStatus': 'active', |
| 31 | 'inMaint': false, |
| 32 | 'operationalStatus': null |
| 33 | }, |
| 34 | { |
| 35 | 'provStatus': 'nvtprov', |
| 36 | 'orchestrationStatus': 'active', |
| 37 | 'inMaint': false, |
| 38 | 'operationalStatus': null |
| 39 | }, |
| 40 | { |
| 41 | 'provStatus': 'prov', |
| 42 | 'orchestrationStatus': 'active', |
| 43 | 'inMaint': false, |
| 44 | 'operationalStatus': 'out-of-service-path' |
| 45 | }, |
| 46 | { |
| 47 | 'provStatus': 'prov', |
| 48 | 'orchestrationStatus': 'activated', |
| 49 | 'inMaint': false, |
| 50 | 'operationalStatus': 'out-of-service-path' |
| 51 | } |
| 52 | ]; |
| 53 | |
| 54 | /* |
| 55 | * The model status VID uses to query SDC for a list of models. The possible values are: |
| 56 | * DISTRIBUTION_NOT_APPROVED, |
| 57 | * DISTRIBUTION_APPROVED, |
| 58 | * DISTRIBUTED, |
| 59 | * DISTRIBUTION_REJECTED, |
| 60 | * ALL, |
| 61 | * In the production env, this should always be set to DISTRIBUTED |
| 62 | */ |
| 63 | public static ASDC_MODEL_STATUS = 'DISTRIBUTED'; |
| 64 | |
| 65 | /* |
| 66 | * Max number of times that VID will poll MSO for a given request status |
| 67 | */ |
| 68 | public static MSO_MAX_POLLS = 10; |
| 69 | |
| 70 | /* |
| 71 | * Number of msecs that VID will wait between MSO polls. |
| 72 | */ |
| 73 | public static MSO_POLLING_INTERVAL_MSECS = 10000; |
| 74 | |
| 75 | public static SCHEDULER_POLLING_INTERVAL_MSECS = 10000; |
| 76 | |
| 77 | public static SCHEDULER_MAX_POLLS = 10; |
| 78 | |
| 79 | public static COMPONENT_LIST_NAMED_QUERY_ID = '0367193e-c785-4d5f-9cb8-7bc89dc9ddb7'; |
| 80 | |
| 81 | /* |
| 82 | * List of all service model invariant UUIDs that need macro instantiation. |
| 83 | * Example: |
| 84 | * MACRO_SERVICES : ['3cf30cbb-5fe7-4fb3-b049-559a4997b221', 'b135a703-bab5-4295-a37f-580a4f2d0961'] |
| 85 | * |
| 86 | */ |
| 87 | public static MACRO_SERVICES = ['c9514b73-3dfe-4d7e-9146-b318d48655d9', '93150ffa-00c6-4ea0-85f2-3536ca46ebd2', |
| 88 | '2b54297f-72e7-4a94-b451-72df88d0be0b', |
| 89 | 'd27e42cf-087e-4d31-88ac-6c4b7585f800', |
| 90 | 'ec0c4bab-c272-4dab-b087-875031bb0c9f', '0311f998-9268-4fd6-bbba-afff15087b72', |
| 91 | '43596836-ae36-4608-a987-6608ede10dac', '306caa85-74c7-48a9-aa22-7e3a564b957a', |
| 92 | 'e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0']; |
| 93 | |
| 94 | public static SCHEDULER_CALLBACK_URL = 'https://vid-web-ete.ecomp.cci.att.com:8000/vid/change-management/workflow/'; |
| 95 | |
| 96 | public static SCHEDULER_PORTAL_URL = 'http://www.ecomp.att.com'; |
| 97 | |
| 98 | } |