Upgrade sonar plugin
[vid.git] / vid-app-common / src / main / java / org / openecomp / vid / mso / MsoProperties.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * VID\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 package org.openecomp.vid.mso;\r
22 \r
23 import org.openecomp.portalsdk.core.util.SystemProperties;\r
24 \r
25 import java.text.DateFormat;\r
26 import java.text.SimpleDateFormat;\r
27 import org.openecomp.portalsdk.core.logging.logic.EELFLoggerDelegate;\r
28 \r
29 /**\r
30  * The Class MsoProperties.\r
31  */\r
32 public class MsoProperties extends SystemProperties {\r
33 \r
34         /** The Constant MSO_SERVER_URL. */\r
35         //VID Properties related to MSO\r
36         public static final String MSO_SERVER_URL = "mso.server.url";\r
37 \r
38         /** The Constant MSO_DME2_SERVER_URL. */\r
39         public static final String MSO_DME2_SERVER_URL = "mso.dme2.server.url";\r
40 \r
41         /** The Constant MSO_DME2_CLIENT_TIMEOUT. */\r
42         public static final String MSO_DME2_CLIENT_TIMEOUT = "mso.dme2.client.timeout";\r
43         \r
44         /** The Constant MSO_DME2_CLIENT_READ_TIMEOUT. */\r
45         public static final String MSO_DME2_CLIENT_READ_TIMEOUT = "mso.dme2.client.read.timeout";\r
46         \r
47         /** The Constant MSO_SERVER_URL_DEFAULT. */\r
48         public static final String MSO_SERVER_URL_DEFAULT= "";\r
49         \r
50         /** The Constant MSO_POLLING_INTERVAL_MSECS. */\r
51         // number of msecs to wait between polling requests\r
52         public static final String MSO_POLLING_INTERVAL_MSECS = "mso.polling.interval.msecs";\r
53 \r
54         /** The Constant MSO_POLLING_INTERVAL_MSECS_DEFAULT. */\r
55         public static final String MSO_POLLING_INTERVAL_MSECS_DEFAULT = "60000";\r
56         \r
57         /** The Constant MSO_DME2_ENABLED. */\r
58         public static final String MSO_DME2_ENABLED = "mso.dme2.enabled";\r
59         \r
60         /** The Constant MSO_MAX_POLLS. */\r
61         public static final String MSO_MAX_POLLS = "mso.max.polls";\r
62         \r
63         /** The Constant MSO_MAX_POLLS_DEFAULT. */\r
64         public static final String MSO_MAX_POLLS_DEFAULT = "10"; //10\r
65         \r
66         /** The Constant MSO_USER_NAME. */\r
67         public static final String MSO_USER_NAME = "mso.user.name"; //m03346\r
68         \r
69         /** The Constant MSO_PASSWORD. */\r
70         public static final String MSO_PASSWORD = "mso.password.x";\r
71         \r
72         /** The Constant MSO_REST_API_SVC_INSTANCE. */\r
73         public static final String MSO_REST_API_SVC_INSTANCE = "mso.restapi.svc.instance"; // /serviceInstances/v2\r
74         \r
75         /** The Constant MSO_REST_API_VNF_INSTANCE. */\r
76         public static final String MSO_REST_API_VNF_INSTANCE = "mso.restapi.vnf.instance"; // /serviceInstances/v2/{service_instance_id}/vnfs\r
77         \r
78         /** The Constant MSO_REST_API_VNF_CHANGE_MANAGEMENT_INSTANCE. */\r
79         public static final String MSO_REST_API_VNF_CHANGE_MANAGEMENT_INSTANCE = "mso.restapi.vnf.changemanagement.instance"; // /serviceInstances/v2/{service_instance_id}/vnfs/{request_type}\r
80         \r
81         /** The Constant MSO_REST_API_NETWORK_INSTANCE. */\r
82         public static final String MSO_REST_API_NETWORK_INSTANCE = "mso.restapi.network.instance"; // /serviceInstances/v2/{serviceInstanceId}/networks\r
83         \r
84         /** The Constant MSO_REST_API_GET_ORC_REQ. */\r
85         public static final String MSO_REST_API_GET_ORC_REQ = "mso.restapi.get.orc.req";\r
86         \r
87         /** The Constant MSO_REST_API_GET_ORC_REQS. */\r
88         public static final String MSO_REST_API_GET_ORC_REQS = "mso.restapi.get.orc.reqs";\r
89 \r
90         /** The Constant MSO_REST_API_GET_MAN_TASK. */\r
91         public static final String MSO_REST_API_GET_MAN_TASKS = "mso.restapi.get.man.tasks";\r
92 \r
93         /** The Constant MSO_REST_API_VF_MODULE_INSTANCE. */\r
94         public static final String MSO_REST_API_VF_MODULE_INSTANCE = "mso.restapi.vf.module.instance";\r
95 \r
96         /** The Constant MSO_REST_API_VOLUME_GROUP_INSTANCE. */\r
97         public static final String MSO_REST_API_VOLUME_GROUP_INSTANCE = "mso.restapi.volume.group.instance"; //serviceInstances/v2/{serviceInstanceId}/volumeGroups\r
98         \r
99         /** The logger. */\r
100         public EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(MsoProperties.class);\r
101         \r
102         /** The Constant dateFormat. */\r
103         final static DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss:SSSS");\r
104         \r
105 }\r