diff --git a/modules/distribution/resources/api_templates/velocity_template.xml b/modules/distribution/resources/api_templates/velocity_template.xml index c302f949fd..b4d4071d82 100644 --- a/modules/distribution/resources/api_templates/velocity_template.xml +++ b/modules/distribution/resources/api_templates/velocity_template.xml @@ -244,23 +244,23 @@ $in_sequences.get("$resource.getUriTemplate()").get($uri) #else #set( $filterRegex = "PRODUCTION" ) #end - #if( $endpoint_config.get("endpoint_type") == 'custom_backend' ) + #if( $endpoint_config.get("endpoint_type") == 'sequence_backend' ) #if( $endpoint_config.get("sandbox")) - #set( $sandboxConf = $endpoint_config.get("sandbox") ) - #set( $sequenceKey = $sandboxConf.get("sequence_name")) + #set( $sequenceKey = $endpoint_config.get("sandbox") ) + #end #if( $endpoint_config.get("production")) - #set( $sandboxConf = $endpoint_config.get("production") ) - #set( $sequenceKey = $sandboxConf.get("sequence_name")) + #set( $sequenceKey = $endpoint_config.get("production") ) + @@ -364,7 +364,7 @@ $out_sequences.get("$resource.getUriTemplate()").get($uri) #if( $responseCacheEnabled ) #end -if( $endpoint_config.get("endpoint_type") != 'custom_backend' ) +#if( $endpoint_config.get("endpoint_type") != 'sequence_backend' ) #if($endpointSecurityProd.clientId && ($endpointSecurityProd.type == "oauth" || $endpointSecurityProd.type == "OAUTH"))