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
72a182c9
Commit
72a182c9
authored
Mar 18, 2015
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make turbine AMQP into an application (optional)
parent
da24fa6d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
1 deletion
+44
-1
pom.xml
spring-cloud-netflix-turbine-amqp/pom.xml
+12
-1
TurbineApplication.java
...mework/cloud/netflix/turbine/amqp/TurbineApplication.java
+17
-0
turbine.yml
...cloud-netflix-turbine-amqp/src/main/resources/turbine.yml
+15
-0
No files found.
spring-cloud-netflix-turbine-amqp/pom.xml
View file @
72a182c9
...
...
@@ -90,8 +90,19 @@
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-tomcat
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
<scope>
test
</scope>
<optional>
true
</optional>
<exclusions>
<exclusion>
<artifactId>
spring-boot-starter-tomcat
</artifactId>
<groupId>
org.springframework.boot
</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
spring-cloud-netflix-turbine-amqp/src/main/java/org/springframework/cloud/netflix/turbine/amqp/TurbineApplication.java
0 → 100644
View file @
72a182c9
package
org
.
springframework
.
cloud
.
netflix
.
turbine
.
amqp
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.context.annotation.Configuration
;
@Configuration
@EnableAutoConfiguration
@EnableTurbineAmqp
public
class
TurbineApplication
{
public
static
void
main
(
String
[]
args
)
{
new
SpringApplicationBuilder
(
TurbineApplication
.
class
).
properties
(
"spring.config.name=turbine"
).
run
(
args
);
}
}
spring-cloud-netflix-turbine-amqp/src/main/resources/turbine.yml
0 → 100644
View file @
72a182c9
info
:
component
:
Turbine AMQP
spring
:
application
:
name
:
turbine
jmx
:
default_domain
:
cloud.turbine.amqp
server
:
port
:
8990
turbine
:
amqp
:
port
:
8989
\ No newline at end of file
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