Skip to content

Commit

Permalink
EPMRPP-97488 merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
grabsefx committed Dec 9, 2024
1 parent 4bdfcbe commit 61826ea
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public LaunchResource getLaunchByUuid(@PathVariable String projectKey,
public LaunchResourceOld getLaunchByUuidOldTimestamp(@PathVariable String projectName,
@PathVariable String launchId, @AuthenticationPrincipal ReportPortalUser user) {
LaunchResource launch = getLaunchMessageHandler.getLaunch(launchId,
projectExtractor.extractProjectDetails(user, normalizeId(projectName))
projectExtractor.extractMembershipDetails(user, normalizeId(projectName))
);
return launchConverter.TO_RESOURCE_OLD.apply(launch);
}
Expand Down Expand Up @@ -416,7 +416,7 @@ public LaunchResource mergeLaunches(@PathVariable String projectKey,

@Transactional
@PostMapping(value = "/merge")
@PreAuthorize(ALLOWED_TO_REPORT)
@PreAuthorize(ALLOWED_TO_EDIT_PROJECT)
@ResponseStatus(OK)
@Operation(summary = "Merge set of specified launches in common one", description =
"This operation merges a set of launches into a common one. "
Expand All @@ -433,7 +433,7 @@ public LaunchResourceOld mergeLaunchesOldUuid(@PathVariable String projectName,
@Parameter(description = "Merge launches request body", required = true) @RequestBody
@Validated MergeLaunchesRQ mergeLaunchesRQ, @AuthenticationPrincipal ReportPortalUser user) {
var launchResource = mergeLaunchesHandler.mergeLaunches(
projectExtractor.extractProjectDetails(user, normalizeId(projectName)), user,
projectExtractor.extractMembershipDetails(user, normalizeId(projectName)), user,
mergeLaunchesRQ
);
return launchConverter.TO_RESOURCE_OLD.apply(launchResource);
Expand Down

0 comments on commit 61826ea

Please sign in to comment.