38 Commits

Author SHA1 Message Date
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
Ioannis Canellos
6dfbd21c39 fix: issues occurred after drooping spring boot 2.0 related commits. 2018-06-28 22:12:17 +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
Georgios Andrianakis
218e5cf816 Change package of MockitoJUnitRunner
The old org.mockito.runners.MockitoJUnitRunner has been deprecated in
favor of org.mockito.junit.MockitoJUnitRunner
2018-06-28 21:58:33 +03:00
Georgios Andrianakis
c62161e33c Fix spelling of log message 2018-06-28 21:58:33 +03: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
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
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
8bfd9198ba Change package to org.springframework.cloud.kubernetes
fixes gh-13
2016-12-16 15:21:51 -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
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
Ioannis Canellos
557fc8e9f2 First draft of configmap support as a property source. Add configmap archaius integration. 2016-12-15 18:12:03 +02:00
Ioannis Canellos
967bbd4dcc Fix NPE issue with the KubernetesHealthIndicator. 2016-12-15 18:12:03 +02:00
Ioannis Canellos
45b48c2d0f Add a profile listener that will automatically add the kubernetes profile when running inside kubernetes. 2016-12-15 18:12:03 +02:00
Ioannis Canellos
d13f9eb3b6 First commit. 2016-12-15 18:12:03 +02:00