Skip to content

Commit

Permalink
Merge pull request #464 from OpsMx/OP-21889_Log_Improvements
Browse files Browse the repository at this point in the history
Op 21889 log improvements
  • Loading branch information
srikanthopsmx authored Mar 13, 2024
2 parents 8f0c260 + 5d3eb1f commit 3caad35
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,9 @@ class OpsmxOesController {
@RequestParam(value = "nameSpace", required = false) String nameSpace,
@RequestParam(value = "argoCdUrl", required = false) String argoCdUrl,
@RequestParam(value ="rolloutsEnabled", required = false) Boolean rolloutsEnabled,
@RequestParam(value ="createdStatus", required = false) Boolean createdStatus,
@RequestParam(value = "isdUrl", required = false) String isdUrl) {
Response response = opsmxOesService.agentManifestDownloadFile(type, source, source1, description, isExists, nameSpace, argoCdUrl, rolloutsEnabled, isdUrl)
Response response = opsmxOesService.agentManifestDownloadFile(type, source, source1, description, isExists, nameSpace, argoCdUrl, rolloutsEnabled, createdStatus,isdUrl)
InputStream inputStream = response.getBody().in()
try {
byte[] manifestFile = IOUtils.toByteArray(inputStream)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,10 @@ class OpsmxPlatformController {
@PathVariable("source3") String source3,
@PathVariable("source4") String source4,
@RequestParam(value = "featureType", required = false) String featureType,
@RequestParam(name = "createdStatus", required = false) boolean createdStatus,
@RequestBody(required = false) Object data) {

return opsmxPlatformService.updatePlatformResponse4(version, type, source, source1, source2, source3, source4, featureType,data)
return opsmxPlatformService.updatePlatformResponse4(version, type, source, source1, source2, source3, source4, featureType,createdStatus,data)
}

@ApiOperation(value = "download metric analysis sample template")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ interface OpsmxOesService {
@Query("nameSpace") String nameSpace,
@Query("argoCdUrl") String argoCdUrl,
@Query("rolloutsEnabled") boolean rolloutsEnabled,
@Query("createdStatus") boolean createdStatus,
@Query("isdUrl") String isdUrl)

@GET("/oes/accountsConfig/{version}/agents/{agentName}/manifest/apple/automation")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ interface OpsmxPlatformService {
@Path('source3') String source3,
@Path('source4') String source4,
@Query("featureType") String featureType,
@Query("createdStatus") boolean createdStatus,
@Body Object data)

@GET("/platformservice/{version}/argo/sampleTemplate")
Expand Down

0 comments on commit 3caad35

Please sign in to comment.