282 Commits

Author SHA1 Message Date
Spring Operator
231e4693e4 URL Cleanup (#376)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://jboss.org/schema/arquillian/arquillian_1_0.xsd with 1 occurrences migrated to:
  https://jboss.org/schema/arquillian/arquillian_1_0.xsd ([https](https://jboss.org/schema/arquillian/arquillian_1_0.xsd) result 301).
* [ ] http://repo.spring.io/libs-milestone-local with 2 occurrences migrated to:
  https://repo.spring.io/libs-milestone-local ([https](https://repo.spring.io/libs-milestone-local) result 302).
* [ ] http://repo.spring.io/libs-snapshot-local with 2 occurrences migrated to:
  https://repo.spring.io/libs-snapshot-local ([https](https://repo.spring.io/libs-snapshot-local) result 302).
* [ ] http://repo.spring.io/release with 1 occurrences migrated to:
  https://repo.spring.io/release ([https](https://repo.spring.io/release) result 302).

# Ignored
These URLs were intentionally ignored.

* http://jboss.org/schema/arquillian with 2 occurrences
* http://maven.apache.org/POM/4.0.0 with 42 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 22 occurrences
2019-03-26 11:42:03 -04:00
Spring Operator
7c88016377 URL Cleanup (#380)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://img.shields.io/badge/license-Apache%202-red.svg with 1 occurrences migrated to:
  https://img.shields.io/badge/license-Apache%202-red.svg ([https](https://img.shields.io/badge/license-Apache%202-red.svg) result 200).
* [ ] http://kubernetes.io with 1 occurrences migrated to:
  https://kubernetes.io ([https](https://kubernetes.io) result 200).
* [ ] http://kubernetes.io/ with 1 occurrences migrated to:
  https://kubernetes.io/ ([https](https://kubernetes.io/) result 200).
* [ ] http://microservices.io/patterns/client-side-discovery.html with 1 occurrences migrated to:
  https://microservices.io/patterns/client-side-discovery.html ([https](https://microservices.io/patterns/client-side-discovery.html) result 200).
* [ ] http://projects.spring.io/spring-cloud/ with 1 occurrences migrated to:
  https://projects.spring.io/spring-cloud/ ([https](https://projects.spring.io/spring-cloud/) result 200).
* [ ] http://repo1.maven.org/maven2/io/fabric8/zipkin/zipkin-starter-minimal/0.1.9/zipkin-starter-minimal-0.1.9-kubernetes.yml with 1 occurrences migrated to:
  https://repo1.maven.org/maven2/io/fabric8/zipkin/zipkin-starter-minimal/0.1.9/zipkin-starter-minimal-0.1.9-kubernetes.yml ([https](https://repo1.maven.org/maven2/io/fabric8/zipkin/zipkin-starter-minimal/0.1.9/zipkin-starter-minimal-0.1.9-kubernetes.yml) result 200).
* [ ] http://repo1.maven.org/maven2/io/fabric8/zipkin/zipkin-starter-minimal/0.1.9/zipkin-starter-minimal-0.1.9-openshift.yml with 1 occurrences migrated to:
  https://repo1.maven.org/maven2/io/fabric8/zipkin/zipkin-starter-minimal/0.1.9/zipkin-starter-minimal-0.1.9-openshift.yml ([https](https://repo1.maven.org/maven2/io/fabric8/zipkin/zipkin-starter-minimal/0.1.9/zipkin-starter-minimal-0.1.9-openshift.yml) result 200).
* [ ] http://www.java.com/en/download/help/error_hotspot.xml with 1 occurrences migrated to:
  https://www.java.com/en/download/help/error_hotspot.xml ([https](https://www.java.com/en/download/help/error_hotspot.xml) result 200).
* [ ] http://kubernetes.io/docs/user-guide/configmap/ with 1 occurrences migrated to:
  https://kubernetes.io/docs/user-guide/configmap/ ([https](https://kubernetes.io/docs/user-guide/configmap/) result 301).
* [ ] http://kubernetes.io/docs/user-guide/production-pods/ with 1 occurrences migrated to:
  https://kubernetes.io/docs/user-guide/production-pods/ ([https](https://kubernetes.io/docs/user-guide/production-pods/) result 301).
* [ ] http://kubernetes.io/docs/user-guide/services/ with 1 occurrences migrated to:
  https://kubernetes.io/docs/user-guide/services/ ([https](https://kubernetes.io/docs/user-guide/services/) result 301).
* [ ] http://www.javadoc.io/badge/org.springframework.cloud/spring-cloud-kubernetes-archaius.svg?color=blue with 1 occurrences migrated to:
  https://www.javadoc.io/badge/org.springframework.cloud/spring-cloud-kubernetes-archaius.svg?color=blue ([https](https://www.javadoc.io/badge/org.springframework.cloud/spring-cloud-kubernetes-archaius.svg?color=blue) result 303).
* [ ] http://www.javadoc.io/badge/org.springframework.cloud/spring-cloud-starter-kubernetes-netflix.svg?color=blue with 1 occurrences migrated to:
  https://www.javadoc.io/badge/org.springframework.cloud/spring-cloud-starter-kubernetes-netflix.svg?color=blue ([https](https://www.javadoc.io/badge/org.springframework.cloud/spring-cloud-starter-kubernetes-netflix.svg?color=blue) result 303).
* [ ] http://www.javadoc.io/badge/org.springframework.cloud/spring-cloud-starter-kubernetes.svg?color=blue with 1 occurrences migrated to:
  https://www.javadoc.io/badge/org.springframework.cloud/spring-cloud-starter-kubernetes.svg?color=blue ([https](https://www.javadoc.io/badge/org.springframework.cloud/spring-cloud-starter-kubernetes.svg?color=blue) result 303).
* [ ] http://www.javadoc.io/doc/org.springframework.cloud/spring-cloud-kubernetes-archaius with 1 occurrences migrated to:
  https://www.javadoc.io/doc/org.springframework.cloud/spring-cloud-kubernetes-archaius ([https](https://www.javadoc.io/doc/org.springframework.cloud/spring-cloud-kubernetes-archaius) result 303).
* [ ] http://www.javadoc.io/doc/org.springframework.cloud/spring-cloud-starter-kubernetes with 1 occurrences migrated to:
  https://www.javadoc.io/doc/org.springframework.cloud/spring-cloud-starter-kubernetes ([https](https://www.javadoc.io/doc/org.springframework.cloud/spring-cloud-starter-kubernetes) result 303).
* [ ] http://www.javadoc.io/doc/org.springframework.cloud/spring-cloud-starter-kubernetes-netflix with 1 occurrences migrated to:
  https://www.javadoc.io/doc/org.springframework.cloud/spring-cloud-starter-kubernetes-netflix ([https](https://www.javadoc.io/doc/org.springframework.cloud/spring-cloud-starter-kubernetes-netflix) result 303).

# Ignored
These URLs were intentionally ignored.

* http://IP_OR_HOSTNAME/ with 1 occurrences
* http://IP_OR_HOSTNAME/greeting with 6 occurrences
* http://localhost with 2 occurrences
* http://localhost/api with 2 occurrences
* http://localhost/db with 2 occurrences
* http://localhost:%d/api/farewell with 3 occurrences
* http://localhost:%d/api/greeting with 4 occurrences
* http://name-service/name?delay=%d with 1 occurrences
* http://testapp/greeting with 5 occurrences
* http://zipkinserver with 1 occurrences
2019-03-26 11:41:00 -04:00
Spring Operator
20d4130b85 URL Cleanup (#365)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 77 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-21 15:18:01 -04:00
Spring Operator
b0c696cc9c URL Cleanup (#357)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://cloud.spring.io with 1 occurrences migrated to:
  https://cloud.spring.io ([https](https://cloud.spring.io) result 200).
* http://maven.apache.org/xsd/maven-4.0.0.xsd with 21 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 14 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* http://www.apache.org/licenses/LICENSE-2.0.txt with 1 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200).
* http://www.spring.io with 1 occurrences migrated to:
  https://www.spring.io ([https](https://www.spring.io) result 301).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 42 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 21 occurrences
2019-03-16 12:05:09 -04:00
Spencer Gibb
9ae996cccc Updates to 0.2.2.BUILD-SNAPSHOT 2019-01-29 16:59:19 -05:00
Spencer Gibb
030b4d7cc6 Update SNAPSHOT to 0.2.1.RELEASE 2019-01-29 16:42:35 -05:00
Ioannis Canellos
6e6e76c5c2 chore: dependency bump. 2018-11-19 11:31:17 +02:00
Ioannis Canellos
5346b484f0 fix: leader module now uses 0.2.x parent and is java7 compatible. 2018-11-19 11:31:17 +02:00
Spencer Gibb
af4c15ce49 Updates s-c-build to 1.3.11.RELEASE 2018-11-13 10:39:23 -05:00
Ioannis Canellos
692e497816 chore: bump version of spring-cloud-xxxx. Remove obsolete zipkin module. 2018-11-13 15:10:43 +02:00
Ioannis Canellos
d1790e5eca feat: ribbon starter now includes the actual ribbon dependnecies. 2018-09-18 11:43:52 +03:00
Ioannis Canellos
04c633c08c fix: remove duplicate artifact in spring-cloud-kubernetes-dependencies. 2018-09-18 11:42:55 +03:00
Ioannis Canellos
706d2c721a chore: pick ribbon starter from master. 2018-09-12 11:56:04 +03:00
Ioannis Canellos
6dfbd21c39 fix: issues occurred after drooping spring boot 2.0 related commits. 2018-06-28 22:12:17 +03:00
Georgios Andrianakis
1c8c60f480 Relax the name application.(yaml|properties) constraint in ConfigMap (#170)
When the ConfigMap contains a single entry, then the name of the file
does not have to application.(yaml|properties), but can be any
yaml/properties file.
This facilitates the use case where a confimap is created by something
like:

kubectl create configmap game-config --from-file=/path/app-config.yaml
2018-06-28 21:58:33 +03:00
Georgios Andrianakis
5205ebb3d3 Remove redundant check 2018-06-28 21:58:33 +03:00
Georgios Andrianakis
00d96a7cdc Lazily create the KubernetesProfileApplicationListener
This is needed in order to avoid causing problems to environments
that have spring-cloud-kubernetes on the classpath but don't want to
enable it

Fixes: #131
2018-06-28 21:58:33 +03:00
Federico Ponzi
d0eeb8ff55 typo fix 2018-06-28 21:58:33 +03:00
Gytis Trikleris
6b129cea9e Enable/disable failure events publishing during leader election 2018-06-28 21:58:33 +03:00
Rafay Khan
1cb39c98ab Update readme with Profile inheritance example 2018-06-28 21:58:33 +03:00
Rafay Khan
86f8206361 Cleanup unused imports in config tests 2018-06-28 21:58:33 +03:00
Rafay Khan
78f7ea090f Rework profile-based app.yaml parsing to support yaml merging
With the current implementation, any default properties (i.e. part of yaml docs that did not specify a "spring.profile" entry) would not be read. This caused unexpected behavior where "default" keys were not being read, and if NO document specified a "spring.profile" entry, the configmap would be completely ignored.

This new logic instead performs proper yaml merges between any yaml doc that has no "spring.profile" entry, as well as docs with the specific "profile" we have active

Co-authored-by: Vivian Li <vivian@autonomic.ai>
2018-06-28 21:58:33 +03:00
Gytis Trikleris
09c6be34da Rename KubernetesHelper to LeaderKubernetesHelper 2018-06-28 21:58:33 +03:00
Gytis Trikleris
0690831e9e Rename isPodAlive() to podExists() 2018-06-28 21:58:33 +03:00
Gytis Trikleris
c90d1b5765 Remove unused dependencies 2018-06-28 21:58:33 +03:00
Gytis Trikleris
b5074c043c Replace copyrights 2018-06-28 21:58:33 +03:00
Gytis Trikleris
244b85ed82 LeaderAutoConfiguration 2018-06-28 21:58:33 +03:00
Gytis Trikleris
07618cb355 LeaderInitiator should revoke leadership on #stop() 2018-06-28 21:58:33 +03:00
Gytis Trikleris
3a53e1bcae LeaderInitiator 2018-06-28 21:58:33 +03:00
Gytis Trikleris
ad4a9d090d Update LeadershipController#revoke logic 2018-06-28 21:58:33 +03:00
Gytis Trikleris
f3749fab75 LeadershipController#revoke 2018-06-28 21:58:33 +03:00
Gytis Trikleris
cf243070c4 KubernetesHelper#removeConfigMapEntry 2018-06-28 21:58:33 +03:00
Gytis Trikleris
fa91910cee LeaderContext 2018-06-28 21:58:33 +03:00
Gytis Trikleris
7f6627e490 LeadershipController using KubernetesHelper 2018-06-28 21:58:33 +03:00
Gytis Trikleris
23fc9893bb Leader using KubernetesHelper 2018-06-28 21:58:33 +03:00
Gytis Trikleris
4a2748c1fa KubernetesHelper 2018-06-28 21:58:33 +03:00
Gytis Trikleris
fffe31621b LeadershipController#getLeader 2018-06-28 21:58:33 +03:00
Gytis Trikleris
0f56104bcf LeaderAutoConfiguration and LeaderProperties 2018-06-28 21:58:33 +03:00
Gytis Trikleris
5a7a2c4e61 Refactor lock to leader 2018-06-28 21:58:33 +03:00
Gytis Trikleris
289d4e90e3 Initial LeaderInitiator 2018-06-28 21:58:33 +03:00
Gytis Trikleris
0fd9a7e498 KubernetesLockRegistry 2018-06-28 21:58:33 +03:00
Gytis Trikleris
bd2a39be31 ConfigMapLockRepositoryTest 2018-06-28 21:58:33 +03:00
Gytis Trikleris
42b8b036b5 Fix kubernetes condition in ConfigMapLockRepositoryIT 2018-06-28 21:58:33 +03:00
Gytis Trikleris
3eab7fa49a KubernetesLock#unlock() 2018-06-28 21:58:33 +03:00
Gytis Trikleris
0d33d26b6a KubernetesLock#tryLock 2018-06-28 21:58:33 +03:00
Gytis Trikleris
7e92d8a03a KubernetesLock#lockInterruptibly() 2018-06-28 21:58:33 +03:00
Gytis Trikleris
52e82796ba KubernetesLock#lock() 2018-06-28 21:58:33 +03:00
Gytis Trikleris
a67dbf37d1 ConfigMapLockRepository 2018-06-28 21:58:33 +03:00
Gytis Trikleris
561bc9d00c ConfigMapLockRepository 2018-06-28 21:58:33 +03:00
Stefan Bley
e50eb097f0 Fixed some typos in README.md
The typo fixes (if not fixed already) from https://github.com/fabric8io/spring-cloud-kubernetes/pull/94
2018-06-28 21:58:33 +03:00