2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6 * Copyright © 2017-2018 European Software Marketing Ltd.
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=========================================================
21 package org.onap.aai.modelloader.service;
23 import com.att.eelf.i18n.EELFResourceManager;
24 import org.onap.aai.cl.eelf.LogMessageEnum;
26 public enum ModelLoaderMsgs implements LogMessageEnum {
31 LOADING_CONFIGURATION,
39 * Arguments: {0} = message.
44 * Arguments: {0} = reason.
46 ASDC_CONNECTION_ERROR,
49 * Arguments: {0} = message.
54 * Arguments: {0} = error message.
56 DISTRIBUTION_EVENT_ERROR,
59 * Arguments: {0} = request type. {1} = endpoint. {2} = result code.
61 AAI_REST_REQUEST_SUCCESS,
64 * Arguments: {0} = request type. {1} = endpoint. {2} = result code. {3} = result. message
66 AAI_REST_REQUEST_UNSUCCESSFUL,
69 * Arguments: {0} = request type. {1} = endpoint. {2} = error message.
71 AAI_REST_REQUEST_ERROR,
74 * Arguments: {0} = request type. {1} = endpoint. {2} = error message.
76 BABEL_REST_REQUEST_ERROR,
79 * Arguments: {0} = info request payload.
81 AAI_REST_REQUEST_PAYLOAD,
84 * Arguments: {0} = artifact name
89 * Arguments: {0} = info request payload.
91 BABEL_REST_REQUEST_PAYLOAD,
94 * Arguments: {0} = info Babel response payload.
96 BABEL_RESPONSE_PAYLOAD,
99 * Arguments: {0} = artifact name. {1} = payload.
104 * Arguments: {0} = event. {1} = artifact name. {2} = result.
109 * Arguments: {0} = artifact name. {1} = artifact type.
111 UNSUPPORTED_ARTIFACT_TYPE,
114 * Arguments: {0} = artifact name.
116 DUPLICATE_VNFC_DATA_ERROR;
119 * Load message bundle (ModelLoaderMsgs.properties file)
122 EELFResourceManager.loadMessageBundle("org/onap/aai/modelloader/service/ModelLoaderMsgs");