2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.sdc.logging.types;
24 public enum LoggerServiceName {
73 Re_Submit_ALL_Final_VSPs,
79 Get_Questionnaire_VSP,
80 Update_Questionnaire_VSP,
81 Get_Information_Artifact,
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,
95 Delete_List_Processes,
100 Upload_File_Processes,
101 Get_Uploaded_File_Processes,
102 Delete_Uploaded_File_Processes,
105 Delete_List_Components,
110 Get_Questionnaire_Component,
111 Update_Questionnaire_Component,
113 Upload_Monitoring_Artifact,
114 Delete_Monitoring_Artifact,
115 List_Monitoring_Artifacts,
129 Get_Questionnaire_nic,
130 Update_Questionnaire_nic,
140 Get_Questionnaire_Compute,
141 Update_Questionnaire_Compute,
143 Insert_To_ApplicationConfig_Table,
144 Get_From_ApplicationConfig_Table,
145 Get_List_From_ApplicationConfig_Table_By_Namespace,
147 Create_Deployment_Flavor,
148 Get_List_Deployment_flavor,
149 Get_Deployment_flavor,
150 Delete_Deployment_flavor,
151 Update_Deployment_flavor,
153 Get_List_Activity_Log,
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,
166 CREATE_COMPONENT_DEPENDENCY_MODEL,
167 GET_COMPONENT_DEPENDENCY_MODEL,
172 public static String getServiceName(LoggerServiceName serviceName) {
173 return serviceName.name().replace("_", " ");
177 public String toString(){
178 return this.name().replace("_", " ");