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

WIP: feat(workspace/app): add resource for publishing application

Open wuzhuanhong opened this issue 4 months ago • 0 comments

What this PR does / why we need it: Add new resource used to manage application publishment.

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.
2. add corresponding to docunment and acceptance test.

PR Checklist

  • [x] Tests added/passed.
./scripts/coverage.sh -o workspace -f TestAccAppPublishment_basic
Prepare to calculate the coverage the following command:
TF_ACC=1 go test "./huaweicloud/services/acceptance/workspace" -v -coverprofile="./huaweicloud/services/acceptance/workspace/workspace_coverage.cov" -coverpkg="./huaweicloud/services/workspace" -run TestAccAppPublishment_basic -timeout 360m -parallel 10
=== RUN   TestAccAppPublishment_basic
=== PAUSE TestAccAppPublishment_basic
=== CONT  TestAccAppPublishment_basic
--- PASS: TestAccAppPublishment_basic (51.34s)
PASS
coverage: 12.5% of statements in ./huaweicloud/services/workspace
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/workspace 51.406s coverage: 12.5% of statements in ./huaweicloud/services/workspace
  • [x] Documentation updated.

  • [x] Schema updated.

  • [x] CheckDeleted.

    • a. During query operation (Read Context) aa. Resource not found image

      ab. Related resources (parent resources) not found image

    • b. During delete/disassociate/unbind operation (Delete Context) ba. Resource not found
      image image

    bb. Related resources (parent resources) not found image

wuzhuanhong avatar Oct 25 '24 09:10 wuzhuanhong