Skip to content

Commit

Permalink
Merge pull request #422 from OpsMx/OP-21153-v4.1
Browse files Browse the repository at this point in the history
OP-21153 : Added new query param for application DBOM
  • Loading branch information
srikanthopsmx authored Sep 22, 2023
2 parents 1e4b580 + 4294252 commit a904e84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,9 @@ class OpsmxSsdController {
@RequestParam(value = "ComponentVersion", required = false) String ComponentVersion,
@RequestParam(value = "fromApp", required = false) String fromApp,
@RequestParam(value = "service", required = false) String service,
@RequestParam(value = "toApp", required = false) String toApp) {
return opsMxSsdService.getSddResponse4(version, type, source, source1, source2, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, id, fromImage, toImage, fromImageTag, toImageTag, fromAccount, toAccount, kind, active, Vulnerability, Component, ComponentVersion,fromApp,service,toApp)
@RequestParam(value = "toApp", required = false) String toApp,
@RequestParam(value = "dbomType", required = false) String dbomType) {
return opsMxSsdService.getSddResponse4(version, type, source, source1, source2, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, id, fromImage, toImage, fromImageTag, toImageTag, fromAccount, toAccount, kind, active, Vulnerability, Component, ComponentVersion,fromApp,service,toApp, dbomType)
}

@ApiOperation(value = "Endpoint for ssd services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ interface OpsmxSsdService {
@Query("ComponentVersion") String ComponentVersion,
@Query("fromApp") String fromApp,
@Query("service") String service,
@Query("toApp") String toApp)
@Query("toApp") String toApp,
@Query("dbomType") String dbomType)

@GET("/ssdservice/{version}/{type}/{source}/{source1}/{source2}/{source3}")
Object getSddResponse5(@Path('version') String version,
@Path('type') String type,
Expand Down

0 comments on commit a904e84

Please sign in to comment.