Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
fe08762f
Commit
fe08762f
authored
Jan 29, 2015
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename package that was missing 'cloud'
parent
e100207e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
HystrixConstants.java
...ringframework/cloud/netflix/hystrix/HystrixConstants.java
+2
-2
HystrixStreamAmqpProperties.java
...oud/netflix/hystrix/amqp/HystrixStreamAmqpProperties.java
+1
-1
HystrixStreamAutoConfiguration.java
.../netflix/hystrix/amqp/HystrixStreamAutoConfiguration.java
+4
-4
HystrixStreamChannel.java
...work/cloud/netflix/hystrix/amqp/HystrixStreamChannel.java
+1
-1
HystrixStreamTask.java
...amework/cloud/netflix/hystrix/amqp/HystrixStreamTask.java
+1
-1
TurbineAmqpAutoConfiguration.java
...ud/netflix/turbine/amqp/TurbineAmqpAutoConfiguration.java
+3
-3
No files found.
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/Constants.java
→
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/
hystrix/Hystrix
Constants.java
View file @
fe08762f
...
@@ -14,12 +14,12 @@
...
@@ -14,12 +14,12 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
cloud
.
netflix
;
package
org
.
springframework
.
cloud
.
netflix
.
hystrix
;
/**
/**
* @author Spencer Gibb
* @author Spencer Gibb
*/
*/
public
interface
Constants
{
public
interface
Hystrix
Constants
{
String
HYSTRIX_STREAM_NAME
=
"spring.cloud.hystrix.stream"
;
String
HYSTRIX_STREAM_NAME
=
"spring.cloud.hystrix.stream"
;
...
...
spring-cloud-netflix-hystrix-amqp/src/main/java/org/springframework/netflix/hystrix/amqp/HystrixStreamAmqpProperties.java
→
spring-cloud-netflix-hystrix-amqp/src/main/java/org/springframework/
cloud/
netflix/hystrix/amqp/HystrixStreamAmqpProperties.java
View file @
fe08762f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
netflix
.
hystrix
.
amqp
;
package
org
.
springframework
.
cloud
.
netflix
.
hystrix
.
amqp
;
import
lombok.Data
;
import
lombok.Data
;
...
...
spring-cloud-netflix-hystrix-amqp/src/main/java/org/springframework/netflix/hystrix/amqp/HystrixStreamAutoConfiguration.java
→
spring-cloud-netflix-hystrix-amqp/src/main/java/org/springframework/
cloud/
netflix/hystrix/amqp/HystrixStreamAutoConfiguration.java
View file @
fe08762f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
netflix
.
hystrix
.
amqp
;
package
org
.
springframework
.
cloud
.
netflix
.
hystrix
.
amqp
;
import
javax.annotation.PostConstruct
;
import
javax.annotation.PostConstruct
;
...
@@ -25,7 +25,7 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -25,7 +25,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnClass
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnClass
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
import
org.springframework.cloud.netflix.Constants
;
import
org.springframework.cloud.netflix.
hystrix.Hystrix
Constants
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.integration.annotation.IntegrationComponentScan
;
import
org.springframework.integration.annotation.IntegrationComponentScan
;
...
@@ -78,7 +78,7 @@ public class HystrixStreamAutoConfiguration {
...
@@ -78,7 +78,7 @@ public class HystrixStreamAutoConfiguration {
@Bean
@Bean
public
DirectExchange
hystrixStreamExchange
()
{
public
DirectExchange
hystrixStreamExchange
()
{
DirectExchange
exchange
=
new
DirectExchange
(
Constants
.
HYSTRIX_STREAM_NAME
);
DirectExchange
exchange
=
new
DirectExchange
(
Hystrix
Constants
.
HYSTRIX_STREAM_NAME
);
return
exchange
;
return
exchange
;
}
}
...
@@ -94,7 +94,7 @@ public class HystrixStreamAutoConfiguration {
...
@@ -94,7 +94,7 @@ public class HystrixStreamAutoConfiguration {
* spec.header("content-type", "application/json", true); } })
* spec.header("content-type", "application/json", true); } })
*/
*/
.
handle
(
Amqp
.
outboundAdapter
(
this
.
amqpTemplate
).
exchangeName
(
.
handle
(
Amqp
.
outboundAdapter
(
this
.
amqpTemplate
).
exchangeName
(
Constants
.
HYSTRIX_STREAM_NAME
)).
get
();
Hystrix
Constants
.
HYSTRIX_STREAM_NAME
)).
get
();
}
}
private
Jackson2JsonMessageConverter
messageConverter
()
{
private
Jackson2JsonMessageConverter
messageConverter
()
{
...
...
spring-cloud-netflix-hystrix-amqp/src/main/java/org/springframework/netflix/hystrix/amqp/HystrixStreamChannel.java
→
spring-cloud-netflix-hystrix-amqp/src/main/java/org/springframework/
cloud/
netflix/hystrix/amqp/HystrixStreamChannel.java
View file @
fe08762f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
netflix
.
hystrix
.
amqp
;
package
org
.
springframework
.
cloud
.
netflix
.
hystrix
.
amqp
;
import
org.springframework.integration.annotation.Gateway
;
import
org.springframework.integration.annotation.Gateway
;
import
org.springframework.integration.annotation.MessagingGateway
;
import
org.springframework.integration.annotation.MessagingGateway
;
...
...
spring-cloud-netflix-hystrix-amqp/src/main/java/org/springframework/netflix/hystrix/amqp/HystrixStreamTask.java
→
spring-cloud-netflix-hystrix-amqp/src/main/java/org/springframework/
cloud/
netflix/hystrix/amqp/HystrixStreamTask.java
View file @
fe08762f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
netflix
.
hystrix
.
amqp
;
package
org
.
springframework
.
cloud
.
netflix
.
hystrix
.
amqp
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.io.StringWriter
;
import
java.io.StringWriter
;
...
...
spring-cloud-netflix-turbine-amqp/src/main/java/org/springframework/cloud/netflix/turbine/amqp/TurbineAmqpAutoConfiguration.java
View file @
fe08762f
...
@@ -32,7 +32,7 @@ import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter;
...
@@ -32,7 +32,7 @@ import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnClass
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnClass
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
;
import
org.springframework.cloud.netflix.Constants
;
import
org.springframework.cloud.netflix.
hystrix.Hystrix
Constants
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.integration.dsl.IntegrationFlow
;
import
org.springframework.integration.dsl.IntegrationFlow
;
...
@@ -66,7 +66,7 @@ public class TurbineAmqpAutoConfiguration {
...
@@ -66,7 +66,7 @@ public class TurbineAmqpAutoConfiguration {
@Bean
@Bean
public
DirectExchange
hystrixStreamExchange
()
{
public
DirectExchange
hystrixStreamExchange
()
{
DirectExchange
exchange
=
new
DirectExchange
(
Constants
.
HYSTRIX_STREAM_NAME
);
DirectExchange
exchange
=
new
DirectExchange
(
Hystrix
Constants
.
HYSTRIX_STREAM_NAME
);
return
exchange
;
return
exchange
;
}
}
...
@@ -80,7 +80,7 @@ public class TurbineAmqpAutoConfiguration {
...
@@ -80,7 +80,7 @@ public class TurbineAmqpAutoConfiguration {
public
Queue
hystrixStreamQueue
()
{
public
Queue
hystrixStreamQueue
()
{
Map
<
String
,
Object
>
args
=
new
HashMap
<>();
Map
<
String
,
Object
>
args
=
new
HashMap
<>();
args
.
put
(
"x-message-ttl"
,
60000
);
// TODO: configure TTL
args
.
put
(
"x-message-ttl"
,
60000
);
// TODO: configure TTL
Queue
queue
=
new
Queue
(
Constants
.
HYSTRIX_STREAM_NAME
,
false
,
false
,
false
,
args
);
Queue
queue
=
new
Queue
(
Hystrix
Constants
.
HYSTRIX_STREAM_NAME
,
false
,
false
,
false
,
args
);
return
queue
;
return
queue
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment