Fix micro service status code
[holmes/common.git] / holmes-actions / src / main / java / org / openo / holmes / common / constant / AlarmConst.java
1 /**\r
2  * Copyright 2017 ZTE Corporation.\r
3  *\r
4  * Licensed under the Apache License, Version 2.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  * http://www.apache.org/licenses/LICENSE-2.0\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  */\r
16 package org.openo.holmes.common.constant;\r
17 \r
18 public interface AlarmConst {\r
19 \r
20     String MQ_TOPIC_NAME_ALARMS_CORRELATION = "topic://voss/fm/alarms_correlation";\r
21 \r
22     String MQ_TOPIC_NAME_ALARM = "topic://voss/fm/alarm";\r
23 \r
24     String NFVO_PATH = "/openoapi/umc/v1/fm/curalarms/findAll";\r
25 \r
26     int NFVO_STATUS_OK = 200;\r
27 \r
28     String I18N_EN = "en";\r
29 \r
30     String I18N_ZH = "zh";\r
31 \r
32     String ZH_CN = "zh_CN";\r
33 \r
34     String ADMIN = "admin";\r
35 \r
36     int MICRO_SERVICE_STATUS_SUCCESS = 201;\r
37 }\r