Skip to content

Commit

Permalink
Merge pull request #13215 from msm1992/master-aws-velocity-change
Browse files Browse the repository at this point in the history
Add velocity xml changes to support lambda content encoding
  • Loading branch information
msm1992 authored Aug 14, 2023
2 parents e67c98b + c6466d1 commit dd9e3c0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ $in_sequences.get("$resource.getUriTemplate()").get($uri)
#set( $roleRegion = $!{endpoint_config.get("amznRoleRegion")} )
#set( $resourceName = $!{resource.getAmznResourceName()} )
#set( $resourceTimeout = $!{resource.getAmznResourceTimeout()} )
#set( $isContentEncodingEnabled = $!{resource.isAmznResourceContentEncoded()} )
<class name="org.wso2.carbon.apimgt.gateway.mediators.AWSLambdaMediator">
#if( $accessKey != '' )
<property name="accessKey" value="$accessKey"/>
Expand Down Expand Up @@ -282,6 +283,9 @@ $in_sequences.get("$resource.getUriTemplate()").get($uri)
#if( $resourceTimeout != '' )
<property name="resourceTimeout" value="$resourceTimeout"/>
#end
#if( $isContentEncodingEnabled != '' )
<property name="isContentEncodingEnabled" value="$isContentEncodingEnabled"/>
#end
</class>
<loopback />
## AWS Lambda: end
Expand Down

0 comments on commit dd9e3c0

Please sign in to comment.