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

Rewrote /user/logout to Go#3903

Merged
mitchell852 merged 2 commits into
apache:masterfrom
ocket8888:user-logout-go
Oct 4, 2019
Merged

Rewrote /user/logout to Go#3903
mitchell852 merged 2 commits into
apache:masterfrom
ocket8888:user-logout-go

Conversation

@ocket8888
Copy link
Copy Markdown
Contributor

What does this PR (Pull Request) do?

Rewrote /user/logout to Go

Which Traffic Control components are affected by this PR?

  • Traffic Ops

functionality is not changing, so no docs

What is the best way to verify this PR?

Authenticate as normal, then just logout. Normally, this would be done in Traffic Portal through the button on the sidebar. Then just observe that you're not authenticated - no endpoints (except /ping ) should respond with anything other than an "Unauthenticated" error

The following criteria are ALL met by this PR

  • This PR includes tests
  • I have explained why documentation is unnecessary
  • This PR includes 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

@ocket8888 ocket8888 added Traffic Ops related to Traffic Ops tech debt rework due to choosing easy/limited solution labels Sep 5, 2019
@ocket8888 ocket8888 added this to the Go Rewrite milestone Sep 5, 2019
@asf-ci
Copy link
Copy Markdown
Contributor

asf-ci commented Sep 5, 2019

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

@ocket8888 ocket8888 marked this pull request as ready for review September 6, 2019 17:24
@ocket8888 ocket8888 added the tests related to tests and/or testing infrastructure label Sep 6, 2019
@asf-ci
Copy link
Copy Markdown
Contributor

asf-ci commented Sep 6, 2019

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

Copy link
Copy Markdown
Contributor

@mhoppa mhoppa left a comment

Choose a reason for hiding this comment

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

one very minor nit comment - feel free to ignore.

Pulled locally and tested great.

Only other consideration would be if this warrants an API test or not

Comment thread traffic_ops/traffic_ops_golang/login/logout_test.go Outdated
Comment thread traffic_ops/traffic_ops_golang/login/logout_test.go Outdated
@asf-ci
Copy link
Copy Markdown
Contributor

asf-ci commented Sep 27, 2019

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

@asf-ci
Copy link
Copy Markdown
Contributor

asf-ci commented Oct 3, 2019

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

@mitchell852 mitchell852 merged commit 67ee2e8 into apache:master Oct 4, 2019
@ocket8888 ocket8888 deleted the user-logout-go branch October 4, 2019 15:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tech debt rework due to choosing easy/limited solution tests related to tests and/or testing infrastructure Traffic Ops related to Traffic Ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rewrite /user/logout to Go

4 participants