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

GET service_categories returns 500#5026

Merged
zrhoffman merged 1 commit intoapache:masterfrom
srijeet0406:CDN-10661
Sep 14, 2020
Merged

GET service_categories returns 500#5026
zrhoffman merged 1 commit intoapache:masterfrom
srijeet0406:CDN-10661

Conversation

@srijeet0406
Copy link
Contributor

What does this PR (Pull Request) do?

  • This PR is not related to any Issue

Which Traffic Control components are affected by this PR?

  • Traffic Ops

What is the best way to verify this PR?

Run the unit tests and API tests and make sure they pass.
Make a call to GET /api/3.0/service_categories with and without an If-Modified-Since header and make sure you get valid results (and no 500 error) on both occassions.

If this is a bug fix, what versions of Traffic Control are affected?

  • master

The following criteria are ALL met by this PR

  • This PR includes tests
  • I have explained why documentation is unnecessary
  • This PR does not include an update to CHANGELOG.md
  • This PR includes any and all required license headers
  • This PR does not include a database migration
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

@srijeet0406 srijeet0406 changed the title GET serviceCategories returns 500 GET service_categories returns 500 Sep 14, 2020
Copy link
Member

@zrhoffman zrhoffman left a comment

Choose a reason for hiding this comment

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

  • GET /api/3.0/service_categories with IMS header returns 200 response
  • Unit tests pass (the unit test failure is unrelated to this PR and I cannot reproduce it)
  • API tests pass
  • Code is formatted correctly
    LGTM

@zrhoffman zrhoffman merged commit d809e9a into apache:master Sep 14, 2020
@zrhoffman zrhoffman added regression bug a bug in existing functionality introduced by a new version tests related to tests and/or testing infrastructure TO Client (Go) related to the Go implementation of a TC client Traffic Ops related to Traffic Ops labels Sep 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

regression bug a bug in existing functionality introduced by a new version tests related to tests and/or testing infrastructure TO Client (Go) related to the Go implementation of a TC client Traffic Ops related to Traffic Ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants