From 42d94416567ce7c43a190fb9eabe3958aa99bb3e Mon Sep 17 00:00:00 2001 From: David Radley Date: Sun, 27 Nov 2022 22:11:29 +0000 Subject: [PATCH] git7140 match client to server endpoints Signed-off-by: David Radley --- .../assetmanager/client/SchemaExchangeClientBase.java | 2 +- .../assetmanager/server/spring/SchemaExchangeResource.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/open-metadata-implementation/access-services/asset-manager/asset-manager-client/src/main/java/org/odpi/openmetadata/accessservices/assetmanager/client/SchemaExchangeClientBase.java b/open-metadata-implementation/access-services/asset-manager/asset-manager-client/src/main/java/org/odpi/openmetadata/accessservices/assetmanager/client/SchemaExchangeClientBase.java index 7b7c08db9b1..5e39ed5c7c9 100644 --- a/open-metadata-implementation/access-services/asset-manager/asset-manager-client/src/main/java/org/odpi/openmetadata/accessservices/assetmanager/client/SchemaExchangeClientBase.java +++ b/open-metadata-implementation/access-services/asset-manager/asset-manager-client/src/main/java/org/odpi/openmetadata/accessservices/assetmanager/client/SchemaExchangeClientBase.java @@ -941,7 +941,7 @@ public void updateSchemaAttribute(String userId, methodName)); requestBody.setEffectiveTime(effectiveTime); - final String urlTemplate = serverPlatformURLRoot + urlTemplatePrefix + "/schema-attribute/{2}?isMergeUpdate={3}&forLineage={4}&forDuplicateProcessing={5}"; + final String urlTemplate = serverPlatformURLRoot + urlTemplatePrefix + "/schema-attributes/{2}?isMergeUpdate={3}&forLineage={4}&forDuplicateProcessing={5}"; restClient.callVoidPostRESTCall(methodName, urlTemplate, diff --git a/open-metadata-implementation/access-services/asset-manager/asset-manager-spring/src/main/java/org/odpi/openmetadata/accessservices/assetmanager/server/spring/SchemaExchangeResource.java b/open-metadata-implementation/access-services/asset-manager/asset-manager-spring/src/main/java/org/odpi/openmetadata/accessservices/assetmanager/server/spring/SchemaExchangeResource.java index d9a13a13462..6bb51203ecc 100644 --- a/open-metadata-implementation/access-services/asset-manager/asset-manager-spring/src/main/java/org/odpi/openmetadata/accessservices/assetmanager/server/spring/SchemaExchangeResource.java +++ b/open-metadata-implementation/access-services/asset-manager/asset-manager-spring/src/main/java/org/odpi/openmetadata/accessservices/assetmanager/server/spring/SchemaExchangeResource.java @@ -408,7 +408,7 @@ public ElementHeaderResponse getSchemaTypeParent(@PathVariable String * UserNotAuthorizedException the user is not authorized to issue this request * PropertyServerException there is a problem reported in the open metadata server(s) */ - @PostMapping(path = "/schema-elements/{schemaElementGUID}/schema-attribute") + @PostMapping(path = "/schema-elements/{schemaElementGUID}/schema-attributes") public GUIDResponse createSchemaAttribute(@PathVariable String serverName, @PathVariable String userId,