@izara_project/izara-market-library-service-schemas 1.0.82 → 1.0.84
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/package.json +3 -3
- package/src/CheckPermission/CheckPermission.js +0 -20
- package/src/GenerateCodeLibs/index.js +3 -8
- package/src/GenerateCodeLibs/src/Consts.js +73 -75
- package/src/GenerateCodeLibs/src/GenerateCodeLibs.js +849 -505
- package/src/MainLibs/index.js +4 -10
- package/src/MainLibs/src/Consts.js +382 -308
- package/src/MainLibs/src/GenerateCodeUtils.js +25 -15
- package/src/MainLibs/src/Utils.js +16 -12
- package/src/SourceManager/index.js +3 -7
- package/src/SourceManager/src/CreateSource.js +113 -54
- package/src/SourceManager/src/Utils.js +26 -23
- package/src/reStructure/GenerateCode.js +47 -28
- package/src/reStructure/GenerateResources.js +11 -17
- package/src/reStructure/GenerateSchema.js +44 -30
- package/src/reStructure/GenerateTests.js +28 -27
- package/src/reStructure/IntTestConfig.js +3 -7
- package/src/reStructure/SchemaConfig.js +3 -7
- package/src/reStructure/TemplateConfig.js +11 -12
- package/src/reStructure/TemplateData/Auth/generateAuthYml/data.js +4 -10
- package/src/reStructure/TemplateData/Auth/generateTemplateData.js +6 -5
- package/src/reStructure/TemplateData/EndpointPerService/generateTemplateData.js +40 -30
- package/src/reStructure/TemplateData/EndpointPerService/handler/api/data.js +14 -15
- package/src/reStructure/TemplateData/EndpointPerService/handler/api/template.ejs +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/handler/dsq/data.js +12 -12
- package/src/reStructure/TemplateData/EndpointPerService/handler/dsq/template.ejs +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/handler/inv/data.js +21 -13
- package/src/reStructure/TemplateData/EndpointPerService/handler/inv/template.ejs +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/handler/sqs/data.js +15 -16
- package/src/reStructure/TemplateData/EndpointPerService/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/create/backupTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/create/data.js +8 -12
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/create/template.ejs +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/delete/data.js +11 -15
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/delete/template.ejs +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/get/data.js +9 -13
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/get/template.ejs +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/update/data.js +8 -12
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/update/template.ejs +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/yaml/data.js +128 -79
- package/src/reStructure/TemplateData/IntTest/generateResources/generateResources.js +49 -36
- package/src/reStructure/TemplateData/IntTest/generateResources/templateResources.ejs +19 -17
- package/src/reStructure/TemplateData/IntTest/generateTests/events/data.js +48 -25
- package/src/reStructure/TemplateData/IntTest/generateTests/generateTemplate.js +24 -16
- package/src/{TemplateManager/src/FindData/Handler → reStructure/TemplateData/IntTest/generateTests/pathIntTest}/data.js +21 -21
- package/src/reStructure/TemplateData/IntTest/generateTests/pathIntTest/template.ejs +5 -0
- package/src/reStructure/TemplateData/IntTest/generateTests/tests/data.js +67 -36
- package/src/reStructure/TemplateData/IntTest/upload/uploadIntTest.js +36 -21
- package/src/reStructure/TemplateData/externalService/functionNameConfig/data.js +41 -41
- package/src/reStructure/TemplateData/externalService/functionNameConfig/templateIntTesting.ejs +1 -1
- package/src/reStructure/TemplateData/externalService/generateTemplateData.js +27 -8
- package/src/reStructure/TemplateData/externalService/lambdaRole/data.js +190 -75
- package/src/reStructure/TemplateData/externalService/lambdaRole/template.ejs +1 -1
- package/src/reStructure/TemplateData/externalService/snsTopicSubscriptions/data.js +111 -63
- package/src/reStructure/TemplateData/externalService/snsTopicSubscriptions/template.ejs +7 -3
- package/src/reStructure/TemplateData/findData/findDataYaml/data.js +51 -37
- package/src/reStructure/TemplateData/findData/generateTemplateData.js +16 -9
- package/src/reStructure/TemplateData/findData/handler/data.js +9 -15
- package/src/reStructure/TemplateData/findData/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/findData/mainFunction/data.js +99 -76
- package/src/reStructure/TemplateData/findData/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/functionYaml/data.js +22 -20
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/handler/data.js +19 -14
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/mainFunction/data.js +20 -18
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/queue/data.js +14 -15
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/functionYaml/data.js +24 -19
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/handler/data.js +17 -16
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/mainFunction/data.js +14 -13
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/queue/data.js +13 -20
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/functionYaml/data.js +23 -28
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/handler/data.js +18 -18
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/mainFunction/data.js +17 -16
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/functionYaml/data.js +21 -21
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/handler/data.js +18 -18
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/mainFunction/data.js +17 -16
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/sns-sqs/data.js +16 -22
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/functionYaml/data.js +26 -21
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/handler/data.js +16 -14
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/mainFunction/data.js +18 -16
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/queue/data.js +11 -16
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/functionYaml/data.js +39 -25
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/handler/data.js +16 -14
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/mainFunction/data.js +14 -13
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/sqs/data.js +17 -20
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/functionYml/HdrS3/data.js +25 -23
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/handler/handlerS3/data.js +15 -15
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/handler/handlerS3/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/mainFunction/ProcessCsvtemplate.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/mainFunction/data.js +12 -12
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/queue/data.js +19 -26
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/S3/data.js +12 -15
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/libs/data.js +11 -12
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/libs/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/sns-out/data.js +12 -13
- package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/functionYaml/data.js +20 -24
- package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/handler/data.js +10 -13
- package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/ReservedTableData.js +25 -27
- package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/WebSocketTaskData.js +25 -27
- package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/userUploadRecords.js +19 -24
- package/src/reStructure/TemplateData/flowSchema/dynamoDb/data.js +43 -34
- package/src/reStructure/TemplateData/flowSchema/eventBridge/functionYaml/data.js +31 -24
- package/src/reStructure/TemplateData/flowSchema/eventBridge/handler/inv/data.js +27 -26
- package/src/reStructure/TemplateData/flowSchema/eventBridge/handler/inv/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/eventBridge/mainFunction/data.js +25 -24
- package/src/reStructure/TemplateData/flowSchema/eventBridge/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/functionYaml/data.js +22 -22
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/handler/data.js +16 -12
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/mainFunction/data.js +15 -14
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Process/functionYaml/data.js +42 -35
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Process/handler/data.js +14 -13
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Process/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/externalTopic/sns-in-sqs/data.js +12 -20
- package/src/reStructure/TemplateData/flowSchema/externalTopic/sns-out/data.js +14 -21
- package/src/reStructure/TemplateData/flowSchema/flowSchemaMainFunction/data.js +52 -22
- package/src/reStructure/TemplateData/flowSchema/flowSchemaMainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/functionYaml/data.js +25 -19
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/handler/data.js +18 -17
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/mainFunction/data.js +17 -16
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComponent/functionYaml/data.js +36 -26
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComponent/handler/data.js +17 -16
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComponent/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/functionYaml/data.js +22 -29
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/handler/data.js +15 -11
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/mainFunction/data.js +14 -14
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/sns-in/data.js +17 -20
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/sns-out/data.js +16 -17
- package/src/reStructure/TemplateData/flowSchema/flowStep/functionYaml/data.js +53 -25
- package/src/reStructure/TemplateData/flowSchema/flowStep/handler/data.js +38 -21
- package/src/reStructure/TemplateData/flowSchema/flowStep/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/flowStep/mainFunction/data.js +34 -21
- package/src/reStructure/TemplateData/flowSchema/flowStep/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/flowStep/sns-in/data.js +24 -25
- package/src/reStructure/TemplateData/flowSchema/generateTemplateData.js +444 -143
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Api/functionYaml/data.js +14 -11
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Api/handler/data.js +15 -15
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Api/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Inv/functionYaml/data.js +15 -11
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Inv/handler/data.js +15 -15
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Inv/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/register/complete/functionYaml/data.js +34 -36
- package/src/reStructure/TemplateData/flowSchema/register/complete/handler/data.js +22 -26
- package/src/reStructure/TemplateData/flowSchema/register/complete/handler/template.ejs +3 -3
- package/src/reStructure/TemplateData/flowSchema/register/complete/mainFunction/data.js +17 -17
- package/src/reStructure/TemplateData/flowSchema/register/complete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/register/dynamoDB/register.js +35 -32
- package/src/reStructure/TemplateData/flowSchema/register/sns-in/data.js +21 -20
- package/src/reStructure/TemplateData/flowSchema/register/subscriptionOutAll/data.js +21 -18
- package/src/reStructure/TemplateData/flowSchema/register/wbs/functionYaml/data.js +33 -39
- package/src/reStructure/TemplateData/flowSchema/register/wbs/handler/data.js +10 -12
- package/src/reStructure/TemplateData/flowSchema/register/wbs/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/register/wbs/mainFunction/data.js +9 -12
- package/src/reStructure/TemplateData/flowSchema/register/wbs/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/FunctionYaml/data.js +44 -26
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/Handler/data.js +18 -15
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/Handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/MainFunction/data.js +16 -14
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/MainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/sns/data.js +13 -17
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/functionYaml/data.js +40 -24
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/handler/data.js +23 -18
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/mainFunction/data.js +22 -16
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/mainFunction/template.ejs +6 -8
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/functionYaml/data.js +42 -25
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/handler/data.js +18 -14
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/mainFunction/data.js +17 -12
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/functionYaml/data.js +38 -25
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/handler/data.js +23 -15
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/mainFunction/data.js +19 -18
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheQueue/data.js +24 -18
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/functionYaml/data.js +35 -29
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/handler/data.js +12 -16
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/handler/template.ejs +2 -2
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/mainFunction/data.js +9 -13
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/mainFunction/template.ejs +3 -4
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/sqs/data.js +20 -30
- package/src/reStructure/TemplateData/generateRole/createSharedResource.js +193 -79
- package/src/reStructure/TemplateData/generateRole/data.js +26 -24
- package/src/reStructure/TemplateData/perActionComplete/create/handler/data.js +10 -18
- package/src/reStructure/TemplateData/perActionComplete/create/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionComplete/create/mainFunction/createObjectComplete_main.js +88 -64
- package/src/reStructure/TemplateData/perActionComplete/create/mainFunction/data.js +10 -17
- package/src/reStructure/TemplateData/perActionComplete/create/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionComplete/create/sns-in-sqs/data.js +11 -20
- package/src/reStructure/TemplateData/perActionComplete/create/sns-out/data.js +14 -19
- package/src/reStructure/TemplateData/perActionComplete/create/yaml/data.js +18 -24
- package/src/reStructure/TemplateData/perActionComplete/delete/handler/data.js +11 -20
- package/src/reStructure/TemplateData/perActionComplete/delete/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionComplete/delete/mainFunction/data.js +10 -17
- package/src/reStructure/TemplateData/perActionComplete/delete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionComplete/delete/sns-in-sqs/data.js +11 -19
- package/src/reStructure/TemplateData/perActionComplete/delete/sns-out/data.js +14 -20
- package/src/reStructure/TemplateData/perActionComplete/delete/yaml/data.js +18 -24
- package/src/reStructure/TemplateData/perActionComplete/generateTemplateData.js +63 -56
- package/src/reStructure/TemplateData/perActionComplete/get/handler/data.js +11 -18
- package/src/reStructure/TemplateData/perActionComplete/get/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionComplete/get/mainFunction/data.js +11 -16
- package/src/reStructure/TemplateData/perActionComplete/get/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionComplete/get/sns-in-sqs/data.js +11 -19
- package/src/reStructure/TemplateData/perActionComplete/get/sns-out/data.js +14 -18
- package/src/reStructure/TemplateData/perActionComplete/get/yaml/data.js +19 -25
- package/src/reStructure/TemplateData/perActionComplete/update/handler/data.js +11 -19
- package/src/reStructure/TemplateData/perActionComplete/update/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionComplete/update/mainFunction/data.js +10 -18
- package/src/reStructure/TemplateData/perActionComplete/update/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionComplete/update/sns-in-sqs/data.js +11 -20
- package/src/reStructure/TemplateData/perActionComplete/update/sns-out/data.js +14 -18
- package/src/reStructure/TemplateData/perActionComplete/update/yaml/data.js +19 -26
- package/src/reStructure/TemplateData/perActionEndpoint/generateTemplateData.js +34 -18
- package/src/reStructure/TemplateData/perActionEndpoint/handler/api/data.js +32 -16
- package/src/reStructure/TemplateData/perActionEndpoint/handler/api/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionEndpoint/handler/dsq/data.js +44 -21
- package/src/reStructure/TemplateData/perActionEndpoint/handler/dsq/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionEndpoint/handler/inv/data.js +42 -18
- package/src/reStructure/TemplateData/perActionEndpoint/handler/inv/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionEndpoint/handler/sqs/data.js +40 -18
- package/src/reStructure/TemplateData/perActionEndpoint/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionEndpoint/handler/webSocket/data.js +32 -13
- package/src/reStructure/TemplateData/perActionEndpoint/handler/webSocket/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionEndpoint/handler/webSocketConnect/data.js +9 -10
- package/src/reStructure/TemplateData/perActionEndpoint/handler/webSocketConnect/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionEndpoint/libs/data.js +13 -13
- package/src/reStructure/TemplateData/perActionEndpoint/libs/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/create/data.js +31 -14
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/create/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/delete/data.js +30 -13
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/delete/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/get/data.js +30 -14
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/update/data.js +33 -18
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/api/data.js +61 -38
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/dsq/data.js +72 -46
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/inv/data.js +56 -38
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/sqs/data.js +76 -48
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/wbs/data.js +53 -34
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/webSocketConnect/data.js +9 -10
- package/src/reStructure/TemplateData/processLogical/generateTemplateData.js +10 -5
- package/src/reStructure/TemplateData/processLogical/handler/data.js +9 -15
- package/src/reStructure/TemplateData/processLogical/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/processLogical/mainFunction/data.js +5 -11
- package/src/reStructure/TemplateData/processLogical/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/processLogical/yaml/data.js +39 -31
- package/src/reStructure/TemplateData/processLogicalPagination/DsqYaml/data.js +6 -10
- package/src/reStructure/TemplateData/processLogicalPagination/generateTemplateData.js +15 -6
- package/src/reStructure/TemplateData/processLogicalPagination/handler/dsq/data.js +3 -7
- package/src/reStructure/TemplateData/processLogicalPagination/handler/dsq/template.ejs +1 -1
- package/src/reStructure/TemplateData/processLogicalPagination/handler/sqs/data.js +3 -7
- package/src/reStructure/TemplateData/processLogicalPagination/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/processLogicalPagination/mainFunction/data.js +4 -8
- package/src/reStructure/TemplateData/processLogicalPagination/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/processLogicalPagination/yaml/dsq/data.js +40 -38
- package/src/reStructure/TemplateData/processLogicalPagination/yaml/sqs/data.js +42 -35
- package/src/reStructure/TemplateData/propertyValueSchema/generateTemplateData.js +7 -7
- package/src/reStructure/TemplateData/propertyValueSchema/objectPropertyValueSchema/data.js +89 -49
- package/src/reStructure/TemplateData/propertyValueSchema/relationshipPropertyValueSchema/data.js +65 -47
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/api/data.js +46 -26
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/data.js +57 -33
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/dsq/data.js +46 -25
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/inv/data.js +46 -26
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/sqs/data.js +47 -26
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/api/data.js +14 -12
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/api/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/data.js +17 -24
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/dsq/data.js +16 -14
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/dsq/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/inv/data.js +15 -13
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/inv/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/sqs/data.js +15 -13
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/templateByHandler/apiTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/templateByHandler/dsqTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/templateByHandler/invTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/templateByHandler/sqsTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/mainFunction/data.js +8 -14
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/mainFunction/template.ejs +18 -14
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/sns-in-sqs/data.js +18 -27
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/functionYaml/data.js +20 -28
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/handler/sqs/data.js +11 -17
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/mainFunction/data.js +10 -15
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/sns-in-sqs/data.js +11 -16
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/sns-out/data.js +10 -15
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/api/data.js +61 -30
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/data.js +77 -38
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/dsq/data.js +61 -29
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/inv/data.js +61 -31
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/sqs/data.js +62 -30
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/api/data.js +14 -12
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/api/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/data.js +17 -24
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/dsq/data.js +16 -14
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/dsq/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/inv/data.js +15 -13
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/inv/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/sqs/data.js +15 -13
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/templateByHandler/apiTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/templateByHandler/dsqTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/templateByHandler/invTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/templateByHandler/sqsTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/mainFunction/data.js +10 -16
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/mainFunction/template.ejs +2 -2
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/sns-in-sqs/data.js +18 -27
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/functionYaml/data.js +21 -26
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/handler/sqs/data.js +8 -10
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/mainFunction/data.js +7 -9
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-in-sqs/data.js +9 -12
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-out/data.js +8 -9
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/api/data.js +62 -31
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/data.js +75 -37
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/dsq/data.js +62 -30
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/inv/data.js +62 -32
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/sqs/data.js +62 -32
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/api/data.js +14 -12
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/api/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/data.js +16 -19
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/dsq/data.js +16 -14
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/dsq/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/inv/data.js +15 -13
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/inv/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/sqs/data.js +15 -13
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/templateByHandler/apiTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/templateByHandler/dsqTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/templateByHandler/invTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/templateByHandler/sqsTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/mainFunction/data.js +12 -12
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/sns-in-sqs/data.js +18 -22
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/functionYaml/data.js +20 -21
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/handler/sqs/data.js +10 -12
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/mainFunction/data.js +9 -12
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-in-sqs/data.js +9 -10
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-out/data.js +8 -9
- package/src/reStructure/TemplateData/relationshipPerAction/generateTemplateData.js +218 -63
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/api/data.js +53 -28
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/data.js +75 -37
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/dsq/data.js +62 -30
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/inv/data.js +53 -29
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/sqs/data.js +53 -27
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/api/data.js +14 -12
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/api/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/data.js +16 -19
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/dsq/data.js +16 -14
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/dsq/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/inv/data.js +15 -13
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/inv/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/sqs/data.js +15 -13
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/templateByHandler/apiTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/templateByHandler/dsqTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/templateByHandler/invTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/templateByHandler/sqsTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/mainFunction/data.js +8 -11
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/sns-in-sqs/data.js +18 -22
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/functionYaml/data.js +18 -19
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/handler/sqs/data.js +9 -11
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/mainFunction/data.js +8 -10
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-in-sqs/data.js +10 -11
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-out/data.js +8 -9
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/data.js +60 -32
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/data.js +16 -19
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/templateByHandler/apiTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/templateByHandler/dsqTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/templateByHandler/invTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/templateByHandler/sqsTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/mainFunction/data.js +9 -12
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/sns-in-sqs/data.js +19 -23
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/functionYaml/data.js +22 -27
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/handler/sqs/data.js +7 -9
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/mainFunction/data.js +6 -7
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/sns-in-sqs/data.js +10 -11
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/sns-out/data.js +7 -8
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/api/data.js +54 -34
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/data.js +69 -37
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/dsq/data.js +62 -34
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/inv/data.js +53 -34
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/sqs/data.js +54 -33
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/api/data.js +13 -15
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/api/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/data.js +14 -17
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/dsq/data.js +13 -12
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/dsq/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/inv/data.js +13 -13
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/inv/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/sqs/data.js +13 -11
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/apiTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/dsqTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/invTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/sqsTemplate.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/mainFunction/data.js +10 -20
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-in-sqs/data.js +13 -14
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-out/data.js +15 -10
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/functionYaml/data.js +20 -22
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/handler/sqs/data.js +10 -12
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/handler/sqs/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/mainFunction/data.js +10 -18
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/mainFunction/template.ejs +1 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-in-sqs/data.js +9 -11
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-out/data.js +8 -9
- package/src/reStructure/TemplateData/resourceYaml/CreateSourceData.js +24 -17
- package/src/reStructure/TemplateData/resourceYaml/dynamodb/defaultDynamoDbTable.js +48 -51
- package/src/reStructure/TemplateData/resourceYaml/dynamodb/generateDynamoPerLink.js +31 -19
- package/src/reStructure/TemplateData/resourceYaml/dynamodb/mainResourcePerObjectSchemaData.js +55 -66
- package/src/reStructure/TemplateData/resourceYaml/filterGenerateResource/data.js +72 -31
- package/src/reStructure/TemplateData/resourceYaml/generateTemplateData.js +58 -24
- package/src/reStructure/TemplateData/resourceYaml/sns-in-sqs/defaultSnsInSqsForFindDataAndProcessLogical.js +14 -14
- package/src/reStructure/TemplateData/resourceYaml/sns-in-sqs/snsAndSqsPerActionData.js +29 -23
- package/src/reStructure/TemplateData/resourceYaml/sns-out/data.js +24 -21
- package/src/reStructure/TemplateData/resourceYaml/sns-out/defaultSnsOutForFindDataAndProcessLogical.js +8 -11
- package/src/reStructure/libs/GenerateCodeLibs.js +8 -12
- package/src/reStructure/libs/ValidateAddOnDataStructure.js +33 -22
- package/src/TemplateManager/index.js +0 -23
- package/src/TemplateManager/src/FindData/FindDataYaml/data.js +0 -183
- package/src/TemplateManager/src/FindData/FindDataYaml/template.ejs +0 -14
- package/src/TemplateManager/src/FindData/GetByStorage/getByDynamo.ejs +0 -53
- package/src/TemplateManager/src/FindData/GetByStorage/getByGraph.ejs +0 -100
- package/src/TemplateManager/src/FindData/Handler/template.ejs +0 -140
- package/src/TemplateManager/src/FindData/mainFunction/data.js +0 -280
- package/src/TemplateManager/src/FindData/mainFunction/template.ejs +0 -151
- package/src/TemplateManager/src/GenerateCode(Old).js +0 -135
- package/src/TemplateManager/src/GenerateCode.js +0 -670
- package/src/TemplateManager/src/GenerateSchema.js +0 -103
- package/src/TemplateManager/src/OutPerActionComplete/OutCreateComplete/functionYaml/data.js +0 -106
- package/src/TemplateManager/src/OutPerActionComplete/OutCreateComplete/functionYaml/template.ejs +0 -20
- package/src/TemplateManager/src/OutPerActionComplete/OutCreateComplete/handler/data.js +0 -59
- package/src/TemplateManager/src/OutPerActionComplete/OutCreateComplete/handler/template.ejs +0 -130
- package/src/TemplateManager/src/OutPerActionComplete/OutCreateComplete/mainFunction/createObjectComplete_main.js +0 -172
- package/src/TemplateManager/src/OutPerActionComplete/OutCreateComplete/mainFunction/data.js +0 -53
- package/src/TemplateManager/src/OutPerActionComplete/OutCreateComplete/mainFunction/template.ejs +0 -170
- package/src/TemplateManager/src/OutPerActionComplete/OutCreateComplete/sns-in-sqs/data.js +0 -58
- package/src/TemplateManager/src/OutPerActionComplete/OutCreateComplete/sns-in-sqs/template.ejs +0 -47
- package/src/TemplateManager/src/OutPerActionComplete/OutCreateComplete/sns-out/data.js +0 -62
- package/src/TemplateManager/src/OutPerActionComplete/OutCreateComplete/sns-out/template.ejs +0 -10
- package/src/TemplateManager/src/OutPerActionComplete/OutDeleteComplete/functionYaml/data.js +0 -102
- package/src/TemplateManager/src/OutPerActionComplete/OutDeleteComplete/functionYaml/template.ejs +0 -20
- package/src/TemplateManager/src/OutPerActionComplete/OutDeleteComplete/handler/data.js +0 -59
- package/src/TemplateManager/src/OutPerActionComplete/OutDeleteComplete/handler/template.ejs +0 -129
- package/src/TemplateManager/src/OutPerActionComplete/OutDeleteComplete/mainFunction/data.js +0 -53
- package/src/TemplateManager/src/OutPerActionComplete/OutDeleteComplete/mainFunction/template.ejs +0 -93
- package/src/TemplateManager/src/OutPerActionComplete/OutDeleteComplete/sns-out/data.js +0 -62
- package/src/TemplateManager/src/OutPerActionComplete/OutDeleteComplete/sqs-in-sns/data.js +0 -58
- package/src/TemplateManager/src/OutPerActionComplete/OutDeleteComplete/sqs-in-sns/template.ejs +0 -47
- package/src/TemplateManager/src/OutPerActionComplete/OutGetComplete/functionYaml/data.js +0 -106
- package/src/TemplateManager/src/OutPerActionComplete/OutGetComplete/functionYaml/template.ejs +0 -20
- package/src/TemplateManager/src/OutPerActionComplete/OutGetComplete/handler/data.js +0 -59
- package/src/TemplateManager/src/OutPerActionComplete/OutGetComplete/handler/template.ejs +0 -129
- package/src/TemplateManager/src/OutPerActionComplete/OutGetComplete/mainFunction/data.js +0 -53
- package/src/TemplateManager/src/OutPerActionComplete/OutGetComplete/mainFunction/template.ejs +0 -130
- package/src/TemplateManager/src/OutPerActionComplete/OutGetComplete/sns-out/data.js +0 -62
- package/src/TemplateManager/src/OutPerActionComplete/OutGetComplete/sqs-in-sns/data.js +0 -58
- package/src/TemplateManager/src/OutPerActionComplete/OutGetComplete/sqs-in-sns/template.ejs +0 -47
- package/src/TemplateManager/src/OutPerActionComplete/OutUpdateComplete/functionYaml/data.js +0 -106
- package/src/TemplateManager/src/OutPerActionComplete/OutUpdateComplete/functionYaml/template.ejs +0 -20
- package/src/TemplateManager/src/OutPerActionComplete/OutUpdateComplete/handler/data.js +0 -59
- package/src/TemplateManager/src/OutPerActionComplete/OutUpdateComplete/handler/template.ejs +0 -129
- package/src/TemplateManager/src/OutPerActionComplete/OutUpdateComplete/mainFunction/data.js +0 -53
- package/src/TemplateManager/src/OutPerActionComplete/OutUpdateComplete/mainFunction/template.ejs +0 -130
- package/src/TemplateManager/src/OutPerActionComplete/OutUpdateComplete/sns-out/data.js +0 -62
- package/src/TemplateManager/src/OutPerActionComplete/OutUpdateComplete/sqs-in-sns/data.js +0 -58
- package/src/TemplateManager/src/OutPerActionComplete/OutUpdateComplete/sqs-in-sns/template.ejs +0 -47
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrApi/data.js +0 -179
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrApi/request.json +0 -14
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrApi/template.ejs +0 -20
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrDsq/data.js +0 -188
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrDsq/request.json +0 -19
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrDsq/template.ejs +0 -17
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrInv/data.js +0 -172
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrInv/example req.js +0 -15
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrInv/request.json +0 -14
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrInv/template.ejs +0 -13
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrSqs/data.js +0 -189
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrSqs/request.json +0 -19
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrSqs/template.ejs +0 -17
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrWbs/data.js +0 -171
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrWbs/request.json +0 -19
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/HdrWbs/template.ejs +0 -29
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/webSocketConnect/data.js +0 -60
- package/src/TemplateManager/src/PerActionEndpoint/FunctionYaml/webSocketConnect/template.ejs +0 -10
- package/src/TemplateManager/src/PerActionEndpoint/Handler/HdrApi/data.js +0 -86
- package/src/TemplateManager/src/PerActionEndpoint/Handler/HdrApi/request.json +0 -7
- package/src/TemplateManager/src/PerActionEndpoint/Handler/HdrApi/template.ejs +0 -36
- package/src/TemplateManager/src/PerActionEndpoint/Handler/HdrDsq/data.js +0 -88
- package/src/TemplateManager/src/PerActionEndpoint/Handler/HdrDsq/request.json +0 -7
- package/src/TemplateManager/src/PerActionEndpoint/Handler/HdrDsq/template.ejs +0 -55
- package/src/TemplateManager/src/PerActionEndpoint/Handler/HdrInv/data.js +0 -87
- package/src/TemplateManager/src/PerActionEndpoint/Handler/HdrInv/request.json +0 -7
- package/src/TemplateManager/src/PerActionEndpoint/Handler/HdrInv/template.ejs +0 -37
- package/src/TemplateManager/src/PerActionEndpoint/Handler/HdrSqs/data.js +0 -87
- package/src/TemplateManager/src/PerActionEndpoint/Handler/HdrSqs/request.json +0 -7
- package/src/TemplateManager/src/PerActionEndpoint/Handler/HdrSqs/template.ejs +0 -57
- package/src/TemplateManager/src/PerActionEndpoint/Handler/WebSocket/data.js +0 -76
- package/src/TemplateManager/src/PerActionEndpoint/Handler/WebSocket/template.ejs +0 -60
- package/src/TemplateManager/src/PerActionEndpoint/Handler/WebSocketConnect/data.js +0 -56
- package/src/TemplateManager/src/PerActionEndpoint/Handler/WebSocketConnect/template.ejs +0 -55
- package/src/TemplateManager/src/PerActionEndpoint/MainFunction/Create/data.js +0 -69
- package/src/TemplateManager/src/PerActionEndpoint/MainFunction/Create/request.json +0 -0
- package/src/TemplateManager/src/PerActionEndpoint/MainFunction/Create/template.ejs +0 -337
- package/src/TemplateManager/src/PerActionEndpoint/MainFunction/Delete/data.js +0 -69
- package/src/TemplateManager/src/PerActionEndpoint/MainFunction/Delete/template.ejs +0 -98
- package/src/TemplateManager/src/PerActionEndpoint/MainFunction/Get/data.js +0 -69
- package/src/TemplateManager/src/PerActionEndpoint/MainFunction/Get/request.json +0 -5
- package/src/TemplateManager/src/PerActionEndpoint/MainFunction/Get/template.ejs +0 -114
- package/src/TemplateManager/src/PerActionEndpoint/MainFunction/Get/testParam.json +0 -5
- package/src/TemplateManager/src/PerActionEndpoint/MainFunction/Update/data.js +0 -63
- package/src/TemplateManager/src/PerActionEndpoint/MainFunction/Update/request.json +0 -0
- package/src/TemplateManager/src/PerActionEndpoint/MainFunction/Update/template.ejs +0 -164
- package/src/TemplateManager/src/PerActionEndpoint/libs/data.js +0 -48
- package/src/TemplateManager/src/PerActionEndpoint/libs/template.ejs +0 -46
- package/src/TemplateManager/src/ProcessLogical/Handler/data.js +0 -50
- package/src/TemplateManager/src/ProcessLogical/Handler/template.ejs +0 -129
- package/src/TemplateManager/src/ProcessLogical/ProcessLogicalYaml/data.js +0 -160
- package/src/TemplateManager/src/ProcessLogical/ProcessLogicalYaml/template.ejs +0 -12
- package/src/TemplateManager/src/ProcessLogical/mainFunction/data.js +0 -47
- package/src/TemplateManager/src/ProcessLogical/mainFunction/template.ejs +0 -429
- package/src/TemplateManager/src/ProcessLogicalPagination/DsqYaml/data.js +0 -50
- package/src/TemplateManager/src/ProcessLogicalPagination/DsqYaml/template.ejs +0 -32
- package/src/TemplateManager/src/ProcessLogicalPagination/FunctionYaml/HdrDsq/data.js +0 -154
- package/src/TemplateManager/src/ProcessLogicalPagination/FunctionYaml/HdrDsq/template.ejs +0 -12
- package/src/TemplateManager/src/ProcessLogicalPagination/FunctionYaml/HdrSqs/data.js +0 -157
- package/src/TemplateManager/src/ProcessLogicalPagination/FunctionYaml/HdrSqs/template.ejs +0 -12
- package/src/TemplateManager/src/ProcessLogicalPagination/Handler/HdrDsq/data.js +0 -48
- package/src/TemplateManager/src/ProcessLogicalPagination/Handler/HdrDsq/template.ejs +0 -163
- package/src/TemplateManager/src/ProcessLogicalPagination/Handler/HdrSqs/data.js +0 -48
- package/src/TemplateManager/src/ProcessLogicalPagination/Handler/HdrSqs/template.ejs +0 -146
- package/src/TemplateManager/src/ProcessLogicalPagination/mainFunction/data.js +0 -48
- package/src/TemplateManager/src/ProcessLogicalPagination/mainFunction/template.ejs +0 -212
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/functionYaml/HdrApi/data.js +0 -99
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/functionYaml/HdrApi/template.ejs +0 -20
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/functionYaml/HdrDsq/data.js +0 -112
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/functionYaml/HdrDsq/template.ejs +0 -17
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/functionYaml/HdrInv/data.js +0 -98
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/functionYaml/HdrInv/template.ejs +0 -13
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/functionYaml/HdrSqs/data.js +0 -111
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/functionYaml/HdrSqs/template.ejs +0 -17
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/mainFunction/data.js +0 -60
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/mainFunction/template.ejs +0 -380
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/HdrApi/data.js +0 -58
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/HdrApi/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/HdrApi/template.ejs +0 -57
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/HdrDsq/data.js +0 -59
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/HdrDsq/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/HdrDsq/template.ejs +0 -184
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/HdrInv/data.js +0 -60
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/HdrInv/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/HdrInv/template.ejs +0 -126
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/HdrSqs/data.js +0 -60
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/HdrSqs/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/HdrSqs/template.ejs +0 -75
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/perAction/request.json +0 -30
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/sns-in-sqs/data.js +0 -78
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationship/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/functionYaml/data.js +0 -111
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/functionYaml/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/functionYaml/template.ejs +0 -20
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/handler/HdrSqs/data.js +0 -61
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/handler/HdrSqs/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/handler/HdrSqs/template.ejs +0 -125
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/mainFunction/data.js +0 -56
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/mainFunction/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/mainFunction/template.ejs +0 -141
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/sns-in-sqs/data.js +0 -72
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/sns-in-sqs/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/sns-in-sqs/template.ejs +0 -47
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/sns-out/data.js +0 -72
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/sns-out/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/CreateRelationship/createRelationshipComplete/sns-out/template.ejs +0 -10
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/functionYaml/HdrApi/data.js +0 -99
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/functionYaml/HdrApi/template.ejs +0 -20
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/functionYaml/HdrDsq/data.js +0 -112
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/functionYaml/HdrDsq/template.ejs +0 -17
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/functionYaml/HdrInv/data.js +0 -98
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/functionYaml/HdrInv/template.ejs +0 -13
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/functionYaml/HdrSqs/data.js +0 -112
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/functionYaml/HdrSqs/template.ejs +0 -17
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/mainFunction/data.js +0 -60
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/mainFunction/template.ejs +0 -337
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/HdrApi/data.js +0 -58
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/HdrApi/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/HdrApi/template.ejs +0 -56
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/HdrDsq/data.js +0 -59
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/HdrDsq/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/HdrDsq/template.ejs +0 -184
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/HdrInv/data.js +0 -60
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/HdrInv/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/HdrInv/template.ejs +0 -126
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/HdrSqs/data.js +0 -60
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/HdrSqs/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/HdrSqs/template.ejs +0 -74
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/perAction/request.json +0 -30
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/sns-in-sqs/data.js +0 -78
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationship/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/functionYaml/data.js +0 -111
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/functionYaml/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/functionYaml/template.ejs +0 -20
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/handler/HdrSqs/data.js +0 -61
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/handler/HdrSqs/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/handler/HdrSqs/template.ejs +0 -125
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/mainFunction/data.js +0 -56
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/mainFunction/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/mainFunction/template.ejs +0 -140
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/sns-in-sqs/data.js +0 -72
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/sns-in-sqs/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/sns-in-sqs/template.ejs +0 -47
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/sns-out/data.js +0 -72
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/sns-out/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/DeleteRelationship/DeleteRelationshipComplete/sns-out/template.ejs +0 -10
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/functionYaml/data.js +0 -111
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/functionYaml/request.json +0 -3
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/functionYaml/template.ejs +0 -20
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/handler/HdrSqs/data.js +0 -62
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/handler/HdrSqs/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/handler/HdrSqs/template.ejs +0 -127
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/mainFunction/data.js +0 -56
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/mainFunction/request.json +0 -1
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/mainFunction/template.ejs +0 -143
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/sns-in-sqs/data.js +0 -72
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/sns-in-sqs/request.json +0 -3
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/sns-in-sqs/template.ejs +0 -46
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/sns-out/data.js +0 -71
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/sns-out/request.json +0 -3
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRalationshipComplete/sns-out/template.ejs +0 -10
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/functionYaml/HdrApi/data.js +0 -100
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/functionYaml/HdrApi/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/functionYaml/HdrApi/template.ejs +0 -20
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/functionYaml/HdrDsq/data.js +0 -111
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/functionYaml/HdrDsq/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/functionYaml/HdrDsq/template.ejs +0 -17
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/functionYaml/HdrInv/data.js +0 -103
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/functionYaml/HdrInv/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/functionYaml/HdrInv/template.ejs +0 -13
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/functionYaml/HdrSqs/data.js +0 -115
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/functionYaml/HdrSqs/request.json +0 -0
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/functionYaml/HdrSqs/template.ejs +0 -17
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/mainFunction/data.js +0 -64
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/mainFunction/request.json +0 -1
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/mainFunction/template.ejs +0 -340
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/HdrApi/data.js +0 -59
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/HdrApi/request.json +0 -7
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/HdrApi/template.ejs +0 -57
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/HdrDsq/data.js +0 -59
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/HdrDsq/request.json +0 -7
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/HdrDsq/template.ejs +0 -184
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/HdrInv/data.js +0 -62
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/HdrInv/request.json +0 -5
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/HdrInv/template.ejs +0 -145
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/HdrSqs/data.js +0 -59
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/HdrSqs/request.json +0 -7
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/HdrSqs/template.ejs +0 -72
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/perAction/request.json +0 -30
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/sns-in-sqs/data.js +0 -90
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/sns-in-sqs/request.json +0 -3
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/sns-out/data.js +0 -70
- package/src/TemplateManager/src/RelationshipPerAction/UpdateRelationshipSchema/updateRelationship/sns-out/request.json +0 -3
- package/src/TemplateManager/src/ResourceYaml/CreateSourceData.js +0 -76
- package/src/TemplateManager/src/ResourceYaml/dynamodb/defaultDynamoDbTable.js +0 -146
- package/src/TemplateManager/src/ResourceYaml/dynamodb/mainResourcePerObjectSchemaData.js +0 -178
- package/src/TemplateManager/src/ResourceYaml/dynamodb/request.json +0 -7
- package/src/TemplateManager/src/ResourceYaml/dynamodb/template.ejs +0 -31
- package/src/TemplateManager/src/ResourceYaml/sns-in-sqs/defaultSnsInSqsForFindDataAndProcessLogical.js +0 -96
- package/src/TemplateManager/src/ResourceYaml/sns-in-sqs/request.json +0 -4
- package/src/TemplateManager/src/ResourceYaml/sns-in-sqs/snsAndSqsPerActiondata.js +0 -108
- package/src/TemplateManager/src/ResourceYaml/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/TemplateManager/src/ResourceYaml/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/TemplateManager/src/ResourceYaml/sns-out/data.js +0 -89
- package/src/TemplateManager/src/ResourceYaml/sns-out/defaultSnsOutForFindDataAndProcessLogical.js +0 -75
- package/src/TemplateManager/src/ResourceYaml/sns-out/request.json +0 -3
- package/src/TemplateManager/src/ResourceYaml/sns-out/template.ejs +0 -10
- package/src/TemplateManager/src/Role/createSharedResource.js +0 -272
- package/src/TemplateManager/src/Role/sharedResourceTemplate.ejs +0 -58
- package/src/TemplateManager/src/attributeTree/objectSchema/data.js +0 -128
- package/src/TemplateManager/src/attributeTree/objectSchema/template.ejs +0 -21
- package/src/TemplateManager/src/attributeTree/refRelationshipSchema/data.js +0 -36
- package/src/TemplateManager/src/attributeTree/refRelationshipSchema/template.ejs +0 -0
- package/src/TemplateManager/src/attributeTree/relationshipSchema/data.js +0 -206
- package/src/TemplateManager/src/attributeTree/relationshipSchema/template.ejs +0 -7
- package/src/TemplateManager/src/attributeTreeSchema/generateTemplateData.js +0 -103
- package/src/TemplateManager/src/attributeTreeSchema/mainAttributeTree/attributeLinkTemplate.ejs +0 -17
- package/src/TemplateManager/src/attributeTreeSchema/mainAttributeTree/data.js +0 -134
- package/src/TemplateManager/src/attributeTreeSchema/mainAttributeTree/request.json +0 -11
- package/src/TemplateManager/src/attributeTreeSchema/referenceRelationshipSchema/data.js +0 -84
- package/src/TemplateManager/src/attributeTreeSchema/referenceRelationshipSchema/tempReferenceRelationshipSchema.ejs +0 -9
- package/src/TemplateManager/src/attributeTreeSchema/relationshipSchema/data.js +0 -172
- package/src/TemplateManager/src/attributeTreeSchema/relationshipSchema/template.ejs +0 -7
- package/src/TemplateManager/src/externalService/FunctionNameConfig/data.js +0 -163
- package/src/TemplateManager/src/externalService/FunctionNameConfig/template.ejs +0 -14
- package/src/TemplateManager/src/externalService/FunctionNameConfig/templateIntTesting.ejs +0 -31
- package/src/TemplateManager/src/externalService/FunctionNameConfig/templateYaml.ejs +0 -10
- package/src/TemplateManager/src/externalService/LambdaRole/data.js +0 -420
- package/src/TemplateManager/src/externalService/LambdaRole/request.json +0 -18
- package/src/TemplateManager/src/externalService/LambdaRole/template.ejs +0 -57
- package/src/TemplateManager/src/externalService/SnsTopicSubscriotions/data.js +0 -160
- package/src/TemplateManager/src/externalService/SnsTopicSubscriotions/request.json +0 -12
- package/src/TemplateManager/src/externalService/SnsTopicSubscriotions/template.ejs +0 -28
- package/src/TemplateManager/src/flowSchema/DefaultWebSocketResource/dynamoDb/ReservedTableData.js +0 -65
- package/src/TemplateManager/src/flowSchema/DefaultWebSocketResource/dynamoDb/WebSocketTaskData.js +0 -65
- package/src/TemplateManager/src/flowSchema/DefaultWebSocketResource/webSocketConnect/functionYaml/data.js +0 -74
- package/src/TemplateManager/src/flowSchema/DefaultWebSocketResource/webSocketConnect/functionYaml/template.ejs +0 -29
- package/src/TemplateManager/src/flowSchema/DefaultWebSocketResource/webSocketConnect/handler/data.js +0 -55
- package/src/TemplateManager/src/flowSchema/DefaultWebSocketResource/webSocketConnect/handler/template.ejs +0 -68
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/InProcessFlowSchema/functionYaml/data.js +0 -77
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/InProcessFlowSchema/functionYaml/template.ejs +0 -37
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/InProcessFlowSchema/handler/data.js +0 -47
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/InProcessFlowSchema/handler/template.ejs +0 -103
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/InProcessFlowSchema/mainFunction/data.js +0 -46
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/InProcessFlowSchema/mainFunction/template.ejs +0 -0
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/InProcessFlowSchema/sns-sqs/data.js +0 -36
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/InProcessFlowSchema/sns-sqs/template.ejs +0 -0
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/OutComplete/functionYaml/data.js +0 -35
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/OutComplete/functionYaml/template.ejs +0 -0
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/OutComplete/handler/data.js +0 -35
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/OutComplete/handler/template.ejs +0 -0
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/OutComplete/mainFunction/data.js +0 -35
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/OutComplete/mainFunction/template.ejs +0 -0
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/OutComplete/sns-sqs/data.js +0 -35
- package/src/TemplateManager/src/flowSchema/FlowSchemaEndpoint/OutComplete/sns-sqs/template.ejs +0 -0
- package/src/TemplateManager/src/flowSchema/UploadS3Case/confirmReservedAfterUpload/functionYaml/data.js +0 -102
- package/src/TemplateManager/src/flowSchema/UploadS3Case/confirmReservedAfterUpload/functionYaml/template.ejs +0 -30
- package/src/TemplateManager/src/flowSchema/UploadS3Case/confirmReservedAfterUpload/handler/data.js +0 -58
- package/src/TemplateManager/src/flowSchema/UploadS3Case/confirmReservedAfterUpload/handler/template.ejs +0 -126
- package/src/TemplateManager/src/flowSchema/UploadS3Case/confirmReservedAfterUpload/mainFunction/data.js +0 -51
- package/src/TemplateManager/src/flowSchema/UploadS3Case/confirmReservedAfterUpload/mainFunction/template.ejs +0 -121
- package/src/TemplateManager/src/flowSchema/UploadS3Case/confirmReservedAfterUpload/queue/data.js +0 -64
- package/src/TemplateManager/src/flowSchema/UploadS3Case/confirmReservedAfterUpload/queue/template.ejs +0 -45
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObject/functionYaml/data.js +0 -128
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObject/functionYaml/template.ejs +0 -37
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObject/handler/data.js +0 -75
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObject/handler/template.ejs +0 -120
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObject/mainFunction/data.js +0 -55
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObject/mainFunction/template.ejs +0 -133
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObjectComplete/functionYaml/data.js +0 -102
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObjectComplete/functionYaml/template.ejs +0 -30
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObjectComplete/handler/data.js +0 -58
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObjectComplete/handler/template.ejs +0 -103
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObjectComplete/mainFunction/data.js +0 -55
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObjectComplete/mainFunction/template.ejs +0 -86
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObjectComplete/sns-sqs/data.js +0 -72
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createObjectComplete/sns-sqs/template.ejs +0 -49
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/getsignUrlsAcc/functionYaml/data.js +0 -85
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/getsignUrlsAcc/functionYaml/template.ejs +0 -27
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/getsignUrlsAcc/handler/data.js +0 -57
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/getsignUrlsAcc/handler/template.ejs +0 -120
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/getsignUrlsAcc/mainFunction/data.js +0 -51
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/getsignUrlsAcc/mainFunction/template.ejs +0 -164
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/getsignUrlsAcc/sqs/data.js +0 -65
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/getsignUrlsAcc/sqs/template.ejs +0 -53
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/reservedLimitComplete/functionYaml/data.js +0 -112
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/reservedLimitComplete/functionYaml/template.ejs +0 -30
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/reservedLimitComplete/handler/data.js +0 -57
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/reservedLimitComplete/handler/template.ejs +0 -126
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/reservedLimitComplete/mainFunction/data.js +0 -54
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/reservedLimitComplete/mainFunction/template.ejs +0 -254
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/reservedLimitComplete/queue/data.js +0 -64
- package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/reservedLimitComplete/queue/template.ejs +0 -45
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode/handler/data.js +0 -94
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode/handler/templateAsyncHandler.ejs +0 -110
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode/handler/templateSyncHandler.ejs +0 -49
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode/hookLogic/data.js +0 -44
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode/mainFunction/data.js +0 -66
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode/mainFunction/template.ejs +0 -7
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode/queue/data.js +0 -73
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode/queue/snsTemplate.ejs +0 -59
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode/queue/sqsTemplate.ejs +0 -43
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode(old)/functionYaml/data.js +0 -102
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode(old)/functionYaml/template.ejs +0 -43
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode(old)/handler/data.js +0 -94
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode(old)/handler/templateAsyncHandler.ejs +0 -110
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode(old)/handler/templateSyncHandler.ejs +0 -49
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode(old)/hookLogic/data.js +0 -65
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode(old)/mainFunction/data.js +0 -67
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode(old)/mainFunction/template.ejs +0 -30
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode(old)/queue/data.js +0 -125
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode(old)/queue/snsTemplate.ejs +0 -59
- package/src/TemplateManager/src/flowSchema/UploadS3Case/hookCode(old)/queue/sqsTemplate.ejs +0 -43
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/functionYml/HdrDsq/data.js +0 -87
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/functionYml/HdrDsq/template.ejs +0 -30
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/functionYml/HdrS3/data.js +0 -112
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/functionYml/HdrS3/template.ejs +0 -38
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/handler/handlerDsq/data.js +0 -45
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/handler/handlerDsq/template.ejs +0 -151
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/handler/handlerS3/data.js +0 -43
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/handler/handlerS3/template.ejs +0 -68
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/mainFunction/data.js +0 -43
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/mainFunction/template.ejs +0 -392
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/queue/data.js +0 -77
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/queue/dsqTemplatePath.ejs +0 -32
- package/src/TemplateManager/src/flowSchema/UploadS3Case/processFileS3AfterUpload/queue/s3Template.ejs +0 -59
- package/src/TemplateManager/src/flowSchema/UploadS3Case/relate/S3/data.js +0 -51
- package/src/TemplateManager/src/flowSchema/UploadS3Case/relate/S3/template.ejs +0 -13
- package/src/TemplateManager/src/flowSchema/UploadS3Case/relate/libs/data.js +0 -42
- package/src/TemplateManager/src/flowSchema/UploadS3Case/relate/libs/template.ejs +0 -137
- package/src/TemplateManager/src/libs/Consts.js +0 -485
- package/src/TemplateManager/src/libs/GenerateCodeUtils.js +0 -59
package/src/TemplateManager/src/flowSchema/UploadS3Case/createObjectComplete/sns-sqs/template.ejs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
Subscription<%- subScription-%>:
|
|
2
|
-
Type: AWS::SNS::Subscription
|
|
3
|
-
Properties:
|
|
4
|
-
TopicArn: !Ref <%- subScription %>
|
|
5
|
-
Endpoint: "arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- queueName %>"
|
|
6
|
-
Protocol: "sqs"
|
|
7
|
-
#------- queue ---------
|
|
8
|
-
<%- queueName %>:
|
|
9
|
-
Type: "AWS::SQS::Queue"
|
|
10
|
-
Properties:
|
|
11
|
-
QueueName: ${self:custom.iz_resourcePrefix}<%- queueName %>
|
|
12
|
-
RedrivePolicy:
|
|
13
|
-
deadLetterTargetArn: #!GetAtt
|
|
14
|
-
Fn::GetAtt:
|
|
15
|
-
- <%- queueName %>DLQ
|
|
16
|
-
- Arn
|
|
17
|
-
maxReceiveCount: 3
|
|
18
|
-
VisibilityTimeout: 120
|
|
19
|
-
|
|
20
|
-
<%- queueName %>DLQ:
|
|
21
|
-
Type: AWS::SQS::Queue
|
|
22
|
-
Properties:
|
|
23
|
-
QueueName: ${self:custom.iz_resourcePrefix}<%- queueName %>DLQ
|
|
24
|
-
|
|
25
|
-
<%- queueName %>Policy:
|
|
26
|
-
Type: AWS::SQS::QueuePolicy
|
|
27
|
-
Properties:
|
|
28
|
-
PolicyDocument:
|
|
29
|
-
Version: "2012-10-17"
|
|
30
|
-
Statement:
|
|
31
|
-
- Sid: "allow-sns-messages"
|
|
32
|
-
Effect: Allow
|
|
33
|
-
Principal: "*"
|
|
34
|
-
Resource: #!GetAtt
|
|
35
|
-
Fn::GetAtt:
|
|
36
|
-
- <%- queueName %>
|
|
37
|
-
- Arn
|
|
38
|
-
Action: "SQS:SendMessage"
|
|
39
|
-
Queues:
|
|
40
|
-
- Ref: <%- queueName %>
|
|
41
|
-
#<#<%- firstLetterUpperCase(queueName) %>QueueSetting#>
|
|
42
|
-
#<#/<%- firstLetterUpperCase(queueName) %>QueueSetting#>
|
|
43
|
-
|
|
44
|
-
<%_ function firstLetterUpperCase(text){
|
|
45
|
-
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
46
|
-
} _%>
|
|
47
|
-
<%_ function firstLetterLowerCase(str) {
|
|
48
|
-
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
49
|
-
} _%>
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2021 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
'use strict';
|
|
19
|
-
|
|
20
|
-
const path = require('path');
|
|
21
|
-
|
|
22
|
-
const templatePath = path.join(__dirname, 'template.ejs')
|
|
23
|
-
|
|
24
|
-
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } = require("../../../../../../../MainLibs/src/Utils")
|
|
25
|
-
const { HANDLER, defaultIamRolePerAction, createIamRole, RESOURCE_CLASSES, SQS_RESOURCE, SNS_RESOURCE, resourceNames, shortNameHandler, SOURCE_PATH, SAVE_FILE_NAME, awaitingMultipleStepsRole, externalResourceSns, externalResourceName } = require('../../../../../libs/Consts');
|
|
26
|
-
const { TOPIC_NAME_GENERATE_CODE } = require('../../../../../../../GenerateCodeLibs/src/Consts');
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* receive objectSchema
|
|
30
|
-
*
|
|
31
|
-
* @param {Object} flowSchema
|
|
32
|
-
* @return {{ templatePath, templateData, setting } }
|
|
33
|
-
*/
|
|
34
|
-
|
|
35
|
-
function data(_izContext, srcPath) {
|
|
36
|
-
return [createSourceParams(_izContext, srcPath)]
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function createSourceParams(_izContext, srcPath) {
|
|
40
|
-
let functionName = "GetPresignUrl";
|
|
41
|
-
let handlerType = upperCase(HANDLER.hdrSqs);
|
|
42
|
-
let additionalResourcePermission = defaultIamRolePerAction();
|
|
43
|
-
|
|
44
|
-
additionalResourcePermission.push(
|
|
45
|
-
createIamRole(
|
|
46
|
-
{
|
|
47
|
-
[RESOURCE_CLASSES.sqs]: [
|
|
48
|
-
SQS_RESOURCE.receiveMessage,
|
|
49
|
-
SQS_RESOURCE.sendMessage,
|
|
50
|
-
SQS_RESOURCE.deleteMessage,
|
|
51
|
-
SQS_RESOURCE.getQueueAttributes
|
|
52
|
-
],
|
|
53
|
-
[RESOURCE_CLASSES.sns]: [
|
|
54
|
-
SNS_RESOURCE.publish,
|
|
55
|
-
SNS_RESOURCE.subscribe
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
[
|
|
59
|
-
resourceNames(RESOURCE_CLASSES.sqs, "GetPresignUrl" + handlerType),
|
|
60
|
-
resourceNames(RESOURCE_CLASSES.sqs, "GetPresignUrl" + "DLQ"),
|
|
61
|
-
resourceNames(RESOURCE_CLASSES.sns, TOPIC_NAME_GENERATE_CODE.outCreateNodeComplete)
|
|
62
|
-
]
|
|
63
|
-
)
|
|
64
|
-
)
|
|
65
|
-
|
|
66
|
-
return {
|
|
67
|
-
templatePath: templatePath,
|
|
68
|
-
templateData: {
|
|
69
|
-
functionName,
|
|
70
|
-
handlerType,
|
|
71
|
-
functionNameConfig: functionName + upperCase(handlerType),
|
|
72
|
-
resourceLocation: SOURCE_PATH.resourceLocationWebSocket,
|
|
73
|
-
additionalResourcePermission,
|
|
74
|
-
functionNameConfig: upperCase(functionName) + upperCase(shortNameHandler(handlerType)),
|
|
75
|
-
},
|
|
76
|
-
setting: {
|
|
77
|
-
saveFileName: upperCase(SAVE_FILE_NAME.flowSchema),
|
|
78
|
-
savePath: path.join(srcPath, SOURCE_PATH.appYaml),
|
|
79
|
-
fileExtension: ".yml",
|
|
80
|
-
isAppend: true
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
module.exports = data
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<%_ const join = require('path').join; _%>
|
|
2
|
-
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
|
-
handler: <%- join(resourceLocation, `${functionName}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
|
-
name: ${self:custom.iz_resourcePrefix}<%- functionName %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
-
events:
|
|
6
|
-
- sqs:
|
|
7
|
-
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- functionName %><%- firstLetterUpperCase(handlerType) %>
|
|
8
|
-
batchSize: 10
|
|
9
|
-
iamRoleStatements:
|
|
10
|
-
<%_ additionalResourcePermission.forEach(resourcePermission => { _%>
|
|
11
|
-
- Effect: <%- resourcePermission.effect %>
|
|
12
|
-
Action:
|
|
13
|
-
<%_ Object.keys(resourcePermission.action).forEach(resourcePerAction => { _%>
|
|
14
|
-
<%_ resourcePermission.action[resourcePerAction].forEach(permission => { _%>
|
|
15
|
-
- <%- resourcePerAction %>:<%- permission %>
|
|
16
|
-
<%_ }) _%>
|
|
17
|
-
<%_ }) _%>
|
|
18
|
-
Resource:
|
|
19
|
-
<%_ resourcePermission.resource.forEach(resource => { _%>
|
|
20
|
-
- "<%- resource %>"
|
|
21
|
-
<%_ }) _%>
|
|
22
|
-
<%_}) _%>
|
|
23
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
24
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
25
|
-
<%_ function firstLetterUpperCase(text){
|
|
26
|
-
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
27
|
-
} _%>
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2021 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
'use strict';
|
|
19
|
-
|
|
20
|
-
const path = require('path');
|
|
21
|
-
|
|
22
|
-
const templatePath = path.join(__dirname, 'template.ejs')
|
|
23
|
-
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } = require("../../../../../../../MainLibs/src/Utils")
|
|
24
|
-
|
|
25
|
-
const { HANDLER, SOURCE_PATH } = require('../../../../../libs/Consts');
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* receive objectSchema
|
|
29
|
-
*
|
|
30
|
-
* @param {Object} flowSchema
|
|
31
|
-
* @return {{ templatePath, templateData, setting } }
|
|
32
|
-
*/
|
|
33
|
-
|
|
34
|
-
function data(_izContext, srcPath) {
|
|
35
|
-
return [createSourceParams(_izContext, srcPath)]
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
function createSourceParams(_izContext, srcPath) {
|
|
39
|
-
let functionName = "GetPresignUrl";
|
|
40
|
-
let handlerType = upperCase(HANDLER.hdrSqs);
|
|
41
|
-
|
|
42
|
-
return {
|
|
43
|
-
templatePath: templatePath,
|
|
44
|
-
templateData: {
|
|
45
|
-
functionName,
|
|
46
|
-
handlerType,
|
|
47
|
-
},
|
|
48
|
-
setting: {
|
|
49
|
-
saveFileName: `${functionName}_${handlerType}`,
|
|
50
|
-
savePath: path.join(srcPath, SOURCE_PATH.webSocket),
|
|
51
|
-
fileExtension: ".js",
|
|
52
|
-
isAppend: true
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
module.exports = data
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2021 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
'use strict';
|
|
19
|
-
|
|
20
|
-
const izara = require("@izara_project/izara-middleware");
|
|
21
|
-
const middleware = izara.middlewareHandler;
|
|
22
|
-
const izaraShared = require('@izara_project/izara-shared');
|
|
23
|
-
const recordHandlerSharedLib = izaraShared.recordHandlerSharedLib
|
|
24
|
-
const callingFlowSharedLib = izaraShared.callingFlowSharedLib;
|
|
25
|
-
const Logger = require('@izara_project/izara-core-library-logger');
|
|
26
|
-
|
|
27
|
-
const getPresignUrl = require('./GetPresignUrl_Main');
|
|
28
|
-
|
|
29
|
-
middleware.setServiceSchema(recordHandlerSharedLib.baseValidatorSchema());
|
|
30
|
-
|
|
31
|
-
let perRecordsValidatorSchema = {
|
|
32
|
-
type: "object",
|
|
33
|
-
required: ["objType", "objInstanceFull"],
|
|
34
|
-
properties: {
|
|
35
|
-
objType: {
|
|
36
|
-
type: "object",
|
|
37
|
-
required: ["objectType", "serviceTag"],
|
|
38
|
-
properties: {
|
|
39
|
-
objectType: {
|
|
40
|
-
type: "string",
|
|
41
|
-
pattern: "^[a-zA-Z0-9_-]+$"
|
|
42
|
-
},
|
|
43
|
-
serviceTag: {
|
|
44
|
-
type: "string",
|
|
45
|
-
pattern: "^[a-zA-Z0-9_-]+$"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
objInstaceFull: {
|
|
50
|
-
type: "object",
|
|
51
|
-
properties: {
|
|
52
|
-
identifiers: {
|
|
53
|
-
type: "object",
|
|
54
|
-
minProperties: 1
|
|
55
|
-
},
|
|
56
|
-
fields: {
|
|
57
|
-
type: "object"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
perRecordsValidatorSchema = callingFlowSharedLib.addOptionalPassBackPropertiesToValidatorSchema(perRecordsValidatorSchema);
|
|
65
|
-
|
|
66
|
-
module.exports.main = middleware.wrap(async (event, context, callback) => {
|
|
67
|
-
|
|
68
|
-
try {
|
|
69
|
-
|
|
70
|
-
let recordPromises = [];
|
|
71
|
-
|
|
72
|
-
// loop each record and send to mainFunction
|
|
73
|
-
await Promise.all(event.Records.map(async record => { // promise.all for map() function
|
|
74
|
-
|
|
75
|
-
let passOnProperties = []
|
|
76
|
-
record._izContext.logger.debug('record ReceiveMsgOutHdrSqs', record);
|
|
77
|
-
|
|
78
|
-
//validate message (and MessageAttributes)
|
|
79
|
-
await recordHandlerSharedLib.validateRecord(
|
|
80
|
-
record, // one record will send to mainFunction
|
|
81
|
-
"GetPresignUrlHdrSqs", // queue name that need to retry or send to dlq
|
|
82
|
-
perRecordsValidatorSchema, // schema for record.Message
|
|
83
|
-
// messageAttributeValidatorSchema // ----- for msgAttr default is null -> do not send this parameter if not want to validate msgAtt
|
|
84
|
-
);
|
|
85
|
-
|
|
86
|
-
// add argument (to invoke lambda) to passOnProperties[]
|
|
87
|
-
passOnProperties.push(record.body.Message.objType)
|
|
88
|
-
passOnProperties.push(record.body.Message.objInstanceFull)
|
|
89
|
-
passOnProperties.push(callingFlowSharedLib.addPassBackPropertiesToPassOnProperties(record.body.Message)) // is Ok PassBackProperties
|
|
90
|
-
// passOnProperties.push(callingFlowSharedLib.addCallingFlowToPassOnProperties(record.body.Message)) // is Ok callinfFlow
|
|
91
|
-
record._izContext.logger.debug('passOnProperties in handler', passOnProperties);
|
|
92
|
-
|
|
93
|
-
// call recordHandlerSharedLib.recordHandler with 3 parameters and return promise(resolve)
|
|
94
|
-
let recordPromise = recordHandlerSharedLib.recordHandler(
|
|
95
|
-
record, // one record will send to mainFunction
|
|
96
|
-
getPresignUrl.getSignedUrlAccountLimit, // mainFunction that need to invoke.
|
|
97
|
-
"GetPresignUrlHdrSqs", // queue name that need to retry or send to dlq
|
|
98
|
-
passOnProperties, // all parameters that mainFunction needed.
|
|
99
|
-
);
|
|
100
|
-
record._izContext.logger.debug('after recordPromise in handler');
|
|
101
|
-
recordPromises.push(recordPromise); // push promise to recordPromises
|
|
102
|
-
}))
|
|
103
|
-
|
|
104
|
-
Logger.debug('before Promise.all(recordPromises) in handler');
|
|
105
|
-
try {
|
|
106
|
-
// --- main await all promises
|
|
107
|
-
await Promise.all(recordPromises); // await all promises
|
|
108
|
-
|
|
109
|
-
return event.Records // return all for local testing
|
|
110
|
-
|
|
111
|
-
} catch {
|
|
112
|
-
Logger.debug('Promise.all(recordPromises) in handler threw error (at least one record did no resolve)');
|
|
113
|
-
}
|
|
114
|
-
Logger.debug('after Promise.all(recordPromises) in handler');
|
|
115
|
-
|
|
116
|
-
} catch (err) {
|
|
117
|
-
Logger.error('Unhandled Error, updateNodeCompleteHdrSqs: ', err);
|
|
118
|
-
throw (err);
|
|
119
|
-
}
|
|
120
|
-
});
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2021 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
'use strict';
|
|
19
|
-
|
|
20
|
-
const path = require('path');
|
|
21
|
-
|
|
22
|
-
const templatePath = path.join(__dirname, 'template.ejs')
|
|
23
|
-
|
|
24
|
-
const { SOURCE_PATH } = require("../../../../../libs/Consts");
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* receive objectSchema
|
|
28
|
-
*
|
|
29
|
-
* @param {Object} flowSchema
|
|
30
|
-
* @return {{ templatePath, templateData, setting } }
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
function data(_izContext, srcPath) {
|
|
34
|
-
return [createSourceParams(_izContext, srcPath)]
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function createSourceParams(_izContext, srcPath) {
|
|
38
|
-
let functionName = "GetPresignUrl"
|
|
39
|
-
return {
|
|
40
|
-
templatePath: templatePath,
|
|
41
|
-
templateData: {},
|
|
42
|
-
setting: {
|
|
43
|
-
saveFileName: `${functionName}_Main`,
|
|
44
|
-
savePath: path.join(srcPath, SOURCE_PATH.webSocket),
|
|
45
|
-
fileExtension: ".js",
|
|
46
|
-
isAppend: false
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
module.exports = data
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2021 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
'use strict';
|
|
19
|
-
|
|
20
|
-
const izaraShared = require('@izara_project/izara-shared');
|
|
21
|
-
const callingFlowSharedLib = izaraShared.callingFlowSharedLib;
|
|
22
|
-
const lambdaSharedLib = izaraShared.lambdaSharedLib;
|
|
23
|
-
const snsSharedLib = izaraShared.snsSharedLib
|
|
24
|
-
|
|
25
|
-
const externalRequest = require('@izara_project/izara-core-library-external-request')
|
|
26
|
-
const sns = externalRequest.sns;
|
|
27
|
-
const lambda = externalRequest.lambda
|
|
28
|
-
const consts = require('@izara_project/izara-market-library-service-schemas/src/GenerateCodeLibs/src/Consts')
|
|
29
|
-
const coreConsts = require('@izara_project/izara-middleware/src/MiddlewareCore/Consts')
|
|
30
|
-
const hash = require('@izara_project/izara-shared-core').objectHash;
|
|
31
|
-
const importDataLibs = require('../../libs/source/ImportDataLib')
|
|
32
|
-
/**
|
|
33
|
-
* description of function.
|
|
34
|
-
* @param {Object} _izContext
|
|
35
|
-
* @param {CorrelationIds} _izContext.correlationIds - property of _izContext
|
|
36
|
-
* @param {Logger} _izContext.logger - property of _izContext
|
|
37
|
-
* @param {string} userId - from client
|
|
38
|
-
* @param {string} imageImportConfigId - from client
|
|
39
|
-
* @param {string} fileName - name of image
|
|
40
|
-
* @param {string} imageType - type of image
|
|
41
|
-
* @param {numeric} imageSize - size of image
|
|
42
|
-
*
|
|
43
|
-
* @returns {object} return imageImportId
|
|
44
|
-
*/
|
|
45
|
-
module.exports.getSignedUrlAccountLimit = async (
|
|
46
|
-
_izContext,
|
|
47
|
-
objType,
|
|
48
|
-
objInstaceFull,
|
|
49
|
-
callingFlowConfig = {}
|
|
50
|
-
) => {
|
|
51
|
-
|
|
52
|
-
try {
|
|
53
|
-
|
|
54
|
-
_izContext.logger.debug('----- getSignedUrlAccountLimit event params ----- ', {
|
|
55
|
-
objType,
|
|
56
|
-
objInstaceFull,
|
|
57
|
-
callingFlowConfig
|
|
58
|
-
});
|
|
59
|
-
const {
|
|
60
|
-
userId,
|
|
61
|
-
submittedByUserId,
|
|
62
|
-
importConfigId,
|
|
63
|
-
importBatchStatus,
|
|
64
|
-
importType,
|
|
65
|
-
fileName,
|
|
66
|
-
fileSize,
|
|
67
|
-
startTime
|
|
68
|
-
} = objInstaceFull.fields
|
|
69
|
-
const {
|
|
70
|
-
importBatchId
|
|
71
|
-
} = objInstaceFull.identifiers
|
|
72
|
-
|
|
73
|
-
let connectionId = _izContext.correlationIds.get(coreConsts.CONNECTION_ID)
|
|
74
|
-
//* hard code
|
|
75
|
-
// _izContext['userId'] = 'this-is-uuid-for-user-superUserA'
|
|
76
|
-
|
|
77
|
-
// get static
|
|
78
|
-
let payloadBeforeInvokeStaticLimit = {
|
|
79
|
-
userId: userId,
|
|
80
|
-
limitTag: consts.LIMIT_TAG.uploadData,
|
|
81
|
-
value: fileSize,
|
|
82
|
-
rbacType: consts.RBAC_TYPE.appLevel,
|
|
83
|
-
targetUserId: submittedByUserId,
|
|
84
|
-
callingFlow: "BasDev",
|
|
85
|
-
callingFlowProperties: {}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
let res = await importDataLibs.getDataFromInvokeFunctionWithCache(_izContext,
|
|
89
|
-
await lambdaSharedLib.lambdaFunctionName(_izContext, "StaticLimitProcessHdrInv", consts.EXTERNAL_SERVICE_NAME.accountLimits),
|
|
90
|
-
payloadBeforeInvokeStaticLimit
|
|
91
|
-
)
|
|
92
|
-
// let res = await lambda.invokeSync(_izContext,
|
|
93
|
-
// await lambdaSharedLib.lambdaFunctionName(_izContext, "StaticLimitProcessHdrInv", consts.EXTERNAL_SERVICE_NAME.accountLimits),
|
|
94
|
-
// payloadBeforeInvokeStaticLimit
|
|
95
|
-
// )
|
|
96
|
-
|
|
97
|
-
_izContext.logger.debug("res::", res);
|
|
98
|
-
|
|
99
|
-
if (res.passStatus === false) {
|
|
100
|
-
importDataLibs.postToConnection({ message: "static limit over" }, connectionId)
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
// reservedDynamic
|
|
105
|
-
|
|
106
|
-
let sendMsgReservedDynamic = {
|
|
107
|
-
userId: userId,
|
|
108
|
-
limitTag: consts.LIMIT_TAG.uploadData,
|
|
109
|
-
value: fileSize,
|
|
110
|
-
rbacType: consts.RBAC_TYPE.appLevel,
|
|
111
|
-
usedTimestamp: startTime,
|
|
112
|
-
targetUserId: submittedByUserId
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
const reservedDataId = `${consts.ACCOUNTLIMIT_TAG.reservedDynamic}_${userId}_${consts.LIMIT_TAG.uploadData}`
|
|
116
|
-
|
|
117
|
-
let callingFlowProperties = {
|
|
118
|
-
identifier: {
|
|
119
|
-
servicePendingId: importBatchId,
|
|
120
|
-
reservedDataId: reservedDataId
|
|
121
|
-
},
|
|
122
|
-
importConfigId: importConfigId,
|
|
123
|
-
objType: objType
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
_izContext.logger.debug("callingFlowProperties", callingFlowProperties);
|
|
127
|
-
|
|
128
|
-
if (callingFlowConfig) {
|
|
129
|
-
sendMsgReservedDynamic = callingFlowSharedLib.addCallingFlowToSnsRequestMessageObject(
|
|
130
|
-
sendMsgReservedDynamic,
|
|
131
|
-
callingFlowSharedLib.addParentCallingFlowConfig(
|
|
132
|
-
callingFlowConfig,
|
|
133
|
-
callingFlowSharedLib.createCallingFlowConfig(
|
|
134
|
-
await lambdaSharedLib.lambdaFunctionName(_izContext, "ReservedLimitCompleteHdrSqs"),
|
|
135
|
-
callingFlowProperties
|
|
136
|
-
)
|
|
137
|
-
)
|
|
138
|
-
)
|
|
139
|
-
} else {
|
|
140
|
-
sendMsgReservedDynamic = callingFlowSharedLib.addCallingFlowToSnsRequestMessageObject(
|
|
141
|
-
sendMsgReservedDynamic,
|
|
142
|
-
callingFlowSharedLib.createCallingFlowConfig(
|
|
143
|
-
await lambdaSharedLib.lambdaFunctionName(_izContext, "ReservedLimitCompleteHdrSqs"),
|
|
144
|
-
callingFlowProperties
|
|
145
|
-
)
|
|
146
|
-
);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
let sendMessageToReservedDynamic = {
|
|
150
|
-
Message: JSON.stringify(sendMsgReservedDynamic),
|
|
151
|
-
TopicArn: await snsSharedLib.snsTopicArn(_izContext, "InReservedDynamicUsage", consts.EXTERNAL_SERVICE_NAME.accountLimits)
|
|
152
|
-
};
|
|
153
|
-
_izContext.logger.debug("sendMessageToReservedDynamic", sendMessageToReservedDynamic);
|
|
154
|
-
await sns.publishAsync(_izContext, sendMessageToReservedDynamic);
|
|
155
|
-
|
|
156
|
-
return {
|
|
157
|
-
objType,
|
|
158
|
-
objInstaceFull,
|
|
159
|
-
}
|
|
160
|
-
} catch (err) {
|
|
161
|
-
_izContext.logger.error('error GetSignedUrlAccountLimit: ', err);
|
|
162
|
-
throw (err)
|
|
163
|
-
}
|
|
164
|
-
}
|
package/src/TemplateManager/src/flowSchema/UploadS3Case/createPresignUrl/getsignUrlsAcc/sqs/data.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
'use strict';
|
|
19
|
-
|
|
20
|
-
const path = require("path")
|
|
21
|
-
|
|
22
|
-
const { SOURCE_PATH, SAVE_FILE_NAME } = require('../../../../../libs/Consts');
|
|
23
|
-
const { TOPIC_NAME_GENERATE_CODE } = require("../../../../../../../GenerateCodeLibs/src/Consts");
|
|
24
|
-
|
|
25
|
-
const templatePath = path.join(__dirname, 'template.ejs');
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* create data for dynamoDbYaml tempalte from objectSchema
|
|
30
|
-
* return array of dynamoDb data
|
|
31
|
-
* because one objectSchema can create multiple dynamoDb table
|
|
32
|
-
*
|
|
33
|
-
* @param {Object} _izContext
|
|
34
|
-
* @param {Object} objectSchema
|
|
35
|
-
* @returns {Object[]} - data of multiple dynamoDb template
|
|
36
|
-
*/
|
|
37
|
-
|
|
38
|
-
function data(_izContext, srcPath) {
|
|
39
|
-
let resultForCreateSqs = [];
|
|
40
|
-
const WebSocketSqsQueueNames = [];
|
|
41
|
-
const setting = {
|
|
42
|
-
initialData: "Resources:\n",
|
|
43
|
-
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
44
|
-
saveFileName: SAVE_FILE_NAME.snsInSqsYaml,
|
|
45
|
-
fileExtension: ".yml",
|
|
46
|
-
isAppend: true
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
WebSocketSqsQueueNames.push(
|
|
50
|
-
{
|
|
51
|
-
queueName: "GetPresignUrl",
|
|
52
|
-
subscription: TOPIC_NAME_GENERATE_CODE.createNodeComplete
|
|
53
|
-
}
|
|
54
|
-
)
|
|
55
|
-
|
|
56
|
-
for (let WebSocketSqsQueueName of WebSocketSqsQueueNames) {
|
|
57
|
-
resultForCreateSqs.push(({
|
|
58
|
-
templatePath: templatePath,
|
|
59
|
-
templateData: WebSocketSqsQueueName,
|
|
60
|
-
setting: setting
|
|
61
|
-
}))
|
|
62
|
-
}
|
|
63
|
-
return resultForCreateSqs
|
|
64
|
-
}
|
|
65
|
-
module.exports = data;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
##===== SNS Subscription
|
|
2
|
-
##===== [Topic In]
|
|
3
|
-
Subscription<%- subscription %>:
|
|
4
|
-
Type: AWS::SNS::Subscription
|
|
5
|
-
Properties:
|
|
6
|
-
TopicArn: !Ref Out<%- subscription %>
|
|
7
|
-
Endpoint: "arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- queueName %>HdrSqs"
|
|
8
|
-
Protocol: "sqs"
|
|
9
|
-
##===== [Queue]
|
|
10
|
-
<%- queueName %>HdrSqs:
|
|
11
|
-
Type: "AWS::SQS::Queue"
|
|
12
|
-
Properties:
|
|
13
|
-
QueueName: ${self:custom.iz_resourcePrefix}<%- queueName %>HdrSqs
|
|
14
|
-
RedrivePolicy:
|
|
15
|
-
deadLetterTargetArn:
|
|
16
|
-
# !GetAtt
|
|
17
|
-
Fn::GetAtt:
|
|
18
|
-
- <%- queueName %>HdrSqsDLQ
|
|
19
|
-
- Arn
|
|
20
|
-
maxReceiveCount: 3
|
|
21
|
-
VisibilityTimeout: 120
|
|
22
|
-
##==== [QueueDLQ]
|
|
23
|
-
<%- queueName %>HdrSqsDLQ:
|
|
24
|
-
Type: AWS::SQS::Queue
|
|
25
|
-
Properties:
|
|
26
|
-
QueueName: ${self:custom.iz_resourcePrefix}<%- queueName %>HdrSqsDLQ
|
|
27
|
-
##==== [QueuePolicy]
|
|
28
|
-
<%- queueName %>HdrSqsPolicy:
|
|
29
|
-
Type: AWS::SQS::QueuePolicy
|
|
30
|
-
Properties:
|
|
31
|
-
PolicyDocument:
|
|
32
|
-
Version: "2012-10-17"
|
|
33
|
-
Statement:
|
|
34
|
-
- Sid: "allow-sns-messages"
|
|
35
|
-
Effect: Allow
|
|
36
|
-
Principal: "*"
|
|
37
|
-
Resource:
|
|
38
|
-
# !GetAtt
|
|
39
|
-
Fn::GetAtt:
|
|
40
|
-
- <%- queueName %>HdrSqs
|
|
41
|
-
- Arn
|
|
42
|
-
Action: "SQS:SendMessage"
|
|
43
|
-
Queues:
|
|
44
|
-
- Ref: <%- queueName %>HdrSqs
|
|
45
|
-
#<#<%- firstLetterUpperCase(queueName) %>QueueSetting#>
|
|
46
|
-
#<#/<%- firstLetterUpperCase(queueName) %>QueueSetting#>
|
|
47
|
-
|
|
48
|
-
<%_ function firstLetterUpperCase(text){
|
|
49
|
-
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
50
|
-
} _%>
|
|
51
|
-
<%_ function firstLetterLowerCase(str) {
|
|
52
|
-
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
53
|
-
} _%>
|