3fac9547d342b452bcc45b4acbaf608fbc3950ac
[sdc.git] / openecomp-be / lib / openecomp-logging-lib / openecomp-sdc-logging-api / src / main / java / org / openecomp / sdc / logging / types / LoggerServiceName.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.openecomp.sdc.logging.types;
22
23
24 public enum LoggerServiceName {
25
26   Create_VLM,
27   Get_VLM,
28   Checkout_VLM,
29   Checkin_VLM,
30   Undo_Checkout_VLM,
31   Submit_VLM,
32   Update_VLM,
33   List_VLM,
34
35   List_EP,
36   Create_EP,
37   Update_EP,
38   Get_EP,
39   Delete_EP,
40
41   List_FG,
42   Create_FG,
43   Update_FG,
44   Get_FG,
45   Delete_FG,
46
47   List_LA,
48   Create_LA,
49   Update_LA,
50   Get_LA,
51   Delete_LA,
52
53   List_LKG,
54   Create_LKG,
55   Update_LKG,
56   Get_LKG,
57   Delete_LKG,
58
59   List_VSPs,
60   List_Packages,
61   Create_VSP,
62   Get_VSP,
63   Checkout_VSP,
64   Checkin_VSP,
65   Undo_Checkout_VSP,
66   Submit_VSP,
67   Update_VSP,
68   Create_Package,
69   List_VSP,
70   Upload_File,
71   Get_Uploaded_File,
72   Get_Translated_File,
73   Get_Questionnaire_VSP,
74   Update_Questionnaire_VSP,
75   Get_Information_Artifact,
76
77
78   List_Component_Processes,
79   Delete_List_Component_Processes,
80   Create_Component_Processes,
81   Update_Component_Processes,
82   Get_Component_Processes,
83   Delete_Component_Processes,
84   Upload_File_Component_Processes,
85   Get_Uploaded_File_Component_Processes,
86   Delete_Uploaded_File_Component_Processes,
87
88   List_Processes,
89   Delete_List_Processes,
90   Create_Processes,
91   Update_Processes,
92   Get_Processes,
93   Delete_Processes,
94   Upload_File_Processes,
95   Get_Uploaded_File_Processes,
96   Delete_Uploaded_File_Processes,
97
98   List_Components,
99   Delete_List_Components,
100   Create_Component,
101   Update_Component,
102   Get_Component,
103   Delete_Component,
104   Get_Questionnaire_Component,
105   Update_Questionnaire_Component,
106
107   Upload_MIB_File,
108   Delete_MIB_File,
109   List_MIB_Files,
110
111   List_Network,
112   Create_Network,
113   Update_Network,
114   Get_Network,
115   Delete_Network,
116
117   List_nics,
118   Delete_List_nics,
119   Create_nic,
120   Update_nic,
121   Get_nic,
122   Delete_nic,
123   Get_Questionnaire_nic,
124   Update_Questionnaire_nic,
125
126   Create_Process,
127   Update_Process,
128
129   Insert_To_ApplicationConfig_Table,
130   Get_From_ApplicationConfig_Table,
131   Get_List_From_ApplicationConfig_Table_By_Namespace,
132
133   Get_List_Activity_Log,
134
135   Validate,
136   Enrich, Delete_VSP, Get_Process_Artifact, Create_Entity, Checkout_Entity, Undo_Checkout_Entity,
137   Checkin_Entity, Submit_Entity, Get_Entity_Version, Delete_Entity, Undo_Delete_Entity,
138   Translate_Resource, Translate_HEAT, LoggerServiceName, Get_VSP_List, Delete_VLM, Update_Manifest,
139
140   CREATE_COMPONENT_DEPENDENCY_MODEL,
141   GET_COMPONENT_DEPENDENCY_MODEL;
142
143   public static String getServiceName(LoggerServiceName serviceName) {
144     return serviceName.name().replace("_", " ");
145   }
146
147   @Override
148   public String toString(){
149     return this.name().replace("_", " ");
150   }
151
152
153 }