Skip to content

Commit

Permalink
Merge pull request #382 from OpsMx/Feature/OP-20591-v4.0
Browse files Browse the repository at this point in the history
OP-20591 : Added mapping URLs for current and previous deployment APIs
  • Loading branch information
srikanthopsmx authored Jun 22, 2023
2 parents 7337757 + e690fb2 commit dcfa0e9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,14 @@ class OpsmxSsdController {
@PathVariable("source2") String source2,
@RequestParam(value = "appId", required = false) Integer appId,
@RequestParam(value = "image", required = false) String image,
@RequestParam(value = "appName", required = false) String appName) {
return opsMxSsdService.getSddResponse4(version, type, source, source1, source2, appId, image, appName)
@RequestParam(value = "appName", required = false) String appName,
@RequestParam(value = "pageNo", required = false) Integer pageNo,
@RequestParam(value = "pageLimit", required = false) Integer pageLimit,
@RequestParam(value = "sortBy", required = false) String sortBy,
@RequestParam(value = "sortOrder", required = false) String sortOrder,
@RequestParam(value = "search", required = false) String search,
@RequestParam(value = "noOfDays", required = false) Integer noOfDays) {
return opsMxSsdService.getSddResponse4(version, type, source, source1, source2, appId, image, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays)
}

@ApiOperation(value = "Endpoint for ssd services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ interface OpsmxSsdService {
@Path('source2') String source2,
@Query("appId") Integer appId,
@Query("image") String image,
@Query("appName") String appName)
@Query("appName") String appName,
@Query("pageNo") Integer pageNo,
@Query("pageLimit") Integer pageLimit,
@Query("sortBy") String sortBy,
@Query("sortOrder") String sortOrder,
@Query("search") String search,
@Query("noOfDays") Integer noOfDays)

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

0 comments on commit dcfa0e9

Please sign in to comment.