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

Support Platform Access Token #822

Merged
merged 7 commits into from
Oct 3, 2023
Merged

Conversation

RobiNino
Copy link
Contributor

@RobiNino RobiNino commented Sep 7, 2023

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.

Breaking Changes in Access Token service:
CommonTokenParams.ExpiresIn: changed from int to *uint. Pointer to allow sending it empty, thus providing the token with the platform's default expiry. uint because it does not accept negative values.

Besides the changes above, this PR adds some missing fields to the access token structure.

@RobiNino RobiNino added safe to test Approve running integration tests on a pull request breaking change Automatically generated release notes improvement Automatically generated release notes labels Sep 7, 2023
@RobiNino RobiNino requested review from eyalbe4 and yahavi September 7, 2023 14:42
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Sep 7, 2023
access/services/accesstoken.go Show resolved Hide resolved
access/services/accesstoken.go Outdated Show resolved Hide resolved
access/services/accesstoken.go Outdated Show resolved Hide resolved
access/services/accesstoken.go Outdated Show resolved Hide resolved
@RobiNino RobiNino added the safe to test Approve running integration tests on a pull request label Sep 14, 2023
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Sep 14, 2023
@eyalbe4 eyalbe4 removed their request for review September 27, 2023 11:36
…f-access-token

# Conflicts:
#	access/services/accesstoken.go
#	tests/accesstokens_test.go
@RobiNino RobiNino added the safe to test Approve running integration tests on a pull request label Oct 2, 2023
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 2, 2023
@RobiNino RobiNino added the safe to test Approve running integration tests on a pull request label Oct 2, 2023
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Oct 2, 2023
@RobiNino RobiNino merged commit 568b467 into jfrog:dev Oct 3, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Automatically generated release notes improvement Automatically generated release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants