Ethan Katnic
95253af6f2
Remove inline comment
2024-09-10 13:57:27 -07:00
Ethan Katnic
88dc89e1a8
Remove unused import and clean up helper processKey fn
2024-09-10 11:40:46 -07:00
Ethan Katnic
df0782d34c
Replace AWSCredentialProvider with AwsCredentialProvider to be consistent with SDK v2 naming convention
2024-09-10 11:33:47 -07:00
Ethan Katnic
f8d5750bd2
Update comment references to AWS SDK v2
2024-09-10 08:34:33 -07:00
ethkatnic
f91140bb04
Merge pull request #2 from ethkatnic/provider-decoder-improvements
...
Multilang - Provider Decoder Improvements
2024-09-10 08:23:08 -07:00
Ethan Katnic
f87bf83deb
Reorganize getValidCredentialsProviders to simplify calls
2024-09-09 13:26:51 -07:00
Ethan Katnic
ac7d975c5f
Specify sts provider path for conversion to kclStsProvider
2024-09-05 09:39:22 -07:00
Ethan Katnic
4d5a3995f0
Fix method header to remove unused param description
2024-09-05 08:53:50 -07:00
ethkatnic
42a7768f1c
Merge pull request #1 from ethkatnic/aws-sdk-v1-to-v2
...
MultiLang AWS SDK v1 to v2
2024-09-04 11:11:23 -07:00
Ethan Katnic
3923eb8bee
Rewrite credentials doc to be consistent with v2 changes
2024-09-04 10:58:50 -07:00
Ethan Katnic
90d984b670
Add method header for getClass helper
2024-09-04 10:38:15 -07:00
Ethan Katnic
892cc79dfc
Add functionality to decoder for create(arg) providers and refactor provider creation
2024-09-04 10:31:43 -07:00
Ethan Katnic
1e708e1196
Add tests to validate create() method providers and StsAssumeRoleCredentialsProvider
2024-09-04 10:30:56 -07:00
Ethan Katnic
77a3440f0b
Clean up legacy library names
2024-08-29 16:21:23 -07:00
Ethan Katnic
6deff85994
Remove unused prefix
2024-08-29 16:16:18 -07:00
Ethan Katnic
9b342180e0
Clean up unused changes
2024-08-29 16:13:02 -07:00
Ethan Katnic
921781b9f9
Simplify decoder logic for empty create constructor. Update documentation.
2024-08-29 15:46:42 -07:00
Ethan Katnic
444a4ddf9a
Add https check
2024-08-27 10:19:27 -07:00
Ethan Katnic
22c2a7c910
Simplify syntax of StsAssumeRoleCredentialsProvider
2024-08-27 09:10:49 -07:00
Ethan Katnic
6799c81f82
Simplify StsAssumeRoleCredentialsProvider logic
2024-08-27 09:06:07 -07:00
Ethan Katnic
f8eafb457a
Add casting check for create() provider
2024-08-22 10:33:07 -07:00
Ethan Katnic
8aa81dc255
Remove unused old sdk version
2024-08-21 11:35:28 -07:00
Ethan Katnic
4edccf42f0
Add region validation to region setting in NestedPropertyProcessor
2024-08-21 10:44:18 -07:00
Ethan Katnic
e6402773d6
Fix syntax error, update method header for new clazz param
2024-08-21 09:18:17 -07:00
Ethan Katnic
f83f8c8e02
Upgrade DefaultCredentialsProvider and AwsBasicCredentials to AWS SDK v2
2024-08-21 08:49:42 -07:00
Ethan Katnic
c8f642b435
Upgrade ProviderPropertyValueDecoder to aws SDK v2
2024-08-21 08:48:31 -07:00
Ethan Katnic
17f7d51845
Remove v1 credential wrapper from daemon configuration
2024-08-20 10:08:10 -07:00
Ethan Katnic
119ef42206
Rewrite KCLSTSAssumeRoleCredentialsProvider to use AWS SDK v2
2024-08-19 17:41:06 -07:00
Ethan Katnic
a8b70da3b3
Upgrade NestedPropertyKey and NestedPropertyProcessor to AWS SDKv2
2024-08-19 17:39:30 -07:00
lucienlu-aws
0478575b3d
bugfix: debug or trace logging level now properly logs all worker loops ( #1372 )
2024-07-26 10:03:46 -07:00
lucienlu-aws
1c0c41c4e8
Add config to enable PITR ( #1365 )
...
* Add config to enable PITR
2024-07-15 14:15:52 -07:00
nakulj
5878ba8ac6
Add a backwards compatibility check for .proto files ( #1362 )
2024-07-12 11:18:54 -07:00
nakulj
3b5c59ec04
fix backwards compatibility check ( #1361 )
2024-07-12 09:46:49 -07:00
nakulj
57dcddf10b
Fix some of the warnings emitted by maven during build ( #1363 )
...
* Set the source encoding in the pom.
This stops the following warning from being emitted in our logs:
```
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
```
* Replace deprecated systemProperties.
The recommended replacement is systemPropertyVariables, documented [here](https://maven.apache.org/surefire/maven-surefire-plugin/examples/system-properties.html ).
2024-07-08 15:22:24 -07:00
Nakul Joshi
f507066ea6
*Actually* skip tests while running backwards compatibility test.
2024-07-02 14:00:57 -07:00
Aravinda Kidambi Srinivasan
6cba7f431d
Remove ShutdownNotificationAware and update javadocs ( #1358 )
...
* Deprecate ShutdownNotificationAware and update javadocs
ShutdownNotificationAware is not used by KCL, this PR
marks it as deprecated and updates the javadoc
Co-authored-by: nakulj <nklj@amazon.com>
2024-07-02 13:28:19 -07:00
lucienlu-aws
715690d2c0
bugfix: revert update of in memory lease if DDB lease renewal throws error ( #1354 )
2024-06-24 10:47:00 -07:00
dependabot[bot]
78fb42ede1
Bump commons-io:commons-io from 2.15.1 to 2.16.1
...
Bumps commons-io:commons-io from 2.15.1 to 2.16.1.
---
updated-dependencies:
- dependency-name: commons-io:commons-io
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 11:06:32 -07:00
dependabot[bot]
b271fed18b
Bump awssdk.version from 2.25.11 to 2.25.64
...
Bumps `awssdk.version` from 2.25.11 to 2.25.64.
Updates `software.amazon.awssdk:kinesis` from 2.25.11 to 2.25.64
Updates `software.amazon.awssdk:dynamodb` from 2.25.11 to 2.25.64
Updates `software.amazon.awssdk:cloudwatch` from 2.25.11 to 2.25.64
Updates `software.amazon.awssdk:netty-nio-client` from 2.25.11 to 2.25.64
Updates `software.amazon.awssdk:sts` from 2.25.11 to 2.25.64
---
updated-dependencies:
- dependency-name: software.amazon.awssdk:kinesis
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudwatch
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:netty-nio-client
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sts
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 11:05:55 -07:00
dependabot[bot]
cbed8c3c6f
Bump com.google.protobuf:protobuf-java from 3.21.12 to 4.27.0
...
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf ) from 3.21.12 to 4.27.0.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/commits )
---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 10:04:19 -07:00
nakulj
e8c3c01b12
Generate wrappers from proto files instead of shipping them directly ( #1340 )
...
* Replace generated code with source .proto files
This change replaces the generated Messages.java file with the source .proto files.
It also includes the pom.xml changes needed to install protoc from Maven Central, and use it to compile the wrapper java code.
* add explanatory comment
2024-06-03 15:20:07 -07:00
dependabot[bot]
a83b3fbd57
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0
...
Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin ) from 3.6.3 to 3.7.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases )
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.6.3...maven-javadoc-plugin-3.7.0 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 09:06:16 -07:00
dependabot[bot]
0005670513
Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.1.2 to 3.2.5
...
Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire ) from 3.1.2 to 3.2.5.
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.2...surefire-3.2.5 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-failsafe-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 09:05:50 -07:00
dependabot[bot]
35b150009a
Bump org.slf4j:slf4j-api from 2.0.7 to 2.0.13
...
Bumps org.slf4j:slf4j-api from 2.0.7 to 2.0.13.
---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-31 13:18:54 -07:00
dependabot[bot]
d3b84dc995
Bump io.reactivex.rxjava3:rxjava from 3.1.6 to 3.1.8
...
Bumps [io.reactivex.rxjava3:rxjava](https://github.com/ReactiveX/RxJava ) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/ReactiveX/RxJava/releases )
- [Commits](https://github.com/ReactiveX/RxJava/compare/v3.1.6...v3.1.8 )
---
updated-dependencies:
- dependency-name: io.reactivex.rxjava3:rxjava
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-31 12:56:25 -07:00
Nakul Joshi
49fa32d68e
Update maven compiler plugin to 3.13.0
...
This version of the compiler plugin supports the `--release` option as
documented [here](https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-release.html ).
2024-05-30 09:33:41 -07:00
Nakul Joshi
221db0564d
Fix checkstyle violations.
...
Follow up to #1332 .
- Manually split up a long string literal.
- Disable ArrayTrailingComma, which checkstyle complains about even in
commented code. In any case it is redundant with PJF.
2024-05-21 16:35:31 -07:00
Nakul Joshi
adcc89f80d
ignore format commit in blame
2024-05-21 01:27:20 -07:00
Nakul Joshi
18fe49eed0
run spotless:apply
2024-05-21 01:27:20 -07:00
Nakul Joshi
409a8f13cd
add spotless
2024-05-21 01:27:20 -07:00