Uses of Class
com.lpvs.entity.LPVSPullRequest
Package
Description
This package contains the controller classes for handling various aspects of the License Pre-Validation Service (LPVS).
This package contains repository interfaces responsible for managing data access and persistence for the application.
This package contains services responsible for various business logic and functionality
within the LPVS application.
-
Uses of LPVSPullRequest in com.lpvs.controller
Modifier and TypeMethodDescriptionstatic void
LPVSWebController.sanitizeUserInputs
(LPVSPullRequest pr) Validate and sanitize user inputs to prevent XSS attacks. -
Uses of LPVSPullRequest in com.lpvs.repository
Modifier and TypeMethodDescriptionLPVSPullRequestRepository.findLatestByPullRequestInfo
(String user, String repositoryName, String pullRequestFilesUrl, String pullRequestHead, String pullRequestBase, String sender, String status) Retrieves the latest LPVSPullRequest entity based on the provided criteria.Modifier and TypeMethodDescriptionLPVSPullRequestRepository.findByPullRequestBase
(String name) Find all pull requests with the specified base name.org.springframework.data.domain.Page<LPVSPullRequest>
LPVSPullRequestRepository.findByPullRequestBase
(String name, org.springframework.data.domain.Pageable pageable) Find all pull requests with the specified base name, paginated.LPVSPullRequestRepository.findBySenderOrPullRequestHead
(String name) Find all pull requests with the specified sender or pull request head.org.springframework.data.domain.Page<LPVSPullRequest>
LPVSPullRequestRepository.findBySenderOrPullRequestHead
(String name, org.springframework.data.domain.Pageable pageable) Find all pull requests with the specified sender or pull request head, paginated.Modifier and TypeMethodDescriptionLPVSDetectedLicenseRepository.countByPullRequestAndLicenseIsNotNull
(LPVSPullRequest pr) Count the number of detected licenses associated with a specific pull request where the license is not null.LPVSDetectedLicenseRepository.existsByIssueIsTrueAndPullRequest
(LPVSPullRequest pr) Check if there is at least one detected license associated with a specific pull request and marked as an issue.LPVSDetectedLicenseRepository.findByPullRequest
(LPVSPullRequest lpvsPullRequest) Find all detected licenses associated with a specific pull request.org.springframework.data.domain.Page<LPVSDetectedLicense>
LPVSDetectedLicenseRepository.findByPullRequest
(LPVSPullRequest lpvsPullRequest, org.springframework.data.domain.Pageable pageable) Find a paginated list of detected licenses associated with a specific pull request.LPVSDetectedLicenseRepository.findByPullRequestAndLicenseIsNotNull
(LPVSPullRequest pr) Find detected licenses associated with a specific pull request where the license is not null.LPVSDetectedLicenseRepository.findDistinctLicenseByPullRequest
(LPVSPullRequest pr) Find distinct licenses associated with a specific pull request. -
Uses of LPVSPullRequest in com.lpvs.service
Modifier and TypeMethodDescriptionLPVSStatisticsService.pathCheck
(String type, String name, org.springframework.security.core.Authentication authentication) Performs a path check based on the specified type and name.Modifier and TypeMethodDescriptionvoid
LPVSGitHubService.commentResults
(LPVSQueue webhookConfig, List<LPVSFile> scanResults, List<LPVSLicenseService.Conflict<String, String>> conflicts, LPVSPullRequest lpvsPullRequest) Comments on the pull request with the scan results and detected issues.