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

Fix Traffic Ops GET statuses to allow null descriptions#3148

Merged
rawlinp merged 3 commits intoapache:masterfrom
rob05c:to-status-null-desc-fix
Mar 4, 2019
Merged

Fix Traffic Ops GET statuses to allow null descriptions#3148
rawlinp merged 3 commits intoapache:masterfrom
rob05c:to-status-null-desc-fix

Conversation

@rob05c
Copy link
Member

@rob05c rob05c commented Dec 19, 2018

What does this PR do?

Fix Traffic Ops GET statuses to allow null descriptions

Includes API Tests.

Which TC components are affected by this PR?

  • Documentation
  • Grove
  • Traffic Analytics
  • Traffic Monitor
  • Traffic Ops
  • Traffic Ops ORT
  • Traffic Portal
  • Traffic Router
  • Traffic Stats
  • Traffic Vault
  • Other _________

What is the best way to verify this PR?

Run API tests. Create a status with a null description, and call GET /statuses.

Check all that apply

  • This PR includes tests
  • This PR includes documentation updates
  • This PR includes an update to CHANGELOG.md
  • This PR includes all required license headers
  • This PR includes a database migration (ensure that migration sequence is correct)
  • This PR fixes a serious security flaw. Read more: www.apache.org/security

@rob05c rob05c added bug something isn't working as intended Traffic Ops related to Traffic Ops labels Dec 19, 2018
@asfgit
Copy link
Contributor

asfgit commented Dec 19, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2975/
Test PASSed.

@mitchell852 mitchell852 self-assigned this Dec 21, 2018
Copy link
Contributor

@rawlinp rawlinp left a comment

Choose a reason for hiding this comment

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

Code looks good, API tests pass, manual tests pass. Please rebase this so I can merge.

rob05c added 3 commits March 3, 2019 11:40
Allows creating a status with a null description.

Necessary to create an API Test to get a status with a null desc.
@rob05c rob05c force-pushed the to-status-null-desc-fix branch from c7b5cb5 to 5ed7a4c Compare March 3, 2019 18:40
@asfgit
Copy link
Contributor

asfgit commented Mar 3, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3286/
Test PASSed.

@rawlinp rawlinp merged commit 875970a into apache:master Mar 4, 2019
zrhoffman added a commit to zrhoffman/trafficcontrol that referenced this pull request Dec 6, 2021
zrhoffman added a commit to zrhoffman/trafficcontrol that referenced this pull request Dec 6, 2021
@zrhoffman zrhoffman mentioned this pull request Dec 8, 2021
4 tasks
ocket8888 pushed a commit that referenced this pull request Dec 8, 2021
* Use latest module versions
    rm go.mod
    go mod init
    go mod tidy

* Add license pointer for go.uber.org/atomic

* Remove null Status description workaround from #3148 now that jmoiron/sqlx#429 is merged

* Do not downgrade anything
    go get github.com/basho/riak-go-client@5587c16e0b8b \
           github.com/dgrijalva/jwt-go@5e25c22bd5d6 \
           github.com/kylelemons/godebug@e693023230a4
    go mod tidy

* Revendor dependencies
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug something isn't working as intended Traffic Ops related to Traffic Ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants