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

Add support for override host field #165

Merged
merged 6 commits into from
Jun 19, 2019
Merged

Add support for override host field #165

merged 6 commits into from
Jun 19, 2019

Conversation

philippschulte
Copy link
Member

🎉this closes #163.

Copy link
Contributor

@trentrosenbaum trentrosenbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the point of view of introducing a new field, this looks ok and the field is documented in the provider and on the fastly api website. I cannot see any documented validation and so this should be fine.

The current build is failing and so just marking it as "Request Changes" to see a green build.

The override_host field can be used to override the Host header.

fix #163
BREAKING CHANGE: API for BigQuery logging has changed in v1.0.0 and needs to be adjusted in the
provider.

fix #163
The go-fastly client API for BigQuery has changed in v1.0.0.
The go-fastly client API for Director has changed in v1.0.0.
The go-fastly client API for VCL Snippets has changed in v1.0.0.
@ghost ghost added size/XL dependencies and removed size/XS labels Jun 19, 2019
@philippschulte
Copy link
Member Author

philippschulte commented Jun 19, 2019

@trentrosenbaum the build wasn't passing because the client hasn't been updated. The PR updates the go-fastly client from v0.4.3 to v1.0.0 in order to support the new override_host field. By doing so some fixes were necessary because v1.0.0 includes some breaking changes. Please review it again.

@philippschulte philippschulte merged commit 45b4170 into fastly:master Jun 19, 2019
@philippschulte philippschulte deleted the add-support-for-override_host-field branch June 19, 2019 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't set override_host on an individual backend
2 participants