Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth token creation option #148

Merged
merged 7 commits into from
Feb 26, 2020
Merged

Auth token creation option #148

merged 7 commits into from
Feb 26, 2020

Conversation

joe94
Copy link
Member

@joe94 joe94 commented Feb 25, 2020

No description provided.

@joe94 joe94 self-assigned this Feb 25, 2020
@joe94 joe94 added this to In progress in XMiDT via automation Feb 25, 2020
@joe94
Copy link
Member Author

joe94 commented Feb 25, 2020

Fixes #140

@joe94 joe94 linked an issue Feb 25, 2020 that may be closed by this pull request
@codecov-io
Copy link

codecov-io commented Feb 25, 2020

Codecov Report

Merging #148 into master will decrease coverage by 0.78%.
The diff coverage is 81.25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #148      +/-   ##
==========================================
- Coverage   78.33%   77.54%   -0.79%     
==========================================
  Files          11       11              
  Lines         420      432      +12     
==========================================
+ Hits          329      335       +6     
- Misses         89       92       +3     
- Partials        2        5       +3
Impacted Files Coverage Δ
translation/service.go 81.81% <78.94%> (-18.19%) ⬇️
stat/service.go 86.66% <84.61%> (-13.34%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09add2d...213e151. Read the comment docs.

Copy link
Contributor

@kristinapathak kristinapathak left a comment

Choose a reason for hiding this comment

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

A few small things. Everything else looks great!

go.sum Show resolved Hide resolved
stat/service.go Outdated
@@ -35,17 +39,26 @@ type service struct {
//request to the XMiDT API and return only data we care about
common.Tr1d1umTransactor

acquire.Acquirer

XmidtStatURL string
Copy link
Contributor

Choose a reason for hiding this comment

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

I know this isn't a part of your pr, but why is this public?

Comment on lines 51 to 53
XmidtWrpURL string

WRPSource string
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar to my previous comment, I'm not sure why these are public?

main.go Outdated Show resolved Hide resolved
joe94 and others added 2 commits February 25, 2020 13:50
Co-Authored-By: kristinaspring <kmspring57@gmail.com>
Copy link
Contributor

@kristinapathak kristinapathak left a comment

Choose a reason for hiding this comment

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

looks great!

@joe94 joe94 merged commit 29afad0 into master Feb 26, 2020
XMiDT automation moved this from In progress to Done Feb 26, 2020
@joe94 joe94 deleted the feature/tokenCreation branch February 26, 2020 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
XMiDT
  
Done
Development

Successfully merging this pull request may close these issues.

Create new token to communicate with scytale
4 participants