2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
22 package org.openecomp.appc.common.constant;
24 public class Constants {
26 public static final String DG_ATTRIBUTE_STATUS = "SvcLogic.status";
27 public static final String DG_STATUS_SUCCESS = "success";
28 public static final String DG_ATTRIBUTE_STATUS_CODE = "SvcLogic.status.code";
29 public static final String DG_OUTPUT_STATUS_CODE = "output.status.code";
30 public static final String DG_OUTPUT_STATUS_MESSAGE = "output.status.message";
34 * The name of the property that contains the VM id value in the graph's context
36 public static final String VF_ID = "org.openecomp.appc.vfid";
39 * The name of the property that contains the VF Type value in the graph's context
41 public static final String VF_TYPE = "org.openecomp.appc.vftype";
44 * The name of the property that contains the service request id value in the graph's context
46 public static final String REQUEST_ID = "org.openecomp.appc.reqid";
49 * The name of the property that indicates which method of the IaaS adapter to call
51 public static final String ACTION = "org.openecomp.appc.action";
53 public static final String PAYLOAD = "payload";
55 public static final String CONF_ID = "org.openecomp.appc.confid";
57 public static final String API_VERSION = "org.openecomp.appc.apiversion";
59 public static final String ORIGINATOR_ID = "org.openecomp.appc.originatorid";
61 public static final String OBJECT_ID ="org.openecomp.appc.objectid";
63 public static final String SUB_REQUEST_ID = "org.openecomp.appc.subrequestid";
65 public static final String ERROR_MESSAGE = "error-message";