-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(google-sm): added keychain plugin for google secret manager #1017
feat(google-sm): added keychain plugin for google secret manager #1017
Conversation
acae0de
to
f18535c
Compare
5cf5885
to
c98d998
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jagpreetsinghsasan Please apply the same changes to this one as for the Azure and the AWS plugins (see other 2 PRs for more info)
c98d998
to
9b90ce7
Compare
...us-plugin-keychain-google-sm/src/main/typescript/plugin-keychain-google-sm-remote-adapter.ts
Outdated
Show resolved
Hide resolved
packages/cactus-plugin-keychain-google-sm/src/main/typescript/plugin-keychain-google-sm.ts
Outdated
Show resolved
Hide resolved
packages/cactus-plugin-keychain-google-sm/src/main/typescript/plugin-keychain-google-sm.ts
Show resolved
Hide resolved
9b90ce7
to
4f2211e
Compare
a921b3c
to
a837782
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elenaizaguirre @jagpreetsinghsasan Same request here as I mentioned in the other PR, please coordinate the merging of your relevant PRs regarding the cross-spec references.
Codecov Report
@@ Coverage Diff @@
## main #1017 +/- ##
==========================================
- Coverage 73.23% 72.49% -0.75%
==========================================
Files 252 261 +9
Lines 8949 9172 +223
Branches 1044 1080 +36
==========================================
+ Hits 6554 6649 +95
- Misses 1835 1953 +118
- Partials 560 570 +10
Continue to review full report at Codecov.
|
@jagpreetsinghsasan Would you tell me how to position the codes included in this PR for review? (as the same question to #964, #991) cc: @petermetz
|
Hi @takeutak
I didnt understand this statement, can you explain it?
This plugin is another keychain plugin, but for cloud vault (like Google secret manager in this case). As keychain plugins are optional to choose from depending upon client requirements, this plugin is also optional.
The usage of this plugin is demonstrated in the test case (packages/cactus-plugin-keychain-google-sm/src/test/typescript/integration/plugin-keychain-google-sm.test.ts) (exactly like the vault keychain plugin, just with its own set of input requirements). |
@jagpreetsinghsasan Thanks for your kind explanation. I understood. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jagpreetsinghsasan Please update to all Cactus package version occurrences to 0.6.0 from 0.5.0 (just issued the release) and then run the configure script to also update the lock files as well. Commit all of those changes and then we are ready to merge. Don't forget the squash the commits into a single one.
bbce5d6
to
2a049a4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jagpreetsinghsasan Found a few more things last minute, please also apply these changes to the other two keychain plugin PRs in the queue. Sorry for not noticing these little tweaks earlier.
...us-plugin-keychain-google-sm/src/main/typescript/plugin-keychain-google-sm-remote-adapter.ts
Outdated
Show resolved
Hide resolved
70ac01f
to
a71a4e0
Compare
47f7548
to
6cd9da7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jagpreetsinghsasan Almost forgot, please also
- migrate the tsconfig.json inside your package to match the new boilerplate (see any of the other packages for an example).
- Add an entry to the root tsconfig.json file under the
references
array that points to the new package that is being added in the PR - Do this to all the pending PRs that are adding new packages
6cd9da7
to
9484917
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jagpreetsinghsasan LGTM, please resolve conflict(s) by rebasing and then we are good to go.
Sure, if this is merged after azure-kv, then it will not have merge conflicts, or else, there might be conflict again (I have added azure-kv to the tsconfig.json here as well) |
9484917
to
55d0c5c
Compare
Primary Change --- 1. Added new package cactus-plugin-keychain-google-sm under packages/ 2. Added PluginKeychainGoogleSmMock class to mock the functions of SecretManagerServiceClient under packages/cactus-plugin-keychain-google-sm/src/test/typescript/mock/ Resolves hyperledger-cacti#983 Signed-off-by: jagpreetsinghsaan <[email protected]>
10f5c73
to
8f397d7
Compare
Commit to be reviewed
feat(google-sm): added keychain plugin for google secret manager
Resolves #983
Signed-off-by: Jagpreet Singh Sasan [email protected]