Commit Graph

434 Commits

Author SHA1 Message Date
Johnny Lim
d2fc0d5366 Polish doc
fixes gh-1557
2020-03-02 15:51:16 -05:00
Jack Peterson
c3e4ef2261 documentation enhancement re: SSH private keys
The default ssh-keygen command creates unreadable SSH keys for spring-cloud-config. This change provides the exception that people are searching with as well as a resolution to the issue.
2020-02-05 13:46:04 -05: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
Spencer Gibb
4c7b8dfc7e Merge branch '2.1.x' 2020-01-13 15:32:55 -05:00
Alberto C. Ríos
01be10e76c Sharing default application config in CredHub (#1477)
Always including application as default so that it can be shared accross all applications to be consistent with other repository implementations.

Sharing secrets to the application from default profile.

Updated the docs to reflect the changes
2020-01-13 15:32:38 -05:00
Marcin Grzejszczak
60b8547271 Suggest full property to set for the demo to work with Vault
The description shows what you need to do starting from Vault 0.10.0, now the fresh installation of Vault gives you version 1.3.1. Adding the full property name for those that have nothing to do with vault can come in handy.

Also I think we should change the default to be `kvVersion=2`.
2020-01-04 17:52:53 +01: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
Jay Bryant
bfe4658f4b Documenting changes that resulted from issue 1506 (#1525)
Scott Frederick asked me to document the changes he made while implementing the changes needed for issue 1506 (https://github.com/spring-cloud/spring-cloud-config/issues/1506). This PR adds the details that Scott explained to me. Thanks, Scott. :)
2019-12-18 16:44:19 -05:00
Jay Bryant
6315c9d944 Documenting changes that resulted from issue 1475 (#1524)
* Documenting changes that resulted from issue 1475

Scott Frederick asked me to document the changes he made while implementing the changes needed for issue 1475 (https://github.com/spring-cloud/spring-cloud-config/issues/1475). This PR adds the details that Scott explained to me. Thanks, Scott. :)

* Accounting for Scott Frederick's feedback

Scott had a clarification in one spot and some more detail in another spot. I made the corresponding changes. Thanks, Scott. :)
2019-12-18 16:41:40 -05:00
Spencer Gibb
baebe3fb51 removes .flattened-pom.xml 2019-12-17 17:47:59 -05:00
Jens Teglhus Møller
6bd1b5a37b Typo: Decrpyting -> Decrypting (#1521) 2019-12-13 08:15:26 -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
Ryan Baxter
6742a827be Merge remote-tracking branch 'origin/2.1.x' 2019-11-22 10:09:23 -05:00
buildmaster
69e742b594 Bumping versions to 2.1.6.BUILD-SNAPSHOT after release 2019-11-18 14:46:15 +00:00
buildmaster
6a328954ac Going back to snapshots 2019-11-18 14:46:15 +00:00
buildmaster
c6778672d6 Update SNAPSHOT to 2.1.5.RELEASE 2019-11-18 14:45:16 +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
buildmaster
3fd52e22bd Bumping versions 2019-11-07 13:47:44 +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
Haytham Mohamed
79e51f2503 documentation change to use application instead of name in resource paths fixes gh-1466 2019-09-16 13:19:58 -05:00
buildmaster
922590e084 Bumping versions to 2.1.5.BUILD-SNAPSHOT after release 2019-09-09 18:47:47 +00:00
buildmaster
9a32729298 Going back to snapshots 2019-09-09 18:47:46 +00:00
buildmaster
5ab09cd105 Update SNAPSHOT to 2.1.4.RELEASE 2019-09-09 18:46:50 +00:00
Ryan Baxter
6d64def1ae Merge remote-tracking branch 'origin/2.1.x' 2019-09-03 17:19:14 -04:00
Ryan Baxter
3ec68bd60e Add documentation about warning when using keytool with JDK 11. Fixes #1380 2019-09-03 17:18:44 -04: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
Marcin Grzejszczak
e92ea047c2 Added symbolic link of index.adoc 2019-07-29 14:29:33 +02:00
Marcin Grzejszczak
1e3a7c05cd Added symbolic link of index.adoc 2019-07-29 14:29:27 +02:00
Sean Stiglitz
f8894e089f Add documentation for Authorization headers. (#1424)
Mention that spring.cloud.config.headers can be used as an alternative.
2019-07-25 10:40:01 -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
Spencer Gibb
dfa31c918a Bumps 2.1.4.BUILD-SNAPSHOT and build to 2.1.7 2019-06-21 12:09:06 -04:00
buildmaster
ef9163a02a Bumping versions to 2.1.5.BUILD-SNAPSHOT after release 2019-06-20 16:41:39 +00:00
buildmaster
5d66e0fb09 Going back to snapshots 2019-06-20 16:41:39 +00:00
buildmaster
9443efc799 Update SNAPSHOT to 2.1.3.RELEASE 2019-06-20 16:40:17 +00:00
Ryan Baxter
79cd1100d1 Merge remote-tracking branch 'origin/2.1.x' 2019-06-13 06:56:54 -04:00