@izara_project/izara-core-generate-service-code 1.0.45 → 1.0.47
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/REFACTOR_PLAN.md +172 -0
- package/fix_array.js +11 -0
- package/fix_imports.js +41 -0
- package/fix_upper.js +38 -0
- package/index.js +1 -1
- package/jsconfig.json +3 -7
- package/package.json +8 -8
- package/src/generateCode.js +11 -199
- package/src/generateResources/IntTest/generateTests/generateTemplate.js +3 -3
- package/src/generateResources.js +1 -1
- package/src/generateTests.js +2 -2
- package/src/generators/fromExternalService/externalServiceComponent/functionNameConfig/template.ejs +14 -0
- package/src/generators/fromExternalService/externalServiceComponent/functionNameConfig/templateIntTesting.ejs +31 -0
- package/src/generators/fromExternalService/externalServiceComponent/functionNameConfig/templateYaml.ejs +10 -0
- package/src/generators/fromExternalService/externalServiceComponent/index.js +69 -0
- package/src/generators/fromFlowSchema/events/eventBridge/functionYaml/yaml.js +168 -0
- package/src/generators/fromFlowSchema/events/eventBridge/handler/inv/inv.js +74 -0
- package/src/generators/fromFlowSchema/events/eventBridge/index.js +16 -0
- package/src/generators/fromFlowSchema/events/eventBridge/mainFunction/main.js +77 -0
- package/src/generators/fromFlowSchema/events/eventBridge/mainFunction/template.ejs +59 -0
- package/src/generators/fromFlowSchema/events/extTopic/index.js +18 -0
- package/src/generators/fromFlowSchema/events/extTopic/process/functionYaml/yaml.js +159 -0
- package/src/generators/fromFlowSchema/events/extTopic/process/handler/handler.js +68 -0
- package/src/generators/fromFlowSchema/events/extTopic/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromFlowSchema/events/extTopic/sns-out/snsOut.js +76 -0
- package/src/generators/fromFlowSchema/events/lambdaSyncApi/functionYaml/yaml.js +88 -0
- package/src/generators/fromFlowSchema/events/lambdaSyncApi/handler/handler.js +69 -0
- package/src/generators/fromFlowSchema/events/lambdaSyncApi/index.js +14 -0
- package/src/generators/fromFlowSchema/events/lambdaSyncInv/functionYaml/yaml.js +75 -0
- package/src/generators/fromFlowSchema/events/lambdaSyncInv/handler/handler.js +65 -0
- package/src/generators/fromFlowSchema/events/lambdaSyncInv/index.js +14 -0
- package/src/generators/fromFlowSchema/events/ownTopic/endpoint/functionYaml/yaml.js +176 -0
- package/src/generators/fromFlowSchema/events/ownTopic/endpoint/handler/handler.js +95 -0
- package/src/generators/fromFlowSchema/events/ownTopic/flowSchema/handler/handler.js +66 -0
- package/src/generators/fromFlowSchema/events/ownTopic/flowSchema/handler/template.ejs +110 -0
- package/src/generators/fromFlowSchema/events/ownTopic/flowSchema/mainFunction/main.js +65 -0
- package/src/generators/fromFlowSchema/events/ownTopic/index.js +32 -0
- package/src/generators/fromFlowSchema/events/ownTopic/sns-out/snsOut.js +77 -0
- package/src/generators/fromFlowSchema/events/registry.js +6 -0
- package/src/generators/fromFlowSchema/events/s3/flowSchemaMainFunction/main.js +121 -0
- package/src/generators/fromFlowSchema/events/s3/index.js +81 -0
- package/src/generators/fromFlowSchema/events/s3/upload/confirmReserved/functionYaml/template.ejs +13 -0
- package/src/generators/fromFlowSchema/events/s3/upload/confirmReserved/functionYaml/yaml.js +140 -0
- package/src/generators/fromFlowSchema/events/s3/upload/confirmReserved/handler/handler.js +65 -0
- package/src/generators/fromFlowSchema/events/s3/upload/confirmReserved/queue/template.ejs +42 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObject/functionYaml/template.ejs +16 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObject/functionYaml/yaml.js +133 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObject/handler/handler.js +66 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObject/mainFunction/main.js +65 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObjectComplete/functionYaml/template.ejs +13 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObjectComplete/functionYaml/yaml.js +139 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObjectComplete/handler/handler.js +68 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObjectComplete/mainFunction/main.js +65 -0
- package/src/generators/fromFlowSchema/events/s3/upload/createObjectComplete/sns-sqs/template.ejs +46 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/createPreSignUrl/functionYaml/template.ejs +14 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/createPreSignUrl/functionYaml/yaml.js +157 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/createPreSignUrl/handler/handler.js +65 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/createPreSignUrl/mainFunction/main.js +64 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/createPreSignUrl/queue/template.ejs +42 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/reservedLimit/functionYaml/template.ejs +10 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/reservedLimit/functionYaml/yaml.js +164 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/reservedLimit/handler/handler.js +66 -0
- package/src/generators/fromFlowSchema/events/s3/upload/preSignUrl/reservedLimit/sqs/template.ejs +50 -0
- package/src/generators/fromFlowSchema/events/s3/upload/processFile/functionYml/HdrS3/template.ejs +21 -0
- package/src/generators/fromFlowSchema/events/s3/upload/processFile/functionYml/HdrS3/yaml.js +156 -0
- package/src/generators/fromFlowSchema/events/s3/upload/processFile/queue/s3Template.ejs +56 -0
- package/src/generators/fromFlowSchema/events/s3/upload/relate/sns-out/snsOut.js +70 -0
- package/src/generators/fromFlowSchema/flowSchemaMainFunction/main.js +124 -0
- package/src/generators/fromFlowSchema/flowStep/firstFlowStep/templateResource.ejs +56 -0
- package/src/generators/fromFlowSchema/flowStep/flowStep.js +516 -0
- package/src/generators/fromFlowSchema/index.js +203 -0
- package/src/generators/fromFlowSchema/register/complete/functionYaml/yaml.js +127 -0
- package/src/generators/fromFlowSchema/register/complete/handler/handler.js +61 -0
- package/src/generators/fromFlowSchema/register/complete/handler/template.ejs +85 -0
- package/src/generators/fromFlowSchema/register/dynamoDB/register.js +74 -0
- package/src/generators/fromFlowSchema/register/index.js +50 -0
- package/src/generators/fromFlowSchema/register/sns-in/snsIn.js +59 -0
- package/src/generators/fromFlowSchema/register/sns-in/template.ejs +42 -0
- package/src/generators/fromFlowSchema/register/subscriptionOutAll/subscriptionOutAll.js +84 -0
- package/src/generators/fromFlowSchema/register/subscriptionOutAll/template.ejs +10 -0
- package/src/generators/fromFlowSchema/register/wbs/functionYaml/yaml.js +114 -0
- package/src/generators/fromFlowSchema/register/wbs/handler/handler.js +63 -0
- package/src/generators/fromFlowSchema/statusTypes/registry.js +2 -0
- package/src/generators/fromFlowSchema/statusTypes/statusField/functionYaml/template.ejs +18 -0
- package/src/generators/fromFlowSchema/statusTypes/statusField/functionYaml/yaml.js +169 -0
- package/src/generators/fromFlowSchema/statusTypes/statusField/handler/handler.js +68 -0
- package/src/generators/fromFlowSchema/statusTypes/statusField/index.js +22 -0
- package/src/generators/fromFlowSchema/statusTypes/statusField/mainFunction/main.js +67 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/checkTriggerCacheComplete/functionYaml/template.ejs +18 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/checkTriggerCacheComplete/functionYaml/yaml.js +154 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/checkTriggerCacheComplete/handler/handler.js +73 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/checkTriggerCacheComplete/mainFunction/main.js +75 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/index.js +41 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/processTriggerCache/functionYaml/template.ejs +18 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/processTriggerCache/functionYaml/yaml.js +159 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/processTriggerCache/handler/handler.js +74 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/processTriggerCache/mainFunction/main.js +68 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/functionYaml/dsq/dsq.js +148 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/functionYaml/dsq/template.ejs +17 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/functionYaml/sqs/sqs.js +148 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/functionYaml/sqs/template.ejs +17 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/handler/dsq/dsq.js +69 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/handler/sqs/sqs.js +69 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheComplete/mainFunction/main.js +72 -0
- package/src/generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheQueue/template.ejs +46 -0
- package/src/generators/fromFlowSchema/webSocket/index.js +39 -0
- package/src/generators/fromFlowSchema/webSocket/webSocket/connect/functionYaml/yaml.js +89 -0
- package/src/generators/fromFlowSchema/webSocket/webSocket/connect/handler/handler.js +55 -0
- package/src/generators/fromFlowSchema/webSocket/webSocket/dynamoDb/WebSocketTaskData.js +74 -0
- package/src/generators/fromFlowSchema/webSocket/webSocket/dynamoDb/template.ejs +28 -0
- package/src/generators/fromFlowSchema/webSocket/webSocket/dynamoDb/ttlDynamoTemplate.ejs +29 -0
- package/src/generators/fromFlowSchema/webSocket/webSocketComplete/functionYaml/yaml.js +146 -0
- package/src/generators/fromFlowSchema/webSocket/webSocketComplete/handler/handler.js +61 -0
- package/src/generators/fromFlowSchema/webSocket/webSocketComplete/mainFunction/main.js +53 -0
- package/src/generators/fromFlowSchema/webSocket/webSocketComplete/sqs/sqs.js +108 -0
- package/src/generators/fromFlowSchema/webSocket/webSocketComplete/sqs/template.ejs +40 -0
- package/src/generators/fromObjectSchema/endpoint/handler/api.js +55 -0
- package/src/generators/fromObjectSchema/endpoint/handler/beforeLogical.js +56 -0
- package/src/generators/fromObjectSchema/endpoint/handler/dsq.js +55 -0
- package/src/generators/fromObjectSchema/endpoint/handler/inv.js +55 -0
- package/src/generators/fromObjectSchema/endpoint/handler/sqs.js +55 -0
- package/src/generators/fromObjectSchema/endpoint/index.js +290 -0
- package/src/generators/fromObjectSchema/endpoint/main/beforeLogical/beforeLogical.js +54 -0
- package/src/generators/fromObjectSchema/endpoint/main/beforeLogical/template.ejs +163 -0
- package/src/generators/fromObjectSchema/endpoint/main/create/create.js +52 -0
- package/src/generators/fromObjectSchema/endpoint/main/create/template.ejs +673 -0
- package/src/generators/fromObjectSchema/endpoint/main/delete/delete.js +49 -0
- package/src/generators/fromObjectSchema/endpoint/main/delete/template.ejs +349 -0
- package/src/generators/fromObjectSchema/endpoint/main/get/get.js +49 -0
- package/src/generators/fromObjectSchema/endpoint/main/update/template.ejs +509 -0
- package/src/generators/fromObjectSchema/endpoint/main/update/update.js +50 -0
- package/src/generators/fromObjectSchema/endpoint/resource.js +72 -0
- package/src/generators/fromObjectSchema/endpoint/yaml.js +308 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/handler/handler.js +63 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/mainFunction/template.ejs +302 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/sns-out/snsOut.js +72 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/yaml/template.ejs +17 -0
- package/src/generators/fromObjectSchema/endpointComplete/create/yaml/yaml.js +126 -0
- package/src/generators/fromObjectSchema/endpointComplete/delete/handler/handler.js +68 -0
- package/src/generators/fromObjectSchema/endpointComplete/delete/handler/template.ejs +122 -0
- package/src/generators/fromObjectSchema/endpointComplete/delete/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromObjectSchema/endpointComplete/delete/sns-out/snsOut.js +69 -0
- package/src/generators/fromObjectSchema/endpointComplete/delete/yaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/endpointComplete/delete/yaml/yaml.js +124 -0
- package/src/generators/fromObjectSchema/endpointComplete/get/handler/handler.js +68 -0
- package/src/generators/fromObjectSchema/endpointComplete/get/handler/template.ejs +122 -0
- package/src/generators/fromObjectSchema/endpointComplete/get/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromObjectSchema/endpointComplete/get/sns-out/snsOut.js +69 -0
- package/src/generators/fromObjectSchema/endpointComplete/get/yaml/template.ejs +17 -0
- package/src/generators/fromObjectSchema/endpointComplete/get/yaml/yaml.js +127 -0
- package/src/generators/fromObjectSchema/endpointComplete/index.js +80 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/handler/handler.js +68 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/handler/template.ejs +122 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/mainFunction/template.ejs +218 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/sns-out/snsOut.js +66 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/yaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/endpointComplete/update/yaml/yaml.js +127 -0
- package/src/generators/fromObjectSchema/findData/findDataYaml/findDataYaml.js +204 -0
- package/src/generators/fromObjectSchema/findData/findDataYaml/template.ejs +10 -0
- package/src/generators/fromObjectSchema/findData/index.js +70 -0
- package/src/generators/fromObjectSchema/index.js +134 -0
- package/src/generators/fromObjectSchema/processLogical/index.js +50 -0
- package/src/generators/fromObjectSchema/processLogical/yaml/template.ejs +10 -0
- package/src/generators/fromObjectSchema/processLogical/yaml/yaml.js +200 -0
- package/src/generators/fromObjectSchema/processLogicalPagination/dsqYaml/dsqYaml.js +51 -0
- package/src/generators/fromObjectSchema/processLogicalPagination/index.js +62 -0
- package/src/generators/fromObjectSchema/processLogicalPagination/yaml/dsq/dsq.js +189 -0
- package/src/generators/fromObjectSchema/processLogicalPagination/yaml/dsq/template.ejs +10 -0
- package/src/generators/fromObjectSchema/processLogicalPagination/yaml/sqs/sqs.js +198 -0
- package/src/generators/fromObjectSchema/processLogicalPagination/yaml/sqs/template.ejs +11 -0
- package/src/generators/fromObjectSchema/rbac/index.js +68 -0
- package/src/generators/fromObjectSchema/rbac/lambda/handler/handler.js +72 -0
- package/src/generators/fromObjectSchema/rbac/lambda/mainFunction/main.js +83 -0
- package/src/generators/fromObjectSchema/rbac/lambda/yaml/yaml.js +109 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/functionYaml/template.ejs +29 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/functionYaml/yaml.js +201 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/handler/handler.js +76 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/handler/templateByHandler/apiTemplate.ejs +150 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/handler/templateByHandler/dsqTemplate.ejs +194 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/handler/templateByHandler/invTemplate.ejs +138 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/handler/templateByHandler/sqsTemplate.ejs +178 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/mainFunction/main.js +61 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/mainFunction/template.ejs +394 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/action/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/complete/functionYaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/complete/functionYaml/yaml.js +139 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/complete/mainFunction/template.ejs +143 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/complete/sns-in-sqs/template.ejs +43 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/complete/sns-out/snsOut.js +68 -0
- package/src/generators/fromObjectSchema/relationship/changeRelationship/complete/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/relationship/create/action/functionYaml/template.ejs +29 -0
- package/src/generators/fromObjectSchema/relationship/create/action/functionYaml/yaml.js +238 -0
- package/src/generators/fromObjectSchema/relationship/create/action/handler/handler.js +76 -0
- package/src/generators/fromObjectSchema/relationship/create/action/handler/templateByHandler/apiTemplate.ejs +134 -0
- package/src/generators/fromObjectSchema/relationship/create/action/handler/templateByHandler/dsqTemplate.ejs +176 -0
- package/src/generators/fromObjectSchema/relationship/create/action/handler/templateByHandler/invTemplate.ejs +120 -0
- package/src/generators/fromObjectSchema/relationship/create/action/handler/templateByHandler/sqsTemplate.ejs +160 -0
- package/src/generators/fromObjectSchema/relationship/create/action/mainFunction/main.js +60 -0
- package/src/generators/fromObjectSchema/relationship/create/action/mainFunction/template.ejs +440 -0
- package/src/generators/fromObjectSchema/relationship/create/action/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/fromObjectSchema/relationship/create/action/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromObjectSchema/relationship/create/complete/functionYaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/relationship/create/complete/functionYaml/yaml.js +140 -0
- package/src/generators/fromObjectSchema/relationship/create/complete/mainFunction/template.ejs +144 -0
- package/src/generators/fromObjectSchema/relationship/create/complete/sns-in-sqs/template.ejs +43 -0
- package/src/generators/fromObjectSchema/relationship/create/complete/sns-out/snsOut.js +67 -0
- package/src/generators/fromObjectSchema/relationship/create/complete/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/functionYaml/template.ejs +29 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/functionYaml/yaml.js +241 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/handler/handler.js +76 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/handler/templateByHandler/apiTemplate.ejs +133 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/handler/templateByHandler/dsqTemplate.ejs +176 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/handler/templateByHandler/invTemplate.ejs +118 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/handler/templateByHandler/sqsTemplate.ejs +167 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/mainFunction/main.js +60 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/mainFunction/template.ejs +356 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/fromObjectSchema/relationship/delete/action/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromObjectSchema/relationship/delete/complete/functionYaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/relationship/delete/complete/functionYaml/yaml.js +138 -0
- package/src/generators/fromObjectSchema/relationship/delete/complete/mainFunction/template.ejs +126 -0
- package/src/generators/fromObjectSchema/relationship/delete/complete/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromObjectSchema/relationship/delete/complete/sns-out/snsOut.js +69 -0
- package/src/generators/fromObjectSchema/relationship/delete/complete/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/relationship/get/action/functionYaml/template.ejs +23 -0
- package/src/generators/fromObjectSchema/relationship/get/action/functionYaml/yaml.js +235 -0
- package/src/generators/fromObjectSchema/relationship/get/action/handler/handler.js +76 -0
- package/src/generators/fromObjectSchema/relationship/get/action/handler/templateByHandler/apiTemplate.ejs +134 -0
- package/src/generators/fromObjectSchema/relationship/get/action/handler/templateByHandler/dsqTemplate.ejs +175 -0
- package/src/generators/fromObjectSchema/relationship/get/action/handler/templateByHandler/invTemplate.ejs +119 -0
- package/src/generators/fromObjectSchema/relationship/get/action/handler/templateByHandler/sqsTemplate.ejs +160 -0
- package/src/generators/fromObjectSchema/relationship/get/action/mainFunction/main.js +59 -0
- package/src/generators/fromObjectSchema/relationship/get/action/mainFunction/template.ejs +332 -0
- package/src/generators/fromObjectSchema/relationship/get/action/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/fromObjectSchema/relationship/get/action/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromObjectSchema/relationship/get/complete/functionYaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/relationship/get/complete/functionYaml/yaml.js +139 -0
- package/src/generators/fromObjectSchema/relationship/get/complete/mainFunction/template.ejs +99 -0
- package/src/generators/fromObjectSchema/relationship/get/complete/sns-in-sqs/template.ejs +44 -0
- package/src/generators/fromObjectSchema/relationship/get/complete/sns-out/snsOut.js +70 -0
- package/src/generators/fromObjectSchema/relationship/get/complete/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/relationship/index.js +164 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/functionYaml/template.ejs +29 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/functionYaml/yaml.js +204 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/handler/handler.js +76 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/handler/templateByHandler/apiTemplate.ejs +152 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/handler/templateByHandler/dsqTemplate.ejs +195 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/handler/templateByHandler/invTemplate.ejs +140 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/handler/templateByHandler/sqsTemplate.ejs +179 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/mainFunction/main.js +61 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/mainFunction/template.ejs +388 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/action/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/functionYaml/template.ejs +16 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/functionYaml/yaml.js +138 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/mainFunction/main.js +60 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/mainFunction/template.ejs +146 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/sns-in-sqs/template.ejs +43 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/sns-out/snsOut.js +69 -0
- package/src/generators/fromObjectSchema/relationship/moveRelationship/complete/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/relationship/update/action/functionYaml/template.ejs +29 -0
- package/src/generators/fromObjectSchema/relationship/update/action/functionYaml/yaml.js +234 -0
- package/src/generators/fromObjectSchema/relationship/update/action/handler/handler.js +77 -0
- package/src/generators/fromObjectSchema/relationship/update/action/handler/templateByHandler/apiTemplate.ejs +131 -0
- package/src/generators/fromObjectSchema/relationship/update/action/handler/templateByHandler/dsqTemplate.ejs +173 -0
- package/src/generators/fromObjectSchema/relationship/update/action/handler/templateByHandler/invTemplate.ejs +117 -0
- package/src/generators/fromObjectSchema/relationship/update/action/handler/templateByHandler/sqsTemplate.ejs +166 -0
- package/src/generators/fromObjectSchema/relationship/update/action/mainFunction/main.js +62 -0
- package/src/generators/fromObjectSchema/relationship/update/action/mainFunction/template.ejs +406 -0
- package/src/generators/fromObjectSchema/relationship/update/action/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/fromObjectSchema/relationship/update/action/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromObjectSchema/relationship/update/action/sns-out/snsOut.js +69 -0
- package/src/generators/fromObjectSchema/relationship/update/complete/functionYaml/template.ejs +17 -0
- package/src/generators/fromObjectSchema/relationship/update/complete/functionYaml/yaml.js +139 -0
- package/src/generators/fromObjectSchema/relationship/update/complete/sns-in-sqs/template.ejs +43 -0
- package/src/generators/fromObjectSchema/relationship/update/complete/sns-out/snsOut.js +59 -0
- package/src/generators/fromObjectSchema/relationship/update/complete/sns-out/template.ejs +8 -0
- package/src/generators/fromObjectSchema/textTag/index.js +58 -0
- package/src/generators/fromObjectSchema/textTag/systemText/systemText.js +148 -0
- package/src/generators/fromPlugIn/afterFirstFlowStep/recievePlugIn/mainFunction/main.js +59 -0
- package/src/generators/fromPlugIn/afterFirstFlowStep/recievePlugIn/yaml/yaml.js +88 -0
- package/src/generators/fromPlugIn/byConfig/mainFunction/main.js +55 -0
- package/src/generators/fromPlugIn/byConfig/mainFunction/templateAwaitingStep.ejs +123 -0
- package/src/generators/fromPlugIn/byConfig/sns-sqs/queueNoTopic.ejs +40 -0
- package/src/generators/fromPlugIn/byConfig/sns-sqs/snsSqs.js +56 -0
- package/src/generators/fromPlugIn/byConfig/sns-sqs/snsTemplate.ejs +55 -0
- package/src/generators/fromPlugIn/byConfig/sns-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/fromPlugIn/firstFlowStep/mainFunction/template.ejs +72 -0
- package/src/generators/fromPlugIn/firstFlowStep/mainFunction/templateByConfig/awaitingSteps.ejs +57 -0
- package/src/generators/fromPlugIn/firstFlowStep/queueNtopic/dsqTemplate.ejs +40 -0
- package/src/generators/fromPlugIn/firstFlowStep/queueNtopic/queueNtopic.js +54 -0
- package/src/generators/fromPlugIn/firstFlowStep/queueNtopic/snsTemplate.ejs +55 -0
- package/src/generators/fromPlugIn/firstFlowStep/queueNtopic/sqsTemplate.ejs +40 -0
- package/src/generators/fromPlugIn/firstFlowStep/topicOut/topicOut.js +48 -0
- package/src/generators/fromPlugIn/index.js +528 -0
- package/src/generators/other/index.js +41 -0
- package/src/generators/resourceYamlComponent/dynamodb/template.ejs +23 -0
- package/src/generators/resourceYamlComponent/index.js +96 -0
- package/src/generators/resourceYamlComponent/sns-in-sqs/snsTemplate.ejs +56 -0
- package/src/generators/resourceYamlComponent/sns-in-sqs/sqsTemplate.ejs +40 -0
- package/src/generators/resourceYamlComponent/sns-out/snsOut.js +80 -0
- package/src/generators/roles/index.js +31 -0
- package/src/generators/roles/roleNameConfig/template.ejs +14 -0
- package/src/generators/roles/roleNameConfig/templateIntTesting.ejs +31 -0
- package/src/generators/roles/roleNameConfig/templateYaml.ejs +10 -0
- package/src/generators/roles/sharedResource/sharedResource.js +103 -0
- package/src/libs/Consts.js +40 -377
- package/src/libs/Utils.js +4 -2
- package/src/libs/consts/functions.js +96 -0
- package/src/libs/consts/handlers.js +30 -0
- package/src/libs/consts/index.js +6 -0
- package/src/libs/consts/paths.js +84 -0
- package/src/libs/consts/resources.js +48 -0
- package/src/libs/consts/tags.js +68 -0
- package/src/libs/consts/topics.js +67 -0
- package/src/pipeline/fetchSchemas.js +31 -0
- package/src/pipeline/transformSchemas.js +75 -0
- package/src/pipeline/validateSources.js +47 -0
- package/src/pipeline/writeSources.js +24 -0
- package/src/generateCode/generateFlowSchema/GenerateCodeFlowSchema.js +0 -224
- package/src/generateCode/generateFlowSchema/event/eventBridgeComponent/functionYaml/data.js +0 -164
- package/src/generateCode/generateFlowSchema/event/eventBridgeComponent/handler/inv/data.js +0 -70
- package/src/generateCode/generateFlowSchema/event/eventBridgeComponent/index.js +0 -15
- package/src/generateCode/generateFlowSchema/event/eventBridgeComponent/mainFunction/data.js +0 -67
- package/src/generateCode/generateFlowSchema/event/eventBridgeComponent/mainFunction/template.ejs +0 -59
- package/src/generateCode/generateFlowSchema/event/extTopicComponent/index.js +0 -17
- package/src/generateCode/generateFlowSchema/event/extTopicComponent/process/functionYaml/data.js +0 -154
- package/src/generateCode/generateFlowSchema/event/extTopicComponent/process/handler/data.js +0 -65
- package/src/generateCode/generateFlowSchema/event/extTopicComponent/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateFlowSchema/event/extTopicComponent/sns-out/data.js +0 -76
- package/src/generateCode/generateFlowSchema/event/lambdaSyncApiComponent/functionYaml/data.js +0 -83
- package/src/generateCode/generateFlowSchema/event/lambdaSyncApiComponent/handler/data.js +0 -65
- package/src/generateCode/generateFlowSchema/event/lambdaSyncApiComponent/index.js +0 -13
- package/src/generateCode/generateFlowSchema/event/lambdaSyncInvComponent/functionYaml/data.js +0 -71
- package/src/generateCode/generateFlowSchema/event/lambdaSyncInvComponent/handler/data.js +0 -63
- package/src/generateCode/generateFlowSchema/event/lambdaSyncInvComponent/index.js +0 -13
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent/functionYaml/data.js +0 -172
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent/handler/data.js +0 -92
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent/handler/data.js +0 -64
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent/handler/template.ejs +0 -110
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent/mainFunction/data.js +0 -64
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/index.js +0 -33
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/sns-out/data.js +0 -77
- package/src/generateCode/generateFlowSchema/event/s3Component/flowSchemaMainFunction/data.js +0 -119
- package/src/generateCode/generateFlowSchema/event/s3Component/index.js +0 -80
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/confirmReserved/functionYaml/data.js +0 -129
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/confirmReserved/functionYaml/template.ejs +0 -17
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/confirmReserved/handler/data.js +0 -63
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/confirmReserved/queue/template.ejs +0 -45
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObject/functionYaml/data.js +0 -117
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObject/functionYaml/template.ejs +0 -20
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObject/handler/data.js +0 -64
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObject/mainFunction/data.js +0 -64
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObjectComplete/functionYaml/data.js +0 -122
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObjectComplete/functionYaml/template.ejs +0 -17
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObjectComplete/handler/data.js +0 -66
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObjectComplete/mainFunction/data.js +0 -64
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/createObjectComplete/sns-sqs/template.ejs +0 -49
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/createPreSignUrl/functionYaml/data.js +0 -139
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/createPreSignUrl/functionYaml/template.ejs +0 -18
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/createPreSignUrl/handler/data.js +0 -63
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/createPreSignUrl/mainFunction/data.js +0 -63
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/createPreSignUrl/queue/template.ejs +0 -45
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/reservedLimit/functionYaml/data.js +0 -146
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/reservedLimit/functionYaml/template.ejs +0 -14
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/reservedLimit/handler/data.js +0 -64
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/reservedLimit/sqs/template.ejs +0 -53
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/processFile/functionYml/HdrS3/data.js +0 -140
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/processFile/functionYml/HdrS3/template.ejs +0 -25
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/processFile/queue/s3Template.ejs +0 -59
- package/src/generateCode/generateFlowSchema/event/s3Component/upload/relate/sns-out/data.js +0 -70
- package/src/generateCode/generateFlowSchema/flowSchemaMainFunction/data.js +0 -122
- package/src/generateCode/generateFlowSchema/flowStep/firstFlowStep/templateResource.ejs +0 -59
- package/src/generateCode/generateFlowSchema/flowStep/flowStep.js +0 -505
- package/src/generateCode/generateFlowSchema/registerComponent/complete/functionYaml/data.js +0 -122
- package/src/generateCode/generateFlowSchema/registerComponent/complete/handler/data.js +0 -57
- package/src/generateCode/generateFlowSchema/registerComponent/complete/handler/template.ejs +0 -85
- package/src/generateCode/generateFlowSchema/registerComponent/dynamoDB/register.js +0 -69
- package/src/generateCode/generateFlowSchema/registerComponent/index.js +0 -50
- package/src/generateCode/generateFlowSchema/registerComponent/sns-in/data.js +0 -56
- package/src/generateCode/generateFlowSchema/registerComponent/sns-in/template.ejs +0 -45
- package/src/generateCode/generateFlowSchema/registerComponent/subscriptionOutAll/data.js +0 -83
- package/src/generateCode/generateFlowSchema/registerComponent/subscriptionOutAll/template.ejs +0 -13
- package/src/generateCode/generateFlowSchema/registerComponent/wbs/functionYaml/data.js +0 -111
- package/src/generateCode/generateFlowSchema/registerComponent/wbs/handler/data.js +0 -62
- package/src/generateCode/generateFlowSchema/statusType/statusFieldComponent/functionYaml/data.js +0 -151
- package/src/generateCode/generateFlowSchema/statusType/statusFieldComponent/functionYaml/template.ejs +0 -22
- package/src/generateCode/generateFlowSchema/statusType/statusFieldComponent/handler/data.js +0 -65
- package/src/generateCode/generateFlowSchema/statusType/statusFieldComponent/index.js +0 -21
- package/src/generateCode/generateFlowSchema/statusType/statusFieldComponent/mainFunction/data.js +0 -66
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/checkTriggerCacheComplete/functionYaml/data.js +0 -136
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/checkTriggerCacheComplete/functionYaml/template.ejs +0 -22
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/checkTriggerCacheComplete/handler/data.js +0 -71
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/checkTriggerCacheComplete/mainFunction/data.js +0 -73
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/index.js +0 -40
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/processTriggerCache/functionYaml/data.js +0 -141
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/processTriggerCache/functionYaml/template.ejs +0 -22
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/processTriggerCache/handler/data.js +0 -72
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/processTriggerCache/mainFunction/data.js +0 -67
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/functionYaml/dsq/data.js +0 -130
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/functionYaml/dsq/template.ejs +0 -21
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/functionYaml/sqs/data.js +0 -130
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/functionYaml/sqs/template.ejs +0 -21
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/handler/dsq/data.js +0 -67
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/handler/sqs/data.js +0 -67
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/mainFunction/data.js +0 -70
- package/src/generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheQueue/template.ejs +0 -49
- package/src/generateCode/generateFlowSchema/webSocketComponent/index.js +0 -39
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocket/connect/functionYaml/data.js +0 -86
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocket/connect/handler/data.js +0 -52
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocket/dynamoDb/WebSocketTaskData.js +0 -75
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocket/dynamoDb/ttlDynamoTemplate.ejs +0 -32
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocketComplete/functionYaml/data.js +0 -140
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocketComplete/handler/data.js +0 -58
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocketComplete/mainFunction/data.js +0 -50
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocketComplete/sqs/data.js +0 -102
- package/src/generateCode/generateFlowSchema/webSocketComponent/webSocketComplete/sqs/template.ejs +0 -43
- package/src/generateCode/generateFlowStepWithPlugIn/afterFirstFlowStep/recievePlugIn/mainFunction/data.js +0 -58
- package/src/generateCode/generateFlowStepWithPlugIn/afterFirstFlowStep/recievePlugIn/yaml/data.js +0 -86
- package/src/generateCode/generateFlowStepWithPlugIn/byConfig/mainFunction/data.js +0 -57
- package/src/generateCode/generateFlowStepWithPlugIn/byConfig/mainFunction/templateAwaitingStep.ejs +0 -129
- package/src/generateCode/generateFlowStepWithPlugIn/byConfig/sns-sqs/data.js +0 -50
- package/src/generateCode/generateFlowStepWithPlugIn/byConfig/sns-sqs/queueNoTopic.ejs +0 -43
- package/src/generateCode/generateFlowStepWithPlugIn/byConfig/sns-sqs/snsTemplate.ejs +0 -58
- package/src/generateCode/generateFlowStepWithPlugIn/byConfig/sns-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/mainFunction/template.ejs +0 -71
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/mainFunction/templateByConfig/awaitingSteps.ejs +0 -59
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/queueNtopic/data.js +0 -50
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/queueNtopic/dsqTemplate.ejs +0 -43
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/queueNtopic/snsTemplate.ejs +0 -58
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/queueNtopic/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateFlowStepWithPlugIn/firstFlowStep/topicOut/data.js +0 -45
- package/src/generateCode/generateFlowStepWithPlugIn/index(old).js +0 -290
- package/src/generateCode/generateFlowStepWithPlugIn/index.js +0 -522
- package/src/generateCode/generateInitialSetup/externalServiceComponent/functionNameConfig/template.ejs +0 -14
- package/src/generateCode/generateInitialSetup/externalServiceComponent/functionNameConfig/templateIntTesting.ejs +0 -31
- package/src/generateCode/generateInitialSetup/externalServiceComponent/functionNameConfig/templateYaml.ejs +0 -10
- package/src/generateCode/generateInitialSetup/externalServiceComponent/index.js +0 -69
- package/src/generateCode/generateOther/generateCodeOther.js +0 -41
- package/src/generateCode/generateRole/generateCodeRole.js +0 -31
- package/src/generateCode/generateRole/generateRoleNameConfig/template.ejs +0 -14
- package/src/generateCode/generateRole/generateRoleNameConfig/templateIntTesting.ejs +0 -31
- package/src/generateCode/generateRole/generateRoleNameConfig/templateYaml.ejs +0 -10
- package/src/generateCode/generateRole/generateSharedResource/data.js +0 -97
- package/src/generateCode/generateSchema/GenerateCodeSchema.js +0 -134
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/handler/data.js +0 -62
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/mainFunction/template.ejs +0 -308
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/sns-out/data.js +0 -69
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/sns-out/template.ejs +0 -10
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/yaml/data.js +0 -111
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/yaml/template.ejs +0 -21
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/delete/handler/data.js +0 -62
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/delete/handler/template.ejs +0 -125
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/delete/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/delete/sns-out/data.js +0 -69
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/delete/yaml/data.js +0 -109
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/delete/yaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/get/handler/data.js +0 -62
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/get/handler/template.ejs +0 -125
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/get/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/get/sns-out/data.js +0 -69
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/get/yaml/data.js +0 -112
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/get/yaml/template.ejs +0 -21
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/index.js +0 -80
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/handler/data.js +0 -62
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/handler/template.ejs +0 -125
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/mainFunction/template.ejs +0 -199
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/sns-out/data.js +0 -66
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/yaml/data.js +0 -112
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/update/yaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/api/data.js +0 -55
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/api/request.json +0 -7
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/beforeLogical/data.js +0 -56
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/dsq/data.js +0 -55
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/dsq/request.json +0 -7
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/inv/data.js +0 -55
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/inv/request.json +0 -7
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/sqs/data.js +0 -55
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/sqs/request.json +0 -7
- package/src/generateCode/generateSchema/actionEndpointComponent/index.js +0 -289
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/beforeLogical/data.js +0 -51
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/beforeLogical/template.ejs +0 -161
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/create/main/data.js +0 -49
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/create/main/template.ejs +0 -679
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/delete/main/data.js +0 -48
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/delete/main/template.ejs +0 -349
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/get/data.js +0 -48
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/update/main/data.js +0 -49
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/update/main/template.ejs +0 -486
- package/src/generateCode/generateSchema/actionEndpointComponent/resource/data.js +0 -72
- package/src/generateCode/generateSchema/actionEndpointComponent/yaml/data.js +0 -308
- package/src/generateCode/generateSchema/findDataComponent/findDataYaml/data.js +0 -195
- package/src/generateCode/generateSchema/findDataComponent/findDataYaml/template.ejs +0 -14
- package/src/generateCode/generateSchema/findDataComponent/index.js +0 -70
- package/src/generateCode/generateSchema/generateTextTag/index.js +0 -58
- package/src/generateCode/generateSchema/generateTextTag/systemText/data.js +0 -147
- package/src/generateCode/generateSchema/processLogicalComponent/index.js +0 -50
- package/src/generateCode/generateSchema/processLogicalComponent/yaml/data.js +0 -182
- package/src/generateCode/generateSchema/processLogicalComponent/yaml/template.ejs +0 -12
- package/src/generateCode/generateSchema/processLogicalPaginationComponent/dsqYaml/data.js +0 -50
- package/src/generateCode/generateSchema/processLogicalPaginationComponent/index.js +0 -62
- package/src/generateCode/generateSchema/processLogicalPaginationComponent/yaml/dsq/data.js +0 -171
- package/src/generateCode/generateSchema/processLogicalPaginationComponent/yaml/dsq/template.ejs +0 -12
- package/src/generateCode/generateSchema/processLogicalPaginationComponent/yaml/sqs/data.js +0 -180
- package/src/generateCode/generateSchema/processLogicalPaginationComponent/yaml/sqs/template.ejs +0 -13
- package/src/generateCode/generateSchema/rbac/index.js +0 -68
- package/src/generateCode/generateSchema/rbac/lambda/handler/data.js +0 -69
- package/src/generateCode/generateSchema/rbac/lambda/mainFunction/data.js +0 -82
- package/src/generateCode/generateSchema/rbac/lambda/yaml/data.js +0 -106
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/functionYaml/data.js +0 -182
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/functionYaml/template.ejs +0 -33
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/handler/data.js +0 -73
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/handler/templateByHandler/apiTemplate.ejs +0 -153
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/handler/templateByHandler/dsqTemplate.ejs +0 -197
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/handler/templateByHandler/invTemplate.ejs +0 -141
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/handler/templateByHandler/sqsTemplate.ejs +0 -181
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/mainFunction/data.js +0 -60
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/mainFunction/template.ejs +0 -400
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/functionYaml/data.js +0 -121
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/functionYaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/mainFunction/template.ejs +0 -150
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/sns-in-sqs/template.ejs +0 -46
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/sns-out/data.js +0 -65
- package/src/generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/sns-out/template.ejs +0 -10
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/functionYaml/data.js +0 -219
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/functionYaml/template.ejs +0 -33
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/handler/data.js +0 -73
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/handler/templateByHandler/apiTemplate.ejs +0 -137
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/handler/templateByHandler/dsqTemplate.ejs +0 -179
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/handler/templateByHandler/invTemplate.ejs +0 -123
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/handler/templateByHandler/sqsTemplate.ejs +0 -163
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/mainFunction/data.js +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/mainFunction/template.ejs +0 -445
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/complete/functionYaml/data.js +0 -122
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/complete/functionYaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/complete/mainFunction/template.ejs +0 -151
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/complete/sns-in-sqs/template.ejs +0 -46
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/complete/sns-out/data.js +0 -64
- package/src/generateCode/generateSchema/relationshipPerActionComponent/create/complete/sns-out/template.ejs +0 -10
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/functionYaml/data.js +0 -221
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/functionYaml/template.ejs +0 -33
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/handler/data.js +0 -73
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/handler/templateByHandler/apiTemplate.ejs +0 -136
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/handler/templateByHandler/dsqTemplate.ejs +0 -179
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/handler/templateByHandler/invTemplate.ejs +0 -121
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/handler/templateByHandler/sqsTemplate.ejs +0 -170
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/mainFunction/data.js +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/mainFunction/template.ejs +0 -353
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/complete/functionYaml/data.js +0 -120
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/complete/functionYaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/complete/mainFunction/template.ejs +0 -142
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/complete/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/complete/sns-out/data.js +0 -66
- package/src/generateCode/generateSchema/relationshipPerActionComponent/delete/complete/sns-out/template.ejs +0 -10
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/functionYaml/data.js +0 -216
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/functionYaml/template.ejs +0 -27
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/handler/data.js +0 -73
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/handler/templateByHandler/apiTemplate.ejs +0 -137
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/handler/templateByHandler/dsqTemplate.ejs +0 -178
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/handler/templateByHandler/invTemplate.ejs +0 -122
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/handler/templateByHandler/sqsTemplate.ejs +0 -163
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/mainFunction/data.js +0 -58
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/mainFunction/template.ejs +0 -332
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/complete/functionYaml/data.js +0 -121
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/complete/functionYaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/complete/mainFunction/template.ejs +0 -143
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/complete/sns-in-sqs/template.ejs +0 -47
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/complete/sns-out/data.js +0 -67
- package/src/generateCode/generateSchema/relationshipPerActionComponent/get/complete/sns-out/template.ejs +0 -10
- package/src/generateCode/generateSchema/relationshipPerActionComponent/index.js +0 -164
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/functionYaml/data.js +0 -185
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/functionYaml/template.ejs +0 -33
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/handler/data.js +0 -73
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/handler/templateByHandler/apiTemplate.ejs +0 -155
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/handler/templateByHandler/dsqTemplate.ejs +0 -198
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/handler/templateByHandler/invTemplate.ejs +0 -143
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/handler/templateByHandler/sqsTemplate.ejs +0 -182
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/mainFunction/data.js +0 -60
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/mainFunction/template.ejs +0 -395
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/functionYaml/data.js +0 -120
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/functionYaml/template.ejs +0 -20
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/mainFunction/data.js +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/mainFunction/template.ejs +0 -155
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/sns-in-sqs/template.ejs +0 -46
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/sns-out/data.js +0 -66
- package/src/generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/sns-out/template.ejs +0 -10
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/functionYaml/data.js +0 -215
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/functionYaml/template.ejs +0 -33
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/handler/data.js +0 -74
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/handler/templateByHandler/apiTemplate.ejs +0 -134
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/handler/templateByHandler/dsqTemplate.ejs +0 -176
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/handler/templateByHandler/invTemplate.ejs +0 -120
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/handler/templateByHandler/sqsTemplate.ejs +0 -169
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/mainFunction/data.js +0 -61
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/mainFunction/template.ejs +0 -402
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/sns-out/data.js +0 -69
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/complete/functionYaml/data.js +0 -121
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/complete/functionYaml/template.ejs +0 -21
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/complete/sns-in-sqs/template.ejs +0 -46
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/complete/sns-out/data.js +0 -59
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/complete/sns-out/template.ejs +0 -10
- package/src/generateCode/resourceYamlComponent/dynamodb/template.ejs +0 -29
- package/src/generateCode/resourceYamlComponent/index.js +0 -96
- package/src/generateCode/resourceYamlComponent/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/generateCode/resourceYamlComponent/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/generateCode/resourceYamlComponent/sns-out/data.js +0 -80
- /package/src/generateResources/IntTest/generateTests/events/{data.js → events.js} +0 -0
- /package/src/generateResources/IntTest/generateTests/pathIntTest/{data.js → pathIntTest.js} +0 -0
- /package/src/generateResources/IntTest/generateTests/tests/{data.js → tests.js} +0 -0
- /package/src/{generateCode/generateInitialSetup/externalServiceComponent/functionNameConfig/data.js → generators/fromExternalService/externalServiceComponent/functionNameConfig/functionNameConfig.js} +0 -0
- /package/src/{generateCode/generateInitialSetup/externalServiceComponent/lambdaRole/data.js → generators/fromExternalService/externalServiceComponent/lambdaRole/lambdaRole.js} +0 -0
- /package/src/{generateCode/generateInitialSetup → generators/fromExternalService}/externalServiceComponent/lambdaRole/template.ejs +0 -0
- /package/src/{generateCode/generateInitialSetup/externalServiceComponent/snsTopicSubscriptions/data.js → generators/fromExternalService/externalServiceComponent/snsTopicSubscriptions/snsTopicSubscriptions.js} +0 -0
- /package/src/{generateCode/generateInitialSetup → generators/fromExternalService}/externalServiceComponent/snsTopicSubscriptions/template.ejs +0 -0
- /package/src/{generateCode/generateInitialSetup/externalServiceComponent/tableNameConfig/data.js → generators/fromExternalService/externalServiceComponent/tableNameConfig/tableNameConfig.js} +0 -0
- /package/src/{generateCode/generateInitialSetup → generators/fromExternalService}/externalServiceComponent/tableNameConfig/template.ejs +0 -0
- /package/src/{generateCode/generateInitialSetup/GenerateCodeExternalService.js → generators/fromExternalService/index.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/eventBridgeComponent → generators/fromFlowSchema/events/eventBridge}/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/eventBridgeComponent → generators/fromFlowSchema/events/eventBridge}/handler/inv/request.json +0 -0
- /package/src/{generateCode/generateFlowSchema/event/eventBridgeComponent → generators/fromFlowSchema/events/eventBridge}/handler/inv/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/eventBridgeComponent → generators/fromFlowSchema/events/eventBridge}/mainFunction/request.json +0 -0
- /package/src/{generateCode/generateFlowSchema/event/extTopicComponent → generators/fromFlowSchema/events/extTopic}/process/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/extTopicComponent → generators/fromFlowSchema/events/extTopic}/process/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/extTopicComponent/sns-in-sqs/data.js → generators/fromFlowSchema/events/extTopic/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/generatedCodeComponent → generators/fromFlowSchema/events/generatedCode}/index.js +0 -0
- /package/src/{generateCode/generateFlowSchema/event/lambdaSyncApiComponent → generators/fromFlowSchema/events/lambdaSyncApi}/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/lambdaSyncApiComponent → generators/fromFlowSchema/events/lambdaSyncApi}/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/lambdaSyncInvComponent → generators/fromFlowSchema/events/lambdaSyncInv}/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/lambdaSyncInvComponent → generators/fromFlowSchema/events/lambdaSyncInv}/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent → generators/fromFlowSchema/events/ownTopic/endpoint}/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent → generators/fromFlowSchema/events/ownTopic/endpoint}/handler/DsqHandlerTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent → generators/fromFlowSchema/events/ownTopic/endpoint}/handler/SqsHandlerTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent → generators/fromFlowSchema/events/ownTopic/flowSchema}/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent/functionYaml/data.js → generators/fromFlowSchema/events/ownTopic/flowSchema/functionYaml/yaml.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent → generators/fromFlowSchema/events/ownTopic/flowSchema}/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent/sns-in/data.js → generators/fromFlowSchema/events/ownTopic/sns-in/snsIn.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/ownTopicComponent → generators/fromFlowSchema/events/ownTopic}/sns-in/sqsTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/flowSchemaMainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/flowSchemaMainFunction/templateByStatusType/statusFieldTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/flowSchemaMainFunction/templateByStatusType/storedCacheTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/flowSchemaMainFunction/templateByStatusType/triggerCacheTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/confirmReserved/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/confirmReserved/mainFunction/data.js → generators/fromFlowSchema/events/s3/upload/confirmReserved/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/confirmReserved/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/confirmReserved/queue/data.js → generators/fromFlowSchema/events/s3/upload/confirmReserved/queue/queue.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/createObject/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/createObject/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/createObjectComplete/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/createObjectComplete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/createObjectComplete/sns-sqs/data.js → generators/fromFlowSchema/events/s3/upload/createObjectComplete/sns-sqs/snsSqs.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/preSignUrl/createPreSignUrl/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/preSignUrl/createPreSignUrl/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/createPreSignUrl/queue/data.js → generators/fromFlowSchema/events/s3/upload/preSignUrl/createPreSignUrl/queue/queue.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/preSignUrl/reservedLimit/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/reservedLimit/mainFunction/data.js → generators/fromFlowSchema/events/s3/upload/preSignUrl/reservedLimit/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/preSignUrl/reservedLimit/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/preSignUrl/reservedLimit/sqs/data.js → generators/fromFlowSchema/events/s3/upload/preSignUrl/reservedLimit/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/processFile/handler/handlerS3/data.js → generators/fromFlowSchema/events/s3/upload/processFile/handler/handlerS3/handlerS3.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/processFile/handler/handlerS3/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/processFile/mainFunction/ProcessCsvtemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/processFile/mainFunction/data.js → generators/fromFlowSchema/events/s3/upload/processFile/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/processFile/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/processFile/queue/dsqTemplatePath.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/processFile/queue/data.js → generators/fromFlowSchema/events/s3/upload/processFile/queue/queue.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component/upload/relate/S3/data.js → generators/fromFlowSchema/events/s3/upload/relate/S3/s3.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/upload/relate/S3/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/event/s3Component → generators/fromFlowSchema/events/s3}/websocket/dynamoDb/ReservedTableData.js +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowSchemaMainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowSchemaMainFunction/templateByStatusType/statusFieldTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowSchemaMainFunction/templateByStatusType/storedCacheTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowSchemaMainFunction/templateByStatusType/triggerCacheTemplate.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/afterPluginHook/handler/templateDsq.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/afterPluginHook/handler/templateSqs.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/afterPluginHook/templateMain.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/afterPluginHook/templateResource.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/afterPluginHook/templateYaml.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/firstFlowStep/templateHandler.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/firstFlowStep/templateMain.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/firstFlowStep/templateYaml.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/noPlugInHook/templateHandler.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/noPlugInHook/templateMain.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/noPlugInHook/templateResource.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema → generators/fromFlowSchema}/flowStep/noPlugInHook/templateYaml.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent → generators/fromFlowSchema/register}/complete/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent/complete/mainFunction/data.js → generators/fromFlowSchema/register/complete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent → generators/fromFlowSchema/register}/complete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent → generators/fromFlowSchema/register}/wbs/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent → generators/fromFlowSchema/register}/wbs/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent/wbs/mainFunction/data.js → generators/fromFlowSchema/register/wbs/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/registerComponent → generators/fromFlowSchema/register}/wbs/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/libs → generators/fromFlowSchema/shared}/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/libs/data.js → generators/fromFlowSchema/shared/wsCodeLibs.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/statusFieldComponent → generators/fromFlowSchema/statusTypes/statusField}/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/statusFieldComponent → generators/fromFlowSchema/statusTypes/statusField}/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/statusFieldComponent/sns/data.js → generators/fromFlowSchema/statusTypes/statusField/sns/sns.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/statusFieldComponent → generators/fromFlowSchema/statusTypes/statusField}/sns/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/checkTriggerCacheComplete/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/checkTriggerCacheComplete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/processTriggerCache/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/processTriggerCache/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/triggerCacheComplete/handler/dsq/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/triggerCacheComplete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent → generators/fromFlowSchema/statusTypes/triggerCache}/triggerCacheComplete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheQueue/data.js → generators/fromFlowSchema/statusTypes/triggerCache/triggerCacheQueue/queue.js} +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocket/connect/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocket/connect/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocket/dynamoDb/userUploadRecords.js +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocketComplete/functionYaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocketComplete/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocketComplete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowSchema/webSocketComponent → generators/fromFlowSchema/webSocket}/webSocketComplete/sqs/templateSub.ejs +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/handler/api/template.ejs → generators/fromObjectSchema/endpoint/handler/apiTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/handler/beforeLogical/template.ejs → generators/fromObjectSchema/endpoint/handler/beforeLogicalTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/handler/dsq/template.ejs → generators/fromObjectSchema/endpoint/handler/dsqTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/handler/inv/template.ejs → generators/fromObjectSchema/endpoint/handler/invTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/handler/sqs/template.ejs → generators/fromObjectSchema/endpoint/handler/sqsTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/mainFunction → generators/fromObjectSchema/endpoint/main}/get/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/resource/templateBeforeLogical.ejs → generators/fromObjectSchema/endpoint/resourceBeforeLogicalTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/resource/template.ejs → generators/fromObjectSchema/endpoint/resourceTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointComponent/yaml/template.ejs → generators/fromObjectSchema/endpoint/yamlTemplate.ejs} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent → generators/fromObjectSchema/endpointComplete}/create/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/create/mainFunction/data.js → generators/fromObjectSchema/endpointComplete/create/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/create/sns-in-sqs/data.js → generators/fromObjectSchema/endpointComplete/create/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/delete/mainFunction/data.js → generators/fromObjectSchema/endpointComplete/delete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent → generators/fromObjectSchema/endpointComplete}/delete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/delete/sns-in-sqs/data.js → generators/fromObjectSchema/endpointComplete/delete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/get/mainFunction/data.js → generators/fromObjectSchema/endpointComplete/get/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent → generators/fromObjectSchema/endpointComplete}/get/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/get/sns-in-sqs/data.js → generators/fromObjectSchema/endpointComplete/get/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/update/mainFunction/data.js → generators/fromObjectSchema/endpointComplete/update/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/actionEndpointCompleteComponent/update/sns-in-sqs/data.js → generators/fromObjectSchema/endpointComplete/update/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/findDataComponent → generators/fromObjectSchema/findData}/GetByStorage/getByDynamo.ejs +0 -0
- /package/src/{generateCode/generateSchema/findDataComponent → generators/fromObjectSchema/findData}/GetByStorage/getByGraph.ejs +0 -0
- /package/src/{generateCode/generateSchema/findDataComponent/handler/data.js → generators/fromObjectSchema/findData/handler/handler.js} +0 -0
- /package/src/{generateCode/generateSchema/findDataComponent → generators/fromObjectSchema/findData}/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/findDataComponent/mainFunction/data.js → generators/fromObjectSchema/findData/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/findDataComponent → generators/fromObjectSchema/findData}/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/processLogicalComponent/handler/data.js → generators/fromObjectSchema/processLogical/handler/handler.js} +0 -0
- /package/src/{generateCode/generateSchema/processLogicalComponent → generators/fromObjectSchema/processLogical}/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/processLogicalComponent/mainFunction/data.js → generators/fromObjectSchema/processLogical/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/processLogicalComponent → generators/fromObjectSchema/processLogical}/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent → generators/fromObjectSchema/processLogicalPagination}/dsqYaml/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent/handler/dsq/data.js → generators/fromObjectSchema/processLogicalPagination/handler/dsq/dsq.js} +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent → generators/fromObjectSchema/processLogicalPagination}/handler/dsq/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent/handler/sqs/data.js → generators/fromObjectSchema/processLogicalPagination/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent → generators/fromObjectSchema/processLogicalPagination}/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent/mainFunction/data.js → generators/fromObjectSchema/processLogicalPagination/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/processLogicalPaginationComponent → generators/fromObjectSchema/processLogicalPagination}/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/rbac/dynamoDb/data.js → generators/fromObjectSchema/rbac/dynamoDb/dynamoDb.js} +0 -0
- /package/src/{generateCode/generateSchema → generators/fromObjectSchema}/rbac/lambda/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema → generators/fromObjectSchema}/rbac/lambda/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema → generators/fromObjectSchema}/rbac/lambda/yaml/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/changeRelationship/action/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/action/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/changeRelationship/action/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/handler/sqs/data.js → generators/fromObjectSchema/relationship/changeRelationship/complete/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/changeRelationship/complete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/mainFunction/data.js → generators/fromObjectSchema/relationship/changeRelationship/complete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/changeRelationship/complete/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/changeRelationship/complete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/action/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/create/action/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/create/action/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/complete/functionYaml/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/complete/handler/sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/create/complete/handler/sqs/data.js → generators/fromObjectSchema/relationship/create/complete/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/complete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/create/complete/mainFunction/data.js → generators/fromObjectSchema/relationship/create/complete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/complete/mainFunction/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/complete/sns-in-sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/create/complete/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/create/complete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/create/complete/sns-out/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/action/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/delete/action/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/delete/action/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/complete/functionYaml/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/complete/handler/sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/delete/complete/handler/sqs/data.js → generators/fromObjectSchema/relationship/delete/complete/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/complete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/delete/complete/mainFunction/data.js → generators/fromObjectSchema/relationship/delete/complete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/complete/mainFunction/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/complete/sns-in-sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/delete/complete/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/delete/complete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/delete/complete/sns-out/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/action/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/get/action/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/get/action/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/complete/functionYaml/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/complete/handler/sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/get/complete/handler/sqs/data.js → generators/fromObjectSchema/relationship/get/complete/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/complete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/get/complete/mainFunction/data.js → generators/fromObjectSchema/relationship/get/complete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/complete/mainFunction/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/complete/sns-in-sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/get/complete/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/get/complete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/get/complete/sns-out/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/moveRelationship/action/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/action/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/moveRelationship/action/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/handler/sqs/data.js → generators/fromObjectSchema/relationship/moveRelationship/complete/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/moveRelationship/complete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/moveRelationship/complete/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/moveRelationship/complete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/action/handler/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/action/mainFunction/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/action/sns-in-sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/update/action/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/update/action/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/action/sns-out/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/functionYaml/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/handler/sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/update/complete/handler/sqs/data.js → generators/fromObjectSchema/relationship/update/complete/handler/sqs/sqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/handler/sqs/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/update/complete/mainFunction/data.js → generators/fromObjectSchema/relationship/update/complete/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/mainFunction/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/sns-in-sqs/request.json +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent/update/complete/sns-in-sqs/data.js → generators/fromObjectSchema/relationship/update/complete/sns-in-sqs/snsInSqs.js} +0 -0
- /package/src/{generateCode/generateSchema/relationshipPerActionComponent → generators/fromObjectSchema/relationship}/update/complete/sns-out/request.json +0 -0
- /package/src/{generateCode/generateSchema/roleNameConfig/data.js → generators/fromObjectSchema/roleNameConfig/roleNameConfig.js} +0 -0
- /package/src/{generateCode/generateSchema → generators/fromObjectSchema}/roleNameConfig/templateYaml.ejs +0 -0
- /package/src/{generateCode/generateSchema/generateTextTag → generators/fromObjectSchema/textTag}/systemText/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/afterFirstFlowStep/recievePlugIn/handler/data.js → generators/fromPlugIn/afterFirstFlowStep/recievePlugIn/handler/handler.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/recievePlugIn/handler/templateApi.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/recievePlugIn/handler/templateWebSocket.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/recievePlugIn/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/recievePlugIn/yaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/afterFirstFlowStep/sendPlugIn/handler/data.js → generators/fromPlugIn/afterFirstFlowStep/sendPlugIn/handler/handler.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/sendPlugIn/handler/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/afterFirstFlowStep/sendPlugIn/mainFunction/data.js → generators/fromPlugIn/afterFirstFlowStep/sendPlugIn/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/sendPlugIn/mainFunction/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/afterFirstFlowStep/sendPlugIn/yaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/afterFirstFlowStep/sendPlugIn/yaml/data.js → generators/fromPlugIn/afterFirstFlowStep/sendPlugIn/yaml/yaml.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/byConfig/handler/data.js → generators/fromPlugIn/byConfig/handler/handler.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/byConfig/handler/templateAwaitingStep.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/byConfig/handler/templatePaginated.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/byConfig/mainFunction/templatePaginated.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/byConfig/yaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/byConfig/yaml/data.js → generators/fromPlugIn/byConfig/yaml/yaml.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/firstFlowStep/handler/data.js → generators/fromPlugIn/firstFlowStep/handler/handler.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/firstFlowStep/handler/templateApi.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/firstFlowStep/handler/templateDsq.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/firstFlowStep/handler/templateInv.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/firstFlowStep/handler/templateSqs.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/firstFlowStep/mainFunction/data.js → generators/fromPlugIn/firstFlowStep/mainFunction/main.js} +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/firstFlowStep/mainFunction/templateByConfig/templateSendPlugin.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn → generators/fromPlugIn}/firstFlowStep/yaml/template.ejs +0 -0
- /package/src/{generateCode/generateFlowStepWithPlugIn/firstFlowStep/yaml/data.js → generators/fromPlugIn/firstFlowStep/yaml/yaml.js} +0 -0
- /package/src/{generateCode/generateOther → generators/other}/generateAuthYml/template.ejs +0 -0
- /package/src/{generateCode/generateOther/generateAuthYml/data.js → generators/other/generateAuthYml/yaml.js} +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/dynamodb/defaultDynamoDbTable.js +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/dynamodb/generateDynamoPerLink.js +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/dynamodb/mainResourcePerObjectSchemaData.js +0 -0
- /package/src/{generateCode/resourceYamlComponent/filterGenerateResource/data.js → generators/resourceYamlComponent/filterGenerateResource/filter.js} +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/sns-in-sqs/defaultSnsInSqsForFindDataAndProcessLogical.js +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/sns-in-sqs/request.json +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/sns-in-sqs/snsAndSqsPerActionData.js +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/sns-out/defaultSnsOutForFindDataAndProcessLogical.js +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/sns-out/request.json +0 -0
- /package/src/{generateCode → generators}/resourceYamlComponent/sns-out/template.ejs +0 -0
- /package/src/{generateCode/generateRole/generateRoleNameConfig/data.js → generators/roles/roleNameConfig/roleNameConfig.js} +0 -0
- /package/src/{generateCode/generateRole/generateSharedResource → generators/roles/sharedResource}/template.ejs +0 -0
- /package/src/{SourceManager → sourceManager}/CreateSource.js +0 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
##===== [Queue]
|
|
2
|
+
<%- queueName %>:
|
|
3
|
+
Type: "AWS::SQS::Queue"
|
|
4
|
+
Properties:
|
|
5
|
+
QueueName: ${self:custom.iz_resourcePrefix}<%- queueName %>
|
|
6
|
+
RedrivePolicy:
|
|
7
|
+
deadLetterTargetArn:
|
|
8
|
+
# !GetAtt
|
|
9
|
+
Fn::GetAtt:
|
|
10
|
+
- <%- queueName %>DLQ
|
|
11
|
+
- Arn
|
|
12
|
+
maxReceiveCount: 3
|
|
13
|
+
VisibilityTimeout: 120
|
|
14
|
+
##==== [QueueDLQ]
|
|
15
|
+
<%- queueName %>DLQ:
|
|
16
|
+
Type: AWS::SQS::Queue
|
|
17
|
+
Properties:
|
|
18
|
+
QueueName: ${self:custom.iz_resourcePrefix}<%- queueName %>DLQ
|
|
19
|
+
##==== [QueuePolicy]
|
|
20
|
+
<%- queueName %>Policy:
|
|
21
|
+
Type: AWS::SQS::QueuePolicy
|
|
22
|
+
Properties:
|
|
23
|
+
PolicyDocument:
|
|
24
|
+
Version: "2012-10-17"
|
|
25
|
+
Statement:
|
|
26
|
+
- Sid: "allow-sns-messages"
|
|
27
|
+
Effect: Allow
|
|
28
|
+
Principal: "*"
|
|
29
|
+
Resource:
|
|
30
|
+
# !GetAtt
|
|
31
|
+
Fn::GetAtt:
|
|
32
|
+
- <%- queueName %>
|
|
33
|
+
- Arn
|
|
34
|
+
Action: "SQS:SendMessage"
|
|
35
|
+
Queues:
|
|
36
|
+
- Ref: <%- queueName %>
|
|
37
|
+
#<#<%- queueName %>QueueSetting#>
|
|
38
|
+
#<#/<%- queueName %>QueueSetting#>
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
<%_ function firstLetterLowerCase(str) {
|
|
42
|
+
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
43
|
+
} _%>
|
|
44
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
import path from 'path';
|
|
19
|
+
import { fileURLToPath } from 'url';
|
|
20
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
+
const __dirname = path.dirname(__filename);
|
|
22
|
+
import consts from '#libs/Consts.js';
|
|
23
|
+
import utils from '#libs/Utils.js';
|
|
24
|
+
|
|
25
|
+
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
26
|
+
utils;
|
|
27
|
+
|
|
28
|
+
const { SOURCE_PATH, SAVE_FILE_NAME, FUNCTION_NAME } = consts;
|
|
29
|
+
|
|
30
|
+
const templatePath = path.join(
|
|
31
|
+
__dirname,
|
|
32
|
+
'../../../../resourceYamlComponent/sns-out/template.ejs'
|
|
33
|
+
);
|
|
34
|
+
// /ResourceYaml/sns-out/template.ejs
|
|
35
|
+
// /OutPerActionComplete/OutUpdateComplete/sns-out/snsOut.js
|
|
36
|
+
/**
|
|
37
|
+
* create data for dynamoDbYaml tempalte from objectSchema
|
|
38
|
+
* return array of dynamoDb data
|
|
39
|
+
* because one objectSchema can create multiple dynamoDb table
|
|
40
|
+
*
|
|
41
|
+
* @param {Object} _izContext
|
|
42
|
+
* @param {String} saveFilePath
|
|
43
|
+
* @returns {Object[]} - data of multiple dynamoDb template
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
function data(_izContext, srcPath) {
|
|
47
|
+
const createSourceParams = createParamsForCreateSource(_izContext, srcPath);
|
|
48
|
+
return [createSourceParams];
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
function createParamsForCreateSource(_izContext, srcPath) {
|
|
52
|
+
let queueName = FUNCTION_NAME.createObjectComplete;
|
|
53
|
+
queueName = upperCase(queueName);
|
|
54
|
+
const upperQueueName = upperCase(queueName);
|
|
55
|
+
return {
|
|
56
|
+
templatePath: templatePath,
|
|
57
|
+
templateData: {
|
|
58
|
+
queueName,
|
|
59
|
+
upperQueueName
|
|
60
|
+
},
|
|
61
|
+
setting: {
|
|
62
|
+
initialData: 'Resources:\n',
|
|
63
|
+
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
64
|
+
saveFileName: SAVE_FILE_NAME.snsOutYaml,
|
|
65
|
+
fileExtension: '.yml',
|
|
66
|
+
isAppend: true,
|
|
67
|
+
fromFile: 'actionEndpointCom/create/sns-out/snsOut.js'
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export default data;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<%- functionNameConfig %>:
|
|
2
|
+
handler: <%- handlerPathUpperFunctionName %>
|
|
3
|
+
name: ${self:custom.iz_resourcePrefix}<%- upperFunctionName %>
|
|
4
|
+
role: <%- roleName %>Role
|
|
5
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
6
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
+
events:
|
|
8
|
+
- sqs:
|
|
9
|
+
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- upperFunctionName %>
|
|
10
|
+
batchSize: 10
|
|
11
|
+
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
12
|
+
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%- upperFunctionName %>"]}}} # functionName of callingFlow
|
|
13
|
+
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
14
|
+
|
|
15
|
+
<%_ function firstLetterLowerCase(str) {
|
|
16
|
+
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
17
|
+
} _%>
|
|
@@ -0,0 +1,126 @@
|
|
|
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
|
+
import path from 'path';
|
|
19
|
+
import { fileURLToPath } from 'url';
|
|
20
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
+
const __dirname = path.dirname(__filename);
|
|
22
|
+
import consts from '#libs/Consts.js';
|
|
23
|
+
import utils from '#libs/Utils.js';
|
|
24
|
+
import libs from '#libs/Libs.js';
|
|
25
|
+
|
|
26
|
+
const {
|
|
27
|
+
HANDLER,
|
|
28
|
+
RESOURCE_CLASSES,
|
|
29
|
+
SOURCE_PATH,
|
|
30
|
+
FUNCTION_NAME,
|
|
31
|
+
SAVE_FILE_NAME,
|
|
32
|
+
SQS_RESOURCE,
|
|
33
|
+
SNS_RESOURCE,
|
|
34
|
+
SHORT_FUNCTION_NAME,
|
|
35
|
+
SOURCE_GENERATE_IAM_ROLE
|
|
36
|
+
} = consts;
|
|
37
|
+
|
|
38
|
+
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
39
|
+
utils;
|
|
40
|
+
|
|
41
|
+
const {
|
|
42
|
+
awaitingMultipleStepsRole,
|
|
43
|
+
defaultIamRolePerAction,
|
|
44
|
+
createIamRole,
|
|
45
|
+
resourceNames
|
|
46
|
+
} = libs;
|
|
47
|
+
|
|
48
|
+
const templatePath = path.join(__dirname, 'template.ejs');
|
|
49
|
+
|
|
50
|
+
function data(_izContext, srcPath) {
|
|
51
|
+
return [createFunctionYamlOutUpdateComplete(_izContext, srcPath)];
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function createFunctionYamlOutUpdateComplete(_izContext, srcPath) {
|
|
55
|
+
let functionName = upperCase(FUNCTION_NAME.createObjectComplete);
|
|
56
|
+
let additionalResourcePermission = defaultIamRolePerAction();
|
|
57
|
+
let handlerType = upperCase(HANDLER.hdrSqs);
|
|
58
|
+
let functionNameConfig = upperCase(
|
|
59
|
+
SHORT_FUNCTION_NAME(FUNCTION_NAME.createObjectComplete)
|
|
60
|
+
);
|
|
61
|
+
|
|
62
|
+
additionalResourcePermission.push(
|
|
63
|
+
createIamRole(
|
|
64
|
+
{
|
|
65
|
+
[RESOURCE_CLASSES.sqs]: [
|
|
66
|
+
SQS_RESOURCE.deleteMessage,
|
|
67
|
+
SQS_RESOURCE.deleteMessageBatch,
|
|
68
|
+
SQS_RESOURCE.getQueueAttributes,
|
|
69
|
+
SQS_RESOURCE.getQueueUrl,
|
|
70
|
+
SQS_RESOURCE.receiveMessage,
|
|
71
|
+
SQS_RESOURCE.sendMessage
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
[
|
|
75
|
+
resourceNames(RESOURCE_CLASSES.sqs, upperCase(functionName)),
|
|
76
|
+
resourceNames(RESOURCE_CLASSES.sqs, upperCase(functionName) + 'DLQ')
|
|
77
|
+
]
|
|
78
|
+
),
|
|
79
|
+
createIamRole(
|
|
80
|
+
{
|
|
81
|
+
[RESOURCE_CLASSES.sns]: [SNS_RESOURCE.publish, SNS_RESOURCE.subscribe]
|
|
82
|
+
},
|
|
83
|
+
[
|
|
84
|
+
resourceNames(RESOURCE_CLASSES.sns, upperCase(functionName) + '_In'),
|
|
85
|
+
resourceNames(RESOURCE_CLASSES.sns, upperCase(functionName) + '_Out')
|
|
86
|
+
]
|
|
87
|
+
)
|
|
88
|
+
);
|
|
89
|
+
|
|
90
|
+
additionalResourcePermission.push(awaitingMultipleStepsRole());
|
|
91
|
+
|
|
92
|
+
const resourceLocation = SOURCE_PATH.resourceLocationOutPerActionComplete;
|
|
93
|
+
const roleName = SOURCE_GENERATE_IAM_ROLE.ObjectCompleteRole;
|
|
94
|
+
const upperFunctionName = upperCase(functionName);
|
|
95
|
+
const upperHandlerType = upperCase(handlerType);
|
|
96
|
+
const upperFunctionNameConfig = upperCase(functionNameConfig);
|
|
97
|
+
const upperRoleName = upperCase(roleName);
|
|
98
|
+
const handlerPath = path.join(resourceLocation, `${functionName}_${upperHandlerType}.main`);
|
|
99
|
+
const handlerPathUpperFunctionName = path.join(resourceLocation, `${upperFunctionName}_${upperHandlerType}.main`);
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
templatePath: templatePath,
|
|
103
|
+
templateData: {
|
|
104
|
+
functionName,
|
|
105
|
+
handlerType,
|
|
106
|
+
additionalResourcePermission,
|
|
107
|
+
resourceLocation,
|
|
108
|
+
functionNameConfig,
|
|
109
|
+
roleName,
|
|
110
|
+
upperFunctionName,
|
|
111
|
+
upperHandlerType,
|
|
112
|
+
upperFunctionNameConfig,
|
|
113
|
+
upperRoleName,
|
|
114
|
+
handlerPath,
|
|
115
|
+
handlerPathUpperFunctionName
|
|
116
|
+
},
|
|
117
|
+
setting: {
|
|
118
|
+
savePath: path.join(srcPath, SOURCE_PATH.appYaml),
|
|
119
|
+
saveFileName: SAVE_FILE_NAME.functionPerActionYaml,
|
|
120
|
+
fileExtension: '.yml',
|
|
121
|
+
isAppend: true
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export default data;
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
import path from 'path';
|
|
19
|
+
import { fileURLToPath } from 'url';
|
|
20
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
+
const __dirname = path.dirname(__filename);
|
|
22
|
+
import consts from '#libs/Consts.js';
|
|
23
|
+
import utils from '#libs/Utils.js';
|
|
24
|
+
|
|
25
|
+
const { HANDLER, SOURCE_PATH, FUNCTION_NAME } = consts;
|
|
26
|
+
|
|
27
|
+
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
28
|
+
utils;
|
|
29
|
+
|
|
30
|
+
const templatePath = path.join(__dirname, 'template.ejs');
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* receive objectSchema
|
|
34
|
+
* create data for hdrInv template
|
|
35
|
+
*
|
|
36
|
+
* @return {{ templatePath, templateData, setting } }
|
|
37
|
+
*/
|
|
38
|
+
function data(_izContext, srcPath) {
|
|
39
|
+
const createSourceParams = createParamForCreateSource(srcPath);
|
|
40
|
+
return [createSourceParams];
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function createParamForCreateSource(srcPath) {
|
|
44
|
+
const functionName = FUNCTION_NAME.deleteNodeComplete;
|
|
45
|
+
|
|
46
|
+
const queueName = upperCase(functionName);
|
|
47
|
+
const upperFunctionName = upperCase(functionName);
|
|
48
|
+
const upperQueueName = upperCase(queueName);
|
|
49
|
+
|
|
50
|
+
return {
|
|
51
|
+
templatePath: templatePath,
|
|
52
|
+
templateData: {
|
|
53
|
+
functionName,
|
|
54
|
+
queueName,
|
|
55
|
+
functionName,
|
|
56
|
+
upperFunctionName,
|
|
57
|
+
upperQueueName
|
|
58
|
+
},
|
|
59
|
+
setting: {
|
|
60
|
+
savePath: path.join(srcPath, SOURCE_PATH.outPerActionComplete),
|
|
61
|
+
saveFileName: `${upperCase(functionName)}_${upperCase(HANDLER.hdrSqs)}`,
|
|
62
|
+
fileExtension: '.js',
|
|
63
|
+
isAppend: false
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export default data;
|
|
@@ -0,0 +1,122 @@
|
|
|
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
|
+
|
|
19
|
+
|
|
20
|
+
import { middlewareHandler as middleware } from "@izara_project/izara-middleware";
|
|
21
|
+
import Logger from '@izara_project/izara-core-library-logger';
|
|
22
|
+
import { recordHandlerSharedLib } from "@izara_project/izara-core-library-record-handler";
|
|
23
|
+
import callingFlowSharedLib from '@izara_project/izara-core-library-calling-flow';
|
|
24
|
+
|
|
25
|
+
import <%- functionName %> from './<%- upperFunctionName %>_Main.js';
|
|
26
|
+
|
|
27
|
+
// validate event properties in body.Message of sqs event
|
|
28
|
+
middleware.setValidatorSchema(recordHandlerSharedLib.baseValidatorSchema());
|
|
29
|
+
// set schema for record.body.Message
|
|
30
|
+
let perRecordsValidatorSchema = {
|
|
31
|
+
type: "object",
|
|
32
|
+
required: [
|
|
33
|
+
'returnValue',
|
|
34
|
+
'status',
|
|
35
|
+
'errorsFound'
|
|
36
|
+
],
|
|
37
|
+
properties: {
|
|
38
|
+
returnValue: {
|
|
39
|
+
type: 'object',
|
|
40
|
+
},
|
|
41
|
+
status: {
|
|
42
|
+
type: 'string',
|
|
43
|
+
},
|
|
44
|
+
errorsFound: {
|
|
45
|
+
type: 'array',
|
|
46
|
+
default: []
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
// set schema for record.body.MessageAttributes
|
|
52
|
+
// const messageAttributeValidatorSchema = {
|
|
53
|
+
// type: "object",
|
|
54
|
+
// required: ['msgAtrrParam1', 'msgAtrrParam2'],
|
|
55
|
+
// properties: {
|
|
56
|
+
// msgAtrrParam1: {
|
|
57
|
+
// type: "string"
|
|
58
|
+
// },
|
|
59
|
+
// msgAtrrParam2: {
|
|
60
|
+
// type: "object"
|
|
61
|
+
// }
|
|
62
|
+
// }
|
|
63
|
+
// };
|
|
64
|
+
|
|
65
|
+
perRecordsValidatorSchema = callingFlowSharedLib.addOptionalPassBackPropertiesToValidatorSchema(perRecordsValidatorSchema); // is Ok passBackProperties
|
|
66
|
+
export const main = middleware.wrap(async (event, context) => {
|
|
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
|
+
"<%- queueName %>", // 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.returnValue)
|
|
88
|
+
passOnProperties.push(record.body.Message.status)
|
|
89
|
+
passOnProperties.push(record.body.Message.errorsFound)
|
|
90
|
+
passOnProperties.push(callingFlowSharedLib.addPassBackPropertiesToPassOnProperties(record.body.Message)) // is Ok PassBackProperties
|
|
91
|
+
// passOnProperties.push(callingFlowSharedLib.addCallingFlowToPassOnProperties(record.body.Message)) // is Ok callinfFlow
|
|
92
|
+
record._izContext.logger.debug('passOnProperties in handler', passOnProperties);
|
|
93
|
+
|
|
94
|
+
// call recordHandlerSharedLib.recordHandler with 3 parameters and return promise(resolve)
|
|
95
|
+
let recordPromise = recordHandlerSharedLib.recordHandler(
|
|
96
|
+
record, // one record will send to mainFunction
|
|
97
|
+
<%- functionName %>, // mainFunction that need to invoke.
|
|
98
|
+
"<%- queueName %>", // queue name that need to retry or send to dlq
|
|
99
|
+
passOnProperties, // all parameters that mainFunction needed.
|
|
100
|
+
);
|
|
101
|
+
record._izContext.logger.debug('after recordPromise in handler');
|
|
102
|
+
recordPromises.push(recordPromise); // push promise to recordPromises
|
|
103
|
+
}))
|
|
104
|
+
|
|
105
|
+
Logger.debug('before Promise.all(recordPromises) in handler');
|
|
106
|
+
try {
|
|
107
|
+
// --- main await all promises
|
|
108
|
+
await Promise.all(recordPromises); // await all promises
|
|
109
|
+
|
|
110
|
+
return event.Records // return all for local testing
|
|
111
|
+
|
|
112
|
+
} catch {
|
|
113
|
+
Logger.debug('Promise.all(recordPromises) in handler threw error (at least one record did no resolve)');
|
|
114
|
+
}
|
|
115
|
+
Logger.debug('after Promise.all(recordPromises) in handler');
|
|
116
|
+
|
|
117
|
+
} catch (err) {
|
|
118
|
+
Logger.error('Unhandled Error, updateNodeCompleteHdrSqs: ', err);
|
|
119
|
+
throw (err);
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
##===== [Queue]
|
|
2
|
+
<%- queueName %>:
|
|
3
|
+
Type: "AWS::SQS::Queue"
|
|
4
|
+
Properties:
|
|
5
|
+
QueueName: ${self:custom.iz_resourcePrefix}<%- queueName %>
|
|
6
|
+
RedrivePolicy:
|
|
7
|
+
deadLetterTargetArn:
|
|
8
|
+
# !GetAtt
|
|
9
|
+
Fn::GetAtt:
|
|
10
|
+
- <%- queueName %>DLQ
|
|
11
|
+
- Arn
|
|
12
|
+
maxReceiveCount: 3
|
|
13
|
+
VisibilityTimeout: 120
|
|
14
|
+
##==== [QueueDLQ]
|
|
15
|
+
<%- queueName %>DLQ:
|
|
16
|
+
Type: AWS::SQS::Queue
|
|
17
|
+
Properties:
|
|
18
|
+
QueueName: ${self:custom.iz_resourcePrefix}<%- queueName %>DLQ
|
|
19
|
+
##==== [QueuePolicy]
|
|
20
|
+
<%- queueName %>Policy:
|
|
21
|
+
Type: AWS::SQS::QueuePolicy
|
|
22
|
+
Properties:
|
|
23
|
+
PolicyDocument:
|
|
24
|
+
Version: "2012-10-17"
|
|
25
|
+
Statement:
|
|
26
|
+
- Sid: "allow-sns-messages"
|
|
27
|
+
Effect: Allow
|
|
28
|
+
Principal: "*"
|
|
29
|
+
Resource:
|
|
30
|
+
# !GetAtt
|
|
31
|
+
Fn::GetAtt:
|
|
32
|
+
- <%- queueName %>
|
|
33
|
+
- Arn
|
|
34
|
+
Action: "SQS:SendMessage"
|
|
35
|
+
Queues:
|
|
36
|
+
- Ref: <%- queueName %>
|
|
37
|
+
#<#<%- queueName %>QueueSetting#>
|
|
38
|
+
#<#/<%- queueName %>QueueSetting#>
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
<%_ function firstLetterLowerCase(str) {
|
|
42
|
+
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
43
|
+
} _%>
|
|
44
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
import path from 'path';
|
|
19
|
+
import { fileURLToPath } from 'url';
|
|
20
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
+
const __dirname = path.dirname(__filename);
|
|
22
|
+
import consts from '#libs/Consts.js';
|
|
23
|
+
import utils from '#libs/Utils.js';
|
|
24
|
+
|
|
25
|
+
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
26
|
+
utils;
|
|
27
|
+
|
|
28
|
+
const { SOURCE_PATH, SAVE_FILE_NAME, FUNCTION_NAME } = consts;
|
|
29
|
+
|
|
30
|
+
const templatePath = path.join(
|
|
31
|
+
__dirname,
|
|
32
|
+
'../../../../resourceYamlComponent/sns-out/template.ejs'
|
|
33
|
+
);
|
|
34
|
+
// /ResourceYaml/sns-out/template.ejs
|
|
35
|
+
// /OutPerActionComplete/OutUpdateComplete/sns-out/snsOut.js
|
|
36
|
+
/**
|
|
37
|
+
* create data for dynamoDbYaml tempalte from objectSchema
|
|
38
|
+
* return array of dynamoDb data
|
|
39
|
+
* because one objectSchema can create multiple dynamoDb table
|
|
40
|
+
*
|
|
41
|
+
* @param {Object} _izContext
|
|
42
|
+
* @param {String} saveFilePath
|
|
43
|
+
* @returns {Object[]} - data of multiple dynamoDb template
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
function data(_izContext, srcPath) {
|
|
47
|
+
const createSourceParams = createParamsForCreateSource(_izContext, srcPath);
|
|
48
|
+
return [createSourceParams];
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
function createParamsForCreateSource(_izContext, srcPath) {
|
|
52
|
+
let queueName = FUNCTION_NAME.deleteNodeComplete;
|
|
53
|
+
return {
|
|
54
|
+
templatePath: templatePath,
|
|
55
|
+
templateData: {
|
|
56
|
+
queueName: upperCase(queueName)
|
|
57
|
+
},
|
|
58
|
+
setting: {
|
|
59
|
+
initialData: 'Resources:\n',
|
|
60
|
+
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
61
|
+
saveFileName: SAVE_FILE_NAME.snsOutYaml,
|
|
62
|
+
fileExtension: '.yml',
|
|
63
|
+
isAppend: true,
|
|
64
|
+
fromFile: 'actionEndpointCom/delete/sns-out/snsOut.js'
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export default data;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<%- functionNameConfig %>:
|
|
2
|
+
handler: <%- handlerPathUpperFunctionName %>
|
|
3
|
+
name: ${self:custom.iz_resourcePrefix}<%- upperFunctionName %>
|
|
4
|
+
role: <%- roleName %>Role
|
|
5
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
6
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
+
events:
|
|
8
|
+
- sqs:
|
|
9
|
+
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- upperFunctionName %>
|
|
10
|
+
batchSize: 10
|
|
11
|
+
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
12
|
+
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%- upperFunctionName %>"]}}} # functionName of callingFlow
|
|
13
|
+
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
14
|
+
<%_ function firstLetterLowerCase(str) {
|
|
15
|
+
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
16
|
+
} _%>
|