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

RepositoryTokenByUser API #739

Merged
merged 2 commits into from
Aug 12, 2022
Merged

Conversation

victor-salles
Copy link
Contributor

  • Introduces the TEST_REPOSITORY_ID environment variable, to represent the default repository used in the RepositoryTokenByUserViewSet.
  • Adds a new API that returns the RepositoryAuthorization's UUID of the relation between the logged user and the default test repository.

Creates a RepositoryTokenByUserViewSet which retrieves the user access
token based on a new environment variable named TEST_REPOSITORY_ID.
@sonarcloud
Copy link

sonarcloud bot commented Aug 12, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@coveralls
Copy link

Pull Request Test Coverage Report for Build 4663

  • 5 of 18 (27.78%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 81.105%

Changes Missing Coverage Covered Lines Changed/Added Lines %
bothub/api/v2/repository/views.py 3 16 18.75%
Totals Coverage Status
Change from base Build 4659: -0.2%
Covered Lines: 4653
Relevant Lines: 5737

💛 - Coveralls

@victor-salles victor-salles merged commit 21ba8e9 into develop Aug 12, 2022
@victor-salles victor-salles deleted the feature/repository_token_api branch August 12, 2022 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants