terraform-provider-huaweicloud icon indicating copy to clipboard operation
terraform-provider-huaweicloud copied to clipboard

feat(dataarts/apis): add new resource to query apis under catalog

Open Lance52259 opened this issue 6 months ago • 1 comments

What this PR does / why we need it: Supports a new data source to query API informations under a specified catalog.

Which issue this PR fixes: (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged) fixes #xxx

Special notes for your reviewer:

Release note:

1. add new resource to query apis under catalog.

PR Checklist

  • [x] Tests added/passed.
../coverage.sh  -o dataarts -f TestAccDataSourceDataServiceCatalogApis_basic
Prepare to calculate the coverage the following command:
TF_ACC=1 go test "./huaweicloud/services/acceptance/dataarts" -v -coverprofile="./huaweicloud/services/acceptance/dataarts_coverage.cov" -coverpkg="./huaweicloud/services/dataarts" -run TestAccDataSourceDataServiceCatalogApis_basic -timeout 360m -parallel 10
=== RUN   TestAccDataSourceDataServiceCatalogApis_basic
--- PASS: TestAccDataSourceDataServiceCatalogApis_basic (197.01s)
PASS
coverage: 8.7% of statements in ./huaweicloud/services/dataarts
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/dataarts  199.046s        coverage: 8.7% of statements in ./huaweicloud/services/dataarts
  • [x] Documentation updated.

  • [x] Schema updated.

  • [ ] CheckDeleted.

    • a. During query operation (Read Context) aa. Resource not found >>>>>> Paste the screenshot here <<<<<<

    • b. During delete/disassociate/unbind operation (Delete Context) ba. Resource not found >>>>>> Paste the screenshot here <<<<<<

Lance52259 avatar Aug 31 '24 07:08 Lance52259