diff --git a/src/backend/ci/core/auth/biz-auth/src/main/kotlin/com/tencent/devops/auth/common/AuthCoreConfiguration.kt b/src/backend/ci/core/auth/biz-auth/src/main/kotlin/com/tencent/devops/auth/common/AuthCoreConfiguration.kt index 75cab54c540..f74e6f94f10 100644 --- a/src/backend/ci/core/auth/biz-auth/src/main/kotlin/com/tencent/devops/auth/common/AuthCoreConfiguration.kt +++ b/src/backend/ci/core/auth/biz-auth/src/main/kotlin/com/tencent/devops/auth/common/AuthCoreConfiguration.kt @@ -37,19 +37,9 @@ import com.tencent.devops.auth.service.DefaultDeptServiceImpl import com.tencent.devops.auth.service.DeptService import com.tencent.devops.auth.service.EmptyPermissionExtServiceImpl import com.tencent.devops.auth.service.EmptyPermissionUrlServiceImpl -import com.tencent.devops.auth.utils.HostUtils import com.tencent.devops.common.client.ClientTokenService import com.tencent.devops.common.stream.annotation.StreamEventConsumer import com.tencent.devops.common.stream.constants.StreamBinding -import org.springframework.amqp.core.Binding -import org.springframework.amqp.core.BindingBuilder -import org.springframework.amqp.core.DirectExchange -import org.springframework.amqp.core.Queue -import org.springframework.amqp.rabbit.connection.ConnectionFactory -import org.springframework.amqp.rabbit.core.RabbitAdmin -import org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer -import org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter -import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean import org.springframework.cloud.stream.function.StreamBridge @@ -58,7 +48,6 @@ import org.springframework.context.annotation.Configuration import org.springframework.messaging.Message import java.util.function.Consumer -@Suppress("ALL") @Configuration class AuthCoreConfiguration {