Keystores aliases key cert file#7518
Conversation
|
/gcbrun |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 8 files changed, 1348 insertions(+), 75 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccFirebaserulesRelease_BasicRelease|TestAccDataSourceGoogleCloudAssetResourcesSearchAll_basic|TestAccDataSourceDnsManagedZone_basic|TestAccApigeeKeystoresAliasesKeyCertFile_apigeeKeystoresAliasesKeyCertFileTestExample|TestAccNetworkServicesGateway_update |
|
Tests passed during RECORDING mode: Tests failed during RECORDING mode: Please fix these to complete your PR |
There was a problem hiding this comment.
Quick comments before starting to review:
- New resources are recommended to be created through mmv1 generated resources, is there any particular reason you made this handwritten?
- Looks like there are some lint problems, could you run
gofmton the created files? Sometimes there are lint problems due to missing addtional empty line at the end of the file.
Hi @hao-nan-li The API for Keystore Aliases takes multipart-form data request, which is not supported by MMV1, Apigee being a acquired product has a different API pattern than in house developed GCP product. Regarding the lint problem, can you pls let me know which file is having issue? I have indeed ran |
Quick note: By running gofmt needs running on the following files: |
|
/gcbrun |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 8 files changed, 1348 insertions(+), 75 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccNetworkServicesGateway_update|TestAccHealthcareFhirStore_healthcareFhirStoreStreamingConfigExample|TestAccFirebaserulesRelease_BasicRelease|TestAccDataSourceDnsManagedZone_basic|TestAccApigeeKeystoresAliasesKeyCertFile_apigeeKeystoresAliasesKeyCertFileTestExample |
|
Tests passed during RECORDING mode: Tests failed during RECORDING mode: Please fix these to complete your PR |
hao-nan-li
left a comment
There was a problem hiding this comment.
Could you do a rebase so that I can run the tests locally?
hao-nan-li
left a comment
There was a problem hiding this comment.
LGTM in general. Just some small concern about the password field and the documentation.
|
|
||
| * `certs_info` - | ||
| Chain of certificates under this alias. | ||
| Structure is [documented below](#nested_certs_info). |
There was a problem hiding this comment.
Not a big issue, but this hyperlink is not working as intended.
| * `cert_info` - | ||
| (Output) | ||
| List of all properties in the object. | ||
| Structure is [documented below](#nested_cert_info). |
| Optional: true, | ||
| Description: `Private Key content, omit if uploading to truststore`, | ||
| }, | ||
| "password": { |
There was a problem hiding this comment.
If there's a password field, I think it's necessary to make this field sensitive. Sensitive: true
|
/gcbrun |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 8 files changed, 1349 insertions(+), 76 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 12 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccNetworkServicesGateway_update|TestAccFirebaserulesRelease_BasicRelease|TestAccComputeInstanceFromRegionTemplate_basic|TestAccComposerEnvironment_withEncryptionConfigComposer2|TestAccApigeeKeystoresAliasesKeyCertFile_apigeeKeystoresAliasesKeyCertFileTestExample|TestAccDataSourceGoogleFirebaseAppleAppConfig|TestAccFrameworkProviderBasePath_setBasePath|TestAccFrameworkProviderMeta_setModuleName|TestAccDataSourceDNSKeys_basic|TestAccDataSourceDnsManagedZone_basic|TestAccDataSourceDnsRecordSet_basic|TestAccDataSourceDNSKeys_noDnsSec |
|
Tests passed during RECORDING mode: Tests failed during RECORDING mode: Please fix these to complete your PR |
make password and key sensitive field
|
/gcbrun |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 8 files changed, 1351 insertions(+), 76 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 10 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccFirebaserulesRelease_BasicRelease|TestAccComputeInstanceFromRegionTemplate_basic|TestAccApigeeKeystoresAliasesKeyCertFile_apigeeKeystoresAliasesKeyCertFileTestExample|TestAccFrameworkProviderMeta_setModuleName|TestAccFrameworkProviderBasePath_setBasePath|TestAccDataSourceDNSKeys_noDnsSec|TestAccDataSourceDnsManagedZone_basic|TestAccDataSourceDnsRecordSet_basic|TestAccDataSourceDNSKeys_basic|TestAccDataSourceGoogleFirebaseAppleAppConfig |
|
Tests passed during RECORDING mode: All tests passed |
hao-nan-li
left a comment
There was a problem hiding this comment.
LGTM, could you change the release note to follow this format?
https://github.com/GoogleCloudPlatform/magic-modules/blob/main/.ci/RELEASE_NOTES_GUIDE.md
* add apigee keystores aliases keystorefile provider * add doc * update doc * update linted files * Update resource_apigee_keystores_aliases_key_cert_file.go make password and key sensitive field --------- Co-authored-by: Ray Xu <xrc@google.com>
* add apigee keystores aliases keystorefile provider * add doc * update doc * update linted files * Update resource_apigee_keystores_aliases_key_cert_file.go make password and key sensitive field --------- Co-authored-by: Ray Xu <xrc@google.com>
* add apigee keystores aliases keystorefile provider * add doc * update doc * update linted files * Update resource_apigee_keystores_aliases_key_cert_file.go make password and key sensitive field --------- Co-authored-by: Ray Xu <xrc@google.com>
If this PR is for Terraform, I acknowledge that I have:
make testandmake lintin the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)