Browse Source

Going back to snapshots

pull/1123/head
buildmaster 2 years ago
parent
commit
3cfa13c967
  1. 2
      docs/pom.xml
  2. 4
      pom.xml
  3. 4
      spring-cloud-commons-dependencies/pom.xml
  4. 2
      spring-cloud-commons/pom.xml
  5. 3
      spring-cloud-commons/src/main/java/org/springframework/cloud/client/serviceregistry/AbstractAutoServiceRegistration.java
  6. 2
      spring-cloud-commons/src/main/java/org/springframework/cloud/client/serviceregistry/RegistrationManagementLifecycle.java
  7. 20
      spring-cloud-commons/src/test/java/org/springframework/cloud/client/serviceregistry/AbstractAutoServiceRegistrationRegistrationLifecycleTests.java
  8. 2
      spring-cloud-context-integration-tests/pom.xml
  9. 2
      spring-cloud-context-webflux-integration-tests/pom.xml
  10. 2
      spring-cloud-context/pom.xml
  11. 2
      spring-cloud-loadbalancer/pom.xml
  12. 2
      spring-cloud-starter-bootstrap/pom.xml
  13. 2
      spring-cloud-starter-loadbalancer/pom.xml
  14. 2
      spring-cloud-starter/pom.xml
  15. 2
      spring-cloud-test-support/pom.xml

2
docs/pom.xml

@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons-parent</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
</parent>
<packaging>jar</packaging>
<name>Spring Cloud Commons Docs</name>

4
pom.xml

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons-parent</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Spring Cloud Commons Parent</name>
<description>Spring Cloud Commons Parent</description>
@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<scm>

4
spring-cloud-commons-dependencies/pom.xml

@ -6,11 +6,11 @@ @@ -6,11 +6,11 @@
<parent>
<artifactId>spring-cloud-dependencies-parent</artifactId>
<groupId>org.springframework.cloud</groupId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
<relativePath/>
</parent>
<artifactId>spring-cloud-commons-dependencies</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>spring-cloud-commons-dependencies</name>
<description>Spring Cloud Commons Dependencies</description>

2
spring-cloud-commons/pom.xml

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons-parent</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>spring-cloud-commons</artifactId>

3
spring-cloud-commons/src/main/java/org/springframework/cloud/client/serviceregistry/AbstractAutoServiceRegistration.java

@ -102,7 +102,8 @@ public abstract class AbstractAutoServiceRegistration<R extends Registration> @@ -102,7 +102,8 @@ public abstract class AbstractAutoServiceRegistration<R extends Registration>
this.registrationLifecycles = registrationLifecycles;
}
public void addRegistrationManagementLifecycle(RegistrationManagementLifecycle<R> registrationManagementLifecycle) {
public void addRegistrationManagementLifecycle(
RegistrationManagementLifecycle<R> registrationManagementLifecycle) {
this.registrationManagementLifecycles.add(registrationManagementLifecycle);
}

2
spring-cloud-commons/src/main/java/org/springframework/cloud/client/serviceregistry/RegistrationManagementLifecycle.java

@ -18,7 +18,7 @@ package org.springframework.cloud.client.serviceregistry; @@ -18,7 +18,7 @@ package org.springframework.cloud.client.serviceregistry;
/**
* Service registration life cycle. This life cycle is only related to
* {@link org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration#getManagementRegistration()}.
* {@link org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration#getManagementRegistration()}.
*
* @author Zen Huifer
*/

20
spring-cloud-commons/src/test/java/org/springframework/cloud/client/serviceregistry/AbstractAutoServiceRegistrationRegistrationLifecycleTests.java

@ -91,7 +91,7 @@ class AbstractAutoServiceRegistrationRegistrationLifecycleTests { @@ -91,7 +91,7 @@ class AbstractAutoServiceRegistrationRegistrationLifecycleTests {
@EnableAutoConfiguration
@Configuration(proxyBeanMethods = false)
static class Config {
static class Config {
@Bean
public TestAutoServiceRegistrationLifecycle testAutoServiceRegistration(
@ -162,17 +162,17 @@ class AbstractAutoServiceRegistrationRegistrationLifecycleTests { @@ -162,17 +162,17 @@ class AbstractAutoServiceRegistrationRegistrationLifecycleTests {
}
static class TestRegistrationLifecycleServiceRegistration
implements ServiceRegistry<TestRegistrationLifecycleRegistration> {
static class TestRegistrationLifecycleServiceRegistration
implements ServiceRegistry<TestRegistrationLifecycleRegistration> {
private boolean registered = false;
private boolean registered = false;
private boolean deregistered = false;
private boolean deregistered = false;
@Override
public void register(TestRegistrationLifecycleRegistration registration) {
if (registration == null) {
throw new NullPointerException();
@Override public void register(
TestRegistrationLifecycleRegistration registration) {
if (registration == null) {
throw new NullPointerException();
}
if (!(registration instanceof TestRegistrationLifecycleRegistration)) {
this.registered = true;
@ -214,7 +214,7 @@ class AbstractAutoServiceRegistrationRegistrationLifecycleTests { @@ -214,7 +214,7 @@ class AbstractAutoServiceRegistrationRegistrationLifecycleTests {
}
static class TestRegistrationLifecycleRegistration implements Registration {
static class TestRegistrationLifecycleRegistration implements Registration {
private final Map<String, String> metadata = new HashMap<>(8);

2
spring-cloud-context-integration-tests/pom.xml

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons-parent</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>spring-cloud-context-integration-tests</artifactId>

2
spring-cloud-context-webflux-integration-tests/pom.xml

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons-parent</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>spring-cloud-context-webflux-integration-tests</artifactId>

2
spring-cloud-context/pom.xml

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons-parent</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>spring-cloud-context</artifactId>

2
spring-cloud-loadbalancer/pom.xml

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons-parent</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>spring-cloud-loadbalancer</artifactId>

2
spring-cloud-starter-bootstrap/pom.xml

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons-parent</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<packaging>jar</packaging>

2
spring-cloud-starter-loadbalancer/pom.xml

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons-parent</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

2
spring-cloud-starter/pom.xml

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons-parent</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>spring-cloud-starter</artifactId>
<name>spring-cloud-starter</name>

2
spring-cloud-test-support/pom.xml

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons-parent</artifactId>
<version>4.0.0-M3</version>
<version>4.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>spring-cloud-test-support</artifactId>

Loading…
Cancel
Save