65 Commits

Author SHA1 Message Date
Spring Operator
c05f330e77 URL Cleanup (#366)
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 74 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:17:42 -04:00
Spring Operator
6990089c06 URL Cleanup (#358)
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 18 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 11 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 36 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 18 occurrences
2019-03-16 12:04:53 -04:00
Spencer Gibb
e6f6bb1afb Updates to 0.3.1.BUILD-SNAPSHOT 2018-08-03 13:17:20 -04:00
Spencer Gibb
9576d6d4b7 Update SNAPSHOT to 0.3.0.RELEASE 2018-08-03 12:45:57 -04:00
Georgios Andrianakis
c654079ab4 Remove redundant check 2018-06-27 21:04:00 +03:00
Georgios Andrianakis
471c0a4108 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-27 21:04:00 +03:00
Ioannis Canellos
867f231927 Merge pull request #169 from geoand/mockito-runner
Change package of MockitoJUnitRunner
2018-05-22 10:13:33 +03:00
Georgios Andrianakis
d954a32e64 Change package of MockitoJUnitRunner
The old org.mockito.runners.MockitoJUnitRunner has been deprecated in
favor of org.mockito.junit.MockitoJUnitRunner
2018-05-15 10:50:32 +03:00
Georgios Andrianakis
5d1b57ff26 Fix spelling of log message 2018-05-15 10:39:00 +03:00
Spencer Gibb
21b53e28ee Back to snapshots 2018-04-26 22:21:00 -04:00
Spencer Gibb
fdd3e54df5 Updates to version 0.3.0.RC1 2018-04-26 22:13:41 -04:00
Spencer Gibb
e5b0da33f5 Updates to version 0.3.0.BUILD-SNAPSHOT 2018-04-26 22:09:07 -04:00
Salaboy
1e71319f9f initial Spring Boot 2.0.x refactoring (#152)
* updating discovery and config modules, removing netflix modules to start simple

* hacking some jackson dependencies as they were not working

* update Discovery AutoConfiguration, still messy, more work needed here

* getting configuration working with the service registry

* removing profiles check document matcher that doesn't exist anymore

* fixing configMaps example

* improving readmes and removing arquillian due it requires undertow

* re adding all netflix modules

* re adding commented example modules

* fixing minor naming issues and adding commented out modules
2018-03-16 15:58:24 -04:00
Gytis Trikleris
de6cae7355 Remove duplicate logic from addKubernetesProfile 2018-01-10 13:22:00 +01:00
Sivasamy Kaliappan
56c0cd3904 Fixed wrong logger context
The logger context was referring to incorrect class name.
2017-09-14 15:54:24 +05:30
Spencer Gibb
4a6bfd369f Bump to version 0.2.1.BUILD-SNAPSHOT 2017-07-27 13:43:21 -06:00
Spencer Gibb
267da566c0 Update to 0.2.0.RELEASE
fixes gh-42
2017-07-27 13:11:35 -06:00
Bryan Parry
faf211fe87 Create unit test for LazilyInstantiate 2017-03-22 21:32:29 -04:00
Bryan Parry
584ae73a6e Add null param check for StandardPodUtils
Add unit test for StandardPodUtils
2017-01-29 14:54:43 -05:00
Ioannis Canellos
5917a6d5e2 #27: Switch to commons-logging. 2017-01-16 18:40:12 +02:00
Spencer Gibb
2d3e6b3b0b Reformat pom.xml files to use tabs.
This is the standard spring convention.
2017-01-10 14:36:07 -07:00
Ioannis Canellos
1cf4f5663c #14: Move config stuff to its own module. 2016-12-20 14:38:35 +02:00
Spencer Gibb
fc96148aac polish 2016-12-16 18:33:45 -07:00
Spencer Gibb
db99dfa235 Make actuator optional.
fixes gh-25
2016-12-16 18:31:13 -07:00
Spencer Gibb
99e4364364 Update to spring cloud dependencies model.
Internal project dependencies go in spring-cloud-kubernetes-dependencies.

Other Spring Cloud dependencies go in root pom.xml

Reference Spring Cloud dependencies individually, rather than by release train.

fixes gh-19
fixes gh-23
2016-12-16 17:54:10 -07:00
Spencer Gibb
32ba2fc863 Update to version 0.2.0.BUILD-SNAPSHOT
fixes gh-20
2016-12-16 16:03:09 -07:00
Spencer Gibb
cef3c10cf1 fix renamed parent 2016-12-16 16:00:52 -07:00
Spencer Gibb
f121eb0e10 add marker for jdk8 2016-12-16 16:00:40 -07:00
Spencer Gibb
8bfd9198ba Change package to org.springframework.cloud.kubernetes
fixes gh-13
2016-12-16 15:21:51 -07:00
Spencer Gibb
eb0eb4db46 Update groupId to org.springframework.cloud.
Remove many references to fabric8

fixes gh-3
fixes gh-8
2016-12-16 14:59:54 -07:00
Ioannis Canellos
fae2ebe01f Fix namespace handling for ConfigMapConfigProperties. Remove duplicate code between ConfigMapPropertySource and SecretsPropertySource. 2016-12-15 18:12:03 +02:00
Nicola Ferraro
b91905453d Fixing logs and error management 2016-12-15 18:12:03 +02:00
Nicola Ferraro
7df4c849e2 Adding license header 2016-12-15 18:12:03 +02:00
Nicola Ferraro
a740fa69a4 Fixing code and build configuration 2016-12-15 18:12:03 +02:00
Nicola Ferraro
41bb31fd4c Spring Cloud Kubernetes Reload 2016-12-15 18:12:03 +02:00
lburgazzoli
84a94532d3 secrets-property-source: add support for reading secrets from volume mounts 2016-12-15 18:12:03 +02:00
lburgazzoli
bbd59ade34 Add some debug info to Secrets PropertySource 2016-12-15 18:12:03 +02:00
lburgazzoli
a3c2e54311 Add suport for Secrets based PropertySource 2016-12-15 18:12:03 +02:00
Ioannis Canellos
fbc1f27115 #56: Make spring-cloud-context required dependency. 2016-12-15 18:12:03 +02:00
Ioannis Canellos
80aa624989 Update to 1.4.x version of the kubernetes-client. Use fabric8 mockwebserver. 2016-12-15 18:12:03 +02:00
Christian Posta
8b9f473133 added better logging when things dont work because of service account permissions 2016-12-15 18:12:03 +02:00
Ioannis Canellos
4e9147b309 #37: Document how to make the namespace available to the pod. Add warning to the logs if namespace is unknown. Expose namespace through the pod health indiciator. 2016-12-15 18:12:03 +02:00
Ioannis Canellos
5904fa0b27 Catch throwables and log in StandardPodUtils. Spock test now set additional properties to prevent cert related errors. 2016-12-15 18:12:03 +02:00
Ioannis Canellos
715300e4b8 Tests that use the kubernetes mock should be configured to trust certificates. 2016-12-15 18:12:03 +02:00
Ioannis Canellos
e89213c302 Add first draft of integration tests. 2016-12-15 18:12:03 +02:00
Ioannis Canellos
282d4a413f Add KubernetesClientProperties setters. Fix apiVersion and namespace in KubernetesAutoConfiguration. 2016-12-15 18:12:03 +02:00
Ioannis Canellos
7ad992e2a9 Enable configmap source only if configmap class is available. ConfigMapPropertySource should log errors and continue instead of barfing. 2016-12-15 18:12:03 +02:00
Ioannis Canellos
a28447d5f8 Fix IllegalState issue when using the core module outside of kubernetes. 2016-12-15 18:12:03 +02:00
Ioannis Canellos
b466ff2f91 Remove dead variables from ConfigMapPropertySource. 2016-12-15 18:12:03 +02:00
Ioannis Canellos
7845009ea6 Automatic expand "application.yml" and "application.properties" found in a configmap. 2016-12-15 18:12:03 +02:00