Commit Graph

843 Commits

Author SHA1 Message Date
Ryan Baxter
e6dd171cf4 Merge branch '4.1.x' 2024-10-23 19:38:38 -04:00
spring-builds
73b63de1e1 Bumping versions 2024-10-20 13:16:06 +00:00
Kaveh Shamsi
f4f24e312f Fixes the SpringVaultEnvironmentRepository issue with composite profile (#2595)
Signed-off-by: kvmw <mshamsi@broadcom.com>
2024-10-18 09:59:44 -04:00
Ryan Baxter
1f59aba0f6 Merge branch '4.1.x' 2024-10-18 09:25:25 -04:00
Kaveh Shamsi
3a041d379f Fixes checkstyle issues (#2596)
Signed-off-by: kvmw <mshamsi@broadcom.com>
2024-10-18 09:24:46 -04:00
Kaveh Shamsi
ad11a23a6d Refactor and cleanup AbstractScmEnvironmentRepository (#2585)
Signed-off-by: kvmw <mshamsi@broadcom.com>
2024-10-11 10:27:32 -04:00
Ryan Baxter
a4d47a2beb Merge branch '4.1.x' 2024-10-09 10:56:20 -04:00
Kaveh Shamsi
6914dc89b1 Uses label when searching secrets in [Spring]VaultEnvironmentRepository (#2460)
* Uses label when searching secrets in [Spring]VaultEnvironmentRepository

Signed-off-by: kvmw <mshamsi@broadcom.com>

* Adds a feature flag to enable label in vault secret paths

Signed-off-by: kvmw <mshamsi@broadcom.com>

* Makes default-label in [Spring]VaultEnvironmentRepository configurable

Signed-off-by: kvmw <mshamsi@broadcom.com>

* When label flag is enabled, profile should always by included in vault key

Signed-off-by: kvmw <mshamsi@broadcom.com>

* Updates Vault docs

Signed-off-by: kvmw <mshamsi@broadcom.com>

* Switches to main as default label for vault

Signed-off-by: kvmw <mshamsi@broadcom.com>

---------

Signed-off-by: kvmw <mshamsi@broadcom.com>
2024-10-09 10:55:29 -04:00
Kaveh Shamsi
ce3b9847c4 Default-label in CredhubEnviornmentRepository should be used only if label is not provided (#2581)
Signed-off-by: kvmw <mshamsi@broadcom.com>
2024-10-09 10:50:38 -04:00
Tobias Soloschenko
91372860f8 feat: resource charset support (#2440) 2024-10-04 14:48:13 -04:00
buildmaster
35a57f1737 Bumping versions 2024-10-03 21:11:28 +00:00
Alexandros Pappas
634f46b424 feat(config-server): add MongoDB environment repository support (#2390)
* feat(config-server): add MongoDB environment repository support

This commit introduces MongoDB as a new backend option for the Spring Cloud Config Server, enabling users to store and manage their configuration properties in a MongoDB database.

* resolve pr comments

* add documentation for mongodb backend

* resolve comments
2024-10-02 14:36:29 -04:00
Ryan Baxter
bce08c927d Merge branch '4.1.x' 2024-10-02 10:18:59 -04:00
Ryan Baxter
13dd2ca6dc Initial implementation to support multiple labels for credhub (#2568)
Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
2024-10-02 10:15:57 -04:00
Ryan Baxter
73f4bf56dc Initial implementation to support multiple labels in SVN and Git EnvironmentRepos (#2561)
Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
2024-10-02 10:15:32 -04:00
Ryan Baxter
ecb237c6d9 Initial support for multiple labels for AWS S3 (#2564)
Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
2024-10-02 10:15:17 -04:00
Ryan Baxter
0e64e810d0 Initial implementation to support multiple labels with aws secret manager (#2567)
Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
2024-10-02 10:14:28 -04:00
Ryan Baxter
4f2ec6433f Support multiple labels in JdbcEnvironmentRepository (#2455)
* Support multiple labels in JdbcEnvironmentRepository

Fixes #2449

* Reversing labels

---------

Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
2024-10-02 10:14:06 -04:00
Ryan Baxter
e48ac403c4 Support multiple labels in NativeEnvironmentRepository (#2454)
* Support multiple labels in NativeEnvironmentRepository

Related to #2449

* Reverse labels

---------

Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
2024-10-02 10:13:37 -04:00
spencergibb
d99423830a Updates to use new spring-security-crypto classes.
Migrates away from spring-security-rsa
2024-09-24 18:25:14 -04:00
Ryan Baxter
8b3336f8ce Updating com.google.cloud:google-cloud-secretmanager to 1.7.2. Closes #2527 2024-09-12 10:19:17 -04:00
Olga Maciaszek-Sharma
9338abd674 Add JGitCoreConfig hints. 2024-09-11 18:40:26 +02:00
Kaveh Shamsi
44815361f3 Enables defining a base path for CredHub credentials (#2521)
Signed-off-by: kvmw <mshamsi@broadcom.com>
2024-09-09 09:02:46 -04:00
Kaveh Shamsi
96b5775cb8 Makes default-label in CredhubEnvironmentRepository configurable (#2519)
* Makes default-label in CredhubEnvironmentRepository configurable

Signed-off-by: kvmw <mshamsi@broadcom.com>

* Updates CredHub docs

Signed-off-by: kvmw <mshamsi@broadcom.com>

---------

Signed-off-by: kvmw <mshamsi@broadcom.com>
2024-09-06 11:50:15 -04:00
Kaveh Shamsi
464196fc8e Cleanup VaultEnvironmentRepository unit tests (#2459)
Signed-off-by: kvmw <mshamsi@broadcom.com>
2024-09-03 15:37:54 -04:00
Kaveh Shamsi
fe6720d916 ryanjbaxter
Signed-off-by: kvmw <mshamsi@broadcom.com>
2024-09-03 08:57:02 -04:00
buildmaster
774f6ccb1d Bumping versions 2024-08-14 13:08:35 +00:00
Kaveh Shamsi
eaa06aa84e ryanjbaxter
* Handles multiple application names in CredhubEnvironmentRepository

Signed-off-by: kvmw <mshamsi@broadcom.com>

* Always add the main credhub PropertySource, even if it is empty

Signed-off-by: kvmw <mshamsi@broadcom.com>

---------

Signed-off-by: kvmw <mshamsi@broadcom.com>
2024-08-13 12:01:51 -04:00
Ryan Baxter
b880e0009e Annotating VaultEnvironmentRepositoryFactory with @Deprecated. Fixes #2445 2024-07-26 08:20:09 -04:00
buildmaster
2872adf32e Bumping versions 2024-07-23 10:34:53 +00:00
WonChul Heo
1bdca37b7f Polishing (#2418) 2024-05-20 17:53:25 -04:00
buildmaster
450599fbcf Bumping versions 2024-05-15 10:34:56 +00:00
Olga Maciaszek-Sharma
55ab6ab53d Fix doc. Add TODO. 2024-05-15 11:52:32 +02:00
Olga Maciaszek-Sharma
aaabcdd4c2 Fix composite environment aot and native image generation (#2412) 2024-05-07 15:48:11 +02:00
Ryan Baxter
d2168e90bb Allow users to provide a customizer to customize the HttpClient behavior. (#2413)
Fixes #2410

Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
2024-04-29 08:57:28 -04:00
Pearson Radu
de0c0e14c7 fix: configure ssh connect timeout value (#2394)
Modify `PropertyBasedSshSessionFactory` and `FileBasedSshSessionFactory` to configure `SshConstants.CONNECT_TIMEOUT` based on the supplied timeout property
2024-03-28 14:03:32 -04:00
buildmaster
7adbc3fcaf Bumping versions 2024-03-19 10:35:35 +00:00
Pearson Radu
a6aaa43b3f fix: allow negative value for jgit environment to disable refresh (#2393)
Modify `JGitEnvironmentRepository` to return `false` on `shouldPull` method when `refreshRate` is a negative value

Fixes gh-2256
2024-03-18 09:28:20 -04:00
David Riseley
cad977de00 Ensure last-wins profile order is respected for AWS Parameter Store and Secrets Manager (#2386)
Fixes #2385
2024-03-12 15:30:22 -04:00
Olga Maciaszek-Sharma
6be013137c Native image support for Config Server (#2361) 2023-12-05 19:13:12 +01:00
Ryan Baxter
f9449a2b21 Escaping bracket in docs 2023-12-04 15:12:35 -05:00
Ryan Baxter
c4f1720dbb Merge branch '4.0.x' 2023-11-29 14:04:58 -05:00
Ondrej Ščecina
8a409cd7d0 Do not set staging label when fetching the secret values. (#2359)
* Do not set staging label when fetching the secret values.

* Add `ignoreLabel` documentation.

* Amend `ignoreLabel` documentation.

---------

Co-authored-by: Ondrej Scecina <scecina_ondrej@solarturbines.com>
2023-11-29 14:03:55 -05:00
Ryan Baxter
a0e8cb263a Merge branch '4.0.x' 2023-11-14 18:56:00 -05:00
Ondrej Ščecina
613be43082 Do not fail retrieving secrets from Secrets Manager when any secret is marked for deletion. (#2350)
Co-authored-by: Ondrej Scecina <scecina_ondrej@solarturbines.com>
2023-11-14 18:55:31 -05:00
Ryan Baxter
d6f7ca9cf7 Merge branch '4.0.x' 2023-10-24 17:13:26 -04:00
Ryan Baxter
0dd99851e6 Move DefaultTextEncryptionAutoConfiguration so the RsaEncryotionAutoconfiguration is loaded first (#2340)
We need the TextEncryptorLocator from the RSA autoconfiguration to be created first is present.  Fixes #2265

Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
2023-10-24 17:12:52 -04:00
buildmaster
66c0715d62 Bumping versions 2023-10-19 10:36:53 +00:00
G1
5e50f11fc3 Additional information in the log output when an InvalidCipherException occurs. (#2334) 2023-10-18 15:36:33 -04:00
buildmaster
09325414bd Bumping versions 2023-10-14 13:47:36 +00:00