From b3a74055ecd262b8b81b51d0ff454e4c6be0b920 Mon Sep 17 00:00:00 2001 From: BLasan Date: Thu, 12 Sep 2024 07:21:00 +0530 Subject: [PATCH] Remove: OutSequence from the velocity template --- .../resources/api_templates/velocity_template.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/distribution/resources/api_templates/velocity_template.xml b/modules/distribution/resources/api_templates/velocity_template.xml index f9e62135ea..a899fabc43 100644 --- a/modules/distribution/resources/api_templates/velocity_template.xml +++ b/modules/distribution/resources/api_templates/velocity_template.xml @@ -345,7 +345,7 @@ $in_sequences.get("$resource.getUriTemplate()").get($uri) #end - #if( $isSoapToRestMode ) + #if( $isSoapToRestMode && $endpoint_config.get("endpoint_type") == 'custom_backend' ) #foreach( $uri in $out_sequences.get("$resource.getUriTemplate()").keySet() ) $out_sequences.get("$resource.getUriTemplate()").get($uri) #end @@ -354,6 +354,7 @@ $out_sequences.get("$resource.getUriTemplate()").get($uri) #if( $responseCacheEnabled ) #end +if( $endpoint_config.get("endpoint_type") == 'custom_backend' ) #if($endpointSecurityProd.clientId && ($endpointSecurityProd.type == "oauth" || $endpointSecurityProd.type == "OAUTH")) @@ -366,7 +367,7 @@ $out_sequences.get("$resource.getUriTemplate()").get($uri) #end - +#end