serverless-api-gateway-caching
Advanced tools
Comparing version 1.10.0 to 1.10.1-rc1
@@ -0,0 +0,0 @@ { |
{ | ||
"name": "serverless-api-gateway-caching", | ||
"version": "1.10.0", | ||
"version": "1.10.1-rc1", | ||
"description": "A plugin for the serverless framework which helps with configuring caching for API Gateway endpoints.", | ||
@@ -5,0 +5,0 @@ "main": "src/apiGatewayCachingPlugin.js", |
@@ -0,0 +0,0 @@ # serverless-api-gateway-caching |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ const get = require('lodash.get'); |
@@ -0,0 +0,0 @@ const getResourcesByName = (name, serverless) => { |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -90,10 +90,12 @@ const isEmpty = require('lodash.isempty'); | ||
if (endpointSettings.inheritCloudWatchSettingsFromStage) { | ||
if (endpointSettings.inheritCloudWatchSettingsFromStage && stageState.methodSettings['*/*']) { | ||
if (stageState.methodSettings['*/*'].loggingLevel) { | ||
patch.push({ | ||
op: 'replace', | ||
path: `/${patchPath}/logging/loglevel`, | ||
value: stageState.methodSettings['*/*'].loggingLevel, | ||
}); | ||
} | ||
patch.push({ | ||
op: 'replace', | ||
path: `/${patchPath}/logging/loglevel`, | ||
value: stageState.methodSettings['*/*'].loggingLevel, | ||
}); | ||
patch.push({ | ||
op: 'replace', | ||
path: `/${patchPath}/logging/dataTrace`, | ||
@@ -100,0 +102,0 @@ value: stageState.methodSettings['*/*'].dataTraceEnabled ? 'true' : 'false', |
@@ -0,0 +0,0 @@ module.exports = { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
48117
691
2