Add support for loading VNF Catalog XML files
[aai/model-loader.git] / src / main / java / org / onap / aai / modelloader / service / ModelLoaderMsgs.java
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
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
11  *
12  *       http://www.apache.org/licenses/LICENSE-2.0
13  *
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=========================================================
20  */
21 package org.onap.aai.modelloader.service;
22
23 import com.att.eelf.i18n.EELFResourceManager;
24 import org.onap.aai.cl.eelf.LogMessageEnum;
25
26 public enum ModelLoaderMsgs implements LogMessageEnum {
27
28     /**
29      * Arguments: None.
30      */
31     LOADING_CONFIGURATION,
32
33     /**
34      * Arguments: None.
35      */
36     STOPPING_CLIENT,
37
38     /**
39      * Arguments: {0} = message.
40      */
41     INITIALIZING,
42
43     /**
44      * Arguments: {0} = reason.
45      */
46     ASDC_CONNECTION_ERROR,
47
48     /**
49      * Arguments: {0} = message.
50      */
51     DISTRIBUTION_EVENT,
52
53     /**
54      * Arguments: {0} = error message.
55      */
56     DISTRIBUTION_EVENT_ERROR,
57
58     /**
59      * Arguments: {0} = request type. {1} = endpoint. {2} = result code.
60      */
61     AAI_REST_REQUEST_SUCCESS,
62
63     /**
64      * Arguments: {0} = request type. {1} = endpoint. {2} = result code. {3} = result. message
65      */
66     AAI_REST_REQUEST_UNSUCCESSFUL,
67
68     /**
69      * Arguments: {0} = request type. {1} = endpoint. {2} = error message.
70      */
71     AAI_REST_REQUEST_ERROR,
72
73     /**
74      * Arguments: {0} = request type. {1} = endpoint. {2} = error message.
75      */
76     BABEL_REST_REQUEST_ERROR,
77
78     /**
79      * Arguments: {0} = info request payload.
80      **/
81     AAI_REST_REQUEST_PAYLOAD,
82
83     /**
84      * Arguments: {0} = artifact name
85      */
86     ARTIFACT_PARSE_ERROR,
87
88     /**
89      * Arguments: {0} = info request payload.
90      **/
91     BABEL_REST_REQUEST_PAYLOAD,
92
93     /**
94      * Arguments: {0} = info Babel response payload.
95      **/
96     BABEL_RESPONSE_PAYLOAD,
97
98     /**
99      * Arguments: {0} = artifact name. {1} = payload.
100      */
101     DOWNLOAD_COMPLETE,
102
103     /**
104      * Arguments: {0} = event. {1} = artifact name. {2} = result.
105      */
106     EVENT_PUBLISHED,
107
108     /**
109      * Arguments: {0} = artifact name. {1} = artifact type.
110      */
111     UNSUPPORTED_ARTIFACT_TYPE,
112
113     /**
114      * Arguments: {0} = artifact name.
115      */
116     DUPLICATE_VNFC_DATA_ERROR;
117
118     /**
119      * Load message bundle (ModelLoaderMsgs.properties file)
120      */
121     static {
122         EELFResourceManager.loadMessageBundle("org/onap/aai/modelloader/service/ModelLoaderMsgs");
123     }
124
125 }