Class DevopsAPIUtils
java.lang.Object
org.wso2.carbon.apimgt.rest.api.devops.DevopsAPIUtils
Devops util functions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
CORRELATION_DEFAULT_COMPONENTS
-
-
Constructor Details
-
DevopsAPIUtils
public DevopsAPIUtils()
-
-
Method Details
-
validateLogLevel
-
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)
-