703 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
Ryan Baxter
4e1c3bb45e Using order of locations when serving resources (#1858) 2021-04-09 13:16:48 -04:00
spencergibb
7c89268775 Updates GitUriFailureAnalyzer with broader action.
Previously it only suggested a composite if using bootstrap and native. Now it will suggest it if using bootstrap regardless of env repo type.

Fixes gh-1852
2021-03-30 13:37:16 -04:00
spencergibb
e7a69671b3 Adds support for token auth via username property.
Fixes gh-1602
2021-03-29 18:05:38 -04:00
spencergibb
962abe7462 Makes actuator optional for config server.
Fixes gh-1742
2021-03-29 16:57:33 -04:00
spencergibb
e7be2b8c5a Register env repo properties as beans.
The `CompositeEnvironmentBeanFactoryPostProcessor` binds the required properties for a EnvironmentRepositoryFactory, but does not register it as a bean. This is now done with a supplier to the bound instance.

Fixes gh-1720
2021-03-29 16:25:41 -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
Kamalakar Ponaka
2c2f0124d2 CF Auth issue with Instance certificate issue expiry for 2.2.x (#1713)
* Update PcfClientAuthenticationProvider.java

Removing CF Cert Cache. https://github.com/spring-cloud/spring-cloud-config/issues/1693

* fix for 2.2.x

Co-authored-by: Kamalakar <kamalakar.ponaka@gmail.com>

Fixes gh-1693
2021-01-11 17:19:31 -05:00
nhtzr
44c104df2a Add index regen if config server has force-pull (#1593)
* Add index regen if config server has force-pull

jGit may fail with 'JGitInternalException: Short read of block.'
Due to a truncated git index, which may happen due to external
reasons.
The index can be regenerated easily by deleting it and resetting
git working directory. For a pull force, resetting to HEAD is
more convenient since the info that may have been lost in the
index is the diff in a dirty copy that we are discarding in
any way.

This commits adds automates those steps when git-status fails
and the force-pull flag is set.

Please see:
- https://github.com/spinnaker/spinnaker/issues/5153
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=531807
- https://www.devguerrilla.com/notes/2015/07/fuse-for-the-idle-fellow-short-read-of-block-errors-when-starting-a-container/

* Add tests

Co-authored-by: Ezequiel Rosas <ezequiel.rosas@digitalonus.com>
2021-01-11 17:08:01 -05:00
Laisky
73e88e52da Adds option to clone git submodules.
Fixes gh-717
Fixes gh-1484
2020-11-12 17:24:01 -05: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
spencergibb
123f64501f formatting 2020-09-28 11:14:27 -04:00
Craig Walls
52e2d9bf64 Optionally throw exception when a repository can't be read.
By default, an exception will be thrown.

Fixes gh-661
Fixes gh-1712
2020-09-28 11:14:13 -04:00
Serge Khodorkovsky
7a6b32fcd8 Enable ignoring sql exceptions
Primarily useful for composite repository configuration,
the flag provides an ability to ignore database exceptions
so that the system would be able to continue working with
other repositories.

Fixes gh-1653
2020-09-28 11:04:36 -04: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
Thomas Vitale
841038f684 Adds property to disable JdbcEnvironmentRepository
- Add "enabled" property to JdbcEnvironmentProperties
- Make JdbcEnvironmentRepository configuration depending
  on new property
- Add integration test to verify the new property

Fixes gh-1605
Fixes gh-1623
2020-07-13 22:00:05 -04: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
spencergibb
5d5a1925d0 formatting 2020-05-27 15:16:38 -04:00
spencergibb
f470b52f1b Verifies resources are in allowed locations 2020-05-27 14:23:10 -04:00
Olga Maciaszek-Sharma
2428c021b3 Verify map elements without order. 2020-05-18 16:35:44 +02:00
spencergibb
b7adc07f8f Adds javadoc params 2020-05-15 13:20:34 -04:00
Spencer Gibb
1c01d11b74 Normalizes names and labels in EnvironmentController 2020-05-15 13:14:49 -04:00
spencergibb
0492371c34 Replaces TreeMap with LinkedHashMap.
This preserves ordering rather than sorting by natural order.

Fixes gh-1614
2020-05-07 18:55:22 -04:00
Spencer Gibb
480baf20a1 formatting 2020-04-08 17:13:12 -04:00
justin.bertrand
fa39c01398 Expansion of Vault Azure MSI Configuration properties and bug fix.
fixes gh-1573
2020-04-08 17:07:34 -04:00
Scott Frederick
959f492ddf Polish and add tests.
Polish the code and add tests for SpringVaultClientConfiguration when
a namespace is configured.

Fixes gh-1589
2020-03-30 14:13:49 -05:00
Scott Frederick
fedbee05db Merge branch '2.2.x' of https://github.com/rosuvlad/spring-cloud-config into rosuvlad-2.2.x 2020-03-30 11:42:19 -05:00
Spencer Gibb
7ad34fdee5 Makes SpringVaultClientConfiguration an @Configuration.
AbstractVaultConfiguration assumes that the implementing class is a cglib proxy (which `@Configuration` classes are).

Fixes gh-1556
2020-03-18 12:54:32 -04:00
Walliee
8ce0201c3e Fix javadocs warnings
fixes gh-1578
2020-03-16 15:57:22 -04:00
Spencer Gibb
0771829dc3 Avoids NPE in case OriginLookup.getOrigin() returns null.
fixes gh-1572
2020-03-12 11:37:37 -04:00
Ryan Baxter
db0319d2f1 Cherry picking 34ac90c on top of the 2.2.x branch 2020-03-09 10:46:44 -04:00
Vlad Rosu
9ef8deea04 Fix for namespace not being propagated on Auth schemes (except Token) 2020-03-06 10:20:21 +02: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
Spencer Gibb
651f458919 Consolidates normalization of names and labels.
fixes gh-1561
2020-03-02 16:26:30 -05:00
FWinkler79
4d6cf75452 Allows overriding of configTokenProvider.
Made sure configTokenProvider default bean will be overridden by more specific versions (e.g. vault configTokenProvider, etc.)

Fixes gh-1485
Fixes gh-1537
2020-03-02 16:15:34 -05:00