Rewrote /deliveryservices/request to Go#3989
Conversation
|
Refer to this link for build results (access rights to CI server needed): |
838a8b0 to
8963843
Compare
|
Refer to this link for build results (access rights to CI server needed): |
8963843 to
ead578f
Compare
|
Refer to this link for build results (access rights to CI server needed): |
mhoppa
left a comment
There was a problem hiding this comment.
this PR looks good. I left a couple of comments but all minor/nit. Going to pull down to test prior to approval
mhoppa
left a comment
There was a problem hiding this comment.
some fields have the wrong type
|
Refer to this link for build results (access rights to CI server needed): |
f711eed to
f0ec968
Compare
|
Refer to this link for build results (access rights to CI server needed): |
|
retest this please |
|
Refer to this link for build results (access rights to CI server needed): |
|
retest this please |
|
Refer to this link for build results (access rights to CI server needed): |
mhoppa
left a comment
There was a problem hiding this comment.
The example post in the docs shouldnt be an invalid request as I am getting. FWIW all the bools are causing hasNegativeCachingCustomization: cannot be blank
Might be good to add some validation unit tests
|
Refer to this link for build results (access rights to CI server needed): |
319bd50 to
6fc08b2
Compare
|
Refer to this link for build results (access rights to CI server needed): |
|
The request example in the docs isn't invalid - I accidentally changed some fields to strings that shouldn't have been when I was making changes you requested above. |
6fc08b2 to
7762fde
Compare
|
Refer to this link for build results (access rights to CI server needed): |
7762fde to
b241dd3
Compare
|
Refer to this link for build results (access rights to CI server needed): |
mhoppa
left a comment
There was a problem hiding this comment.
Tested locally and works as expected.
|
retest this please |
|
Refer to this link for build results (access rights to CI server needed): |
e792844 to
04662eb
Compare
|
Refer to this link for build results (access rights to CI server needed): |
What does this PR (Pull Request) do?
Rewrites
deliveryservices/requestto Go.Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Build the Traffic Ops RPM, install it somewhere with access to an SMTP server, configure it to use that server for sending mail, then request a Delivery Service via the
deliveryservices/requestendpoint.This PR does not include tests, because there is currently no way to test functionality that depends on an external SMTP server.
The following criteria are ALL met by this PR