Skip to content

Conversation

@rSnapkoOpenOps
Copy link
Collaborator

Fixes OPS-2989.

@linear
Copy link

linear bot commented Dec 24, 2025

@rSnapkoOpenOps rSnapkoOpenOps changed the base branch from main to feat/add-integration-authorization-controller December 24, 2025 16:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new endpoint to check if a non-revoked integration authorization token exists for a given user, project, and integration combination.

  • Adds an exists method to the integration authorization service
  • Implements a new GET /exists endpoint in the controller
  • Includes comprehensive unit tests for the new functionality

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
integration-authorization.service.ts Adds exists method to check for non-revoked authorization tokens and defines the ExistsParams type
integration-authorization.controller.ts Implements GET /exists endpoint with query parameter validation and response schema
integration-authorization.service.test.ts Adds unit tests covering both true and false cases for the exists functionality

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…ion-authorization.controller.ts

Co-authored-by: Copilot <[email protected]>
@sonarqubecloud
Copy link

@rSnapkoOpenOps rSnapkoOpenOps marked this pull request as ready for review December 24, 2025 16:32
@rSnapkoOpenOps rSnapkoOpenOps marked this pull request as draft December 29, 2025 13:08
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.

2 participants