From 02494558796b64ee3bae614362ad09aa16f20d64 Mon Sep 17 00:00:00 2001 From: David Radley Date: Fri, 25 Nov 2022 14:35:50 +0000 Subject: [PATCH] git7136 amend getSchemTypeElement client call Signed-off-by: David Radley --- .../assetmanager/client/SchemaExchangeClientBase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 515d4dfbe98..7b7c08db9b1 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 @@ -569,13 +569,14 @@ public SchemaTypeElement getSchemaTypeForElement(String userId, invalidParameterHandler.validateUserId(userId, methodName); invalidParameterHandler.validateGUID(parentElementGUID, guidParameterName, methodName); - final String urlTemplate = serverPlatformURLRoot + urlTemplatePrefix + "/parents/{2}/schema-types/retrieve?forLineage={3}&forDuplicateProcessing={4}"; + final String urlTemplate = serverPlatformURLRoot + urlTemplatePrefix + "/parents/{2}/{3}/schema-types/retrieve?forLineage={4}&forDuplicateProcessing={5}"; SchemaTypeElementResponse restResult = restClient.callSchemaTypePostRESTCall(methodName, urlTemplate, getEffectiveTimeQueryRequestBody(assetManagerGUID, assetManagerName, effectiveTime), serverName, userId, + parentElementTypeName, parentElementGUID, forLineage, forDuplicateProcessing);