@gradientedge/cdk-utils 9.68.0 → 9.69.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/lib/azure/common/constants.js +1 -1
- package/dist/src/lib/azure/services/api-management/main.js +1 -1
- package/dist/src/lib/azure/services/api-management/types.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/azure/common/constants.ts +1 -1
- package/src/lib/azure/services/api-management/main.ts +1 -1
- package/src/lib/azure/services/api-management/types.ts +1 -1
|
@@ -9,4 +9,4 @@ var AzureRemoteBackend;
|
|
|
9
9
|
/**
|
|
10
10
|
* List of Azure resources that excludes tags
|
|
11
11
|
*/
|
|
12
|
-
exports.RESOURCES_TO_EXCLUDE_TAGS = new Set(['ApiManagementNamedValue', 'Application']);
|
|
12
|
+
exports.RESOURCES_TO_EXCLUDE_TAGS = new Set(['ApiManagementNamedValue', 'Application', 'ServicePrincipal']);
|
|
@@ -289,7 +289,7 @@ class AzureApiManagementManager {
|
|
|
289
289
|
<!-- Store the response body in cache -->
|
|
290
290
|
<choose>
|
|
291
291
|
<when condition="@(context.Response.StatusCode == 200)">
|
|
292
|
-
<cache-store-value key="@((string)context.Variables["customCacheKey"])" value="@(context.Response.Body.As<string>(preserveContent: true))" duration="${props.caching.
|
|
292
|
+
<cache-store-value key="@((string)context.Variables["customCacheKey"])" value="@(context.Response.Body.As<string>(preserveContent: true))" duration="${props.caching.ttlInSecs ?? 900}" />
|
|
293
293
|
<!-- Add cache status header -->
|
|
294
294
|
<set-header name="X-Apim-Cache-Status" exists-action="override">
|
|
295
295
|
<value>MISS</value>
|
package/package.json
CHANGED
|
@@ -6,4 +6,4 @@ export enum AzureRemoteBackend {
|
|
|
6
6
|
/**
|
|
7
7
|
* List of Azure resources that excludes tags
|
|
8
8
|
*/
|
|
9
|
-
export const RESOURCES_TO_EXCLUDE_TAGS = new Set(['ApiManagementNamedValue', 'Application'])
|
|
9
|
+
export const RESOURCES_TO_EXCLUDE_TAGS = new Set(['ApiManagementNamedValue', 'Application', 'ServicePrincipal'])
|
|
@@ -352,7 +352,7 @@ export class AzureApiManagementManager {
|
|
|
352
352
|
<!-- Store the response body in cache -->
|
|
353
353
|
<choose>
|
|
354
354
|
<when condition="@(context.Response.StatusCode == 200)">
|
|
355
|
-
<cache-store-value key="@((string)context.Variables["customCacheKey"])" value="@(context.Response.Body.As<string>(preserveContent: true))" duration="${props.caching.
|
|
355
|
+
<cache-store-value key="@((string)context.Variables["customCacheKey"])" value="@(context.Response.Body.As<string>(preserveContent: true))" duration="${props.caching.ttlInSecs ?? 900}" />
|
|
356
356
|
<!-- Add cache status header -->
|
|
357
357
|
<set-header name="X-Apim-Cache-Status" exists-action="override">
|
|
358
358
|
<value>MISS</value>
|