From b951a0334f12bbc81b27a37f92baab257950a56a Mon Sep 17 00:00:00 2001 From: vivek-opsmx Date: Fri, 12 Jan 2024 14:13:30 +0530 Subject: [PATCH] renamed namespace to nameSpace. --- .../spinnaker/gate/controllers/OpsmxPlatformController.groovy | 4 ++-- .../gate/services/internal/OpsmxPlatformService.groovy | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/OpsmxPlatformController.groovy b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/OpsmxPlatformController.groovy index 900787828b..d5e1c09d96 100644 --- a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/OpsmxPlatformController.groovy +++ b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/OpsmxPlatformController.groovy @@ -325,7 +325,7 @@ class OpsmxPlatformController { @PathVariable("source1") String source1, @RequestParam(value = "isExists", required = false) Boolean isExists, @RequestParam(value = "description", required = false) String description, - @RequestParam(value = "namespace", required = false) String namespace, + @RequestParam(value = "nameSpace", required = false) String nameSpace, @RequestParam(value = "argoCdUrl", required = false) String argoCdUrl, @RequestParam(value = "rolloutsEnabled", required = false) Boolean rolloutsEnabled, @RequestParam(value = "isdUrl", required = false) String isdUrl, @@ -333,7 +333,7 @@ class OpsmxPlatformController { @RequestParam(value = "agentName",required = false) String agentName, @RequestBody(required = false) Object data) { - return opsmxPlatformService.postPlatformResponse4(version, type, source, source1, isExists, description, namespace, argoCdUrl, rolloutsEnabled, isdUrl, argoName, agentName, data) + return opsmxPlatformService.postPlatformResponse4(version, type, source, source1, isExists, description, nameSpace, argoCdUrl, rolloutsEnabled, isdUrl, argoName, agentName, data) } @ApiOperation(value = "Endpoint for platform rest services") diff --git a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/internal/OpsmxPlatformService.groovy b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/internal/OpsmxPlatformService.groovy index 21697473b9..246d97d35b 100644 --- a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/internal/OpsmxPlatformService.groovy +++ b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/internal/OpsmxPlatformService.groovy @@ -178,7 +178,7 @@ interface OpsmxPlatformService { @Path('source1') String source1, @Query(value = "isExists") Boolean isExists, @Query(value = "description") String description, - @Query(value = "namespace") String namespace, + @Query(value = "nameSpace") String nameSpace, @Query(value = "argoCdUrl") String argoCdUrl, @Query(value = "rolloutsEnabled") Boolean rolloutsEnabled, @Query(value = "isdUrl") String isdUrl,