e72d66aac9a19553d2470e8e83a098cc8632fc6a
[sdc.git] /
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   Create_LIMIT,
42   Delete_LIMIT,
43   Update_LIMIT,
44   Get_LIMIT,
45
46   List_FG,
47   Create_FG,
48   Update_FG,
49   Get_FG,
50   Delete_FG,
51
52   List_LA,
53   Create_LA,
54   Update_LA,
55   Get_LA,
56   Delete_LA,
57
58   List_LKG,
59   Create_LKG,
60   Update_LKG,
61   Get_LKG,
62   Delete_LKG,
63
64   List_VSPs,
65   List_Packages,
66   Create_VSP,
67   Get_VSP,
68   Checkout_VSP,
69   Checkin_VSP,
70   Undo_Checkout_VSP,
71   Submit_VSP,
72   Update_VSP,
73   Re_Submit_ALL_Final_VSPs,
74   Create_Package,
75   List_VSP,
76   Upload_File,
77   Get_Uploaded_File,
78   Get_Translated_File,
79   Get_Questionnaire_VSP,
80   Update_Questionnaire_VSP,
81   Get_Information_Artifact,
82
83
84   List_Component_Processes,
85   Delete_List_Component_Processes,
86   Create_Component_Processes,
87   Update_Component_Processes,
88   Get_Component_Processes,
89   Delete_Component_Processes,
90   Upload_File_Component_Processes,
91   Get_Uploaded_File_Component_Processes,
92   Delete_Uploaded_File_Component_Processes,
93
94   List_Processes,
95   Delete_List_Processes,
96   Create_Processes,
97   Update_Processes,
98   Get_Processes,
99   Delete_Processes,
100   Upload_File_Processes,
101   Get_Uploaded_File_Processes,
102   Delete_Uploaded_File_Processes,
103
104   List_Components,
105   Delete_List_Components,
106   Create_Component,
107   Update_Component,
108   Get_Component,
109   Delete_Component,
110   Get_Questionnaire_Component,
111   Update_Questionnaire_Component,
112
113   Upload_Monitoring_Artifact,
114   Delete_Monitoring_Artifact,
115   List_Monitoring_Artifacts,
116
117   List_Network,
118   Create_Network,
119   Update_Network,
120   Get_Network,
121   Delete_Network,
122
123   List_nics,
124   Delete_List_nics,
125   Create_nic,
126   Update_nic,
127   Get_nic,
128   Delete_nic,
129   Get_Questionnaire_nic,
130   Update_Questionnaire_nic,
131
132   Create_Process,
133   Update_Process,
134
135   Create_Compute,
136   List_Computes,
137   Get_Compute,
138   Update_Compute,
139   Delete_Compute,
140   Get_Questionnaire_Compute,
141   Update_Questionnaire_Compute,
142
143   Insert_To_ApplicationConfig_Table,
144   Get_From_ApplicationConfig_Table,
145   Get_List_From_ApplicationConfig_Table_By_Namespace,
146
147   Create_Deployment_Flavor,
148   Get_List_Deployment_flavor,
149   Get_Deployment_flavor,
150   Delete_Deployment_flavor,
151   Update_Deployment_flavor,
152
153   Get_List_Activity_Log,
154
155   Validate,
156   Enrich, Delete_VSP, Get_Process_Artifact, Create_Entity, Checkout_Entity, Undo_Checkout_Entity,
157   Checkin_Entity, Submit_Entity, Get_Entity_Version, Delete_Entity, Undo_Delete_Entity,
158   Translate_Resource, Translate_HEAT, LoggerServiceName, Get_VSP_List, Delete_VLM, Update_Manifest,
159   Create_Image,
160   GET_Image_Schema,
161   List_Images,
162   GET_Image,
163   Delete_Image,
164   Update_Image,
165
166   CREATE_COMPONENT_DEPENDENCY_MODEL,
167   GET_COMPONENT_DEPENDENCY_MODEL,
168
169   Health_check
170   ;
171
172   public static String getServiceName(LoggerServiceName serviceName) {
173     return serviceName.name().replace("_", " ");
174   }
175
176   @Override
177   public String toString(){
178     return this.name().replace("_", " ");
179   }
180
181
182 }