2 * ============LICENSE_START=======================================================
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
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.openecomp.modelloader.service;
23 import com.att.eelf.i18n.EELFResourceManager;
25 import org.openecomp.cl.eelf.LogMessageEnum;
27 public enum ModelLoaderMsgs implements LogMessageEnum {
32 LOADING_CONFIGURATION,
40 * Arguments: {0} = message.
45 * Arguments: {0} = reason.
47 ASDC_CONNECTION_ERROR,
50 * Arguments: {0} = message.
55 * Arguments: {0} = error message.
57 DISTRIBUTION_EVENT_ERROR,
60 * Arguments: {0} = request type.
64 AAI_REST_REQUEST_SUCCESS,
67 * Arguments: {0} = request type.
73 AAI_REST_REQUEST_UNSUCCESSFUL,
76 * Arguments: {0} = request type.
78 * {2} = error message.
80 AAI_REST_REQUEST_ERROR,
83 * Arguments: {0} = artifact name.
89 * Arguments: {0} = event.
90 * {1} = artifact name.
96 * Load message bundle (ModelLoaderMsgs.properties file)
99 EELFResourceManager.loadMessageBundle("org/openecomp/modelloader/service/ModelLoaderMsgs");