Class DevopsAPIUtils

java.lang.Object
org.wso2.carbon.apimgt.rest.api.devops.DevopsAPIUtils

public class DevopsAPIUtils extends Object
Devops util functions.
  • Field Details

    • CORRELATION_DEFAULT_COMPONENTS

      public static final String[] CORRELATION_DEFAULT_COMPONENTS
  • Constructor Details

    • DevopsAPIUtils

      public DevopsAPIUtils()
  • Method Details

    • 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)