Skip to content

Commit 6651b47

Browse files
authored
Merge pull request #16 from coveooss/feature/retrieve-ssm-params-from-others-regions
Bump version in readme and missing changes following Doc review
2 parents 3c242f8 + b625c6f commit 6651b47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The library uses:
1212
- [Spring Boot](https://spring.io/projects/spring-boot) 1.5.21.RELEASE
1313
- [AWS Java SDK](https://aws.amazon.com/sdk-for-java/) 1.11.566
1414

15-
Those can be overriden in your `pom.xml`.
15+
Those can be overridden in your `pom.xml`.
1616

1717
The library was tested and worked properly with:
1818

@@ -26,7 +26,7 @@ The library was tested and worked properly with:
2626
<dependency>
2727
<groupId>com.coveo</groupId>
2828
<artifactId>spring-boot-parameter-store-integration</artifactId>
29-
<version>1.2.0</version>
29+
<version>1.3.0</version>
3030
</dependency>
3131
```
3232

@@ -82,11 +82,11 @@ Spring Cloud has a second application context named bootstrap that gets initiali
8282
If you still want the post processor to run twice or if you are using [spring-boot-devtools](https://docs.spring.io/spring-boot/docs/current/reference/html/using-spring-boot.html#using-boot-devtools-restart), you can set the optional property `awsParameterStorePropertySource.supportMultipleApplicationContexts` to `true`. The default property value is `false`to prevent multiple initializations. If you are also using Spring Cloud, this property will only work if set in the bootstrap properties.
8383

8484
## Multi-region support
85-
- Set `awsParameterStoreSource.multiRegion.ssmClient.regions` with the regions from which you need to retrieve parameters using a **comma-separated** list such as `us-east-1,us-east-2`. It adds a `ParameterStorePropertySource` to the property sources for each region specified. It will start looking from the first region and so on until it finds the property so put the regions in order of precedence.
85+
- Set `awsParameterStoreSource.multiRegion.ssmClient.regions` to a comma-separated string of regions from which you want to retrieve parameters. Example: `us-east-1,us-east-2`. Doing so will add a `ParameterStorePropertySource` object for each region specified, and this object will list the parameters associated with this region. The integration searches for parameters in regions following the order specified, and stops at the first occurrence. You should therefore put the regions **in order of precedence**.
8686
**Reminder**: using other list injecting methods like a yaml list won't work because this property gets loaded too early in the boot process.
8787
- If you want to halt the boot when a property isn't found in any of the specified regions, just set `awsParameterStorePropertySource.haltBoot` to `true` in your properties.
8888
- Make sure that your service has the necessary permissions to access parameters in the specified regions.
89-
**Important**: If set, it takes precedence over `awsParameterStoreSource.ssmClient.endpointConfiguration.endpoint` and `awsParameterStoreSource.ssmClient.endpointConfiguration.signingRegion`. They are mutually exclusive.
89+
**Important**: If set, this property takes precedence over `awsParameterStoreSource.ssmClient.endpointConfiguration.endpoint` and `awsParameterStoreSource.ssmClient.endpointConfiguration.signingRegion`. They are mutually exclusive.
9090

9191
## Contributing
9292
Open an issue to report bugs or to request additional features. Pull requests are always welcome.

0 commit comments

Comments
 (0)