@izara_project/izara-core-generate-service-code 1.0.20 → 1.0.21
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/index.js +4 -4
- package/jsconfig.json +9 -0
- package/package.json +17 -14
- package/src/SourceManager/CreateSource.js +48 -101
- package/src/generateCode/generateFlowSchema/GenerateCodeFlowSchema.js +221 -0
- package/src/{TemplateData/flowSchema/event/eventBridge → generateCode/generateFlowSchema/event/eventBridgeComponent}/functionYaml/data.js +5 -9
- package/src/{TemplateData/flowSchema/event/eventBridge → generateCode/generateFlowSchema/event/eventBridgeComponent}/handler/inv/data.js +23 -25
- package/src/{TemplateData/flowSchema/event/eventBridge/eventBridgeComponent.js → generateCode/generateFlowSchema/event/eventBridgeComponent/index.js} +6 -5
- package/src/{TemplateData/flowSchema/event/eventBridge → generateCode/generateFlowSchema/event/eventBridgeComponent}/mainFunction/data.js +22 -24
- package/src/{TemplateData/flowSchema/event/externalTopic/externalTopicComponent.js → generateCode/generateFlowSchema/event/extTopicComponent/index.js} +5 -9
- package/src/{TemplateData/flowSchema/event/externalTopic/Process → generateCode/generateFlowSchema/event/extTopicComponent/process}/functionYaml/data.js +26 -28
- package/src/generateCode/generateFlowSchema/event/extTopicComponent/process/handler/data.js +64 -0
- package/src/{TemplateData/flowSchema/event/externalTopic → generateCode/generateFlowSchema/event/extTopicComponent}/sns-in-sqs/data.js +2 -2
- package/src/{TemplateData/flowSchema/CreateRecordComplete/queue → generateCode/generateFlowSchema/event/extTopicComponent/sns-out}/data.js +20 -18
- package/src/{TemplateData/flowSchema/event/lambdaSync/Api → generateCode/generateFlowSchema/event/lambdaSyncApiComponent}/functionYaml/data.js +7 -19
- package/src/{TemplateData/flowSchema/event/lambdaSync/Api → generateCode/generateFlowSchema/event/lambdaSyncApiComponent}/handler/data.js +6 -11
- package/src/generateCode/generateFlowSchema/event/lambdaSyncApiComponent/index.js +17 -0
- package/src/{TemplateData/flowSchema/event/lambdaSync/Inv → generateCode/generateFlowSchema/event/lambdaSyncInvComponent}/functionYaml/data.js +8 -13
- package/src/{TemplateData/flowSchema/event/lambdaSync/Inv → generateCode/generateFlowSchema/event/lambdaSyncInvComponent}/handler/data.js +5 -9
- package/src/generateCode/generateFlowSchema/event/lambdaSyncInvComponent/index.js +17 -0
- package/src/{TemplateData/flowSchema/event/ownTopic/EndpointComponent → generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent}/functionYaml/data.js +5 -9
- package/src/{TemplateData/flowSchema/event/ownTopic/EndpointComponent → generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent}/handler/data.js +13 -17
- package/src/{TemplateData/flowSchema/event/ownTopic/FlowSchemaComponent → generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent}/functionYaml/data.js +41 -27
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent/functionYaml/template.ejs +11 -0
- package/src/{TemplateData/flowSchema/event/ownTopic/FlowSchemaComponent → generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent}/handler/data.js +5 -9
- package/src/{TemplateData/flowSchema/event/ownTopic/FlowSchemaComponent → generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent}/mainFunction/data.js +3 -7
- package/src/generateCode/generateFlowSchema/event/ownTopicComponent/index.js +49 -0
- package/src/{TemplateData/flowSchema/event/ownTopic → generateCode/generateFlowSchema/event/ownTopicComponent}/sns-in/data.js +6 -6
- package/src/{TemplateData/flowSchema/event/ownTopic → generateCode/generateFlowSchema/event/ownTopicComponent}/sns-out/data.js +9 -9
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/event/s3Component}/flowSchemaMainFunction/data.js +3 -8
- package/src/{TemplateData/flowSchema/event/s3/s3Component.js → generateCode/generateFlowSchema/event/s3Component/index.js} +7 -1
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/confirmReserved/functionYaml/data.js +4 -4
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/confirmReserved/handler/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/confirmReserved/mainFunction/data.js +1 -1
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/confirmReserved/queue/data.js +1 -1
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObject/functionYaml/data.js +4 -4
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObject/handler/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObject/mainFunction/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObjectComplete/functionYaml/data.js +4 -4
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObjectComplete/handler/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObjectComplete/mainFunction/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObjectComplete/sns-sqs/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/createPreSignUrl/functionYaml/data.js +6 -5
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/createPreSignUrl/handler/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/createPreSignUrl/mainFunction/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/createPreSignUrl/queue/data.js +1 -1
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/reservedLimit/functionYaml/data.js +4 -4
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/reservedLimit/handler/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/reservedLimit/mainFunction/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/reservedLimit/sqs/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/processFile/functionYml/HdrS3/data.js +4 -4
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/processFile/handler/handlerS3/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/processFile/mainFunction/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/processFile/queue/data.js +1 -1
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/relate/S3/data.js +1 -1
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/relate/sns-out/data.js +3 -3
- package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/websocket/dynamoDb/ReservedTableData.js +1 -1
- package/src/generateCode/generateFlowSchema/flowSchemaMainFunction/data.js +125 -0
- package/src/generateCode/generateFlowSchema/flowSchemaMainFunction/template.ejs +92 -0
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/afterPluginHook/templateMain.ejs +0 -1
- package/src/generateCode/generateFlowSchema/flowStep/flowStep.js +500 -0
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/libs/data.js +1 -1
- package/src/{TemplateData/flowSchema/event/s3/upload/relate → generateCode/generateFlowSchema}/libs/template.ejs +20 -2
- package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/complete/functionYaml/data.js +27 -29
- package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/complete/handler/data.js +16 -18
- package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/complete/mainFunction/data.js +4 -8
- package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/dynamoDB/register.js +27 -29
- package/src/{TemplateData/flowSchema/register/registerComponent.js → generateCode/generateFlowSchema/registerComponent/index.js} +15 -8
- package/src/{TemplateData/relationshipPerAction/update/complete/sns-out → generateCode/generateFlowSchema/registerComponent/sns-in}/data.js +11 -17
- package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/subscriptionOutAll/data.js +5 -4
- package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/wbs/functionYaml/data.js +23 -25
- package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/wbs/handler/data.js +3 -7
- package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/wbs/mainFunction/data.js +5 -8
- package/src/{TemplateData/flowSchema/event/ownTopic/statusFieldComponent/FunctionYaml → generateCode/generateFlowSchema/statusType/statusFieldComponent/functionYaml}/data.js +4 -4
- package/src/{TemplateData/flowSchema/event/ownTopic/statusFieldComponent/Handler → generateCode/generateFlowSchema/statusType/statusFieldComponent/handler}/data.js +2 -2
- package/src/generateCode/generateFlowSchema/statusType/statusFieldComponent/index.js +33 -0
- package/src/{TemplateData/flowSchema/event/ownTopic/statusFieldComponent/MainFunction → generateCode/generateFlowSchema/statusType/statusFieldComponent/mainFunction}/data.js +2 -2
- package/src/{TemplateData/flowSchema/event/ownTopic → generateCode/generateFlowSchema/statusType}/statusFieldComponent/sns/data.js +2 -2
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/checkTriggerCacheComplete/functionYaml/data.js +7 -6
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/checkTriggerCacheComplete/handler/data.js +9 -4
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/checkTriggerCacheComplete/mainFunction/data.js +4 -3
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/processTriggerCache/functionYaml/data.js +5 -5
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/processTriggerCache/handler/data.js +8 -3
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/processTriggerCache/mainFunction/data.js +2 -2
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/triggerCacheComplete/functionYaml/dsq/data.js +6 -5
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/triggerCacheComplete/functionYaml/sqs/data.js +6 -5
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/triggerCacheComplete/handler/dsq/data.js +4 -3
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/triggerCacheComplete/handler/sqs/data.js +4 -3
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/triggerCacheComplete/mainFunction/data.js +4 -3
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/triggerCacheQueue/data.js +17 -5
- package/src/generateCode/generateFlowSchema/webSocketComponent/index.js +39 -0
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocket/connect/functionYaml/data.js +5 -10
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocket/connect/handler/data.js +5 -11
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocket/dynamoDb/WebSocketTaskData.js +8 -2
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocket/dynamoDb/userUploadRecords.js +2 -2
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocketComplete/functionYaml/data.js +7 -12
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocketComplete/handler/data.js +3 -8
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocketComplete/mainFunction/data.js +2 -7
- package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocketComplete/sqs/data.js +7 -5
- package/src/generateCode/generateInitialSetup/GenerateCodeExternalService.js +66 -0
- package/src/{TemplateData/externalService → generateCode/generateInitialSetup/externalServiceComponent}/functionNameConfig/data.js +13 -9
- package/src/{TemplateData/externalService/generateTemplateData.js → generateCode/generateInitialSetup/externalServiceComponent/index.js} +14 -30
- package/src/generateCode/generateInitialSetup/externalServiceComponent/lambdaRole/data.js +230 -0
- package/src/generateCode/generateInitialSetup/externalServiceComponent/snsTopicSubscriptions/data.js +139 -0
- package/src/{TemplateData/Auth → generateCode/generateOther}/generateAuthYml/data.js +14 -12
- package/src/{TemplateData/Auth → generateCode/generateOther}/generateAuthYml/template.ejs +4 -2
- package/src/{TemplateData/Auth/generateTemplateData.js → generateCode/generateOther/generateCodeOther.js} +7 -14
- package/src/generateCode/generateRole/generateCodeRole.js +31 -0
- package/src/generateCode/generateRole/generateRoleNameConfig/data.js +181 -0
- package/src/generateCode/generateRole/generateRoleNameConfig/template.ejs +14 -0
- package/src/generateCode/generateRole/generateRoleNameConfig/templateIntTesting.ejs +31 -0
- package/src/generateCode/generateRole/generateRoleNameConfig/templateYaml.ejs +10 -0
- package/src/{TemplateData/generateRole → generateCode/generateRole/generateSharedResource}/data.js +5 -5
- package/src/{TemplateData/generateRole → generateCode/generateRole/generateSharedResource}/template.ejs +5 -5
- package/src/generateCode/generateSchema/GenerateCodeSchema.js +125 -0
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/create/handler/data.js +4 -3
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/create/mainFunction/Untitled +1 -0
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/create/mainFunction/data.js +4 -3
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/create/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/create/sns-out/data.js +5 -4
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/create/yaml/data.js +6 -5
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/delete/handler/data.js +4 -3
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/delete/mainFunction/data.js +4 -3
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/delete/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/delete/sns-out/data.js +5 -4
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/delete/yaml/data.js +5 -4
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/get/handler/data.js +4 -3
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/get/mainFunction/data.js +4 -3
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/get/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/get/sns-out/data.js +5 -4
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/get/yaml/data.js +5 -4
- package/src/generateCode/generateSchema/actionEndpointCompleteComponent/index.js +80 -0
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/update/handler/data.js +4 -3
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/update/mainFunction/data.js +4 -3
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/update/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/update/sns-out/data.js +5 -4
- package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/update/yaml/data.js +6 -5
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/api/data.js +55 -0
- package/src/{TemplateData/EndpointPerService → generateCode/generateSchema/actionEndpointComponent}/handler/api/template.ejs +5 -11
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/beforeLogical/data.js +56 -0
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/beforeLogical/template.ejs +123 -0
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/dsq/data.js +55 -0
- package/src/{TemplateData/EndpointPerService → generateCode/generateSchema/actionEndpointComponent}/handler/dsq/template.ejs +46 -49
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/inv/data.js +55 -0
- package/src/{TemplateData/EndpointPerService → generateCode/generateSchema/actionEndpointComponent}/handler/inv/template.ejs +5 -15
- package/src/generateCode/generateSchema/actionEndpointComponent/handler/sqs/data.js +55 -0
- package/src/{TemplateData/EndpointPerService → generateCode/generateSchema/actionEndpointComponent}/handler/sqs/template.ejs +48 -55
- package/src/generateCode/generateSchema/actionEndpointComponent/index.js +289 -0
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/beforeLogical/data.js +51 -0
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/beforeLogical/template.ejs +143 -0
- package/src/{TemplateData/EndpointPerService/mainFunction/create → generateCode/generateSchema/actionEndpointComponent/mainFunction/create/main}/data.js +10 -12
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/create/main/template.ejs +618 -0
- package/src/{TemplateData/EndpointPerService/mainFunction/delete → generateCode/generateSchema/actionEndpointComponent/mainFunction/delete/main}/data.js +7 -10
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/delete/main/template.ejs +329 -0
- package/src/{TemplateData/EndpointPerService → generateCode/generateSchema/actionEndpointComponent}/mainFunction/get/data.js +5 -9
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/get/template.ejs +188 -0
- package/src/{TemplateData/EndpointPerService/mainFunction/update → generateCode/generateSchema/actionEndpointComponent/mainFunction/update/main}/data.js +7 -10
- package/src/generateCode/generateSchema/actionEndpointComponent/mainFunction/update/main/template.ejs +465 -0
- package/src/generateCode/generateSchema/actionEndpointComponent/resource/data.js +72 -0
- package/src/generateCode/generateSchema/actionEndpointComponent/resource/template.ejs +54 -0
- package/src/generateCode/generateSchema/actionEndpointComponent/resource/templateBeforeLogical.ejs +47 -0
- package/src/generateCode/generateSchema/actionEndpointComponent/yaml/data.js +306 -0
- package/src/generateCode/generateSchema/actionEndpointComponent/yaml/template.ejs +28 -0
- package/src/{TemplateData/findData → generateCode/generateSchema/findDataComponent}/findDataYaml/data.js +18 -12
- package/src/{TemplateData/findData → generateCode/generateSchema/findDataComponent}/handler/data.js +7 -6
- package/src/{TemplateData/findData/generateTemplateData.js → generateCode/generateSchema/findDataComponent/index.js} +12 -11
- package/src/{TemplateData/findData → generateCode/generateSchema/findDataComponent}/mainFunction/data.js +13 -13
- package/src/{TemplateData/processLogical → generateCode/generateSchema/processLogicalComponent}/handler/data.js +7 -6
- package/src/{TemplateData/processLogical/generateTemplateData.js → generateCode/generateSchema/processLogicalComponent/index.js} +5 -15
- package/src/{TemplateData/processLogical → generateCode/generateSchema/processLogicalComponent}/mainFunction/data.js +4 -5
- package/src/{TemplateData/processLogical → generateCode/generateSchema/processLogicalComponent}/yaml/data.js +17 -11
- package/src/{TemplateData/processLogicalPagination → generateCode/generateSchema/processLogicalPaginationComponent}/handler/dsq/data.js +5 -5
- package/src/{TemplateData/processLogicalPagination → generateCode/generateSchema/processLogicalPaginationComponent}/handler/sqs/data.js +5 -5
- package/src/{TemplateData/processLogicalPagination/generateTemplateData.js → generateCode/generateSchema/processLogicalPaginationComponent/index.js} +7 -13
- package/src/{TemplateData/processLogicalPagination → generateCode/generateSchema/processLogicalPaginationComponent}/mainFunction/data.js +5 -5
- package/src/{TemplateData/processLogicalPagination → generateCode/generateSchema/processLogicalPaginationComponent}/yaml/dsq/data.js +27 -24
- package/src/{TemplateData/processLogicalPagination → generateCode/generateSchema/processLogicalPaginationComponent}/yaml/sqs/data.js +26 -21
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/functionYaml/data.js +4 -7
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/handler/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/mainFunction/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/complete/functionYaml/data.js +5 -4
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/complete/handler/sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/complete/mainFunction/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/complete/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/complete/sns-out/data.js +2 -2
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/functionYaml/data.js +4 -7
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/handler/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/mainFunction/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/complete/functionYaml/data.js +5 -4
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/complete/handler/sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/complete/mainFunction/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/complete/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/complete/sns-out/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/functionYaml/data.js +4 -7
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/handler/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/handler/templateByHandler/sqsTemplate.ejs +19 -20
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/mainFunction/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/complete/functionYaml/data.js +5 -4
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/complete/handler/sqs/data.js +2 -2
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/complete/mainFunction/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/complete/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/complete/sns-out/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/functionYaml/data.js +4 -7
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/handler/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/mainFunction/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/complete/functionYaml/data.js +5 -4
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/complete/handler/sqs/data.js +2 -2
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/complete/mainFunction/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/complete/sns-in-sqs/data.js +2 -2
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/complete/sns-out/data.js +4 -3
- package/src/generateCode/generateSchema/relationshipPerActionComponent/index.js +163 -0
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/functionYaml/data.js +5 -8
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/handler/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/mainFunction/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/complete/functionYaml/data.js +5 -4
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/complete/handler/sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/complete/mainFunction/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/complete/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/complete/sns-out/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/functionYaml/data.js +4 -7
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/handler/data.js +4 -3
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/action/handler/templateByHandler/sqsTemplate.ejs +169 -0
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/mainFunction/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/sns-out/data.js +5 -4
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/functionYaml/data.js +5 -4
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/handler/sqs/data.js +4 -3
- package/src/generateCode/generateSchema/relationshipPerActionComponent/update/complete/handler/sqs/request.json +0 -0
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/mainFunction/data.js +2 -2
- package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/sns-in-sqs/data.js +4 -3
- package/src/{TemplateData/flowSchema/register/sns-in → generateCode/generateSchema/relationshipPerActionComponent/update/complete/sns-out}/data.js +13 -12
- package/src/generateCode/generateSchema/roleNameConfig/data.js +77 -0
- package/src/generateCode/generateSchema/roleNameConfig/templateYaml.ejs +5 -0
- package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/dynamodb/defaultDynamoDbTable.js +1 -1
- package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/dynamodb/generateDynamoPerLink.js +4 -11
- package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/dynamodb/mainResourcePerObjectSchemaData.js +2 -2
- package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/filterGenerateResource/data.js +2 -3
- package/src/generateCode/resourceYamlComponent/index.js +96 -0
- package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/sns-in-sqs/defaultSnsInSqsForFindDataAndProcessLogical.js +4 -3
- package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/sns-in-sqs/snsAndSqsPerActionData.js +4 -3
- package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/sns-out/data.js +4 -3
- package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/sns-out/defaultSnsOutForFindDataAndProcessLogical.js +1 -1
- package/src/generateCode.js +223 -0
- package/src/{TemplateData → generateResources}/IntTest/generateResources/generateResources.js +3 -3
- package/src/{TemplateData → generateResources}/IntTest/generateTests/events/data.js +3 -3
- package/src/{TemplateData → generateResources}/IntTest/generateTests/generateTemplate.js +2 -2
- package/src/{TemplateData → generateResources}/IntTest/generateTests/tests/data.js +3 -3
- package/src/{TemplateData → generateResources}/IntTest/libs/libs.js +138 -110
- package/src/{GenerateResources.js → generateResources.js} +3 -2
- package/src/{GenerateTests.js → generateTests.js} +3 -2
- package/src/libs/Consts.js +195 -194
- package/src/libs/Libs.js +231 -129
- package/src/libs/Utils.js +2 -3
- package/src/GenerateCode.js +0 -185
- package/src/TemplateConfig.js +0 -55
- package/src/TemplateData/EndpointPerService/generateTemplateData.js +0 -127
- package/src/TemplateData/EndpointPerService/handler/api/data.js +0 -72
- package/src/TemplateData/EndpointPerService/handler/dsq/data.js +0 -76
- package/src/TemplateData/EndpointPerService/handler/inv/data.js +0 -78
- package/src/TemplateData/EndpointPerService/handler/sqs/data.js +0 -76
- package/src/TemplateData/EndpointPerService/mainFunction/create/template.ejs +0 -563
- package/src/TemplateData/EndpointPerService/mainFunction/delete/template.ejs +0 -156
- package/src/TemplateData/EndpointPerService/mainFunction/get/template.ejs +0 -266
- package/src/TemplateData/EndpointPerService/mainFunction/update/template.ejs +0 -445
- package/src/TemplateData/EndpointPerService/yaml/data.js +0 -311
- package/src/TemplateData/EndpointPerService/yaml/template.ejs +0 -35
- package/src/TemplateData/externalService/lambdaRole/data.js +0 -442
- package/src/TemplateData/externalService/snsTopicSubscriptions/data.js +0 -271
- package/src/TemplateData/flowSchema/CreateRecordComplete/functionYaml/data.js +0 -133
- package/src/TemplateData/flowSchema/CreateRecordComplete/functionYaml/template.ejs +0 -20
- package/src/TemplateData/flowSchema/CreateRecordComplete/handler/data.js +0 -68
- package/src/TemplateData/flowSchema/CreateRecordComplete/handler/template.ejs +0 -84
- package/src/TemplateData/flowSchema/CreateRecordComplete/mainFunction/data.js +0 -71
- package/src/TemplateData/flowSchema/CreateRecordComplete/mainFunction/template.ejs +0 -118
- package/src/TemplateData/flowSchema/CreateRecordComplete/queue/template.ejs +0 -49
- package/src/TemplateData/flowSchema/dynamoDb/data.js +0 -117
- package/src/TemplateData/flowSchema/event/externalTopic/Complete/functionYaml/data.js +0 -114
- package/src/TemplateData/flowSchema/event/externalTopic/Complete/functionYaml/template.ejs +0 -20
- package/src/TemplateData/flowSchema/event/externalTopic/Complete/handler/data.js +0 -73
- package/src/TemplateData/flowSchema/event/externalTopic/Complete/handler/template.ejs +0 -81
- package/src/TemplateData/flowSchema/event/externalTopic/Complete/mainFunction/data.js +0 -70
- package/src/TemplateData/flowSchema/event/externalTopic/Complete/mainFunction/template.ejs +0 -58
- package/src/TemplateData/flowSchema/event/lambdaSync/lambdaSyncComponent.js +0 -32
- package/src/TemplateData/flowSchema/event/ownTopic/EndpointComplete/functionYaml/data.js +0 -116
- package/src/TemplateData/flowSchema/event/ownTopic/EndpointComplete/handler/data.js +0 -71
- package/src/TemplateData/flowSchema/event/ownTopic/EndpointComplete/handler/template.ejs +0 -81
- package/src/TemplateData/flowSchema/event/ownTopic/EndpointComplete/mainFunction/data.js +0 -71
- package/src/TemplateData/flowSchema/event/ownTopic/EndpointComplete/mainFunction/template.ejs +0 -61
- package/src/TemplateData/flowSchema/event/ownTopic/FlowSchemaComponent/functionYaml/template.ejs +0 -18
- package/src/TemplateData/flowSchema/event/ownTopic/ownTopicComponent.js +0 -81
- package/src/TemplateData/flowSchema/event/s3/upload/relate/libs/data.js +0 -54
- package/src/TemplateData/flowSchema/flowStep/flowStep.js +0 -614
- package/src/TemplateData/flowSchema/generateTemplateData.js +0 -225
- package/src/TemplateData/flowSchema/libs/template.ejs +0 -97
- package/src/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/functionYaml/sqs/template.ejs +0 -21
- package/src/TemplateData/flowSchema/webSocketComplete/webSocketCompleteComponent.js +0 -30
- package/src/TemplateData/generateRole/createSharedResource.js +0 -468
- package/src/TemplateData/generateRole/sharedResourceTemplate.ejs +0 -32
- package/src/TemplateData/perActionComplete/create/mainFunction/createObjectComplete_main.js +0 -196
- package/src/TemplateData/perActionComplete/generateTemplateData.js +0 -162
- package/src/TemplateData/relationshipPerAction/generateTemplateData.js +0 -546
- package/src/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/sqsTemplate.ejs +0 -180
- package/src/TemplateData/resourceYaml/generateTemplateData.js +0 -149
- /package/src/{TemplateData → __TemplateData}/flowSchema/event/externalTopic/Process/handler/data.js +0 -0
- /package/src/{TemplateData → __TemplateData}/flowSchema/event/externalTopic/sns-out/data.js +0 -0
- /package/src/{TemplateData/flowSchema/event/eventBridge → generateCode/generateFlowSchema/event/eventBridgeComponent}/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/EndpointPerService/handler/api → generateCode/generateFlowSchema/event/eventBridgeComponent/handler/inv}/request.json +0 -0
- /package/src/{TemplateData/flowSchema/event/eventBridge → generateCode/generateFlowSchema/event/eventBridgeComponent}/handler/inv/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/eventBridge → generateCode/generateFlowSchema/event/eventBridgeComponent}/mainFunction/request.json +0 -0
- /package/src/{TemplateData/flowSchema/event/eventBridge → generateCode/generateFlowSchema/event/eventBridgeComponent}/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/externalTopic/Process → generateCode/generateFlowSchema/event/extTopicComponent/process}/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/externalTopic/Process → generateCode/generateFlowSchema/event/extTopicComponent/process}/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/externalTopic → generateCode/generateFlowSchema/event/extTopicComponent}/sns-in-sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/create/complete/functionYaml/request.json → generateCode/generateFlowSchema/event/generatedCodeComponent/index.js} +0 -0
- /package/src/{TemplateData/flowSchema/event/lambdaSync/Api → generateCode/generateFlowSchema/event/lambdaSyncApiComponent}/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/lambdaSync/Api → generateCode/generateFlowSchema/event/lambdaSyncApiComponent}/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/lambdaSync/Inv → generateCode/generateFlowSchema/event/lambdaSyncInvComponent}/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/lambdaSync/Inv → generateCode/generateFlowSchema/event/lambdaSyncInvComponent}/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/ownTopic/EndpointComponent → generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent}/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/ownTopic/EndpointComponent → generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent}/handler/DsqHandlerTemplate.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/ownTopic/EndpointComponent → generateCode/generateFlowSchema/event/ownTopicComponent/endpointComponent}/handler/SqsHandlerTemplate.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/ownTopic/FlowSchemaComponent → generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent}/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/ownTopic/FlowSchemaComponent → generateCode/generateFlowSchema/event/ownTopicComponent/flowSchemaComponent}/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/ownTopic → generateCode/generateFlowSchema/event/ownTopicComponent}/sns-in/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/event/s3Component}/flowSchemaMainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/confirmReserved/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/confirmReserved/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/confirmReserved/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/confirmReserved/queue/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObject/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObject/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObject/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObjectComplete/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObjectComplete/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObjectComplete/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/createObjectComplete/sns-sqs/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/createPreSignUrl/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/createPreSignUrl/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/createPreSignUrl/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/createPreSignUrl/queue/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/reservedLimit/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/reservedLimit/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/reservedLimit/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/preSignUrl/reservedLimit/sqs/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/processFile/functionYml/HdrS3/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/processFile/handler/handlerS3/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/processFile/mainFunction/ProcessCsvtemplate.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/processFile/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/processFile/queue/dsqTemplatePath.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/processFile/queue/s3Template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/s3 → generateCode/generateFlowSchema/event/s3Component}/upload/relate/S3/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/flowSchemaMainFunction}/templateByStatusType/statusFieldTemplate.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/flowSchemaMainFunction}/templateByStatusType/storedCacheTemplate.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/flowSchemaMainFunction}/templateByStatusType/triggerCacheTemplate.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/afterPluginHook/handler/templateDsq.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/afterPluginHook/handler/templateSqs.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/afterPluginHook/templateResource.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/afterPluginHook/templateYaml.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/firstFlowStep/templateHandler.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/firstFlowStep/templateMain.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/firstFlowStep/templateResource.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/firstFlowStep/templateYaml.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/noPlugInHook/templateHandler.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/noPlugInHook/templateMain.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/noPlugInHook/templateResource.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema}/flowStep/noPlugInHook/templateYaml.ejs +0 -0
- /package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/complete/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/complete/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/complete/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/sns-in/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/subscriptionOutAll/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/wbs/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/wbs/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/register → generateCode/generateFlowSchema/registerComponent}/wbs/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/ownTopic/statusFieldComponent/FunctionYaml → generateCode/generateFlowSchema/statusType/statusFieldComponent/functionYaml}/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/ownTopic/statusFieldComponent/Handler → generateCode/generateFlowSchema/statusType/statusFieldComponent/handler}/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/ownTopic/statusFieldComponent/MainFunction → generateCode/generateFlowSchema/statusType/statusFieldComponent/mainFunction}/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/ownTopic → generateCode/generateFlowSchema/statusType}/statusFieldComponent/sns/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/checkTriggerCacheComplete/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/checkTriggerCacheComplete/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/checkTriggerCacheComplete/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/triggerCacheComponent/triggerCacheComponent.js → generateCode/generateFlowSchema/statusType/triggerCacheComponent/index.js} +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/processTriggerCache/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/processTriggerCache/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/processTriggerCache/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/event/ownTopic/EndpointComplete/functionYaml → generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/functionYaml/dsq}/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/functionYaml/dsq → generateCode/generateFlowSchema/statusType/triggerCacheComponent/triggerCacheComplete/functionYaml/sqs}/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/triggerCacheComplete/handler/dsq/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/triggerCacheComplete/handler/sqs/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/triggerCacheComplete/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/statusType}/triggerCacheComponent/triggerCacheQueue/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocket/connect/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocket/connect/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocket/dynamoDb/ttlDynamoTemplate.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocketComplete/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocketComplete/handler/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocketComplete/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocketComplete/sqs/template.ejs +0 -0
- /package/src/{TemplateData/flowSchema → generateCode/generateFlowSchema/webSocketComponent}/webSocketComplete/sqs/templateSub.ejs +0 -0
- /package/src/{TemplateData/externalService → generateCode/generateInitialSetup/externalServiceComponent}/functionNameConfig/template.ejs +0 -0
- /package/src/{TemplateData/externalService → generateCode/generateInitialSetup/externalServiceComponent}/functionNameConfig/templateIntTesting.ejs +0 -0
- /package/src/{TemplateData/externalService → generateCode/generateInitialSetup/externalServiceComponent}/functionNameConfig/templateYaml.ejs +0 -0
- /package/src/{TemplateData/externalService → generateCode/generateInitialSetup/externalServiceComponent}/lambdaRole/request.json +0 -0
- /package/src/{TemplateData/externalService → generateCode/generateInitialSetup/externalServiceComponent}/lambdaRole/template.ejs +0 -0
- /package/src/{TemplateData/externalService → generateCode/generateInitialSetup/externalServiceComponent}/snsTopicSubscriptions/request.json +0 -0
- /package/src/{TemplateData/externalService → generateCode/generateInitialSetup/externalServiceComponent}/snsTopicSubscriptions/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/create/handler/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/create/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/create/sns-in-sqs/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/create/sns-out/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/create/yaml/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/delete/handler/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/delete/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/delete/sns-in-sqs/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/delete/yaml/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/get/handler/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/get/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/get/sns-in-sqs/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/get/yaml/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/update/handler/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/update/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/update/sns-in-sqs/template.ejs +0 -0
- /package/src/{TemplateData/perActionComplete → generateCode/generateSchema/actionEndpointCompleteComponent}/update/yaml/template.ejs +0 -0
- /package/src/{TemplateData/EndpointPerService/handler/dsq → generateCode/generateSchema/actionEndpointComponent/handler/api}/request.json +0 -0
- /package/src/{TemplateData/EndpointPerService/handler/inv → generateCode/generateSchema/actionEndpointComponent/handler/dsq}/request.json +0 -0
- /package/src/{TemplateData/EndpointPerService/handler/sqs → generateCode/generateSchema/actionEndpointComponent/handler/inv}/request.json +0 -0
- /package/src/{TemplateData/flowSchema/event/eventBridge/handler/inv → generateCode/generateSchema/actionEndpointComponent/handler/sqs}/request.json +0 -0
- /package/src/{TemplateData/findData → generateCode/generateSchema/findDataComponent}/GetByStorage/getByDynamo.ejs +0 -0
- /package/src/{TemplateData/findData → generateCode/generateSchema/findDataComponent}/GetByStorage/getByGraph.ejs +0 -0
- /package/src/{TemplateData/findData → generateCode/generateSchema/findDataComponent}/findDataYaml/template.ejs +0 -0
- /package/src/{TemplateData/findData → generateCode/generateSchema/findDataComponent}/handler/template.ejs +0 -0
- /package/src/{TemplateData/findData → generateCode/generateSchema/findDataComponent}/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/processLogical → generateCode/generateSchema/processLogicalComponent}/handler/template.ejs +0 -0
- /package/src/{TemplateData/processLogical → generateCode/generateSchema/processLogicalComponent}/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/processLogical → generateCode/generateSchema/processLogicalComponent}/yaml/template.ejs +0 -0
- /package/src/{TemplateData/processLogicalPagination/DsqYaml → generateCode/generateSchema/processLogicalPaginationComponent/dsqYaml}/data.js +0 -0
- /package/src/{TemplateData/processLogicalPagination/DsqYaml → generateCode/generateSchema/processLogicalPaginationComponent/dsqYaml}/template.ejs +0 -0
- /package/src/{TemplateData/processLogicalPagination → generateCode/generateSchema/processLogicalPaginationComponent}/handler/dsq/template.ejs +0 -0
- /package/src/{TemplateData/processLogicalPagination → generateCode/generateSchema/processLogicalPaginationComponent}/handler/sqs/template.ejs +0 -0
- /package/src/{TemplateData/processLogicalPagination → generateCode/generateSchema/processLogicalPaginationComponent}/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/processLogicalPagination → generateCode/generateSchema/processLogicalPaginationComponent}/yaml/dsq/template.ejs +0 -0
- /package/src/{TemplateData/processLogicalPagination → generateCode/generateSchema/processLogicalPaginationComponent}/yaml/sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/functionYaml/templateByHandler/invTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/handler/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/handler/templateByHandler/apiTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/handler/templateByHandler/dsqTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/handler/templateByHandler/invTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/handler/templateByHandler/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/sns-in-sqs/snsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/action/sns-in-sqs/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/complete/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/complete/handler/sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/complete/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/complete/sns-in-sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/changeRelationship/complete/sns-out/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/functionYaml/templateByHandler/invTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/handler/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/handler/templateByHandler/apiTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/handler/templateByHandler/dsqTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/handler/templateByHandler/invTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/handler/templateByHandler/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/sns-in-sqs/snsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/action/sns-in-sqs/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/create/complete/handler/sqs → generateCode/generateSchema/relationshipPerActionComponent/create/complete/functionYaml}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/complete/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/create/complete/mainFunction → generateCode/generateSchema/relationshipPerActionComponent/create/complete/handler/sqs}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/complete/handler/sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/create/complete/sns-in-sqs → generateCode/generateSchema/relationshipPerActionComponent/create/complete/mainFunction}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/complete/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/create/complete/sns-out → generateCode/generateSchema/relationshipPerActionComponent/create/complete/sns-in-sqs}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/complete/sns-in-sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/delete/complete/functionYaml → generateCode/generateSchema/relationshipPerActionComponent/create/complete/sns-out}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/create/complete/sns-out/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/functionYaml/templateByHandler/invTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/handler/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/handler/templateByHandler/apiTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/handler/templateByHandler/dsqTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/handler/templateByHandler/invTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/sns-in-sqs/snsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/action/sns-in-sqs/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/delete/complete/handler/sqs → generateCode/generateSchema/relationshipPerActionComponent/delete/complete/functionYaml}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/complete/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/delete/complete/mainFunction → generateCode/generateSchema/relationshipPerActionComponent/delete/complete/handler/sqs}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/complete/handler/sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/delete/complete/sns-in-sqs → generateCode/generateSchema/relationshipPerActionComponent/delete/complete/mainFunction}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/complete/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/delete/complete/sns-out → generateCode/generateSchema/relationshipPerActionComponent/delete/complete/sns-in-sqs}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/complete/sns-in-sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/get/complete/functionYaml → generateCode/generateSchema/relationshipPerActionComponent/delete/complete/sns-out}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/delete/complete/sns-out/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/functionYaml/templateByHandler/invTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/handler/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/handler/templateByHandler/apiTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/handler/templateByHandler/dsqTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/handler/templateByHandler/invTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/handler/templateByHandler/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/sns-in-sqs/snsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/action/sns-in-sqs/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/get/complete/handler/sqs → generateCode/generateSchema/relationshipPerActionComponent/get/complete/functionYaml}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/complete/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/get/complete/mainFunction → generateCode/generateSchema/relationshipPerActionComponent/get/complete/handler/sqs}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/complete/handler/sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/get/complete/sns-in-sqs → generateCode/generateSchema/relationshipPerActionComponent/get/complete/mainFunction}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/complete/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/get/complete/sns-out → generateCode/generateSchema/relationshipPerActionComponent/get/complete/sns-in-sqs}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/complete/sns-in-sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction/update/complete/handler/sqs → generateCode/generateSchema/relationshipPerActionComponent/get/complete/sns-out}/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/get/complete/sns-out/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/functionYaml/templateByHandler/invTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/handler/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/handler/templateByHandler/apiTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/handler/templateByHandler/dsqTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/handler/templateByHandler/invTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/handler/templateByHandler/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/sns-in-sqs/snsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/action/sns-in-sqs/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/complete/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/complete/handler/sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/complete/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/complete/sns-in-sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/moveRelationship/complete/sns-out/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/functionYaml/templateByHandler/invTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/handler/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/handler/templateByHandler/apiTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/handler/templateByHandler/dsqTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/handler/templateByHandler/invTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/mainFunction/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/sns-in-sqs/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/sns-in-sqs/snsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/sns-in-sqs/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/action/sns-out/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/functionYaml/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/functionYaml/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/handler/sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/mainFunction/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/mainFunction/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/sns-in-sqs/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/sns-in-sqs/template.ejs +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/sns-out/request.json +0 -0
- /package/src/{TemplateData/relationshipPerAction → generateCode/generateSchema/relationshipPerActionComponent}/update/complete/sns-out/template.ejs +0 -0
- /package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/dynamodb/template.ejs +0 -0
- /package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/sns-in-sqs/request.json +0 -0
- /package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/sns-in-sqs/snsTemplate.ejs +0 -0
- /package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/sns-in-sqs/sqsTemplate.ejs +0 -0
- /package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/sns-out/request.json +0 -0
- /package/src/{TemplateData/resourceYaml → generateCode/resourceYamlComponent}/sns-out/template.ejs +0 -0
- /package/src/{TemplateData → generateResources}/IntTest/generateResources/templateResources.ejs +0 -0
- /package/src/{TemplateData → generateResources}/IntTest/generateTests/events/templateEvents.ejs +0 -0
- /package/src/{TemplateData → generateResources}/IntTest/generateTests/pathIntTest/data.js +0 -0
- /package/src/{TemplateData → generateResources}/IntTest/generateTests/pathIntTest/template.ejs +0 -0
- /package/src/{TemplateData → generateResources}/IntTest/generateTests/tests/templateTests.ejs +0 -0
- /package/src/{TemplateData → generateResources}/IntTest/upload/uploadIntTest.js +0 -0
|
@@ -19,8 +19,9 @@ import path from 'path';
|
|
|
19
19
|
import { fileURLToPath } from 'url';
|
|
20
20
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
|
-
|
|
23
|
-
import
|
|
22
|
+
|
|
23
|
+
import consts from '#libs/Consts.js';
|
|
24
|
+
import utils from '#libs/Utils.js';
|
|
24
25
|
|
|
25
26
|
const { SOURCE_PATH, FUNCTION_NAME } = consts;
|
|
26
27
|
const { firstLetterUpperCase: upperCase } = utils;
|
|
@@ -34,11 +35,6 @@ const templatePath = path.join(__dirname, 'template.ejs');
|
|
|
34
35
|
* @param {Object} objectSchema
|
|
35
36
|
* @return {{templatePath, templateData,setting}}
|
|
36
37
|
*/
|
|
37
|
-
|
|
38
|
-
function data(_izContext, allFlowSchemas, srcPath) {
|
|
39
|
-
return [createParamsForCreateSource(_izContext, allFlowSchemas, srcPath)];
|
|
40
|
-
}
|
|
41
|
-
|
|
42
38
|
function createParamsForCreateSource(_izContext, allFlowSchemas, srcPath) {
|
|
43
39
|
const functionName = FUNCTION_NAME.flowSchemaRegister + 'Complete';
|
|
44
40
|
return {
|
|
@@ -54,4 +50,4 @@ function createParamsForCreateSource(_izContext, allFlowSchemas, srcPath) {
|
|
|
54
50
|
}
|
|
55
51
|
};
|
|
56
52
|
}
|
|
57
|
-
export default
|
|
53
|
+
export default createParamsForCreateSource;
|
|
@@ -19,13 +19,13 @@ import path from 'path';
|
|
|
19
19
|
import { fileURLToPath } from 'url';
|
|
20
20
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
|
-
import consts from '
|
|
22
|
+
import consts from '#libs/Consts.js';
|
|
23
23
|
|
|
24
24
|
const { SOURCE_PATH, SAVE_FILE_NAME } = consts;
|
|
25
25
|
|
|
26
26
|
const templatePath = path.join(
|
|
27
27
|
__dirname,
|
|
28
|
-
'../../../
|
|
28
|
+
'../../../resourceYamlComponent/dynamodb/template.ejs'
|
|
29
29
|
);
|
|
30
30
|
|
|
31
31
|
/**
|
|
@@ -38,34 +38,32 @@ const templatePath = path.join(
|
|
|
38
38
|
const createRegisterTable = (_izContext, srcPath) => {
|
|
39
39
|
const tableName = 'RegisterRecords';
|
|
40
40
|
|
|
41
|
-
return
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
isAppend: true
|
|
66
|
-
}
|
|
41
|
+
return {
|
|
42
|
+
templatePath: templatePath,
|
|
43
|
+
templateData: {
|
|
44
|
+
tableName: tableName,
|
|
45
|
+
resourceName: tableName,
|
|
46
|
+
attributes: [
|
|
47
|
+
{
|
|
48
|
+
keyType: 'partitionKey',
|
|
49
|
+
AttributeName: 'identifiersTask',
|
|
50
|
+
AttributeType: 'S'
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
keyType: 'sortKey',
|
|
54
|
+
AttributeName: 'connectionId',
|
|
55
|
+
AttributeType: 'S'
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
setting: {
|
|
60
|
+
initialData: 'Resources:\n',
|
|
61
|
+
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
62
|
+
saveFileName: SAVE_FILE_NAME.dynamoDbYaml,
|
|
63
|
+
fileExtension: '.yml',
|
|
64
|
+
isAppend: true
|
|
67
65
|
}
|
|
68
|
-
|
|
66
|
+
};
|
|
69
67
|
};
|
|
70
68
|
|
|
71
69
|
export default createRegisterTable;
|
|
@@ -8,33 +8,40 @@ import createFlowSchemaRegisterSnsInSqs from './sns-in/data.js';
|
|
|
8
8
|
import createFlowSchemaRegisterSubscribeOutAll from './subscriptionOutAll/data.js';
|
|
9
9
|
import createFlowSchemaRegisterDynamoDb from './dynamoDB/register.js';
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @param {*} _izContext
|
|
14
|
+
* @param {*} allLocalFlowSchemas
|
|
15
|
+
* @param {*} saveFilePath
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
11
18
|
function createFlowSchemaRegisterComponent(
|
|
12
19
|
_izContext,
|
|
13
20
|
allLocalFlowSchemas,
|
|
14
21
|
saveFilePath
|
|
15
22
|
) {
|
|
16
23
|
const createSourceParams = [
|
|
17
|
-
|
|
18
|
-
|
|
24
|
+
createFlowSchemaRegisterHandlerComplete(_izContext, saveFilePath),
|
|
25
|
+
createFlowSchemaRegisterMainCompleteFunc(
|
|
19
26
|
_izContext,
|
|
20
27
|
allLocalFlowSchemas,
|
|
21
28
|
saveFilePath
|
|
22
29
|
),
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
createFlowSchemaRegisterHandlerWbsFunc(_izContext, saveFilePath),
|
|
31
|
+
createFlowSchemaRegisterMainWbsFunc(_izContext, saveFilePath),
|
|
32
|
+
createFlowSchemaRegisterMainCompleteFuncYaml(_izContext, saveFilePath),
|
|
33
|
+
createFlowSchemaRegisterMainWbsFuncYaml(
|
|
27
34
|
_izContext,
|
|
28
35
|
allLocalFlowSchemas,
|
|
29
36
|
saveFilePath
|
|
30
37
|
),
|
|
31
|
-
|
|
38
|
+
createFlowSchemaRegisterSnsInSqs(_izContext, saveFilePath),
|
|
32
39
|
...createFlowSchemaRegisterSubscribeOutAll(
|
|
33
40
|
_izContext,
|
|
34
41
|
allLocalFlowSchemas,
|
|
35
42
|
saveFilePath
|
|
36
43
|
),
|
|
37
|
-
|
|
44
|
+
createFlowSchemaRegisterDynamoDb(_izContext, saveFilePath)
|
|
38
45
|
];
|
|
39
46
|
|
|
40
47
|
return createSourceParams.flat();
|
|
@@ -19,15 +19,16 @@ import path from 'path';
|
|
|
19
19
|
import { fileURLToPath } from 'url';
|
|
20
20
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
|
-
|
|
23
|
-
import
|
|
24
|
-
import utils from '../../../../../libs/Utils.js';
|
|
25
|
-
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } = utils;
|
|
22
|
+
import consts from '#libs/Consts.js';
|
|
23
|
+
import utils from '#libs/Utils.js';
|
|
26
24
|
const { SOURCE_PATH, SAVE_FILE_NAME, FUNCTION_NAME } = consts;
|
|
25
|
+
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
26
|
+
utils;
|
|
27
|
+
|
|
27
28
|
const templatePath = path.join(__dirname, 'template.ejs');
|
|
28
29
|
|
|
29
30
|
/**
|
|
30
|
-
* create data for dynamoDbYaml
|
|
31
|
+
* create data for dynamoDbYaml template from objectSchema
|
|
31
32
|
* return array of dynamoDb data
|
|
32
33
|
* because one objectSchema can create multiple dynamoDb table
|
|
33
34
|
*
|
|
@@ -36,27 +37,20 @@ const templatePath = path.join(__dirname, 'template.ejs');
|
|
|
36
37
|
* @returns {Object[]} - data of multiple dynamoDb template
|
|
37
38
|
*/
|
|
38
39
|
|
|
39
|
-
function
|
|
40
|
-
const createSourceParams = createParamsForCreateSource(_izContext, srcPath);
|
|
41
|
-
// console.log("createSourceParamUpdateRelationshipComplete", createSourceParams)
|
|
42
|
-
return [createSourceParams];
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function createParamsForCreateSource(_izContext, srcPath) {
|
|
46
|
-
let queueName = FUNCTION_NAME.updateRelComplete;
|
|
40
|
+
function createDataForSnsIn(_izContext, srcPath) {
|
|
47
41
|
return {
|
|
48
42
|
templatePath: templatePath,
|
|
49
43
|
templateData: {
|
|
50
|
-
queueName: upperCase(
|
|
44
|
+
queueName: upperCase(FUNCTION_NAME.flowSchemaRegister),
|
|
45
|
+
firstLetterUpperCase: upperCase
|
|
51
46
|
},
|
|
52
47
|
setting: {
|
|
53
48
|
initialData: 'Resources:\n',
|
|
54
49
|
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
55
|
-
saveFileName: SAVE_FILE_NAME.
|
|
50
|
+
saveFileName: SAVE_FILE_NAME.snsInSqsYaml,
|
|
56
51
|
fileExtension: '.yml',
|
|
57
52
|
isAppend: true
|
|
58
53
|
}
|
|
59
54
|
};
|
|
60
55
|
}
|
|
61
|
-
|
|
62
|
-
export default createDefaultSnsOut;
|
|
56
|
+
export default createDataForSnsIn;
|
|
@@ -19,11 +19,12 @@ import path from 'path';
|
|
|
19
19
|
import { fileURLToPath } from 'url';
|
|
20
20
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
|
-
import consts from '
|
|
23
|
-
import utils from '
|
|
22
|
+
import consts from '#libs/Consts.js';
|
|
23
|
+
import utils from '#libs/Utils.js';
|
|
24
24
|
|
|
25
25
|
const { SOURCE_PATH, SAVE_FILE_NAME } = consts;
|
|
26
|
-
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
26
|
+
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
27
|
+
utils;
|
|
27
28
|
|
|
28
29
|
const templatePath = path.join(__dirname, 'template.ejs');
|
|
29
30
|
|
|
@@ -44,7 +45,7 @@ function createDataForSubscriptionOutAll(
|
|
|
44
45
|
) {
|
|
45
46
|
// console.log("allLocalFlowSchemas", allLocalFlowSchemas.records)
|
|
46
47
|
const result = [];
|
|
47
|
-
for (const flowSchema of allLocalFlowSchemas
|
|
48
|
+
for (const flowSchema of allLocalFlowSchemas) {
|
|
48
49
|
let event = flowSchema.event;
|
|
49
50
|
if (!event.includes('eventBridge') || !event.includes('s3')) {
|
|
50
51
|
let flowSteps = flowSchema.flowSteps;
|
|
@@ -19,9 +19,9 @@ import path from 'path';
|
|
|
19
19
|
import { fileURLToPath } from 'url';
|
|
20
20
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
|
-
import consts from '
|
|
23
|
-
import utils from '
|
|
24
|
-
import libs from '
|
|
22
|
+
import consts from '#libs/Consts.js';
|
|
23
|
+
import utils from '#libs/Utils.js';
|
|
24
|
+
import libs from '#libs/Libs.js';
|
|
25
25
|
|
|
26
26
|
const {
|
|
27
27
|
SOURCE_PATH,
|
|
@@ -85,29 +85,27 @@ function data(_izContext, allLocalFlowSchemas, srcPath) {
|
|
|
85
85
|
)
|
|
86
86
|
);
|
|
87
87
|
|
|
88
|
-
return
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
isAppend: true
|
|
108
|
-
}
|
|
88
|
+
return {
|
|
89
|
+
templatePath: templatePath,
|
|
90
|
+
templateData: {
|
|
91
|
+
handlerFilePath: path.join(
|
|
92
|
+
SOURCE_PATH.resourceLocationFlowSchemaRegister,
|
|
93
|
+
'source/',
|
|
94
|
+
`${upperCase(functionName)}_${upperCase(handlerType)}`
|
|
95
|
+
),
|
|
96
|
+
additionalResourcePermission,
|
|
97
|
+
functionName: upperCase(functionName),
|
|
98
|
+
handlerType,
|
|
99
|
+
roleName: SOURCE_GENERATE_IAM_ROLE.RegisterRole,
|
|
100
|
+
functionNameConfig
|
|
101
|
+
},
|
|
102
|
+
setting: {
|
|
103
|
+
savePath: path.join(srcPath, SOURCE_PATH.appYaml),
|
|
104
|
+
saveFileName: SAVE_FILE_NAME.flowSchemaYaml,
|
|
105
|
+
fileExtension: '.yml',
|
|
106
|
+
isAppend: true
|
|
109
107
|
}
|
|
110
|
-
|
|
108
|
+
};
|
|
111
109
|
}
|
|
112
110
|
|
|
113
111
|
export default data;
|
|
@@ -19,8 +19,8 @@ import path from 'path';
|
|
|
19
19
|
import { fileURLToPath } from 'url';
|
|
20
20
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
|
-
import consts from '
|
|
23
|
-
import utils from '
|
|
22
|
+
import consts from '#libs/Consts.js';
|
|
23
|
+
import utils from '#libs/Utils.js';
|
|
24
24
|
const { SOURCE_PATH, FUNCTION_NAME } = consts;
|
|
25
25
|
|
|
26
26
|
const { firstLetterUpperCase: upperCase } = utils;
|
|
@@ -34,10 +34,6 @@ const templatePath = path.join(__dirname, 'template.ejs');
|
|
|
34
34
|
* @param {Object} objectSchema
|
|
35
35
|
* @return {{templatePath, templateData,setting}}
|
|
36
36
|
*/
|
|
37
|
-
function data(_izContext, srcPath) {
|
|
38
|
-
return [createParamsForCreateSource(_izContext, srcPath)];
|
|
39
|
-
}
|
|
40
|
-
|
|
41
37
|
function createParamsForCreateSource(_izContext, srcPath) {
|
|
42
38
|
// let functionName = upperCase(FUNCTION_NAME.createObjectS3)
|
|
43
39
|
let functionName = FUNCTION_NAME.flowSchemaRegister;
|
|
@@ -63,4 +59,4 @@ function createParamsForCreateSource(_izContext, srcPath) {
|
|
|
63
59
|
}
|
|
64
60
|
};
|
|
65
61
|
}
|
|
66
|
-
export default
|
|
62
|
+
export default createParamsForCreateSource;
|
|
@@ -19,8 +19,10 @@ import path from 'path';
|
|
|
19
19
|
import { fileURLToPath } from 'url';
|
|
20
20
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
|
-
|
|
23
|
-
import
|
|
22
|
+
|
|
23
|
+
import consts from '#libs/Consts.js';
|
|
24
|
+
import utils from '#libs/Utils.js';
|
|
25
|
+
|
|
24
26
|
const { SOURCE_PATH, FUNCTION_NAME } = consts;
|
|
25
27
|
|
|
26
28
|
const { firstLetterUpperCase: upperCase } = utils;
|
|
@@ -34,11 +36,6 @@ const templatePath = path.join(__dirname, 'template.ejs');
|
|
|
34
36
|
* @param {Object} objectSchema
|
|
35
37
|
* @return {{templatePath, templateData,setting}}
|
|
36
38
|
*/
|
|
37
|
-
|
|
38
|
-
function data(_izContext, srcPath) {
|
|
39
|
-
return [createParamsForCreateSource(_izContext, srcPath)];
|
|
40
|
-
}
|
|
41
|
-
|
|
42
39
|
function createParamsForCreateSource(_izContext, srcPath) {
|
|
43
40
|
const functionName = upperCase(FUNCTION_NAME.flowSchemaRegister);
|
|
44
41
|
return {
|
|
@@ -54,4 +51,4 @@ function createParamsForCreateSource(_izContext, srcPath) {
|
|
|
54
51
|
}
|
|
55
52
|
};
|
|
56
53
|
}
|
|
57
|
-
export default
|
|
54
|
+
export default createParamsForCreateSource;
|
|
@@ -22,9 +22,9 @@ const __dirname = path.dirname(__filename);
|
|
|
22
22
|
import { NoRetryError } from '@izara_project/izara-core-library-core';
|
|
23
23
|
import { getObjectSchema } from '@izara_project/izara-core-library-service-schemas';
|
|
24
24
|
|
|
25
|
-
import consts from '
|
|
26
|
-
import utils from '
|
|
27
|
-
import libs from '
|
|
25
|
+
import consts from '#libs/Consts.js';
|
|
26
|
+
import utils from '#libs/Utils.js';
|
|
27
|
+
import libs from '#libs/Libs.js';
|
|
28
28
|
|
|
29
29
|
const {
|
|
30
30
|
SOURCE_PATH,
|
|
@@ -141,7 +141,7 @@ async function createSourceParams(_izContext, flowSchema, srcPath) {
|
|
|
141
141
|
},
|
|
142
142
|
setting: {
|
|
143
143
|
savePath: path.join(srcPath, SOURCE_PATH.appYaml),
|
|
144
|
-
saveFileName:
|
|
144
|
+
saveFileName: SAVE_FILE_NAME.flowSchemaYaml,
|
|
145
145
|
fileExtension: '.yml',
|
|
146
146
|
isAppend: true
|
|
147
147
|
}
|
|
@@ -20,8 +20,8 @@ import { fileURLToPath } from 'url';
|
|
|
20
20
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
22
|
|
|
23
|
-
import consts from '
|
|
24
|
-
import utils from '
|
|
23
|
+
import consts from '#libs/Consts.js';
|
|
24
|
+
import utils from '#libs/Utils.js';
|
|
25
25
|
|
|
26
26
|
const { SOURCE_PATH, HANDLER } = consts;
|
|
27
27
|
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import createCompleteStatusFieldMainFunction from './mainFunction/data.js';
|
|
2
|
+
import createCompleteStatusFieldFunctionYaml from './functionYaml/data.js';
|
|
3
|
+
import createCompleteStatusFieldHandler from './handler/data.js';
|
|
4
|
+
import createCompleteStatusFieldTopicAndQueue from './sns/data.js';
|
|
5
|
+
|
|
6
|
+
async function createStatusFieldComponent(
|
|
7
|
+
_izContext,
|
|
8
|
+
flowSchema,
|
|
9
|
+
saveFilePath
|
|
10
|
+
) {
|
|
11
|
+
const component = [
|
|
12
|
+
...createCompleteStatusFieldMainFunction(
|
|
13
|
+
_izContext,
|
|
14
|
+
flowSchema,
|
|
15
|
+
saveFilePath
|
|
16
|
+
),
|
|
17
|
+
...(await createCompleteStatusFieldFunctionYaml(
|
|
18
|
+
_izContext,
|
|
19
|
+
flowSchema,
|
|
20
|
+
saveFilePath
|
|
21
|
+
)),
|
|
22
|
+
...createCompleteStatusFieldHandler(_izContext, flowSchema, saveFilePath),
|
|
23
|
+
...createCompleteStatusFieldTopicAndQueue(
|
|
24
|
+
_izContext,
|
|
25
|
+
flowSchema,
|
|
26
|
+
saveFilePath
|
|
27
|
+
)
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
return component;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export default createStatusFieldComponent;
|
|
@@ -20,8 +20,8 @@ import { fileURLToPath } from 'url';
|
|
|
20
20
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
22
|
|
|
23
|
-
import consts from '
|
|
24
|
-
import utils from '
|
|
23
|
+
import consts from '#libs/Consts.js';
|
|
24
|
+
import utils from '#libs/Utils.js';
|
|
25
25
|
|
|
26
26
|
const { SOURCE_PATH } = consts;
|
|
27
27
|
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
@@ -20,8 +20,8 @@ import { fileURLToPath } from 'url';
|
|
|
20
20
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
22
|
|
|
23
|
-
import consts from '
|
|
24
|
-
import utils from '
|
|
23
|
+
import consts from '#libs/Consts.js';
|
|
24
|
+
import utils from '#libs/Utils.js';
|
|
25
25
|
|
|
26
26
|
const { SOURCE_PATH, SAVE_FILE_NAME } = consts;
|
|
27
27
|
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
@@ -21,9 +21,9 @@ const __filename = fileURLToPath(import.meta.url);
|
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
22
|
import { NoRetryError } from '@izara_project/izara-core-library-core';
|
|
23
23
|
import { getObjectSchema } from '@izara_project/izara-core-library-service-schemas';
|
|
24
|
-
import consts from '
|
|
25
|
-
import utils from '
|
|
26
|
-
import libs from '
|
|
24
|
+
import consts from '#libs/Consts.js';
|
|
25
|
+
import utils from '#libs/Utils.js';
|
|
26
|
+
import libs from '#libs/Libs.js';
|
|
27
27
|
|
|
28
28
|
const {
|
|
29
29
|
SOURCE_PATH,
|
|
@@ -35,14 +35,15 @@ const {
|
|
|
35
35
|
STORAGE_TYPES
|
|
36
36
|
} = consts;
|
|
37
37
|
|
|
38
|
-
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
38
|
+
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
39
|
+
utils;
|
|
39
40
|
|
|
40
41
|
const {
|
|
41
42
|
awaitingMultipleStepsRole,
|
|
42
43
|
resourceNames,
|
|
43
44
|
defaultIamRolePerAction,
|
|
44
45
|
createIamRole,
|
|
45
|
-
shortNameHandler
|
|
46
|
+
shortNameHandler
|
|
46
47
|
} = libs;
|
|
47
48
|
const templatePath = path.join(__dirname, 'template.ejs');
|
|
48
49
|
|
|
@@ -129,7 +130,7 @@ async function createSourceParams(_izContext, flowSchema, srcPath) {
|
|
|
129
130
|
},
|
|
130
131
|
setting: {
|
|
131
132
|
savePath: path.join(srcPath, SOURCE_PATH.appYaml),
|
|
132
|
-
saveFileName:
|
|
133
|
+
saveFileName: SAVE_FILE_NAME.flowSchemaYaml,
|
|
133
134
|
fileExtension: '.yml',
|
|
134
135
|
isAppend: true
|
|
135
136
|
}
|
|
@@ -19,11 +19,12 @@ import path from 'path';
|
|
|
19
19
|
import { fileURLToPath } from 'url';
|
|
20
20
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
|
-
import consts from '
|
|
23
|
-
import utils from '
|
|
22
|
+
import consts from '#libs/Consts.js';
|
|
23
|
+
import utils from '#libs/Utils.js';
|
|
24
24
|
|
|
25
25
|
const { SOURCE_PATH, HANDLER } = consts;
|
|
26
|
-
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
26
|
+
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
27
|
+
utils;
|
|
27
28
|
const templatePath = path.join(__dirname, 'template.ejs');
|
|
28
29
|
|
|
29
30
|
/**
|
|
@@ -41,7 +42,11 @@ function createSourceParams(_izContext, flowSchema, srcPath) {
|
|
|
41
42
|
let functionName =
|
|
42
43
|
'CheckTriggerCache' + upperCase(flowSchema.flowTag) + 'Complete';
|
|
43
44
|
let handlerType = upperCase(HANDLER.hdrSqs);
|
|
44
|
-
let queueName =
|
|
45
|
+
let queueName =
|
|
46
|
+
'CheckTriggerCache' +
|
|
47
|
+
upperCase(flowSchema.flowTag) +
|
|
48
|
+
'Complete' +
|
|
49
|
+
handlerType;
|
|
45
50
|
|
|
46
51
|
return {
|
|
47
52
|
templatePath: templatePath,
|
|
@@ -19,10 +19,11 @@ import path from 'path';
|
|
|
19
19
|
import { fileURLToPath } from 'url';
|
|
20
20
|
const __filename = fileURLToPath(import.meta.url);
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
|
-
import consts from '
|
|
23
|
-
import utils from '
|
|
22
|
+
import consts from '#libs/Consts.js';
|
|
23
|
+
import utils from '#libs/Utils.js';
|
|
24
24
|
const { SOURCE_PATH, HANDLER } = consts;
|
|
25
|
-
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
25
|
+
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
26
|
+
utils;
|
|
26
27
|
|
|
27
28
|
const templatePath = path.join(__dirname, 'template.ejs');
|
|
28
29
|
|
|
@@ -25,9 +25,9 @@ import {
|
|
|
25
25
|
utils as coreUtils
|
|
26
26
|
} from '@izara_project/izara-core-library-service-schemas';
|
|
27
27
|
const { createFlowTypeConcat } = coreUtils;
|
|
28
|
-
import consts from '
|
|
29
|
-
import utils from '
|
|
30
|
-
import libs from '
|
|
28
|
+
import consts from '#libs/Consts.js';
|
|
29
|
+
import utils from '#libs/Utils.js';
|
|
30
|
+
import libs from '#libs/Libs.js';
|
|
31
31
|
|
|
32
32
|
const {
|
|
33
33
|
SOURCE_PATH,
|
|
@@ -50,7 +50,7 @@ const {
|
|
|
50
50
|
resourceNames,
|
|
51
51
|
defaultIamRolePerAction,
|
|
52
52
|
createIamRole,
|
|
53
|
-
shortNameHandler
|
|
53
|
+
shortNameHandler
|
|
54
54
|
} = libs;
|
|
55
55
|
const templatePath = path.join(__dirname, './template.ejs');
|
|
56
56
|
|
|
@@ -135,7 +135,7 @@ async function createSourceParams(_izContext, flowSchema, srcPath) {
|
|
|
135
135
|
},
|
|
136
136
|
setting: {
|
|
137
137
|
savePath: path.join(srcPath, SOURCE_PATH.appYaml),
|
|
138
|
-
saveFileName:
|
|
138
|
+
saveFileName: SAVE_FILE_NAME.flowSchemaYaml,
|
|
139
139
|
fileExtension: '.yml',
|
|
140
140
|
isAppend: true
|
|
141
141
|
}
|
|
@@ -23,8 +23,8 @@ const __dirname = path.dirname(__filename);
|
|
|
23
23
|
import { utils as coreUtils } from '@izara_project/izara-core-library-service-schemas';
|
|
24
24
|
const { createFlowTypeConcat } = coreUtils;
|
|
25
25
|
|
|
26
|
-
import consts from '
|
|
27
|
-
import utils from '
|
|
26
|
+
import consts from '#libs/Consts.js';
|
|
27
|
+
import utils from '#libs/Utils.js';
|
|
28
28
|
|
|
29
29
|
const { SOURCE_PATH, HANDLER } = consts;
|
|
30
30
|
const {
|
|
@@ -58,7 +58,12 @@ function createSourceParams(_izContext, flowSchema, srcPath) {
|
|
|
58
58
|
queueName
|
|
59
59
|
},
|
|
60
60
|
setting: {
|
|
61
|
-
savePath: path.join(
|
|
61
|
+
savePath: path.join(
|
|
62
|
+
srcPath,
|
|
63
|
+
SOURCE_PATH.flowSchema,
|
|
64
|
+
upperCase(flowSchema.flowTag),
|
|
65
|
+
'source/'
|
|
66
|
+
),
|
|
62
67
|
saveFileName: `${upperCase(functionName)}_${upperCase(handlerType)}`,
|
|
63
68
|
fileExtension: '.js',
|
|
64
69
|
isAppend: true
|
|
@@ -22,8 +22,8 @@ const __dirname = path.dirname(__filename);
|
|
|
22
22
|
import { utils as coreUtils } from '@izara_project/izara-core-library-service-schemas';
|
|
23
23
|
const { createFlowTypeConcat } = coreUtils;
|
|
24
24
|
|
|
25
|
-
import consts from '
|
|
26
|
-
import utils from '
|
|
25
|
+
import consts from '#libs/Consts.js';
|
|
26
|
+
import utils from '#libs/Utils.js';
|
|
27
27
|
const { SOURCE_PATH, HANDLER } = consts;
|
|
28
28
|
const {
|
|
29
29
|
firstLetterLowerCase: lowerCase,
|
|
@@ -21,9 +21,9 @@ const __filename = fileURLToPath(import.meta.url);
|
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
22
|
import { NoRetryError } from '@izara_project/izara-core-library-core';
|
|
23
23
|
import { getObjectSchema } from '@izara_project/izara-core-library-service-schemas';
|
|
24
|
-
import consts from '
|
|
25
|
-
import utils from '
|
|
26
|
-
import libs from '
|
|
24
|
+
import consts from '#libs/Consts.js';
|
|
25
|
+
import utils from '#libs/Utils.js';
|
|
26
|
+
import libs from '#libs/Libs.js';
|
|
27
27
|
|
|
28
28
|
const {
|
|
29
29
|
SOURCE_PATH,
|
|
@@ -34,7 +34,8 @@ const {
|
|
|
34
34
|
DYNAMO_RESOURCE,
|
|
35
35
|
STORAGE_TYPES
|
|
36
36
|
} = consts;
|
|
37
|
-
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
37
|
+
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
38
|
+
utils;
|
|
38
39
|
const {
|
|
39
40
|
awaitingMultipleStepsRole,
|
|
40
41
|
resourceNames,
|
|
@@ -124,7 +125,7 @@ async function createSourceParams(_izContext, flowSchema, srcPath) {
|
|
|
124
125
|
},
|
|
125
126
|
setting: {
|
|
126
127
|
savePath: path.join(srcPath, SOURCE_PATH.appYaml),
|
|
127
|
-
saveFileName:
|
|
128
|
+
saveFileName: SAVE_FILE_NAME.flowSchemaYaml,
|
|
128
129
|
fileExtension: '.yml',
|
|
129
130
|
isAppend: true
|
|
130
131
|
}
|