Skip to content

Commit

Permalink
feat(rest): new endpoint merge components
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Ali <alimuhammad@siemens.com>
  • Loading branch information
muhammadali9699 committed Jun 26, 2023
1 parent 6cba03e commit 2a31204
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ private ImportBomRequestPreparation handleImportBomRequestPreparation(ImportBomR
}

@PreAuthorize("hasAuthority('WRITE')")
@RequestMapping(value = COMPONENTS_URL + "/mergecomponents", method = RequestMethod.PUT)
@RequestMapping(value = COMPONENTS_URL + "/mergecomponents", method = RequestMethod.PATCH)
public ResponseEntity<RequestStatus> mergeComponents(
@RequestParam(value = "mergeTargetId", required = true) String mergeTargetId,
@RequestParam(value = "mergeSourceId", required = true) String mergeSourceId,
Expand Down

0 comments on commit 2a31204

Please sign in to comment.