2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 - 2019 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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.vid.mso;
23 import org.onap.portalsdk.core.util.SystemProperties;
26 * The Class MsoProperties.
28 public class MsoProperties extends SystemProperties {
30 /** The Constant MSO_SERVER_URL. */
31 //VID Properties related to MSO
32 public static final String MSO_SERVER_URL = "mso.server.url";
34 /** The Constant MSO_DME2_SERVER_URL. */
35 public static final String MSO_DME2_SERVER_URL = "mso.dme2.server.url";
37 /** The Constant MSO_DME2_CLIENT_TIMEOUT. */
38 public static final String MSO_DME2_CLIENT_TIMEOUT = "mso.dme2.client.timeout";
40 /** The Constant MSO_DME2_CLIENT_READ_TIMEOUT. */
41 public static final String MSO_DME2_CLIENT_READ_TIMEOUT = "mso.dme2.client.read.timeout";
43 /** The Constant MSO_SERVER_URL_DEFAULT. */
44 public static final String MSO_SERVER_URL_DEFAULT= "";
46 /** The Constant MSO_POLLING_INTERVAL_MSECS. */
47 // number of msecs to wait between polling requests
48 public static final String MSO_POLLING_INTERVAL_MSECS = "mso.polling.interval.msecs";
50 /** The Constant MSO_POLLING_INTERVAL_MSECS_DEFAULT. */
51 public static final String MSO_POLLING_INTERVAL_MSECS_DEFAULT = "60000";
53 /** The Constant MSO_DME2_ENABLED. */
54 public static final String MSO_DME2_ENABLED = "mso.dme2.enabled";
56 /** The Constant MSO_MAX_POLLS. */
57 public static final String MSO_MAX_POLLS = "mso.max.polls";
59 /** The Constant MSO_MAX_POLLS_DEFAULT. */
60 public static final String MSO_MAX_POLLS_DEFAULT = "10"; //10
62 /** The Constant MSO_USER_NAME. */
63 public static final String MSO_USER_NAME = "mso.user.name"; //m03346
65 /** The Constant MSO_PASSWORD. */
66 public static final String MSO_PASSWORD = "mso.password.x";
68 /** The Constant MSO_REST_API_SVC_INSTANCE. */
69 public static final String MSO_REST_API_E2E_SVC_INSTANCE = "mso.restapi.svc.e2einstance"; // /e2eServiceInstances/v3
71 /** The Constant MSO_REST_API_SVC_INSTANCE. */
72 public static final String MSO_REST_API_SVC_INSTANCE = "mso.restapi.svc.instance"; // /serviceInstances/v2
74 /** The Constant MSO_DELETE_OR_UNASSIGN_REST_API_SVC_INSTANCE. */
75 public static final String MSO_DELETE_OR_UNASSIGN_REST_API_SVC_INSTANCE = "mso.restapi.svc.instance.deleteAndUnassign";
77 /** The Constant MSO_REST_API_VNF_INSTANCE. */
78 public static final String MSO_REST_API_VNF_INSTANCE = "mso.restapi.vnf.instance";
80 /** The Constant MSO_REST_API_VNF_CHANGE_MANAGEMENT_INSTANCE. */
81 public static final String MSO_REST_API_VNF_CHANGE_MANAGEMENT_INSTANCE = "mso.restapi.vnf.changemanagement.instance";
83 /** The Constant MSO_REST_API_NETWORK_INSTANCE. */
84 public static final String MSO_REST_API_NETWORK_INSTANCE = "mso.restapi.network.instance";
86 /** The Constant MSO_REST_API_GET_ORC_REQ. */
87 public static final String MSO_REST_API_GET_ORC_REQ = "mso.restapi.get.orc.req";
89 /** The Constant MSO_REST_API_GET_ORC_REQS. */
90 public static final String MSO_REST_API_GET_ORC_REQS = "mso.restapi.get.orc.reqs";
92 /** The Constant MSO_REST_API_GET_MAN_TASK. */
93 public static final String MSO_REST_API_GET_MAN_TASKS = "mso.restapi.get.man.tasks";
95 /** The Constant MSO_REST_API_VF_MODULE_INSTANCE. */
96 public static final String MSO_REST_API_VF_MODULE_INSTANCE = "mso.restapi.vf.module.instance";
98 public static final String MSO_REST_API_VF_MODULE_SCALE_OUT = "mso.restapi.vf.module.scaleout";
100 /** The Constant MSO_REST_API_WORKFLOW_INSTANCE. */
101 public static final String MSO_REST_API_WORKFLOW_INSTANCE = "mso.restapi.workflow.invoke";
103 /** The Constant MSO_REST_API_VOLUME_GROUP_INSTANCE. */
104 public static final String MSO_REST_API_VOLUME_GROUP_INSTANCE = "mso.restapi.volume.group.instance";
106 /** The Constant MSO_REST_API_VOLUME_GROUP_INSTANCE. */
107 public static final String MSO_REST_API_INSTANCE_GROUP = "mso.restapi.instance.group";
109 /** The Constant MSO_REST_API_CONFIGURATION_INSTANCE. */
110 public static final String MSO_REST_API_CONFIGURATIONS = "mso.restapi.configurations";
111 public static final String MSO_REST_API_CONFIGURATION_INSTANCE = "mso.restapi.configuration.instance";
113 /** The Constant MSO_REST_API_OPERATIONAL_ENVIRONMENT */
114 public static final String MSO_REST_API_OPERATIONAL_ENVIRONMENT_ACTIVATE = "mso.restapi.operationalEnvironment.activate";
115 public static final String MSO_REST_API_OPERATIONAL_ENVIRONMENT_DEACTIVATE = "mso.restapi.operationalEnvironment.deactivate";
117 /** The Constant MSO_REST_API_OPERATIONAL_ENVIRONMENT_CREATE */
118 public static final String MSO_REST_API_OPERATIONAL_ENVIRONMENT_CREATE = "mso.restapi.operationalEnvironment.create";
120 /** The Constant MSO_REST_API_CLOUD_RESOURCES_REQUEST_STATUS */
121 public static final String MSO_REST_API_CLOUD_RESOURCES_REQUEST_STATUS = "mso.restapi.operationalEnvironment.cloudResourcesRequests.status";
123 /** The Constant MSO_REST_API_SERVICE_INSTANCE_CREATE */
124 public static final String MSO_REST_API_SERVICE_INSTANCE_CREATE = "mso.restapi.serviceInstanceCreate";
126 /** The Constant MSO_REST_API_SERVICE_INSTANCE_ASSIGN */
127 public static final String MSO_REST_API_SERVICE_INSTANCE_ASSIGN = "mso.restapi.serviceInstanceAssign";
129 public static final String MSO_REST_API_WORKFLOW_SPECIFICATIONS= "mso.restapi.changeManagement.workflowSpecifications";