Skip to content

Commit

Permalink
chore(*): Remove queue traffic shaping codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
robzienert authored and robfletcher committed Mar 29, 2018
1 parent fb192b5 commit 077b9fe
Show file tree
Hide file tree
Showing 20 changed files with 5 additions and 1,418 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class RedisOrcaQueueConfiguration : RedisQueueConfiguration() {

@Bean fun orcaToKeikoSerializationMigrator(objectMapper: ObjectMapper) = OrcaToKeikoSerializationMigrator(objectMapper)

@Bean(name = arrayOf("queueImpl")) override fun queue(
@Bean override fun queue(
@Qualifier("queueRedisPool") redisPool: Pool<Jedis>,
redisQueueProperties: RedisQueueProperties,
clock: Clock,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class RedisQueueShovelConfiguration {
return RedisConfiguration.createPool(redisPoolConfig, previousConnection, timeout, registry, "previousQueueJedisPool")
}

@Bean(name = ["previousQueueImpl"])
@Bean(name = ["previous"])
@ConditionalOnBean(name = ["previousQueueJedisPool"]) fun previousRedisQueue(
@Qualifier("previousQueueJedisPool") redisPool: Pool<Jedis>,
redisQueueProperties: RedisQueueProperties,
Expand All @@ -82,8 +82,8 @@ class RedisQueueShovelConfiguration {

@Bean
@ConditionalOnBean(name = arrayOf("previousQueueJedisPool")) fun redisQueueShovel(
@Qualifier("queueImpl") queueImpl: RedisQueue,
@Qualifier("previousQueueImpl") previousQueueImpl: RedisQueue,
queueImpl: RedisQueue,
@Qualifier("previous") previousQueueImpl: RedisQueue,
registry: Registry,
activator: Activator
) =
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ import java.time.Clock
@Configuration
@ComponentScan(basePackages = [
"com.netflix.spinnaker.orca.q",
"com.netflix.spinnaker.orca.q.handler",
"com.netflix.spinnaker.orca.q.trafficshaping"
"com.netflix.spinnaker.orca.q.handler"
])
@EnableScheduling
class OrcaQueueConfiguration {
Expand Down

This file was deleted.

Loading

0 comments on commit 077b9fe

Please sign in to comment.