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