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
e52949e5
Commit
e52949e5
authored
Oct 14, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move eureka events to server project
parent
826d5ff3
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
20 additions
and
14 deletions
+20
-14
pom.xml
spring-cloud-netflix-eureka-server/pom.xml
+6
-0
EurekaServerInitializerConfiguration.java
...x/eureka/server/EurekaServerInitializerConfiguration.java
+5
-5
LeaseManagerLite.java
.../cloud/netflix/eureka/server/advice/LeaseManagerLite.java
+1
-1
PiggybackMethodInterceptor.java
...flix/eureka/server/advice/PiggybackMethodInterceptor.java
+1
-1
EurekaInstanceCanceledEvent.java
...flix/eureka/server/event/EurekaInstanceCanceledEvent.java
+1
-1
EurekaInstanceRegisteredEvent.java
...ix/eureka/server/event/EurekaInstanceRegisteredEvent.java
+1
-1
EurekaInstanceRenewedEvent.java
...tflix/eureka/server/event/EurekaInstanceRenewedEvent.java
+1
-1
EurekaRegistryAvailableEvent.java
...lix/eureka/server/event/EurekaRegistryAvailableEvent.java
+1
-1
EurekaServerStartedEvent.java
...netflix/eureka/server/event/EurekaServerStartedEvent.java
+1
-1
LeaseManagerMessageBroker.java
...etflix/eureka/server/event/LeaseManagerMessageBroker.java
+2
-2
No files found.
spring-cloud-netflix-eureka-server/pom.xml
View file @
e52949e5
...
...
@@ -74,6 +74,12 @@
<scope>
runtime
</scope>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<!-- Only needed at compile time -->
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
...
...
spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/EurekaServerInitializerConfiguration.java
View file @
e52949e5
...
...
@@ -32,11 +32,11 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
import
org.springframework.cloud.netflix.eureka.DiscoveryManagerIntitializer
;
import
org.springframework.cloud.netflix.eureka.EurekaServerConfigBean
;
import
org.springframework.cloud.netflix.eureka.advice.LeaseManagerLite
;
import
org.springframework.cloud.netflix.eureka.advice.PiggybackMethodInterceptor
;
import
org.springframework.cloud.netflix.eureka.event.EurekaRegistryAvailableEvent
;
import
org.springframework.cloud.netflix.eureka.event.EurekaServerStartedEvent
;
import
org.springframework.cloud.netflix.eureka.event.LeaseManagerMessageBroker
;
import
org.springframework.cloud.netflix.eureka.
server.
advice.LeaseManagerLite
;
import
org.springframework.cloud.netflix.eureka.
server.
advice.PiggybackMethodInterceptor
;
import
org.springframework.cloud.netflix.eureka.
server.
event.EurekaRegistryAvailableEvent
;
import
org.springframework.cloud.netflix.eureka.
server.
event.EurekaServerStartedEvent
;
import
org.springframework.cloud.netflix.eureka.
server.
event.LeaseManagerMessageBroker
;
import
org.springframework.context.ApplicationContext
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.SmartLifecycle
;
...
...
spring-cloud-netflix-
core/src/main/java/org/springframework/cloud/netflix/eureka
/advice/LeaseManagerLite.java
→
spring-cloud-netflix-
eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server
/advice/LeaseManagerLite.java
View file @
e52949e5
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
advice
;
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
server
.
advice
;
import
com.netflix.appinfo.InstanceInfo
;
import
com.netflix.eureka.lease.LeaseManager
;
...
...
spring-cloud-netflix-
core/src/main/java/org/springframework/cloud/netflix/eureka
/advice/PiggybackMethodInterceptor.java
→
spring-cloud-netflix-
eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server
/advice/PiggybackMethodInterceptor.java
View file @
e52949e5
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
advice
;
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
server
.
advice
;
import
java.lang.reflect.Method
;
...
...
spring-cloud-netflix-
core/src/main/java/org/springframework/cloud/netflix/eureka
/event/EurekaInstanceCanceledEvent.java
→
spring-cloud-netflix-
eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server
/event/EurekaInstanceCanceledEvent.java
View file @
e52949e5
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
event
;
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
server
.
event
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
...
...
spring-cloud-netflix-
core/src/main/java/org/springframework/cloud/netflix/eureka
/event/EurekaInstanceRegisteredEvent.java
→
spring-cloud-netflix-
eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server
/event/EurekaInstanceRegisteredEvent.java
View file @
e52949e5
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
event
;
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
server
.
event
;
import
com.netflix.appinfo.InstanceInfo
;
...
...
spring-cloud-netflix-
core/src/main/java/org/springframework/cloud/netflix/eureka
/event/EurekaInstanceRenewedEvent.java
→
spring-cloud-netflix-
eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server
/event/EurekaInstanceRenewedEvent.java
View file @
e52949e5
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
event
;
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
server
.
event
;
import
com.netflix.appinfo.InstanceInfo
;
...
...
spring-cloud-netflix-
core/src/main/java/org/springframework/cloud/netflix/eureka
/event/EurekaRegistryAvailableEvent.java
→
spring-cloud-netflix-
eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server
/event/EurekaRegistryAvailableEvent.java
View file @
e52949e5
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
event
;
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
server
.
event
;
import
org.springframework.context.ApplicationEvent
;
...
...
spring-cloud-netflix-
core/src/main/java/org/springframework/cloud/netflix/eureka
/event/EurekaServerStartedEvent.java
→
spring-cloud-netflix-
eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server
/event/EurekaServerStartedEvent.java
View file @
e52949e5
...
...
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
event
;
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
server
.
event
;
import
org.springframework.context.ApplicationEvent
;
...
...
spring-cloud-netflix-
core/src/main/java/org/springframework/cloud/netflix/eureka
/event/LeaseManagerMessageBroker.java
→
spring-cloud-netflix-
eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server
/event/LeaseManagerMessageBroker.java
View file @
e52949e5
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
event
;
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
server
.
event
;
import
static
com
.
google
.
common
.
collect
.
Iterables
.
tryFind
;
...
...
@@ -9,7 +9,7 @@ import javax.annotation.Nullable;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.cloud.netflix.eureka.advice.LeaseManagerLite
;
import
org.springframework.cloud.netflix.eureka.
server.
advice.LeaseManagerLite
;
import
org.springframework.context.ApplicationContext
;
import
com.google.common.base.Optional
;
...
...
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