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

APILIB-901: h2_prioritization setting not able to be set in bulk #493

Merged
merged 3 commits into from
Oct 3, 2019

Conversation

patryk
Copy link
Contributor

@patryk patryk commented Oct 2, 2019

Because the API is fronted by API Gateway which routes various endpoints into different upstreams, h2_prioritization cannot be set through general /zone/settings endpoint. We need to call it directly as a separate API call.

@ghost ghost added the size/S label Oct 2, 2019
@patryk patryk requested a review from jacobbednarz October 2, 2019 22:34
@jacobbednarz
Copy link
Member

Have we got a way to assert that this is working? Would an integration test cover the expectations here?

@jacobbednarz
Copy link
Member

An alternative option: Should we just send all settings to their direct endpoint instead of using the bulk endpoint to minimise the code complexity? It would be more HTTP requests but the big upside is that we would have less code paths in the provider code.

@patryk
Copy link
Contributor Author

patryk commented Oct 2, 2019

It is expected all zone settings have their own endpoints, so yeah, it's entirely logical we can streamline the code this way and get rid of edge case logic.

Also, integration test would be a nice to have and would validate the issue fixed here.

@ghost ghost added size/M and removed size/S labels Oct 3, 2019
@patryk patryk merged commit 3295472 into master Oct 3, 2019
@patryk patryk deleted the h2_prioritization branch October 3, 2019 16:02
nlamirault added a commit to nlamirault/terraform-provider-cloudflare that referenced this pull request Oct 8, 2019
…-sdk

* upstream/master:
  Update google.golang.org/genproto commit hash to a023cd5
  addon zone settings info about default values (cloudflare#498)
  APILIB-901: h2_prioritization setting not able to be set in bulk (cloudflare#493)
  Update google.golang.org/genproto commit hash to c459b9c
  Update google.golang.org/genproto commit hash to 455060b
  Update module cloudflare/cloudflare-go to v0.10.3 (cloudflare#491)
boekkooi-lengoo pushed a commit to boekkooi-lengoo/terraform-provider-cloudflare that referenced this pull request Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants