c6d9ebb77f558e06b013c3dde01685aaabd21264
[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   Create_Package,
74   List_VSP,
75   Upload_File,
76   Get_Uploaded_File,
77   Get_Translated_File,
78   Get_Questionnaire_VSP,
79   Update_Questionnaire_VSP,
80   Get_Information_Artifact,
81
82
83   List_Component_Processes,
84   Delete_List_Component_Processes,
85   Create_Component_Processes,
86   Update_Component_Processes,
87   Get_Component_Processes,
88   Delete_Component_Processes,
89   Upload_File_Component_Processes,
90   Get_Uploaded_File_Component_Processes,
91   Delete_Uploaded_File_Component_Processes,
92
93   List_Processes,
94   Delete_List_Processes,
95   Create_Processes,
96   Update_Processes,
97   Get_Processes,
98   Delete_Processes,
99   Upload_File_Processes,
100   Get_Uploaded_File_Processes,
101   Delete_Uploaded_File_Processes,
102
103   List_Components,
104   Delete_List_Components,
105   Create_Component,
106   Update_Component,
107   Get_Component,
108   Delete_Component,
109   Get_Questionnaire_Component,
110   Update_Questionnaire_Component,
111
112   Upload_Monitoring_Artifact,
113   Delete_Monitoring_Artifact,
114   List_Monitoring_Artifacts,
115
116   List_Network,
117   Create_Network,
118   Update_Network,
119   Get_Network,
120   Delete_Network,
121
122   List_nics,
123   Delete_List_nics,
124   Create_nic,
125   Update_nic,
126   Get_nic,
127   Delete_nic,
128   Get_Questionnaire_nic,
129   Update_Questionnaire_nic,
130
131   Create_Process,
132   Update_Process,
133
134   Create_Compute,
135   List_Computes,
136   Get_Compute,
137   Update_Compute,
138   Delete_Compute,
139   Get_Questionnaire_Compute,
140   Update_Questionnaire_Compute,
141
142   Insert_To_ApplicationConfig_Table,
143   Get_From_ApplicationConfig_Table,
144   Get_List_From_ApplicationConfig_Table_By_Namespace,
145
146   Create_Deployment_Flavor,
147   Get_List_Deployment_flavor,
148   Get_Deployment_flavor,
149   Delete_Deployment_flavor,
150   Update_Deployment_flavor,
151
152   Get_List_Activity_Log,
153
154   Validate,
155   Enrich, Delete_VSP, Get_Process_Artifact, Create_Entity, Checkout_Entity, Undo_Checkout_Entity,
156   Checkin_Entity, Submit_Entity, Get_Entity_Version, Delete_Entity, Undo_Delete_Entity,
157   Translate_Resource, Translate_HEAT, LoggerServiceName, Get_VSP_List, Delete_VLM, Update_Manifest,
158   Create_Image,
159   GET_Image_Schema,
160   List_Images,
161   GET_Image,
162   Delete_Image,
163   Update_Image,
164
165   CREATE_COMPONENT_DEPENDENCY_MODEL,
166   GET_COMPONENT_DEPENDENCY_MODEL,
167
168   Health_check
169   ;
170
171   public static String getServiceName(LoggerServiceName serviceName) {
172     return serviceName.name().replace("_", " ");
173   }
174
175   @Override
176   public String toString(){
177     return this.name().replace("_", " ");
178   }
179
180
181 }