From 38015188c98b448d8a37d775b4db2f3df2c590a5 Mon Sep 17 00:00:00 2001 From: Abhishek Patil Date: Tue, 24 Oct 2023 10:01:30 -0400 Subject: [PATCH] Update to version 5.4.4 --- CHANGELOG.md | 8 ++++++++ lambda/aws-sdk-layer/package-lock.json | 4 ++-- lambda/aws-sdk-layer/package.json | 2 +- lambda/cfn-lambda-layer/package-lock.json | 4 ++-- lambda/cfn-lambda-layer/package.json | 2 +- lambda/cfn/package-lock.json | 4 ++-- lambda/cfn/package.json | 2 +- lambda/common-modules-layer/package-lock.json | 4 ++-- lambda/common-modules-layer/package.json | 2 +- lambda/connect/package-lock.json | 4 ++-- lambda/connect/package.json | 2 +- lambda/es-proxy-layer/package-lock.json | 10 +++++----- lambda/es-proxy-layer/package.json | 2 +- lambda/export/lib/clean.js | 3 ++- lambda/export/lib/join.js | 3 ++- lambda/export/package-lock.json | 4 ++-- lambda/export/package.json | 2 +- lambda/fulfillment/lib/middleware/2_preprocess.js | 2 +- lambda/fulfillment/lib/middleware/5_assemble.js | 3 ++- lambda/fulfillment/lib/middleware/sentiment.js | 3 ++- lambda/fulfillment/package-lock.json | 4 ++-- lambda/fulfillment/package.json | 2 +- lambda/genesys/package-lock.json | 4 ++-- lambda/genesys/package.json | 2 +- lambda/import/package-lock.json | 4 ++-- lambda/import/package.json | 2 +- lambda/js_lambda_hook_sdk/package-lock.json | 4 ++-- lambda/js_lambda_hook_sdk/package.json | 2 +- lambda/lex-build/lib/wait.js | 3 ++- lambda/lex-build/package-lock.json | 4 ++-- lambda/lex-build/package.json | 2 +- lambda/proxy-es/package-lock.json | 4 ++-- lambda/proxy-es/package.json | 2 +- lambda/qnabot-common-layer/package-lock.json | 4 ++-- lambda/qnabot-common-layer/package.json | 2 +- lambda/schema/package-lock.json | 4 ++-- lambda/schema/package.json | 2 +- lambda/testall/lib/lex.js | 1 + lambda/testall/lib/load.js | 1 + lambda/testall/lib/start.js | 1 + lambda/testall/lib/step.js | 1 + lambda/testall/package-lock.json | 4 ++-- lambda/testall/package.json | 2 +- lambda/translate/package-lock.json | 4 ++-- lambda/translate/package.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- source/aws_solutions/core/logging.py | 1 - templates/examples/examples/package-lock.json | 4 ++-- templates/examples/examples/package.json | 2 +- .../CreateRecentTopicsResponse/package-lock.json | 4 ++-- .../CreateRecentTopicsResponse/package.json | 2 +- .../js_lambda_hooks/CustomJSHook/package-lock.json | 4 ++-- .../js_lambda_hooks/CustomJSHook/package.json | 2 +- .../py_lambda_hooks/CanvasLMSHook/requirements.txt | 1 - .../examples/extensions/ui_imports/package-lock.json | 4 ++-- templates/examples/extensions/ui_imports/package.json | 2 +- 57 files changed, 92 insertions(+), 77 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56515c12..60de6a0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [5.4.4] - 2023-10-24 + ### Updated + - Security patch for urllib3 + + ### Fixed +- Fixed fulfillment throws an exception when a Preprocessing Lambda Hook is configured([issue #651](https://github.com/aws-solutions/qnabot-on-aws/issues/651)) +- Improved error handling + ## [5.4.3] - 2023-10-13 ### Fixed - Fixed issue where Alexa schema was not exporting the utterances list. diff --git a/lambda/aws-sdk-layer/package-lock.json b/lambda/aws-sdk-layer/package-lock.json index 155904f4..d66feaf7 100644 --- a/lambda/aws-sdk-layer/package-lock.json +++ b/lambda/aws-sdk-layer/package-lock.json @@ -1,12 +1,12 @@ { "name": "aws-layer", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "aws-layer", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "aws-sdk": "^2.1404.0", diff --git a/lambda/aws-sdk-layer/package.json b/lambda/aws-sdk-layer/package.json index 86262696..6303c650 100644 --- a/lambda/aws-sdk-layer/package.json +++ b/lambda/aws-sdk-layer/package.json @@ -1,6 +1,6 @@ { "name": "aws-layer", - "version": "5.4.3", + "version": "5.4.4", "description": "QnABot Lambda aws-sdk-layer", "main": "index.js", "scripts": { diff --git a/lambda/cfn-lambda-layer/package-lock.json b/lambda/cfn-lambda-layer/package-lock.json index dc49c872..40715e67 100644 --- a/lambda/cfn-lambda-layer/package-lock.json +++ b/lambda/cfn-lambda-layer/package-lock.json @@ -1,12 +1,12 @@ { "name": "cfn-lambda-layer", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "cfn-lambda-layer", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "cfn-lambda": "^5.1.0" diff --git a/lambda/cfn-lambda-layer/package.json b/lambda/cfn-lambda-layer/package.json index 86cc9b6e..f8a5cdb1 100644 --- a/lambda/cfn-lambda-layer/package.json +++ b/lambda/cfn-lambda-layer/package.json @@ -1,6 +1,6 @@ { "name": "cfn-lambda-layer", - "version": "5.4.3", + "version": "5.4.4", "description": "QnABot Cfn Lambda Layer", "main": "index.js", "scripts": { diff --git a/lambda/cfn/package-lock.json b/lambda/cfn/package-lock.json index c470a8ac..8cbf0769 100644 --- a/lambda/cfn/package-lock.json +++ b/lambda/cfn/package-lock.json @@ -1,12 +1,12 @@ { "name": "cfn", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "cfn", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "aws-sdk": "^2.1404.0", diff --git a/lambda/cfn/package.json b/lambda/cfn/package.json index dc63bb59..f818ab15 100644 --- a/lambda/cfn/package.json +++ b/lambda/cfn/package.json @@ -1,6 +1,6 @@ { "name": "cfn", - "version": "5.4.3", + "version": "5.4.4", "description": "QnABot Cfn Lambda", "main": "index.js", "scripts": { diff --git a/lambda/common-modules-layer/package-lock.json b/lambda/common-modules-layer/package-lock.json index 163d503a..81d626a1 100644 --- a/lambda/common-modules-layer/package-lock.json +++ b/lambda/common-modules-layer/package-lock.json @@ -1,12 +1,12 @@ { "name": "common-modules-layer", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "common-modules-layer", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "bluebird": "^3.7.2", diff --git a/lambda/common-modules-layer/package.json b/lambda/common-modules-layer/package.json index 825f3915..65db34e8 100644 --- a/lambda/common-modules-layer/package.json +++ b/lambda/common-modules-layer/package.json @@ -1,6 +1,6 @@ { "name": "common-modules-layer", - "version": "5.4.3", + "version": "5.4.4", "description": "QnABot Common-modules-layer lambda", "main": "index.js", "scripts": { diff --git a/lambda/connect/package-lock.json b/lambda/connect/package-lock.json index ca2d7a87..00515880 100644 --- a/lambda/connect/package-lock.json +++ b/lambda/connect/package-lock.json @@ -1,12 +1,12 @@ { "name": "connect", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "connect", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "devDependencies": { "jest": "^29.7.0" diff --git a/lambda/connect/package.json b/lambda/connect/package.json index bc312974..102dac13 100644 --- a/lambda/connect/package.json +++ b/lambda/connect/package.json @@ -1,6 +1,6 @@ { "name": "connect", - "version": "5.4.3", + "version": "5.4.4", "description": "Lambda function used to support the Connect setup wizard", "repository": { "type": "git", diff --git a/lambda/es-proxy-layer/package-lock.json b/lambda/es-proxy-layer/package-lock.json index 0aa77443..00502b68 100644 --- a/lambda/es-proxy-layer/package-lock.json +++ b/lambda/es-proxy-layer/package-lock.json @@ -1,12 +1,12 @@ { "name": "proxy-es", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "proxy-es", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "@dqbd/tiktoken": "^1.0.7", @@ -703,9 +703,9 @@ } }, "node_modules/zod": { - "version": "3.21.4", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.21.4.tgz", - "integrity": "sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==", + "version": "3.22.4", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz", + "integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==", "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/lambda/es-proxy-layer/package.json b/lambda/es-proxy-layer/package.json index a421b47e..9685334d 100644 --- a/lambda/es-proxy-layer/package.json +++ b/lambda/es-proxy-layer/package.json @@ -1,6 +1,6 @@ { "name": "proxy-es", - "version": "5.4.3", + "version": "5.4.4", "description": "QnABot Lambda managing querying of data store", "main": "index.js", "author": { diff --git a/lambda/export/lib/clean.js b/lambda/export/lib/clean.js index 7d619967..e6e97c35 100644 --- a/lambda/export/lib/clean.js +++ b/lambda/export/lib/clean.js @@ -31,6 +31,7 @@ module.exports = async function (config) { } config.status = 'Completed'; } catch (error) { - console.error("An error occured while cleaning S3 objects: ", error) + console.error("An error occured while cleaning S3 objects: ", error); + throw error; } }; diff --git a/lambda/export/lib/join.js b/lambda/export/lib/join.js index 0a4fff01..b41be77e 100644 --- a/lambda/export/lib/join.js +++ b/lambda/export/lib/join.js @@ -35,6 +35,7 @@ module.exports=async function(config){ }).promise() config.status='Clean' } catch (error) { - console.error("An error occurred while joining parts", error) + console.error("An error occurred while joining parts", error); + throw error; } } \ No newline at end of file diff --git a/lambda/export/package-lock.json b/lambda/export/package-lock.json index dd5fba32..daba02ff 100644 --- a/lambda/export/package-lock.json +++ b/lambda/export/package-lock.json @@ -1,12 +1,12 @@ { "name": "import", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "import", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "bluebird": "^3.5.1", diff --git a/lambda/export/package.json b/lambda/export/package.json index c311c2b9..32315b13 100644 --- a/lambda/export/package.json +++ b/lambda/export/package.json @@ -1,6 +1,6 @@ { "name": "import", - "version": "5.4.3", + "version": "5.4.4", "description": "QnABot Lambda handling export of QIDs", "main": "index.js", "author": { diff --git a/lambda/fulfillment/lib/middleware/2_preprocess.js b/lambda/fulfillment/lib/middleware/2_preprocess.js index fb0bd73d..d4b53b4c 100644 --- a/lambda/fulfillment/lib/middleware/2_preprocess.js +++ b/lambda/fulfillment/lib/middleware/2_preprocess.js @@ -98,7 +98,7 @@ async function runPreProcessLambda(req, res) { }); const lambdaResultReq = result.req; const lambdaResultRes = result.res; - return { lambdaResultReq, lambdaResultRes }; + return { "req": lambdaResultReq, "res": lambdaResultRes }; } } return { req, res }; diff --git a/lambda/fulfillment/lib/middleware/5_assemble.js b/lambda/fulfillment/lib/middleware/5_assemble.js index 60f42d6f..6983c793 100644 --- a/lambda/fulfillment/lib/middleware/5_assemble.js +++ b/lambda/fulfillment/lib/middleware/5_assemble.js @@ -154,6 +154,7 @@ module.exports = async function assemble(req, res) { return { req, res }; } catch (error) { - qnabot.log('An error occured in assemble: ', error) + qnabot.log('An error occured in assemble: ', error); + throw error } }; diff --git a/lambda/fulfillment/lib/middleware/sentiment.js b/lambda/fulfillment/lib/middleware/sentiment.js index d1070932..d559f698 100644 --- a/lambda/fulfillment/lib/middleware/sentiment.js +++ b/lambda/fulfillment/lib/middleware/sentiment.js @@ -29,7 +29,8 @@ async function get_sentiment_from_comprehend(utterance) { qnabot.log(JSON.stringify(data)) return data } catch (error) { - qnabot.log("An error occured in detecting sentiment: ", error) + qnabot.log("An error occured in detecting sentiment: ", error); + throw error; } } diff --git a/lambda/fulfillment/package-lock.json b/lambda/fulfillment/package-lock.json index e82f5c4b..ef03c7a7 100644 --- a/lambda/fulfillment/package-lock.json +++ b/lambda/fulfillment/package-lock.json @@ -1,12 +1,12 @@ { "name": "fulfillment", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "fulfillment", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "jsonschema": "^1.2.2", diff --git a/lambda/fulfillment/package.json b/lambda/fulfillment/package.json index 096e6a85..f8be4325 100644 --- a/lambda/fulfillment/package.json +++ b/lambda/fulfillment/package.json @@ -1,6 +1,6 @@ { "name": "fulfillment", - "version": "5.4.3", + "version": "5.4.4", "description": "QnABot Lambda handling fulfillment of user requests", "main": "handler.js", "scripts": { diff --git a/lambda/genesys/package-lock.json b/lambda/genesys/package-lock.json index bdbe8a99..5ceab28c 100644 --- a/lambda/genesys/package-lock.json +++ b/lambda/genesys/package-lock.json @@ -1,12 +1,12 @@ { "name": "genesys", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "genesys", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "devDependencies": { "jest": "^29.7.0" diff --git a/lambda/genesys/package.json b/lambda/genesys/package.json index 40b78692..14f8566b 100644 --- a/lambda/genesys/package.json +++ b/lambda/genesys/package.json @@ -1,6 +1,6 @@ { "name": "genesys", - "version": "5.4.3", + "version": "5.4.4", "description": "Lambda function used to support the Genesys setup wizard", "repository": { "type": "git", diff --git a/lambda/import/package-lock.json b/lambda/import/package-lock.json index 269dc6d7..158bfcd3 100644 --- a/lambda/import/package-lock.json +++ b/lambda/import/package-lock.json @@ -1,12 +1,12 @@ { "name": "import", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "import", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "bluebird": "^3.5.1", diff --git a/lambda/import/package.json b/lambda/import/package.json index 95f6e786..ba1bde9c 100644 --- a/lambda/import/package.json +++ b/lambda/import/package.json @@ -1,6 +1,6 @@ { "name": "import", - "version": "5.4.3", + "version": "5.4.4", "description": "QnABot Lambda handling import of QIDs", "main": "index.js", "scripts": { diff --git a/lambda/js_lambda_hook_sdk/package-lock.json b/lambda/js_lambda_hook_sdk/package-lock.json index ba648b95..8eae718b 100644 --- a/lambda/js_lambda_hook_sdk/package-lock.json +++ b/lambda/js_lambda_hook_sdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "js_lambda_hook_sdk", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "js_lambda_hook_sdk", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "lodash": "^4.17.21" diff --git a/lambda/js_lambda_hook_sdk/package.json b/lambda/js_lambda_hook_sdk/package.json index e01d6b9d..65ad548f 100644 --- a/lambda/js_lambda_hook_sdk/package.json +++ b/lambda/js_lambda_hook_sdk/package.json @@ -1,6 +1,6 @@ { "name": "js_lambda_hook_sdk", - "version": "5.4.3", + "version": "5.4.4", "description": "QnABot convienience layer, allowing users to create custom lambda hooks", "directories": { "lambda_hook_sdk": "lambda_hook_sdk", diff --git a/lambda/lex-build/lib/wait.js b/lambda/lex-build/lib/wait.js index 27262f28..9b91ad58 100644 --- a/lambda/lex-build/lib/wait.js +++ b/lambda/lex-build/lib/wait.js @@ -26,6 +26,7 @@ module.exports=async function(status){ return response } catch (error) { - console.error("An error invoking lambda in wait: ", error) + console.error("An error invoking lambda in wait: ", error); + throw error; } } \ No newline at end of file diff --git a/lambda/lex-build/package-lock.json b/lambda/lex-build/package-lock.json index edf74d95..fb1d9a4a 100644 --- a/lambda/lex-build/package-lock.json +++ b/lambda/lex-build/package-lock.json @@ -1,12 +1,12 @@ { "name": "lex-build", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "lex-build", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "bluebird": "^3.7.2", diff --git a/lambda/lex-build/package.json b/lambda/lex-build/package.json index aa74a533..ab521cf0 100644 --- a/lambda/lex-build/package.json +++ b/lambda/lex-build/package.json @@ -1,6 +1,6 @@ { "name": "lex-build", - "version": "5.4.3", + "version": "5.4.4", "description": "QnABot lambda for rebuilding Amazon Lex bots", "main": "handler.js", "scripts": { diff --git a/lambda/proxy-es/package-lock.json b/lambda/proxy-es/package-lock.json index 68f350d6..4fb60c69 100644 --- a/lambda/proxy-es/package-lock.json +++ b/lambda/proxy-es/package-lock.json @@ -1,12 +1,12 @@ { "name": "proxy-es", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "proxy-es", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0" } } diff --git a/lambda/proxy-es/package.json b/lambda/proxy-es/package.json index 5a991750..9cbcfcc5 100644 --- a/lambda/proxy-es/package.json +++ b/lambda/proxy-es/package.json @@ -1,6 +1,6 @@ { "name": "proxy-es", - "version": "5.4.3", + "version": "5.4.4", "description": "QnABot Lambda function is used to proxy request from apigateway to elasticsearch", "main": "index.js", "author": { diff --git a/lambda/qnabot-common-layer/package-lock.json b/lambda/qnabot-common-layer/package-lock.json index a4110367..d0f36a7e 100644 --- a/lambda/qnabot-common-layer/package-lock.json +++ b/lambda/qnabot-common-layer/package-lock.json @@ -1,12 +1,12 @@ { "name": "qnabot-common-layer", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "qnabot-common-layer", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "lodash": "^4.17.21" diff --git a/lambda/qnabot-common-layer/package.json b/lambda/qnabot-common-layer/package.json index 23786ee9..6c5a6e52 100644 --- a/lambda/qnabot-common-layer/package.json +++ b/lambda/qnabot-common-layer/package.json @@ -1,6 +1,6 @@ { "name": "qnabot-common-layer", - "version": "5.4.3", + "version": "5.4.4", "description": "Lambda layers used to provide common logging and utility functions", "repository": { "type": "git", diff --git a/lambda/schema/package-lock.json b/lambda/schema/package-lock.json index 7ddc1ac8..af0fbcce 100644 --- a/lambda/schema/package-lock.json +++ b/lambda/schema/package-lock.json @@ -1,12 +1,12 @@ { "name": "schema", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "schema", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "devDependencies": { "jest": "^29.7.0" diff --git a/lambda/schema/package.json b/lambda/schema/package.json index 4dd00294..679517bc 100644 --- a/lambda/schema/package.json +++ b/lambda/schema/package.json @@ -1,6 +1,6 @@ { "name": "schema", - "version": "5.4.3", + "version": "5.4.4", "description": "Lambda function used to provide the schemas for the various qid types", "repository": { "type": "git", diff --git a/lambda/testall/lib/lex.js b/lambda/testall/lib/lex.js index 723d4c68..e0a9a6c5 100644 --- a/lambda/testall/lib/lex.js +++ b/lambda/testall/lib/lex.js @@ -71,5 +71,6 @@ module.exports = async function (config) { config.status = 'Clean'; } catch (error) { console.error('An error occured in lex task: ', error); + throw error; } }; diff --git a/lambda/testall/lib/load.js b/lambda/testall/lib/load.js index 7c57ac96..fdb90d0b 100644 --- a/lambda/testall/lib/load.js +++ b/lambda/testall/lib/load.js @@ -57,6 +57,7 @@ module.exports = async function (config, body) { return config; } catch (error) { console.error('An error occured while executing loading tasks: ', error); + throw error; } }; function query(filter) { diff --git a/lambda/testall/lib/start.js b/lambda/testall/lib/start.js index 8c160597..999dd7ff 100644 --- a/lambda/testall/lib/start.js +++ b/lambda/testall/lib/start.js @@ -31,6 +31,7 @@ module.exports = async function (config) { }); } catch (error) { console.error('An error occurred while starting: ', error); + throw error; } }; function query(filter) { diff --git a/lambda/testall/lib/step.js b/lambda/testall/lib/step.js index ec829c0e..728cca8c 100644 --- a/lambda/testall/lib/step.js +++ b/lambda/testall/lib/step.js @@ -28,5 +28,6 @@ module.exports = async function (config) { return await load(config, body); } catch (error) { console.error('An error occurred in step task: ', error); + throw error; } }; diff --git a/lambda/testall/package-lock.json b/lambda/testall/package-lock.json index 1d6585a3..808eaf57 100644 --- a/lambda/testall/package-lock.json +++ b/lambda/testall/package-lock.json @@ -1,12 +1,12 @@ { "name": "testall", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "testall", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "bluebird": "^3.5.1", diff --git a/lambda/testall/package.json b/lambda/testall/package.json index 6f03c276..e3f1b2e2 100644 --- a/lambda/testall/package.json +++ b/lambda/testall/package.json @@ -1,6 +1,6 @@ { "name": "testall", - "version": "5.4.3", + "version": "5.4.4", "description": "Lambda function that reads QnAs from opensearch and performs test validation against each question defined in qna against current Lex bot", "main": "index.js", "scripts": { diff --git a/lambda/translate/package-lock.json b/lambda/translate/package-lock.json index 552bb3e8..711b5fbb 100644 --- a/lambda/translate/package-lock.json +++ b/lambda/translate/package-lock.json @@ -1,12 +1,12 @@ { "name": "translate", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "translate", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "devDependencies": { "aws-sdk-mock": "^5.8.0", diff --git a/lambda/translate/package.json b/lambda/translate/package.json index 252bf35d..88172450 100644 --- a/lambda/translate/package.json +++ b/lambda/translate/package.json @@ -1,6 +1,6 @@ { "name": "translate", - "version": "5.4.3", + "version": "5.4.4", "description": "Lambda function used to import custom terminologies into AWS Translate", "repository": { "type": "git", diff --git a/package-lock.json b/package-lock.json index 9a18875d..2b7a9a98 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "qnabot-on-aws", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "qnabot-on-aws", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "os": [ "darwin", diff --git a/package.json b/package.json index 36b2bc0c..447d8fa2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qnabot-on-aws", - "version": "5.4.3", + "version": "5.4.4", "engines": { "node": ">=12.16.1", "npm": ">=7.8.0" diff --git a/source/aws_solutions/core/logging.py b/source/aws_solutions/core/logging.py index abfbb2c8..f19546ba 100644 --- a/source/aws_solutions/core/logging.py +++ b/source/aws_solutions/core/logging.py @@ -48,7 +48,6 @@ def get_logger(name): # overrides logging.getLogger("boto3").setLevel(logging.WARNING) logging.getLogger("botocore").setLevel(logging.WARNING) - logging.getLogger("urllib3").setLevel(logging.WARNING) else: # fmt: off logging.basicConfig(level=get_level()) # NOSONAR - log level is user-specified; logs to stdout for AWS Lambda diff --git a/templates/examples/examples/package-lock.json b/templates/examples/examples/package-lock.json index 8c1edcfe..af6a7482 100644 --- a/templates/examples/examples/package-lock.json +++ b/templates/examples/examples/package-lock.json @@ -1,12 +1,12 @@ { "name": "examples", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "examples", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "bluebird": "^3.5.1", diff --git a/templates/examples/examples/package.json b/templates/examples/examples/package.json index 600c1e98..61be5581 100644 --- a/templates/examples/examples/package.json +++ b/templates/examples/examples/package.json @@ -1,6 +1,6 @@ { "name": "examples", - "version": "5.4.3", + "version": "5.4.4", "description": "Lambda contains a collection of lambda hooks for QnABot and a custom resource to create the example documents", "main": "index.js", "scripts": { diff --git a/templates/examples/extensions/js_lambda_hooks/CreateRecentTopicsResponse/package-lock.json b/templates/examples/extensions/js_lambda_hooks/CreateRecentTopicsResponse/package-lock.json index 08bea8fc..24276918 100644 --- a/templates/examples/extensions/js_lambda_hooks/CreateRecentTopicsResponse/package-lock.json +++ b/templates/examples/extensions/js_lambda_hooks/CreateRecentTopicsResponse/package-lock.json @@ -1,12 +1,12 @@ { "name": "createrecenttopicsresponse", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "createrecenttopicsresponse", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "lodash": "^4.17.21" diff --git a/templates/examples/extensions/js_lambda_hooks/CreateRecentTopicsResponse/package.json b/templates/examples/extensions/js_lambda_hooks/CreateRecentTopicsResponse/package.json index 84f11b84..7f330a2f 100644 --- a/templates/examples/extensions/js_lambda_hooks/CreateRecentTopicsResponse/package.json +++ b/templates/examples/extensions/js_lambda_hooks/CreateRecentTopicsResponse/package.json @@ -1,6 +1,6 @@ { "name": "createrecenttopicsresponse", - "version": "5.4.3", + "version": "5.4.4", "description": "Lambda hook that creates recent topic response", "main": "CreateRecentTopicResponse.js", "scripts": { diff --git a/templates/examples/extensions/js_lambda_hooks/CustomJSHook/package-lock.json b/templates/examples/extensions/js_lambda_hooks/CustomJSHook/package-lock.json index 78be5a5d..459b17aa 100644 --- a/templates/examples/extensions/js_lambda_hooks/CustomJSHook/package-lock.json +++ b/templates/examples/extensions/js_lambda_hooks/CustomJSHook/package-lock.json @@ -1,12 +1,12 @@ { "name": "examples", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "examples", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "bluebird": "^3.5.1", diff --git a/templates/examples/extensions/js_lambda_hooks/CustomJSHook/package.json b/templates/examples/extensions/js_lambda_hooks/CustomJSHook/package.json index 8387729e..c2d34b22 100644 --- a/templates/examples/extensions/js_lambda_hooks/CustomJSHook/package.json +++ b/templates/examples/extensions/js_lambda_hooks/CustomJSHook/package.json @@ -1,6 +1,6 @@ { "name": "examples", - "version": "5.4.3", + "version": "5.4.4", "description": "Creates custom JS Lambda Hooks", "main": "index.js", "scripts": { diff --git a/templates/examples/extensions/py_lambda_hooks/CanvasLMSHook/requirements.txt b/templates/examples/extensions/py_lambda_hooks/CanvasLMSHook/requirements.txt index 38167592..2a81f230 100644 --- a/templates/examples/extensions/py_lambda_hooks/CanvasLMSHook/requirements.txt +++ b/templates/examples/extensions/py_lambda_hooks/CanvasLMSHook/requirements.txt @@ -1,4 +1,3 @@ -urllib3==1.26.17 canvasapi==3.2.0 idna==2.10 requests==2.31.0 diff --git a/templates/examples/extensions/ui_imports/package-lock.json b/templates/examples/extensions/ui_imports/package-lock.json index 327ba49a..83ec2066 100644 --- a/templates/examples/extensions/ui_imports/package-lock.json +++ b/templates/examples/extensions/ui_imports/package-lock.json @@ -1,12 +1,12 @@ { "name": "ui_import", - "version": "5.4.3", + "version": "5.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ui_import", - "version": "5.4.3", + "version": "5.4.4", "license": "Apache-2.0", "dependencies": { "bluebird": "^3.5.1", diff --git a/templates/examples/extensions/ui_imports/package.json b/templates/examples/extensions/ui_imports/package.json index 2fb18e8f..e4d3b608 100644 --- a/templates/examples/extensions/ui_imports/package.json +++ b/templates/examples/extensions/ui_imports/package.json @@ -1,6 +1,6 @@ { "name": "ui_import", - "version": "5.4.3", + "version": "5.4.4", "description": "Add new content packages for Content Designer Import Examples/Extensions listing", "main": "ui_import.js", "scripts": {