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 {
78 Get_Questionnaire_VSP,
79 Update_Questionnaire_VSP,
80 Get_Information_Artifact,
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,
94 Delete_List_Processes,
99 Upload_File_Processes,
100 Get_Uploaded_File_Processes,
101 Delete_Uploaded_File_Processes,
104 Delete_List_Components,
109 Get_Questionnaire_Component,
110 Update_Questionnaire_Component,
112 Upload_Monitoring_Artifact,
113 Delete_Monitoring_Artifact,
114 List_Monitoring_Artifacts,
128 Get_Questionnaire_nic,
129 Update_Questionnaire_nic,
139 Get_Questionnaire_Compute,
140 Update_Questionnaire_Compute,
142 Insert_To_ApplicationConfig_Table,
143 Get_From_ApplicationConfig_Table,
144 Get_List_From_ApplicationConfig_Table_By_Namespace,
146 Create_Deployment_Flavor,
147 Get_List_Deployment_flavor,
148 Get_Deployment_flavor,
149 Delete_Deployment_flavor,
150 Update_Deployment_flavor,
152 Get_List_Activity_Log,
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,
165 CREATE_COMPONENT_DEPENDENCY_MODEL,
166 GET_COMPONENT_DEPENDENCY_MODEL,
171 public static String getServiceName(LoggerServiceName serviceName) {
172 return serviceName.name().replace("_", " ");
176 public String toString(){
177 return this.name().replace("_", " ");