Skip to content
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

New apig group resource support #1284

Merged
merged 3 commits into from
Jul 17, 2021
Merged

New apig group resource support #1284

merged 3 commits into from
Jul 17, 2021

Conversation

Lance52259
Copy link
Collaborator

@Lance52259 Lance52259 commented Jul 15, 2021

What this PR does / why we need it:
In order to manage APIs, environment variables, and custom responses, the APIG (API) group needs support.
The API group is the basic resource for other resources created or updated:

  • API creation, publishing and offline
  • Variable creation
  • Custom response creation

TODO:

  • API, environment variables, domain names and custom response list (for architecture) support.

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

Special notes for your reviewer:

Release note:

1. new api group resource support.
  a. support environment variables management.
2. new related document.
3. new related acc test.
  a. unit test for name and description.

PR Checklist

  • Tests added/passed.
  • Documentation updated.
  • Schema updated.

Acceptance Steps Performed

make testacc TEST='./huaweicloud/services/acceptance/apig' TESTARGS='-run=TestAccApigGroupV2_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud/services/acceptance/apig -v -run=TestAccApigGroupV2_basic -timeout 360m -parallel 4
=== RUN   TestAccApigGroupV2_basic
=== PAUSE TestAccApigGroupV2_basic
=== CONT  TestAccApigGroupV2_basic
--- PASS: TestAccApigGroupV2_basic (447.98s)
PASS
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/apig      448.041s
make testacc TEST='./huaweicloud/services/acceptance/apig' TESTARGS='-run=TestAccApigGroupV2_variables'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./huaweicloud/services/acceptance/apig -v -run=TestAccApigGroupV2_variables -timeout 360m -parallel 4
=== RUN   TestAccApigGroupV2_variables
=== PAUSE TestAccApigGroupV2_variables
=== CONT  TestAccApigGroupV2_variables
--- PASS: TestAccApigGroupV2_variables (448.65s)
PASS
ok      github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/acceptance/apig      448.787s

@ShiChangkuo ShiChangkuo merged commit 6d22542 into huaweicloud:master Jul 17, 2021
@Lance52259 Lance52259 deleted the br_apig_group_active branch August 31, 2021 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants