195 Commits

Author SHA1 Message Date
buildmaster
7ba159dd01 Bumping versions to 2.2.9.BUILD-SNAPSHOT after release 2021-04-21 15:43:32 +00:00
buildmaster
86ab1ad19f Going back to snapshots 2021-04-21 15:43:32 +00:00
buildmaster
76d121fce1 Update SNAPSHOT to 2.2.8.RELEASE 2021-04-21 15:39:54 +00:00
spencergibb
962abe7462 Makes actuator optional for config server.
Fixes gh-1742
2021-03-29 16:57:33 -04:00
buildmaster
55bba36e2f Bumping versions to 2.2.8.BUILD-SNAPSHOT after release 2021-02-11 13:53:29 +00:00
buildmaster
f1ab6d442f Going back to snapshots 2021-02-11 13:53:28 +00:00
buildmaster
ce0cd0125c Update SNAPSHOT to 2.2.7.RELEASE 2021-02-11 13:50:56 +00:00
buildmaster
0e0f519570 Bumping versions to 2.2.7.BUILD-SNAPSHOT after release 2020-11-09 10:16:15 +00:00
buildmaster
209e8c5bba Going back to snapshots 2020-11-09 10:16:15 +00:00
buildmaster
f1e920b218 Update SNAPSHOT to 2.2.6.RELEASE 2020-11-09 10:13:27 +00:00
buildmaster
09ad9a84f1 Bumping versions to 2.2.6.BUILD-SNAPSHOT after release 2020-08-28 19:38:35 +00:00
buildmaster
1434f791ab Going back to snapshots 2020-08-28 19:38:35 +00:00
buildmaster
cec480ea2d Update SNAPSHOT to 2.2.5.RELEASE 2020-08-28 19:35:24 +00:00
buildmaster
c323d7e206 Bumping versions to 2.2.5.BUILD-SNAPSHOT after release 2020-07-31 20:24:37 +00:00
buildmaster
ece5ff35de Going back to snapshots 2020-07-31 20:24:36 +00:00
buildmaster
fc58acc331 Update SNAPSHOT to 2.2.4.RELEASE 2020-07-31 20:22:15 +00:00
buildmaster
035e6f6ed6 Bumping versions to 2.2.4.BUILD-SNAPSHOT after release 2020-05-28 17:25:11 +00:00
buildmaster
827ccee470 Going back to snapshots 2020-05-28 17:25:11 +00:00
buildmaster
39264d6ba0 Update SNAPSHOT to 2.2.3.RELEASE 2020-05-28 17:21:41 +00:00
buildmaster
a228d4c5e8 Bumping versions to 2.2.3.BUILD-SNAPSHOT after release 2020-03-04 15:57:40 +00:00
buildmaster
2d6e15bd18 Going back to snapshots 2020-03-04 15:57:40 +00:00
buildmaster
bbb5f19ce2 Update SNAPSHOT to 2.2.2.RELEASE 2020-03-04 15:54:56 +00:00
buildmaster
1e1bd08daf Bumping versions 2020-01-19 09:57:33 +00:00
Spencer Gibb
82e60cae27 Updates to 3.0.0.BUILD-SNAPSHOT 2020-01-17 17:21:56 -05:00
buildmaster
8a9af959d2 Bumping versions to 2.2.2.BUILD-SNAPSHOT after release 2019-12-20 12:24:08 +00:00
buildmaster
644a437e36 Going back to snapshots 2019-12-20 12:24:07 +00:00
buildmaster
12d710b466 Update SNAPSHOT to 2.2.1.RELEASE 2019-12-20 12:21:59 +00:00
Scott Frederick
814d0b1e39 Add support for additional Vault authentication methods. (#1526)
* Add support for additional Vault authentication methods.

* Fix Vault client config test setup so it doesn't rely on local state.

Fixes gh-1475
2019-12-19 11:20:46 -05:00
Scott Frederick
5e33794332 Migrate VaultEnvironmentRepository from RestTemplate to Spring Vault. (#1522)
Migrates the Spring Cloud Config Server support for Vault from using a RestTemplate directly to using Spring Vault and VaultTemplate. These changes should provide exactly the same features with backward-compatible properties-based auto-configuration and Java configuration, while allowing for more features in the future via Spring Vault's extensive support for Vault integration.

The old RestTemplate implementation remains as deprecated. The implementation is chosen based on the existence of VaultTemplate.

Fixes gh-1474
2019-12-17 17:40:31 -05:00
buildmaster
baabff6a60 Bumping versions 2019-11-27 09:57:42 +00:00
buildmaster
98ac14febe Bumping versions 2019-11-26 10:03:14 +00:00
buildmaster
5ba08d7818 Bumping versions to 2.2.1.BUILD-SNAPSHOT after release 2019-11-26 09:48:46 +00:00
buildmaster
efc2af138e Going back to snapshots 2019-11-26 09:48:45 +00:00
buildmaster
b5bd468c33 Update SNAPSHOT to 2.2.0.RELEASE 2019-11-26 09:46:55 +00:00
buildmaster
cfe60db520 Going back to snapshots 2019-11-08 21:31:41 +00:00
buildmaster
ad21e45646 Update SNAPSHOT to 2.2.0.RC2 2019-11-08 21:30:45 +00:00
Ryan Baxter
91a6301bde Merge branch 'rebase-for-publish' of https://github.com/sstiglitz/spring-cloud-config into sstiglitz-rebase-for-publish 2019-11-06 11:45:26 -05:00
buildmaster
c0dd3aa538 Going back to snapshots 2019-10-24 20:30:08 +00:00
buildmaster
363fa337fd Update SNAPSHOT to 2.2.0.RC1 2019-10-24 20:29:25 +00:00
buildmaster
07361c1e8b Going back to snapshots 2019-10-03 19:12:41 +00:00
buildmaster
34ea47e51f Update SNAPSHOT to 2.2.0.M3 2019-10-03 19:12:00 +00:00
Clay McCoy
f30ede42c3 Add AWS S3 Environment Repository (#1425)
* Add AWS S3 Environment Repository

This adds s3 as an Environment Repository.
This is based on code linked here:
https://github.com/spring-cloud/spring-cloud-config/issues/654
though it has been significantly reworked and tested.
It has been tested against vanilla buckets, versioned buckets, encrypted buckets with both AES-256 and AWS-KMS.

There are several things that I am not sure I have done 100% correctly. I'm happy to take feedback and fix. Here is a list of specific things that are known unknowns for me.
* Is there anything else that I need to do to make this implementation available in addition to what I added in EnvironmentRespositoryConfiguration?
* I added the AWS s3 java dependency for obvious reasons. There was already an AWS core dependency so I just used the same version. It is a very old version thought (2016). It seems to get the job done, but there is some stuff for STS credentials that I might use in the newer AWS SDK. I'm unsure what the process for testing the other code that requires AWS would be and updating.
* The AWS S3 client is constructed using the Default AWS provider chain. This should handle most cases implicitly (including assume role), though a newer AWS SDK might be preferable.
* This currently works against typical <app>-<profile>.properties and <app>-<profile>.yml files that are in a single AWS account and in a specified bucket. Label is optionally used as another suffix on the file name (<app>-<profile>-<label>.yml). This seems like a straight forward mapping of config server concepts to S3, but I am happy to hear other ideas. I noticed that the Git impl allows multiple repos and a kind of routing layer. This is a possibility later if needed, but this seems like a good place to start.
* I think the yaml and properties are parsed into a map correctly, but have a look at the unit tests to ensure.
* I'm trying to handle exceptional cases like other implementations when there are problems getting the config.
* In the factory I pass in ConfigServerProperties and make use of several of its attributes.
* I added the new test to AdhocTestSuite.
* I've tried serveral things, but I don't have the dependencies resolving correctly in IntelliJ Idea. I can compile and run tests with mvn on the command line, but it would be great to be able to do those things in IJ. I think that it gets confused with the parent pom in spring-cloud-build.

* Simpler YAML handling

Use YamlPropertiesFactoryBean for YAML.
Add configurable s3 endpoint.

* handle JSON config content in S3

* Label should denote a directory in S3

* Checkstyle changes, and make S3 JSON look more deliberate

Noted that JSON is using a YAML parser on purpose.

* added documentation for AWS S3 backend

* Allow overriding of AwsS3EnvironmentRepository

* put awss3 config properties at a consistent path

* Minor addition to get the new AwsS3 beans picked up during app init.
2019-08-26 14:35:55 -04:00
buildmaster
106cc5f44d Going back to snapshots 2019-08-14 14:44:54 +00:00
buildmaster
5eb798587a Update SNAPSHOT to 2.2.0.M2 2019-08-14 14:44:03 +00:00
Spencer Gibb
7f547f8ec1 Adds support for property origin tracking in config server/client
Adds a new format if requested using v2 Accept header, otherwise the
format is backwards compatible so older clients will work with new
servers.

fixes gh-866
2019-08-02 15:00:47 -04:00
buildmaster
62b0c771d4 Going back to snapshots 2019-07-03 17:53:58 +00:00
buildmaster
0e229c91b4 Update SNAPSHOT to 2.2.0.M1 2019-07-03 17:53:09 +00:00
Eduard Wirch
79bea06f3e Support Google Cloud Source repositories (#1278)
* Extract transport configuration to TransportConfigCallbackFactory

* Authenticate against Google Cloud Source repositories

Fixes gh-1260
2019-04-11 15:25:22 -04:00
Spring Operator
6f63cb38e0 URL Cleanup (#1299)
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 But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
  https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404).

## 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://maven.apache.org/xsd/maven-4.0.0.xsd with 7 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://maven.apache.org/maven-v4_0_0.xsd (301) with 1 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 16 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 8 occurrences
2019-03-27 12:52:06 -04:00
Piotr Mińkowski
8bb4cc68b2 Support for Redis backend repository (#1282)
* initial structure for Redis support

* redis support pre-implementation

* redis support implementation

* fixes

* changing to stringredistemplate

* fixing names of redis beans

* #1282 fixing build errors

* #1282 fixing test errors

* #1282 fixing failed tests

* #1282 adding documentation

* #1282 fixing documentation
2019-03-20 11:56:16 -04:00