Rename Remaining Fabric8 Modules (#681)

* Deprecate KubernetesAutoServiceRegistration

* Document service registry in kubernetes.  Fixes #348

* Renaming leader module to be specific to fabric8

* Istio module rename

* Renaming loadbalancer module
This commit is contained in:
Ryan Baxter
2020-12-08 19:42:40 -05:00
committed by GitHub
parent 2f451dd4c5
commit 3398a14b5a
51 changed files with 60 additions and 60 deletions

View File

@@ -769,7 +769,7 @@ within the Kubernetes platform (for example, different development and productio
=== Istio Awareness
When you include the `spring-cloud-kubernetes-istio` module in the application classpath, a new profile is added to the application,
When you include the `spring-cloud-kubernetes-fabric8-istio` module in the application classpath, a new profile is added to the application,
provided the application is running inside a Kubernetes Cluster with https://istio.io[Istio] installed. You can then use
spring `@Profile("istio")` annotations in your Beans and `@Configuration` classes.

View File

@@ -20,7 +20,7 @@ within the Kubernetes platform (for example, different development and productio
=== Istio Awareness
When you include the `spring-cloud-kubernetes-istio` module in the application classpath, a new profile is added to the application,
When you include the `spring-cloud-kubernetes-fabric8-istio` module in the application classpath, a new profile is added to the application,
provided the application is running inside a Kubernetes Cluster with https://istio.io[Istio] installed. You can then use
spring `@Profile("istio")` annotations in your Beans and `@Configuration` classes.

View File

@@ -100,12 +100,12 @@
<module>spring-cloud-starter-kubernetes-all</module>
<module>spring-cloud-starter-kubernetes-client-all</module>
<module>spring-cloud-kubernetes-examples</module>
<module>spring-cloud-kubernetes-leader</module>
<module>spring-cloud-kubernetes-istio</module>
<module>spring-cloud-kubernetes-fabric8-leader</module>
<module>spring-cloud-kubernetes-fabric8-istio</module>
<module>spring-cloud-kubernetes-controllers</module>
<module>spring-cloud-kubernetes-integration-tests</module>
<module>docs</module>
<module>spring-cloud-kubernetes-loadbalancer</module>
<module>spring-cloud-kubernetes-fabric8-loadbalancer</module>
<module>spring-cloud-starter-kubernetes-loadbalancer</module>
</modules>

View File

@@ -106,13 +106,13 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-istio</artifactId>
<artifactId>spring-cloud-kubernetes-fabric8-istio</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-leader</artifactId>
<artifactId>spring-cloud-kubernetes-fabric8-leader</artifactId>
<version>${project.version}</version>
</dependency>
@@ -130,7 +130,7 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-loadbalancer</artifactId>
<artifactId>spring-cloud-kubernetes-fabric8-loadbalancer</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>

View File

@@ -25,7 +25,7 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-leader</artifactId>
<artifactId>spring-cloud-kubernetes-fabric8-leader</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
@@ -42,7 +42,7 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-leader</artifactId>
<artifactId>spring-cloud-kubernetes-fabric8-leader</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>

View File

@@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>spring-cloud-kubernetes-istio</artifactId>
<artifactId>spring-cloud-kubernetes-fabric8-istio</artifactId>
<name>Spring Cloud Kubernetes :: Istio</name>
<dependencies>

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.istio;
package org.springframework.cloud.kubernetes.fabric8.istio;
import io.fabric8.kubernetes.client.Config;
import me.snowdrop.istio.client.DefaultIstioClient;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.istio;
package org.springframework.cloud.kubernetes.fabric8.istio;
import java.util.Arrays;
@@ -26,7 +26,7 @@ import org.apache.commons.logging.LogFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.kubernetes.istio.utils.MeshUtils;
import org.springframework.cloud.kubernetes.fabric8.istio.utils.MeshUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.ConfigurableEnvironment;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.istio;
package org.springframework.cloud.kubernetes.fabric8.istio;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

View File

@@ -14,13 +14,13 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.istio.utils;
package org.springframework.cloud.kubernetes.fabric8.istio.utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.cloud.kubernetes.istio.IstioClientProperties;
import org.springframework.cloud.kubernetes.fabric8.istio.IstioClientProperties;
import org.springframework.http.ResponseEntity;
import org.springframework.web.client.RestTemplate;

View File

@@ -0,0 +1,4 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.springframework.cloud.kubernetes.fabric8.istio.IstioAutoConfiguration
org.springframework.cloud.bootstrap.BootstrapConfiguration=\
org.springframework.cloud.kubernetes.fabric8.istio.IstioBootstrapConfiguration

View File

@@ -25,7 +25,7 @@
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>spring-cloud-kubernetes-leader</artifactId>
<artifactId>spring-cloud-kubernetes-fabric8-leader</artifactId>
<name>Spring Cloud Kubernetes :: Leader</name>
<dependencies>

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import java.util.Objects;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import java.net.Inet4Address;
import java.net.UnknownHostException;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import org.springframework.integration.leader.Candidate;
import org.springframework.integration.leader.Context;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import java.util.HashMap;
import java.util.Map;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import java.time.Duration;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import io.fabric8.kubernetes.api.model.ConfigMap;
import io.fabric8.kubernetes.client.KubernetesClient;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import java.util.Collections;
import java.util.Map;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import io.fabric8.kubernetes.api.model.DoneablePod;
import io.fabric8.kubernetes.api.model.Pod;

View File

@@ -0,0 +1,2 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.springframework.cloud.kubernetes.fabric8.leader.LeaderAutoConfiguration

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import java.util.Optional;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import java.util.Map;
import java.util.Optional;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import java.time.Duration;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import io.fabric8.kubernetes.api.model.ConfigMap;
import io.fabric8.kubernetes.api.model.ConfigMapList;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import io.fabric8.kubernetes.client.KubernetesClient;
import org.junit.jupiter.api.BeforeEach;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.leader;
package org.springframework.cloud.kubernetes.fabric8.leader;
import io.fabric8.kubernetes.api.model.DoneablePod;
import io.fabric8.kubernetes.api.model.Pod;

View File

@@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>spring-cloud-kubernetes-loadbalancer</artifactId>
<artifactId>spring-cloud-kubernetes-fabric8-loadbalancer</artifactId>
<name>Spring Cloud Kubernetes :: Load Balancer</name>
<dependencies>

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
import io.fabric8.kubernetes.client.KubernetesClient;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
/**
* Kubernetes load balancer mode enum.

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
import java.util.HashMap;
import java.util.List;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
import java.util.ArrayList;
import java.util.List;

View File

@@ -0,0 +1,2 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.springframework.cloud.kubernetes.fabric8.loadbalancer.KubernetesLoadBalancerAutoConfiguration

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
import java.util.ArrayList;
import java.util.Collections;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
import java.util.List;

View File

@@ -29,7 +29,7 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-istio</artifactId>
<artifactId>spring-cloud-kubernetes-fabric8-istio</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
import io.fabric8.kubernetes.api.model.ServicePortBuilder;
import io.fabric8.kubernetes.api.model.ServiceSpecBuilder;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
import io.fabric8.kubernetes.api.model.ServicePortBuilder;
import io.fabric8.kubernetes.api.model.ServiceSpecBuilder;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.kubernetes.loadbalancer;
package org.springframework.cloud.kubernetes.fabric8.loadbalancer;
import java.util.HashMap;

View File

@@ -1,4 +0,0 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.springframework.cloud.kubernetes.istio.IstioAutoConfiguration
org.springframework.cloud.bootstrap.BootstrapConfiguration=\
org.springframework.cloud.kubernetes.istio.IstioBootstrapConfiguration

View File

@@ -1,2 +0,0 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.springframework.cloud.kubernetes.leader.LeaderAutoConfiguration

View File

@@ -1,2 +0,0 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.springframework.cloud.kubernetes.loadbalancer.KubernetesLoadBalancerAutoConfiguration

View File

@@ -48,7 +48,7 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-loadbalancer</artifactId>
<artifactId>spring-cloud-kubernetes-fabric8-loadbalancer</artifactId>
</dependency>
</dependencies>

View File

@@ -19,7 +19,7 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-loadbalancer</artifactId>
<artifactId>spring-cloud-kubernetes-fabric8-loadbalancer</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>