Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Conversation

@zrhoffman
Copy link
Member

@zrhoffman zrhoffman commented Oct 5, 2022

This PR resolves the Traffic Ops and Traffic Portal portions of #7097 by adding the Regional flag to Delivery Services for API versions 4 and up.


Which Traffic Control components are affected by this PR?

  • Traffic Ops

What is the best way to verify this PR?

  • Run the API tests
  • Check the documentation

PR submission checklist

@zrhoffman zrhoffman added new feature A new feature, capability or behavior Traffic Ops related to Traffic Ops medium impact impacts a significant portion of a CDN, or has the potential to do so labels Oct 5, 2022
@zrhoffman zrhoffman requested a review from ocket8888 October 5, 2022 23:47
@zrhoffman
Copy link
Member Author

Added the Regional field to Traffic Portal v1 in 9b4c1f3

@zrhoffman zrhoffman requested a review from ocket8888 October 6, 2022 17:48
@zrhoffman zrhoffman requested a review from ocket8888 October 11, 2022 21:19
data.ipAddress = `${rand()}.${rand()}.${rand()}.${rand()}`;
}
if(hasProperty(data, 'name') && !hasProperty(data, 'noRandomize')) {
if(hasProperty(data, 'name') && !(hasProperty(data, "noRandomize") && data.noRandomize === true)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: booleans shouldn't be compared to boolean constants, in general.

@ocket8888 ocket8888 merged commit b4183c8 into apache:master Oct 11, 2022
@zrhoffman zrhoffman deleted the regional-field branch October 11, 2022 23:04
@zrhoffman zrhoffman added the Traffic Portal v1 related to Traffic Portal version 1 label Mar 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

medium impact impacts a significant portion of a CDN, or has the potential to do so new feature A new feature, capability or behavior Traffic Ops related to Traffic Ops Traffic Portal v1 related to Traffic Portal version 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants