-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 route_rules to UrlMap for Traffic Director #2748
Add route_rules to UrlMap for Traffic Director #2748
Conversation
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesNew Pull RequestsI built this PR into one or more new PRs on other repositories, and when those are closed, this PR will also be merged and closed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a pass of resource schema. For repeated headerAction
blocks, any comments on the first apply to the rest.
Specifies the retry policy associated with this route. | ||
properties: | ||
- !ruby/object:Api::Type::Integer | ||
name: 'numRetries' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are this & the below value required? Do they take on defaults when not specified?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the docs for perTryTimeout
and made numRetries
required.
the matched service | ||
properties: | ||
- !ruby/object:Api::Type::String | ||
name: 'hostRewrite' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The value must be between 1 and 255 characters.
suggests the field is Required
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so. There are different portions of the URL that can be replaced (host
, path
, and prefix
) and none are required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If possible, can you structure changes based on review comments as separate commits? It's hard to see the diff of the changes when they've been squashed in, and means I have to look over the entire original change and try and remember what it looked like before. https://github.com/GoogleCloudPlatform/magic-modules/compare/4b0a0cd45fa6d6a13eb709a2cbf163b888cf901b..b9ea89349df85fbebc6c96ad490d22b50a85c9ad makes it possible, but munges the changes with whatever you picked up from upstream.
A model I use a lot of the time is that I create a commit per-push including my changes (breaking it up more granularly if needed) and rebase+force push if I've fallen out of date with master.
Can you rebase + force-push so generation works again? |
Done. |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesterraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple small comments left 🎉
@@ -11509,6 +11513,8 @@ objects: | |||
description: | | |||
UrlMaps are used to route requests to a backend service based on rules | |||
that you define for the host and path of an incoming URL. | |||
references: !ruby/object:Api::Resource::ReferenceLinks | |||
api: https://cloud.google.com/compute/docs/reference/rest/v1/urlMaps | |||
async: !ruby/object:Api::OpAsync | |||
operation: !ruby/object:Api::OpAsync::Operation | |||
kind: 'compute#operation' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note for myself: GitHub is skipping a bunch of lines here with no indicator
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesterraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesterraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
Tracked submodules are build/terraform-beta build/terraform-mapper build/terraform build/ansible build/inspec.
Release Note Template for Downstream PRs (will be copied)