-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
83 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file modified
0
proxies/remote-proxy-legacy/apiproxy/policies/Eval-Quota-Result.xml
100755 → 100644
Empty file.
10 changes: 10 additions & 0 deletions
10
proxies/remote-proxy-legacy/apiproxy/policies/Lookup-Products.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<LookupCache async="false" continueOnError="false" enabled="true" name="Lookup-Products"> | ||
<DisplayName>Lookup Products</DisplayName> | ||
<CacheKey> | ||
<KeyFragment ref="request.uri"/> | ||
</CacheKey> | ||
<Scope>Exclusive</Scope> | ||
<AssignTo>productlist</AssignTo> | ||
<CacheResource>apigee-remote-service</CacheResource> | ||
</LookupCache> |
15 changes: 15 additions & 0 deletions
15
proxies/remote-proxy-legacy/apiproxy/policies/Populate-Product-List.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<PopulateCache async="false" continueOnError="false" enabled="true" name="Populate-Product-List"> | ||
<DisplayName>Populate Product List</DisplayName> | ||
<Properties/> | ||
<CacheKey> | ||
<Prefix/> | ||
<KeyFragment ref="request.uri"/> | ||
</CacheKey> | ||
<CacheResource>apigee-remote-service</CacheResource> | ||
<Scope>Exclusive</Scope> | ||
<ExpirySettings> | ||
<TimeoutInSec>120</TimeoutInSec> | ||
</ExpirySettings> | ||
<Source>response.content</Source> | ||
</PopulateCache> |
14 changes: 14 additions & 0 deletions
14
proxies/remote-proxy-legacy/apiproxy/policies/Send-Product-List.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<AssignMessage async="false" continueOnError="false" enabled="true" name="Send-Product-List"> | ||
<DisplayName>Send Product List</DisplayName> | ||
<Properties/> | ||
<Set> | ||
<Headers> | ||
<Header name="Cache-Control">no-store</Header> | ||
<Header name="Pragma">no-cache</Header> | ||
</Headers> | ||
<Payload contentType="application/json" variablePrefix="@" variableSuffix="#">@productlist#</Payload> | ||
</Set> | ||
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables> | ||
<AssignTo createNew="false" transport="http" type="response"/> | ||
</AssignMessage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file modified
0
proxies/remote-proxy-legacy/apiproxy/resources/jsc/eval-quota-result.js
100755 → 100644
Empty file.