Class DevopsAPIUtils
- java.lang.Object
-
- org.wso2.carbon.apimgt.rest.api.devops.DevopsAPIUtils
-
public class DevopsAPIUtils extends Object
Devops util functions.
-
-
Field Summary
Fields Modifier and Type Field Description static String[]CORRELATION_DEFAULT_COMPONENTS
-
Constructor Summary
Constructors Constructor Description DevopsAPIUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CorrelationComponentsListDTOgetCorrelationComponentsList(List<org.wso2.carbon.apimgt.impl.dto.CorrelationConfigDTO> correlationConfigDTOList)static List<org.wso2.carbon.apimgt.impl.dto.CorrelationConfigDTO>getCorrelationConfigDTOList(CorrelationComponentsListDTO correlationComponentsListDTO)static LoggingApiOutputListDTOgetLoggingAPIList(List<org.wso2.carbon.apimgt.impl.dto.APILogInfoDTO> apiLogInfoDTOList)static booleanvalidateCorrelationComponentList(CorrelationComponentsListDTO correlationComponentsListDTO)Validate correlation component list string.static booleanvalidateLogLevel(String logLevel)
-
-
-
Field Detail
-
CORRELATION_DEFAULT_COMPONENTS
public static final String[] CORRELATION_DEFAULT_COMPONENTS
-
-
Method Detail
-
validateLogLevel
public static boolean validateLogLevel(String logLevel)
-
getLoggingAPIList
public static LoggingApiOutputListDTO getLoggingAPIList(List<org.wso2.carbon.apimgt.impl.dto.APILogInfoDTO> apiLogInfoDTOList)
-
validateCorrelationComponentList
public static boolean validateCorrelationComponentList(CorrelationComponentsListDTO correlationComponentsListDTO) throws org.wso2.carbon.apimgt.api.APIManagementException
Validate correlation component list string.- Parameters:
correlationComponentsListDTO- the correlation components list dto- Returns:
- the string with invalid component name
- Throws:
org.wso2.carbon.apimgt.api.APIManagementException
-
getCorrelationComponentsList
public static CorrelationComponentsListDTO getCorrelationComponentsList(List<org.wso2.carbon.apimgt.impl.dto.CorrelationConfigDTO> correlationConfigDTOList)
-
getCorrelationConfigDTOList
public static List<org.wso2.carbon.apimgt.impl.dto.CorrelationConfigDTO> getCorrelationConfigDTOList(CorrelationComponentsListDTO correlationComponentsListDTO)
-
-