Skip to content

Commit

Permalink
feat: websocket page添加提供扩展 TencentBlueKing#4470 格式化
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzcao committed Jun 25, 2021
1 parent d00ec3d commit 67e8d43
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import com.tencent.devops.process.websocket.listener.PipelineWebSocketListener
import com.tencent.devops.process.websocket.page.DefaultDetailPageBuild
import com.tencent.devops.process.websocket.page.DefaultHistoryPageBuild
import com.tencent.devops.process.websocket.page.DefaultStatusPageBuild
import com.tencent.devops.process.websocket.page.DetailPageBuild
import org.springframework.amqp.core.Binding
import org.springframework.amqp.core.BindingBuilder
import org.springframework.amqp.core.DirectExchange
Expand Down Expand Up @@ -118,5 +117,4 @@ class PipelineWebSocketConfiguration {
@Bean
@ConditionalOnMissingBean(name = ["statusPage"])
fun statusPage() = DefaultStatusPageBuild()

}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package com.tencent.devops.process.websocket.page

import com.tencent.devops.common.websocket.pojo.BuildPageInfo

class DefaultDetailPageBuild: DetailPageBuild() {
class DefaultDetailPageBuild : DetailPageBuild() {
override fun extDetailPage(buildPageInfo: BuildPageInfo): String? {
return null
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package com.tencent.devops.process.websocket.page

import com.tencent.devops.common.websocket.pojo.BuildPageInfo

class DefaultStatusPageBuild: StatusPageBuild() {
class DefaultStatusPageBuild : StatusPageBuild() {
override fun extStatusPage(buildPageInfo: BuildPageInfo): String? {
return null
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import com.tencent.devops.common.redis.RedisOperation
import com.tencent.devops.common.websocket.dispatch.TransferDispatch
import com.tencent.devops.websocket.keys.WebsocketKeys
import com.tencent.devops.common.websocket.utils.RedisUtlis
import com.tencent.devops.common.websocket.utils.RedisUtlis.cleanUserSessionBySessionId
import com.tencent.devops.websocket.event.ChangePageTransferEvent
import com.tencent.devops.websocket.event.ClearSessionEvent
import com.tencent.devops.websocket.event.ClearUserSessionTransferEvent
Expand Down

0 comments on commit 67e8d43

Please sign in to comment.