Commit e52949e5 by Dave Syer

Move eureka events to server project

parent 826d5ff3
...@@ -74,6 +74,12 @@ ...@@ -74,6 +74,12 @@
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<!-- Only needed at compile time -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope> <scope>test</scope>
......
...@@ -32,11 +32,11 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean ...@@ -32,11 +32,11 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.netflix.eureka.DiscoveryManagerIntitializer; import org.springframework.cloud.netflix.eureka.DiscoveryManagerIntitializer;
import org.springframework.cloud.netflix.eureka.EurekaServerConfigBean; import org.springframework.cloud.netflix.eureka.EurekaServerConfigBean;
import org.springframework.cloud.netflix.eureka.advice.LeaseManagerLite; import org.springframework.cloud.netflix.eureka.server.advice.LeaseManagerLite;
import org.springframework.cloud.netflix.eureka.advice.PiggybackMethodInterceptor; import org.springframework.cloud.netflix.eureka.server.advice.PiggybackMethodInterceptor;
import org.springframework.cloud.netflix.eureka.event.EurekaRegistryAvailableEvent; import org.springframework.cloud.netflix.eureka.server.event.EurekaRegistryAvailableEvent;
import org.springframework.cloud.netflix.eureka.event.EurekaServerStartedEvent; import org.springframework.cloud.netflix.eureka.server.event.EurekaServerStartedEvent;
import org.springframework.cloud.netflix.eureka.event.LeaseManagerMessageBroker; import org.springframework.cloud.netflix.eureka.server.event.LeaseManagerMessageBroker;
import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationListener; import org.springframework.context.ApplicationListener;
import org.springframework.context.SmartLifecycle; import org.springframework.context.SmartLifecycle;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * 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.appinfo.InstanceInfo;
import com.netflix.eureka.lease.LeaseManager; import com.netflix.eureka.lease.LeaseManager;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.cloud.netflix.eureka.advice; package org.springframework.cloud.netflix.eureka.server.advice;
import java.lang.reflect.Method; import java.lang.reflect.Method;
......
package org.springframework.cloud.netflix.eureka.event; package org.springframework.cloud.netflix.eureka.server.event;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
......
package org.springframework.cloud.netflix.eureka.event; package org.springframework.cloud.netflix.eureka.server.event;
import com.netflix.appinfo.InstanceInfo; import com.netflix.appinfo.InstanceInfo;
......
package org.springframework.cloud.netflix.eureka.event; package org.springframework.cloud.netflix.eureka.server.event;
import com.netflix.appinfo.InstanceInfo; import com.netflix.appinfo.InstanceInfo;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.cloud.netflix.eureka.event; package org.springframework.cloud.netflix.eureka.server.event;
import org.springframework.context.ApplicationEvent; import org.springframework.context.ApplicationEvent;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.cloud.netflix.eureka.event; package org.springframework.cloud.netflix.eureka.server.event;
import org.springframework.context.ApplicationEvent; import org.springframework.context.ApplicationEvent;
......
package org.springframework.cloud.netflix.eureka.event; package org.springframework.cloud.netflix.eureka.server.event;
import static com.google.common.collect.Iterables.tryFind; import static com.google.common.collect.Iterables.tryFind;
...@@ -9,7 +9,7 @@ import javax.annotation.Nullable; ...@@ -9,7 +9,7 @@ import javax.annotation.Nullable;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; 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 org.springframework.context.ApplicationContext;
import com.google.common.base.Optional; import com.google.common.base.Optional;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment