Class DevopsAPIUtils


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

      • CORRELATION_DEFAULT_COMPONENTS

        public static final String[] CORRELATION_DEFAULT_COMPONENTS
    • Constructor Detail

      • DevopsAPIUtils

        public DevopsAPIUtils()
    • 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)