You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/02/24 00:01:14 UTC

[GitHub] [trafficcontrol] rawlinp opened a new pull request #5570: Update the Python TO client to API 3.0

rawlinp opened a new pull request #5570:
URL: https://github.com/apache/trafficcontrol/pull/5570


   ## What does this PR (Pull Request) do?
   Update the Python TO client to API 3.0. Also, fix up the topologies methods.
   
   ## Which Traffic Control components are affected by this PR?
   - Traffic Control Client (Python)
   
   ## What is the best way to verify this PR?
   Write a script that uses the python TO client (or use it interactively). Make requests using the various methods, verify they work successfully.
   
   ## The following criteria are ALL met by this PR
   - [x] python TO client doesn't have tests
   - [x] no docs necessary
   - [x] This PR includes an update to CHANGELOG.md
   - [x] This PR includes any and all required license headers
   - [x] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY** (see [the Apache Software Foundation's security guidelines](https://www.apache.org/security/) for details)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] ocket8888 merged pull request #5570: Update the Python TO client to API 3.0

Posted by GitBox <gi...@apache.org>.
ocket8888 merged pull request #5570:
URL: https://github.com/apache/trafficcontrol/pull/5570


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] rawlinp commented on pull request #5570: Update the Python TO client to API 3.0

Posted by GitBox <gi...@apache.org>.
rawlinp commented on pull request #5570:
URL: https://github.com/apache/trafficcontrol/pull/5570#issuecomment-785250722


   Ah, I think I know the issue. Python ORT is setting the version to 2.0, which is likely causing an exception since 2.0 is "not supported".


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] rawlinp commented on pull request #5570: Update the Python TO client to API 3.0

Posted by GitBox <gi...@apache.org>.
rawlinp commented on pull request #5570:
URL: https://github.com/apache/trafficcontrol/pull/5570#issuecomment-785235461


   Something seems up w/ the CiaB origin/ats possibly. The logs show successful 302 but then ats returns 502.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] rawlinp commented on pull request #5570: Update the Python TO client to API 3.0

Posted by GitBox <gi...@apache.org>.
rawlinp commented on pull request #5570:
URL: https://github.com/apache/trafficcontrol/pull/5570#issuecomment-785251051


   JINX 1, 2, 3!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] ocket8888 commented on pull request #5570: Update the Python TO client to API 3.0

Posted by GitBox <gi...@apache.org>.
ocket8888 commented on pull request #5570:
URL: https://github.com/apache/trafficcontrol/pull/5570#issuecomment-785250220


   Found it. Line 49 in `infrastructure/cdn-in-a-box/ort/traffic_ops_ort/to_api.py`. It's setting the ORT API version to 2.0, but if the client only supports 3.0 then that needs to get updated.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] ocket8888 commented on pull request #5570: Update the Python TO client to API 3.0

Posted by GitBox <gi...@apache.org>.
ocket8888 commented on pull request #5570:
URL: https://github.com/apache/trafficcontrol/pull/5570#issuecomment-785236808


   Yeah, I was just running it locally to see if I can find the problem


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org