@izara_project/izara-market-library-service-schemas 1.0.84 → 1.0.86
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 +8 -37
- package/package.json +10 -16
- package/src/Libs/Libs.js +711 -0
- package/src/TemplateData/AttributeTreeSchema/AttributeTreeManager/data.js +139 -0
- package/src/TemplateData/AttributeTreeSchema/AttributeTreeManager/template.ejs +18 -0
- package/src/TemplateData/AttributeTreeSchema/AttributeTreeRelationship/data.js +160 -0
- package/src/TemplateData/AttributeTreeSchema/AttributeTreeRelationship/template.ejs +7 -0
- package/src/TemplateData/AttributeTreeSchema/AttributeTreeStandard/data.js +103 -0
- package/src/TemplateData/AttributeTreeSchema/AttributeTreeStandard/template.ejs +20 -0
- package/src/TemplateData/AttributeTreeSchema/generateTemplateData.js +105 -0
- package/src/{reStructure → TemplateData}/GenerateSchema.js +38 -52
- package/src/TemplateData/PropertyValueSchema/PropertyValueObjectSchema/data.js +160 -0
- package/src/{reStructure/TemplateData/propertyValueSchema/relationshipPropertyValueSchema → TemplateData/PropertyValueSchema/PropertyValueRelationshipSchema}/data.js +43 -49
- package/src/{reStructure/TemplateData/propertyValueSchema → TemplateData/PropertyValueSchema}/generateTemplateData.js +3 -4
- package/src/CheckPermission/CheckPermission.js +0 -122
- package/src/GenerateCodeLibs/index.js +0 -22
- package/src/GenerateCodeLibs/src/Consts.js +0 -135
- package/src/GenerateCodeLibs/src/GenerateCodeLibs.js +0 -2583
- package/src/MainLibs/index.js +0 -22
- package/src/MainLibs/src/Consts.js +0 -735
- package/src/MainLibs/src/GenerateCodeUtils.js +0 -72
- package/src/MainLibs/src/Utils.js +0 -72
- package/src/SourceManager/index.js +0 -21
- package/src/SourceManager/src/CreateSource.js +0 -229
- package/src/SourceManager/src/Utils.js +0 -110
- package/src/reStructure/GenerateCode.js +0 -184
- package/src/reStructure/GenerateResources.js +0 -121
- package/src/reStructure/GenerateTests.js +0 -138
- package/src/reStructure/IntTestConfig.js +0 -23
- package/src/reStructure/SchemaConfig.js +0 -23
- package/src/reStructure/TemplateConfig.js +0 -58
- package/src/reStructure/TemplateData/Auth/generateAuthYml/data.js +0 -47
- package/src/reStructure/TemplateData/Auth/generateAuthYml/template.ejs +0 -16
- package/src/reStructure/TemplateData/Auth/generateTemplateData.js +0 -48
- package/src/reStructure/TemplateData/EndpointPerService/generateTemplateData.js +0 -127
- package/src/reStructure/TemplateData/EndpointPerService/handler/api/data.js +0 -72
- package/src/reStructure/TemplateData/EndpointPerService/handler/api/request.json +0 -7
- package/src/reStructure/TemplateData/EndpointPerService/handler/api/template.ejs +0 -73
- package/src/reStructure/TemplateData/EndpointPerService/handler/dsq/data.js +0 -76
- package/src/reStructure/TemplateData/EndpointPerService/handler/dsq/request.json +0 -7
- package/src/reStructure/TemplateData/EndpointPerService/handler/dsq/template.ejs +0 -129
- package/src/reStructure/TemplateData/EndpointPerService/handler/inv/data.js +0 -79
- package/src/reStructure/TemplateData/EndpointPerService/handler/inv/request.json +0 -7
- package/src/reStructure/TemplateData/EndpointPerService/handler/inv/template.ejs +0 -73
- package/src/reStructure/TemplateData/EndpointPerService/handler/sqs/data.js +0 -76
- package/src/reStructure/TemplateData/EndpointPerService/handler/sqs/request.json +0 -7
- package/src/reStructure/TemplateData/EndpointPerService/handler/sqs/template.ejs +0 -131
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/create/backupTemplate.ejs +0 -358
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/create/data.js +0 -51
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/create/template.ejs +0 -614
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/delete/data.js +0 -50
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/delete/template.ejs +0 -163
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/get/data.js +0 -50
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/get/template.ejs +0 -273
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/update/data.js +0 -50
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/update/template.ejs +0 -433
- package/src/reStructure/TemplateData/EndpointPerService/yaml/data.js +0 -307
- package/src/reStructure/TemplateData/EndpointPerService/yaml/template.ejs +0 -35
- package/src/reStructure/TemplateData/IntTest/generateResources/generateResources.js +0 -112
- package/src/reStructure/TemplateData/IntTest/generateResources/templateResources.ejs +0 -33
- package/src/reStructure/TemplateData/IntTest/generateTests/events/data.js +0 -133
- package/src/reStructure/TemplateData/IntTest/generateTests/events/templateEvents.ejs +0 -11
- package/src/reStructure/TemplateData/IntTest/generateTests/generateTemplate.js +0 -67
- package/src/reStructure/TemplateData/IntTest/generateTests/pathIntTest/data.js +0 -47
- package/src/reStructure/TemplateData/IntTest/generateTests/pathIntTest/template.ejs +0 -5
- package/src/reStructure/TemplateData/IntTest/generateTests/tests/data.js +0 -211
- package/src/reStructure/TemplateData/IntTest/generateTests/tests/templateTests.ejs +0 -3
- package/src/reStructure/TemplateData/IntTest/libs/libs.js +0 -416
- package/src/reStructure/TemplateData/IntTest/upload/uploadIntTest.js +0 -95
- package/src/reStructure/TemplateData/externalService/functionNameConfig/data.js +0 -176
- package/src/reStructure/TemplateData/externalService/functionNameConfig/template.ejs +0 -14
- package/src/reStructure/TemplateData/externalService/functionNameConfig/templateIntTesting.ejs +0 -31
- package/src/reStructure/TemplateData/externalService/functionNameConfig/templateYaml.ejs +0 -10
- package/src/reStructure/TemplateData/externalService/generateTemplateData.js +0 -79
- package/src/reStructure/TemplateData/externalService/lambdaRole/data.js +0 -445
- package/src/reStructure/TemplateData/externalService/lambdaRole/request.json +0 -18
- package/src/reStructure/TemplateData/externalService/lambdaRole/template.ejs +0 -59
- package/src/reStructure/TemplateData/externalService/snsTopicSubscriptions/data.js +0 -274
- package/src/reStructure/TemplateData/externalService/snsTopicSubscriptions/request.json +0 -12
- package/src/reStructure/TemplateData/externalService/snsTopicSubscriptions/template.ejs +0 -35
- package/src/reStructure/TemplateData/findData/GetByStorage/getByDynamo.ejs +0 -54
- package/src/reStructure/TemplateData/findData/GetByStorage/getByGraph.ejs +0 -81
- package/src/reStructure/TemplateData/findData/findDataYaml/data.js +0 -184
- package/src/reStructure/TemplateData/findData/findDataYaml/template.ejs +0 -14
- package/src/reStructure/TemplateData/findData/generateTemplateData.js +0 -69
- package/src/reStructure/TemplateData/findData/handler/data.js +0 -51
- package/src/reStructure/TemplateData/findData/handler/template.ejs +0 -136
- package/src/reStructure/TemplateData/findData/mainFunction/data.js +0 -319
- package/src/reStructure/TemplateData/findData/mainFunction/template.ejs +0 -149
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/functionYaml/data.js +0 -129
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/handler/data.js +0 -68
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/handler/template.ejs +0 -84
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/mainFunction/data.js +0 -71
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/mainFunction/template.ejs +0 -118
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/queue/data.js +0 -73
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/queue/template.ejs +0 -49
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/functionYaml/data.js +0 -128
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/functionYaml/template.ejs +0 -17
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/handler/data.js +0 -66
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/handler/template.ejs +0 -123
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/mainFunction/data.js +0 -58
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/mainFunction/template.ejs +0 -129
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/queue/data.js +0 -62
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/queue/template.ejs +0 -45
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/functionYaml/data.js +0 -116
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/handler/data.js +0 -67
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/handler/template.ejs +0 -83
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/mainFunction/data.js +0 -67
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/mainFunction/template.ejs +0 -131
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/functionYaml/data.js +0 -118
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/functionYaml/template.ejs +0 -17
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/handler/data.js +0 -65
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/handler/template.ejs +0 -99
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/mainFunction/data.js +0 -63
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/mainFunction/template.ejs +0 -81
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/sns-sqs/data.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/sns-sqs/template.ejs +0 -49
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/functionYaml/data.js +0 -138
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/functionYaml/template.ejs +0 -18
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/handler/data.js +0 -66
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/handler/template.ejs +0 -123
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/mainFunction/data.js +0 -66
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/mainFunction/template.ejs +0 -262
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/queue/data.js +0 -66
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/queue/template.ejs +0 -45
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/functionYaml/data.js +0 -144
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/functionYaml/template.ejs +0 -14
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/handler/data.js +0 -66
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/handler/template.ejs +0 -121
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/mainFunction/data.js +0 -61
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/mainFunction/template.ejs +0 -172
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/sqs/data.js +0 -68
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/sqs/template.ejs +0 -53
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/functionYml/HdrS3/data.js +0 -139
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/functionYml/HdrS3/template.ejs +0 -25
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/handler/handlerS3/data.js +0 -52
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/handler/handlerS3/template.ejs +0 -50
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/mainFunction/ProcessCsvtemplate.ejs +0 -182
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/mainFunction/data.js +0 -51
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/mainFunction/template.ejs +0 -68
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/queue/data.js +0 -77
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/queue/dsqTemplatePath.ejs +0 -32
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/queue/s3Template.ejs +0 -59
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/S3/data.js +0 -60
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/S3/template.ejs +0 -13
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/libs/data.js +0 -53
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/libs/template.ejs +0 -97
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/sns-out/data.js +0 -66
- package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/functionYaml/data.js +0 -91
- package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/functionYaml/template.ejs +0 -17
- package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/handler/data.js +0 -58
- package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/handler/template.ejs +0 -72
- package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/ReservedTableData.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/WebSocketTaskData.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/ttlDynamoTemplate.ejs +0 -32
- package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/userUploadRecords.js +0 -61
- package/src/reStructure/TemplateData/flowSchema/dynamoDb/data.js +0 -116
- package/src/reStructure/TemplateData/flowSchema/eventBridge/functionYaml/data.js +0 -167
- package/src/reStructure/TemplateData/flowSchema/eventBridge/functionYaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/flowSchema/eventBridge/handler/inv/data.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/eventBridge/handler/inv/request.json +0 -7
- package/src/reStructure/TemplateData/flowSchema/eventBridge/handler/inv/template.ejs +0 -60
- package/src/reStructure/TemplateData/flowSchema/eventBridge/mainFunction/data.js +0 -67
- package/src/reStructure/TemplateData/flowSchema/eventBridge/mainFunction/request.json +0 -5
- package/src/reStructure/TemplateData/flowSchema/eventBridge/mainFunction/template.ejs +0 -59
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/functionYaml/data.js +0 -111
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/handler/data.js +0 -93
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/handler/template.ejs +0 -81
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/mainFunction/data.js +0 -68
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/mainFunction/template.ejs +0 -58
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Process/functionYaml/data.js +0 -156
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Process/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Process/handler/data.js +0 -65
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Process/handler/template.ejs +0 -101
- package/src/reStructure/TemplateData/flowSchema/externalTopic/sns-in-sqs/data.js +0 -77
- package/src/reStructure/TemplateData/flowSchema/externalTopic/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/flowSchema/externalTopic/sns-out/data.js +0 -72
- package/src/reStructure/TemplateData/flowSchema/flowSchemaMainFunction/data.js +0 -120
- package/src/reStructure/TemplateData/flowSchema/flowSchemaMainFunction/template.ejs +0 -92
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/functionYaml/data.js +0 -111
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/functionYaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/handler/data.js +0 -70
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/handler/template.ejs +0 -81
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/mainFunction/data.js +0 -70
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/mainFunction/template.ejs +0 -61
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComponent/functionYaml/data.js +0 -145
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComponent/functionYaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComponent/handler/data.js +0 -68
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComponent/handler/template.ejs +0 -87
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/functionYaml/data.js +0 -111
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/functionYaml/template.ejs +0 -18
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/handler/data.js +0 -65
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/handler/template.ejs +0 -108
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/mainFunction/data.js +0 -65
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/mainFunction/template.ejs +0 -106
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/sns-in/data.js +0 -100
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/sns-in/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/sns-out/data.js +0 -74
- package/src/reStructure/TemplateData/flowSchema/flowStep/functionYaml/data.js +0 -152
- package/src/reStructure/TemplateData/flowSchema/flowStep/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/flowSchema/flowStep/handler/data.js +0 -102
- package/src/reStructure/TemplateData/flowSchema/flowStep/handler/template.ejs +0 -89
- package/src/reStructure/TemplateData/flowSchema/flowStep/mainFunction/data.js +0 -100
- package/src/reStructure/TemplateData/flowSchema/flowStep/mainFunction/template.ejs +0 -58
- package/src/reStructure/TemplateData/flowSchema/flowStep/sns-in/data.js +0 -98
- package/src/reStructure/TemplateData/flowSchema/flowStep/sns-in/template.ejs +0 -59
- package/src/reStructure/TemplateData/flowSchema/generateTemplateData.js +0 -808
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Api/functionYaml/data.js +0 -85
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Api/functionYaml/template.ejs +0 -28
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Api/handler/data.js +0 -67
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Api/handler/template.ejs +0 -86
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Inv/functionYaml/data.js +0 -74
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Inv/functionYaml/template.ejs +0 -13
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Inv/handler/data.js +0 -64
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Inv/handler/template.ejs +0 -52
- package/src/reStructure/TemplateData/flowSchema/register/complete/functionYaml/data.js +0 -113
- package/src/reStructure/TemplateData/flowSchema/register/complete/functionYaml/template.ejs +0 -22
- package/src/reStructure/TemplateData/flowSchema/register/complete/handler/data.js +0 -58
- package/src/reStructure/TemplateData/flowSchema/register/complete/handler/template.ejs +0 -85
- package/src/reStructure/TemplateData/flowSchema/register/complete/mainFunction/data.js +0 -62
- package/src/reStructure/TemplateData/flowSchema/register/complete/mainFunction/template.ejs +0 -176
- package/src/reStructure/TemplateData/flowSchema/register/dynamoDB/register.js +0 -73
- package/src/reStructure/TemplateData/flowSchema/register/sns-in/data.js +0 -58
- package/src/reStructure/TemplateData/flowSchema/register/sns-in/template.ejs +0 -45
- package/src/reStructure/TemplateData/flowSchema/register/subscriptionOutAll/data.js +0 -82
- package/src/reStructure/TemplateData/flowSchema/register/subscriptionOutAll/template.ejs +0 -13
- package/src/reStructure/TemplateData/flowSchema/register/wbs/functionYaml/data.js +0 -107
- package/src/reStructure/TemplateData/flowSchema/register/wbs/functionYaml/template.ejs +0 -19
- package/src/reStructure/TemplateData/flowSchema/register/wbs/handler/data.js +0 -65
- package/src/reStructure/TemplateData/flowSchema/register/wbs/handler/template.ejs +0 -83
- package/src/reStructure/TemplateData/flowSchema/register/wbs/mainFunction/data.js +0 -56
- package/src/reStructure/TemplateData/flowSchema/register/wbs/mainFunction/template.ejs +0 -165
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/FunctionYaml/data.js +0 -143
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/FunctionYaml/template.ejs +0 -22
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/Handler/data.js +0 -73
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/Handler/template.ejs +0 -86
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/MainFunction/data.js +0 -62
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/MainFunction/template.ejs +0 -80
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/sns/data.js +0 -63
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/sns/template.ejs +0 -59
- package/src/reStructure/TemplateData/flowSchema/templateByStatusType/statusFieldTemplate.ejs +0 -30
- package/src/reStructure/TemplateData/flowSchema/templateByStatusType/storedCacheTemplate.ejs +0 -26
- package/src/reStructure/TemplateData/flowSchema/templateByStatusType/triggerCacheTemplate.ejs +0 -44
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/functionYaml/data.js +0 -135
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/functionYaml/template.ejs +0 -22
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/handler/data.js +0 -70
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/handler/template.ejs +0 -89
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/mainFunction/data.js +0 -72
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/mainFunction/template.ejs +0 -85
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/functionYaml/data.js +0 -139
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/functionYaml/template.ejs +0 -22
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/handler/data.js +0 -73
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/handler/template.ejs +0 -88
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/mainFunction/data.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/mainFunction/template.ejs +0 -58
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/functionYaml/data.js +0 -131
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/functionYaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/handler/data.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/handler/template.ejs +0 -88
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/mainFunction/data.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/mainFunction/template.ejs +0 -74
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheQueue/data.js +0 -90
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheQueue/template.ejs +0 -49
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/functionYaml/data.js +0 -137
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/functionYaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/handler/data.js +0 -61
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/handler/template.ejs +0 -85
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/mainFunction/data.js +0 -55
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/mainFunction/template.ejs +0 -134
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/sqs/data.js +0 -100
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/sqs/template.ejs +0 -43
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/sqs/templateSub.ejs +0 -7
- package/src/reStructure/TemplateData/generateRole/createSharedResource.js +0 -469
- package/src/reStructure/TemplateData/generateRole/data.js +0 -92
- package/src/reStructure/TemplateData/generateRole/sharedResourceTemplate.ejs +0 -32
- package/src/reStructure/TemplateData/generateRole/template.ejs +0 -33
- package/src/reStructure/TemplateData/perActionComplete/create/handler/data.js +0 -61
- package/src/reStructure/TemplateData/perActionComplete/create/handler/template.ejs +0 -126
- package/src/reStructure/TemplateData/perActionComplete/create/mainFunction/createObjectComplete_main.js +0 -196
- package/src/reStructure/TemplateData/perActionComplete/create/mainFunction/data.js +0 -53
- package/src/reStructure/TemplateData/perActionComplete/create/mainFunction/template.ejs +0 -187
- package/src/reStructure/TemplateData/perActionComplete/create/sns-in-sqs/data.js +0 -62
- package/src/reStructure/TemplateData/perActionComplete/create/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/perActionComplete/create/sns-out/data.js +0 -67
- package/src/reStructure/TemplateData/perActionComplete/create/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/perActionComplete/create/yaml/data.js +0 -106
- package/src/reStructure/TemplateData/perActionComplete/create/yaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/perActionComplete/delete/handler/data.js +0 -61
- package/src/reStructure/TemplateData/perActionComplete/delete/handler/template.ejs +0 -125
- package/src/reStructure/TemplateData/perActionComplete/delete/mainFunction/data.js +0 -53
- package/src/reStructure/TemplateData/perActionComplete/delete/mainFunction/template.ejs +0 -88
- package/src/reStructure/TemplateData/perActionComplete/delete/sns-in-sqs/data.js +0 -62
- package/src/reStructure/TemplateData/perActionComplete/delete/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/perActionComplete/delete/sns-out/data.js +0 -67
- package/src/reStructure/TemplateData/perActionComplete/delete/yaml/data.js +0 -104
- package/src/reStructure/TemplateData/perActionComplete/delete/yaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/perActionComplete/generateTemplateData.js +0 -162
- package/src/reStructure/TemplateData/perActionComplete/get/handler/data.js +0 -61
- package/src/reStructure/TemplateData/perActionComplete/get/handler/template.ejs +0 -125
- package/src/reStructure/TemplateData/perActionComplete/get/mainFunction/data.js +0 -54
- package/src/reStructure/TemplateData/perActionComplete/get/mainFunction/template.ejs +0 -131
- package/src/reStructure/TemplateData/perActionComplete/get/sns-in-sqs/data.js +0 -62
- package/src/reStructure/TemplateData/perActionComplete/get/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/perActionComplete/get/sns-out/data.js +0 -67
- package/src/reStructure/TemplateData/perActionComplete/get/yaml/data.js +0 -106
- package/src/reStructure/TemplateData/perActionComplete/get/yaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/perActionComplete/update/handler/data.js +0 -61
- package/src/reStructure/TemplateData/perActionComplete/update/handler/template.ejs +0 -125
- package/src/reStructure/TemplateData/perActionComplete/update/mainFunction/data.js +0 -53
- package/src/reStructure/TemplateData/perActionComplete/update/mainFunction/template.ejs +0 -133
- package/src/reStructure/TemplateData/perActionComplete/update/sns-in-sqs/data.js +0 -62
- package/src/reStructure/TemplateData/perActionComplete/update/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/perActionComplete/update/sns-out/data.js +0 -66
- package/src/reStructure/TemplateData/perActionComplete/update/yaml/data.js +0 -107
- package/src/reStructure/TemplateData/perActionComplete/update/yaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/perActionEndpoint/generateTemplateData.js +0 -112
- package/src/reStructure/TemplateData/perActionEndpoint/handler/api/data.js +0 -109
- package/src/reStructure/TemplateData/perActionEndpoint/handler/api/request.json +0 -7
- package/src/reStructure/TemplateData/perActionEndpoint/handler/api/template.ejs +0 -36
- package/src/reStructure/TemplateData/perActionEndpoint/handler/dsq/data.js +0 -118
- package/src/reStructure/TemplateData/perActionEndpoint/handler/dsq/request.json +0 -7
- package/src/reStructure/TemplateData/perActionEndpoint/handler/dsq/template.ejs +0 -55
- package/src/reStructure/TemplateData/perActionEndpoint/handler/inv/data.js +0 -112
- package/src/reStructure/TemplateData/perActionEndpoint/handler/inv/request.json +0 -7
- package/src/reStructure/TemplateData/perActionEndpoint/handler/inv/template.ejs +0 -37
- package/src/reStructure/TemplateData/perActionEndpoint/handler/sqs/data.js +0 -116
- package/src/reStructure/TemplateData/perActionEndpoint/handler/sqs/request.json +0 -7
- package/src/reStructure/TemplateData/perActionEndpoint/handler/sqs/template.ejs +0 -57
- package/src/reStructure/TemplateData/perActionEndpoint/handler/webSocket/data.js +0 -94
- package/src/reStructure/TemplateData/perActionEndpoint/handler/webSocket/template.ejs +0 -61
- package/src/reStructure/TemplateData/perActionEndpoint/handler/webSocketConnect/data.js +0 -54
- package/src/reStructure/TemplateData/perActionEndpoint/handler/webSocketConnect/template.ejs +0 -55
- package/src/reStructure/TemplateData/perActionEndpoint/libs/data.js +0 -60
- package/src/reStructure/TemplateData/perActionEndpoint/libs/template.ejs +0 -46
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/create/data.js +0 -91
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/create/request.json +0 -0
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/create/template.ejs +0 -339
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/delete/data.js +0 -91
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/delete/template.ejs +0 -99
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/get/data.js +0 -92
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/get/request.json +0 -5
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/get/template.ejs +0 -116
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/get/testParam.json +0 -5
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/update/data.js +0 -85
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/update/request.json +0 -0
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/update/template.ejs +0 -166
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/api/data.js +0 -229
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/api/request.json +0 -14
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/api/template.ejs +0 -20
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/dsq/data.js +0 -234
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/dsq/request.json +0 -19
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/dsq/template.ejs +0 -17
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/inv/data.js +0 -207
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/inv/example req.js +0 -15
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/inv/request.json +0 -14
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/inv/template.ejs +0 -13
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/sqs/data.js +0 -237
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/sqs/request.json +0 -19
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/sqs/template.ejs +0 -17
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/wbs/data.js +0 -204
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/wbs/request.json +0 -19
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/wbs/template.ejs +0 -29
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/webSocketConnect/data.js +0 -58
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/webSocketConnect/template.ejs +0 -10
- package/src/reStructure/TemplateData/processLogical/generateTemplateData.js +0 -60
- package/src/reStructure/TemplateData/processLogical/handler/data.js +0 -50
- package/src/reStructure/TemplateData/processLogical/handler/template.ejs +0 -127
- package/src/reStructure/TemplateData/processLogical/mainFunction/data.js +0 -49
- package/src/reStructure/TemplateData/processLogical/mainFunction/template.ejs +0 -424
- package/src/reStructure/TemplateData/processLogical/yaml/data.js +0 -172
- package/src/reStructure/TemplateData/processLogical/yaml/template.ejs +0 -12
- package/src/reStructure/TemplateData/processLogicalPagination/DsqYaml/data.js +0 -50
- package/src/reStructure/TemplateData/processLogicalPagination/DsqYaml/template.ejs +0 -32
- package/src/reStructure/TemplateData/processLogicalPagination/generateTemplateData.js +0 -68
- package/src/reStructure/TemplateData/processLogicalPagination/handler/dsq/data.js +0 -49
- package/src/reStructure/TemplateData/processLogicalPagination/handler/dsq/template.ejs +0 -160
- package/src/reStructure/TemplateData/processLogicalPagination/handler/sqs/data.js +0 -48
- package/src/reStructure/TemplateData/processLogicalPagination/handler/sqs/template.ejs +0 -143
- package/src/reStructure/TemplateData/processLogicalPagination/mainFunction/data.js +0 -48
- package/src/reStructure/TemplateData/processLogicalPagination/mainFunction/template.ejs +0 -210
- package/src/reStructure/TemplateData/processLogicalPagination/yaml/dsq/data.js +0 -162
- package/src/reStructure/TemplateData/processLogicalPagination/yaml/dsq/template.ejs +0 -12
- package/src/reStructure/TemplateData/processLogicalPagination/yaml/sqs/data.js +0 -171
- package/src/reStructure/TemplateData/processLogicalPagination/yaml/sqs/template.ejs +0 -13
- package/src/reStructure/TemplateData/propertyValueSchema/objectPropertyValueSchema/data.js +0 -181
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/api/data.js +0 -146
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/api/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/data.js +0 -161
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/dsq/data.js +0 -146
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/dsq/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/inv/data.js +0 -146
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/inv/template.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/sqs/data.js +0 -147
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/sqs/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/templateByHandler/invTemplate.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -18
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/api/data.js +0 -62
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/api/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/api/template.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/data.js +0 -72
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/dsq/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/dsq/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/dsq/template.ejs +0 -202
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/inv/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/inv/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/inv/template.ejs +0 -144
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/sqs/template.ejs +0 -77
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/templateByHandler/apiTemplate.ejs +0 -153
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/templateByHandler/dsqTemplate.ejs +0 -197
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/templateByHandler/invTemplate.ejs +0 -141
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/templateByHandler/sqsTemplate.ejs +0 -182
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/mainFunction/data.js +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/mainFunction/template.ejs +0 -377
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/sns-in-sqs/data.js +0 -73
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/functionYaml/data.js +0 -116
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/handler/sqs/data.js +0 -60
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/handler/sqs/template.ejs +0 -126
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/mainFunction/data.js +0 -55
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/mainFunction/template.ejs +0 -150
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/sns-in-sqs/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/sns-in-sqs/template.ejs +0 -46
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/sns-out/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/api/data.js +0 -175
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/api/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/data.js +0 -201
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/dsq/data.js +0 -176
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/dsq/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/inv/data.js +0 -175
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/inv/template.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/sqs/data.js +0 -177
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/sqs/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -21
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/templateByHandler/invTemplate.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/api/data.js +0 -62
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/api/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/api/template.ejs +0 -57
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/data.js +0 -71
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/dsq/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/dsq/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/dsq/template.ejs +0 -184
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/inv/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/inv/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/inv/template.ejs +0 -126
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/sqs/template.ejs +0 -75
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/templateByHandler/apiTemplate.ejs +0 -137
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/templateByHandler/dsqTemplate.ejs +0 -179
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/templateByHandler/invTemplate.ejs +0 -123
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/templateByHandler/sqsTemplate.ejs +0 -163
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/mainFunction/data.js +0 -57
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/mainFunction/template.ejs +0 -443
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/sns-in-sqs/data.js +0 -74
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/functionYaml/data.js +0 -117
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/functionYaml/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/handler/sqs/data.js +0 -60
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/handler/sqs/template.ejs +0 -126
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/mainFunction/data.js +0 -55
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/mainFunction/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/mainFunction/template.ejs +0 -151
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-in-sqs/data.js +0 -62
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-in-sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-in-sqs/template.ejs +0 -46
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-out/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-out/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/api/data.js +0 -178
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/api/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/data.js +0 -201
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/dsq/data.js +0 -176
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/dsq/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/inv/data.js +0 -178
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/inv/template.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/sqs/data.js +0 -176
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/sqs/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -21
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/templateByHandler/invTemplate.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -18
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/api/data.js +0 -62
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/api/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/api/template.ejs +0 -139
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/data.js +0 -72
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/dsq/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/dsq/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/dsq/template.ejs +0 -182
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/inv/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/inv/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/inv/template.ejs +0 -124
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/sqs/template.ejs +0 -162
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/templateByHandler/apiTemplate.ejs +0 -139
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/templateByHandler/dsqTemplate.ejs +0 -182
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/templateByHandler/invTemplate.ejs +0 -124
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/templateByHandler/sqsTemplate.ejs +0 -162
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/mainFunction/data.js +0 -61
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/mainFunction/template.ejs +0 -365
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/sns-in-sqs/data.js +0 -74
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/functionYaml/data.js +0 -115
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/functionYaml/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/handler/sqs/data.js +0 -60
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/handler/sqs/template.ejs +0 -126
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/mainFunction/data.js +0 -55
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/mainFunction/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/mainFunction/template.ejs +0 -143
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-in-sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-in-sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-out/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-out/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/relationshipPerAction/generateTemplateData.js +0 -547
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/api/data.js +0 -168
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/api/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/data.js +0 -202
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/dsq/data.js +0 -177
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/dsq/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/inv/data.js +0 -167
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/inv/template.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/sqs/data.js +0 -166
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/sqs/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -21
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/templateByHandler/invTemplate.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -18
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/api/data.js +0 -62
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/api/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/api/template.ejs +0 -138
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/data.js +0 -72
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/dsq/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/dsq/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/dsq/template.ejs +0 -185
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/inv/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/inv/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/inv/template.ejs +0 -127
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/sqs/template.ejs +0 -165
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/templateByHandler/apiTemplate.ejs +0 -137
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/templateByHandler/dsqTemplate.ejs +0 -178
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/templateByHandler/invTemplate.ejs +0 -122
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/templateByHandler/sqsTemplate.ejs +0 -163
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/mainFunction/data.js +0 -58
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/mainFunction/template.ejs +0 -317
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/sns-in-sqs/data.js +0 -74
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/functionYaml/data.js +0 -116
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/functionYaml/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/handler/sqs/data.js +0 -61
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/handler/sqs/template.ejs +0 -127
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/mainFunction/data.js +0 -56
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/mainFunction/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/mainFunction/template.ejs +0 -143
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-in-sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-in-sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-out/data.js +0 -65
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-out/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/data.js +0 -168
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/templateByHandler/invTemplate.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/data.js +0 -71
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/templateByHandler/apiTemplate.ejs +0 -155
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/templateByHandler/dsqTemplate.ejs +0 -198
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/templateByHandler/invTemplate.ejs +0 -143
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/templateByHandler/sqsTemplate.ejs +0 -182
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/mainFunction/data.js +0 -57
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/mainFunction/template.ejs +0 -379
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/sns-in-sqs/data.js +0 -73
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/functionYaml/data.js +0 -115
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/handler/sqs/data.js +0 -60
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/handler/sqs/template.ejs +0 -126
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/mainFunction/data.js +0 -58
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/mainFunction/template.ejs +0 -155
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/sns-in-sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/sns-in-sqs/template.ejs +0 -46
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/sns-out/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/api/data.js +0 -167
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/api/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/api/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/data.js +0 -191
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/dsq/data.js +0 -196
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/dsq/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/dsq/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/inv/data.js +0 -186
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/inv/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/inv/template.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/sqs/data.js +0 -187
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/sqs/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -18
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/templateByHandler/invTemplate.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/api/data.js +0 -78
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/api/request.json +0 -7
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/api/template.ejs +0 -142
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/data.js +0 -73
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/dsq/data.js +0 -79
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/dsq/request.json +0 -7
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/dsq/template.ejs +0 -188
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/inv/data.js +0 -80
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/inv/request.json +0 -5
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/inv/template.ejs +0 -147
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/sqs/data.js +0 -79
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/sqs/request.json +0 -7
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/sqs/template.ejs +0 -163
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/apiTemplate.ejs +0 -138
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/dsqTemplate.ejs +0 -180
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/invTemplate.ejs +0 -124
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/sqsTemplate.ejs +0 -163
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/mainFunction/data.js +0 -60
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/mainFunction/request.json +0 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/mainFunction/template.ejs +0 -384
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-in-sqs/data.js +0 -83
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-in-sqs/request.json +0 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-out/data.js +0 -68
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-out/request.json +0 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/functionYaml/data.js +0 -117
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/functionYaml/request.json +0 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/functionYaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/handler/sqs/data.js +0 -60
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/handler/sqs/template.ejs +0 -128
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/mainFunction/data.js +0 -55
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/mainFunction/request.json +0 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/mainFunction/template.ejs +0 -145
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-in-sqs/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-in-sqs/request.json +0 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-in-sqs/template.ejs +0 -46
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-out/data.js +0 -62
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-out/request.json +0 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/resourceYaml/CreateSourceData.js +0 -79
- package/src/reStructure/TemplateData/resourceYaml/dynamodb/defaultDynamoDbTable.js +0 -145
- package/src/reStructure/TemplateData/resourceYaml/dynamodb/generateDynamoPerLink.js +0 -111
- package/src/reStructure/TemplateData/resourceYaml/dynamodb/mainResourcePerObjectSchemaData.js +0 -165
- package/src/reStructure/TemplateData/resourceYaml/dynamodb/template.ejs +0 -29
- package/src/reStructure/TemplateData/resourceYaml/filterGenerateResource/data.js +0 -124
- package/src/reStructure/TemplateData/resourceYaml/generateTemplateData.js +0 -146
- package/src/reStructure/TemplateData/resourceYaml/sns-in-sqs/defaultSnsInSqsForFindDataAndProcessLogical.js +0 -91
- package/src/reStructure/TemplateData/resourceYaml/sns-in-sqs/request.json +0 -4
- package/src/reStructure/TemplateData/resourceYaml/sns-in-sqs/snsAndSqsPerActionData.js +0 -84
- package/src/reStructure/TemplateData/resourceYaml/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/resourceYaml/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/resourceYaml/sns-out/data.js +0 -78
- package/src/reStructure/TemplateData/resourceYaml/sns-out/defaultSnsOutForFindDataAndProcessLogical.js +0 -64
- package/src/reStructure/TemplateData/resourceYaml/sns-out/request.json +0 -3
- package/src/reStructure/TemplateData/resourceYaml/sns-out/template.ejs +0 -10
- package/src/reStructure/libs/GenerateCodeLibs.js +0 -32
- package/src/reStructure/libs/ValidateAddOnDataStructure.js +0 -72
- package/src/reStructure/test.bash +0 -192
- /package/src/{reStructure/TemplateData/propertyValueSchema/objectPropertyValueSchema → TemplateData/PropertyValueSchema/PropertyValueObjectSchema}/templateObjectPropertyValueSchema.ejs +0 -0
- /package/src/{reStructure/TemplateData/propertyValueSchema/relationshipPropertyValueSchema → TemplateData/PropertyValueSchema/PropertyValueRelationshipSchema}/tempRelationship.ejs +0 -0
- /package/src/{reStructure/TemplateData/propertyValueSchema/relationshipPropertyValueSchema → TemplateData/PropertyValueSchema/PropertyValueRelationshipSchema}/templateRelationshipPropertyValueSchema.ejs +0 -0
package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/handler/data.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
import path from 'path';
|
|
19
|
-
import { fileURLToPath } from 'url';
|
|
20
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
-
const __dirname = path.dirname(__filename);
|
|
22
|
-
|
|
23
|
-
import { consts } from '../../../../../../../MainLibs/index.js';
|
|
24
|
-
|
|
25
|
-
const { SOURCE_PATH } = consts;
|
|
26
|
-
|
|
27
|
-
const templatePath = path.join(__dirname, 'template.ejs');
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* receive objectSchema
|
|
31
|
-
* create data for websocket connect function yaml template
|
|
32
|
-
*
|
|
33
|
-
* @param {Object} objectSchema
|
|
34
|
-
* @return {{ templatePath, templateData, setting } }
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
function data(_izContext, srcPath) {
|
|
38
|
-
let createSourceParam;
|
|
39
|
-
createSourceParam = [createWebSocketConnectYaml(_izContext, srcPath)];
|
|
40
|
-
return createSourceParam;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
function createWebSocketConnectYaml(_izContext, srcPath) {
|
|
44
|
-
let functionName = 'WebSocketConnect';
|
|
45
|
-
return {
|
|
46
|
-
templatePath: templatePath,
|
|
47
|
-
templateData: {
|
|
48
|
-
functionName
|
|
49
|
-
},
|
|
50
|
-
setting: {
|
|
51
|
-
savePath: path.join(srcPath, SOURCE_PATH.WebSocketMain),
|
|
52
|
-
saveFileName: functionName,
|
|
53
|
-
fileExtension: '.js',
|
|
54
|
-
isAppend: false
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
export default data;
|
package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/handler/template.ejs
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2021 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import dynamodbSharedLib from '@izara_project/izara-core-library-dynamodb';
|
|
21
|
-
import { middlewareHandler as middleware, response } from "@izara_project/izara-middleware";
|
|
22
|
-
|
|
23
|
-
export const main = middleware.wrap(async (event, context) => {
|
|
24
|
-
|
|
25
|
-
event._izContext.logger.debug('Event:', event);
|
|
26
|
-
const { eventType, connectionId } = event.requestContext
|
|
27
|
-
try {
|
|
28
|
-
|
|
29
|
-
if (event.requestContext) {
|
|
30
|
-
switch (eventType) {
|
|
31
|
-
case 'CONNECT':
|
|
32
|
-
console.log('Connect websocket')
|
|
33
|
-
|
|
34
|
-
let { userId, submittedByUserId } = event.queryStringParameters;
|
|
35
|
-
|
|
36
|
-
await dynamodbSharedLib.putItem(event._izContext,
|
|
37
|
-
await dynamodbSharedLib.tableName(event._izContext, "UserUploadRecords"),
|
|
38
|
-
{
|
|
39
|
-
connectionId: connectionId,
|
|
40
|
-
userId: userId,
|
|
41
|
-
submittedByUserId: submittedByUserId,
|
|
42
|
-
expirationTime: Math.floor(Date.now() / 1000) + 7200 // ttl time milliSecond to second + 2 hour
|
|
43
|
-
}
|
|
44
|
-
)
|
|
45
|
-
//(<webSocketConnect>)
|
|
46
|
-
//(</webSocketConnect>)
|
|
47
|
-
break
|
|
48
|
-
case 'DISCONNECT':
|
|
49
|
-
console.log('Websocket are Disconnection')
|
|
50
|
-
await dynamodbSharedLib.deleteItem(event._izContext,
|
|
51
|
-
await dynamodbSharedLib.tableName(event._izContext, "UserUploadRecords"),
|
|
52
|
-
{
|
|
53
|
-
connectionId: connectionId,
|
|
54
|
-
}
|
|
55
|
-
)
|
|
56
|
-
//(<webSocketDisconnect>)
|
|
57
|
-
//(</webSocketDisconnect>)
|
|
58
|
-
break
|
|
59
|
-
case '$default':
|
|
60
|
-
console.log('Received unknown route:', route)
|
|
61
|
-
break
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
return (response.webSocketSuccess());
|
|
67
|
-
|
|
68
|
-
} catch (err) {
|
|
69
|
-
event._izContext.logger.error('Error, WebSocketConnect: ', err);
|
|
70
|
-
return (response.failure(err));
|
|
71
|
-
}
|
|
72
|
-
});
|
package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/ReservedTableData.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
import path from 'path';
|
|
19
|
-
import { fileURLToPath } from 'url';
|
|
20
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
-
const __dirname = path.dirname(__filename);
|
|
22
|
-
|
|
23
|
-
import { consts } from '../../../../../../MainLibs/index.js';
|
|
24
|
-
|
|
25
|
-
const { SOURCE_PATH, SAVE_FILE_NAME } = consts;
|
|
26
|
-
|
|
27
|
-
const templatePath = path.join(
|
|
28
|
-
__dirname,
|
|
29
|
-
'../../../../resourceYaml/dynamodb/template.ejs'
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
function data(_izContext, srcPath) {
|
|
33
|
-
let resultForCreateSources = [];
|
|
34
|
-
const reservedDataTables = [
|
|
35
|
-
{
|
|
36
|
-
tableName: 'ReservedDataMain',
|
|
37
|
-
resourceName: 'ReservedDataMain',
|
|
38
|
-
attributes: [
|
|
39
|
-
{
|
|
40
|
-
keyType: 'partitionKey',
|
|
41
|
-
AttributeName: 'servicePendingId',
|
|
42
|
-
AttributeType: 'S'
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
keyType: 'sortKey',
|
|
46
|
-
AttributeName: 'reservedDataId',
|
|
47
|
-
AttributeType: 'S'
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
];
|
|
52
|
-
|
|
53
|
-
for (let reservedDataTable of reservedDataTables) {
|
|
54
|
-
resultForCreateSources.push({
|
|
55
|
-
templatePath: templatePath,
|
|
56
|
-
templateData: reservedDataTable,
|
|
57
|
-
setting: {
|
|
58
|
-
initialData: 'Resources:\n',
|
|
59
|
-
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
60
|
-
saveFileName: SAVE_FILE_NAME.dynamoDbYaml,
|
|
61
|
-
fileExtension: '.yml',
|
|
62
|
-
isAppend: true
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
return resultForCreateSources;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export default data;
|
package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/WebSocketTaskData.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
import path from 'path';
|
|
19
|
-
import { fileURLToPath } from 'url';
|
|
20
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
-
const __dirname = path.dirname(__filename);
|
|
22
|
-
|
|
23
|
-
import { consts } from '../../../../../../MainLibs/index.js';
|
|
24
|
-
|
|
25
|
-
const { SOURCE_PATH, SAVE_FILE_NAME } = consts;
|
|
26
|
-
|
|
27
|
-
const templatePath = path.join(
|
|
28
|
-
__dirname,
|
|
29
|
-
'../../../../resourceYaml/dynamodb/template.ejs'
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
function data(_izContext, srcPath) {
|
|
33
|
-
let resultForCreateSources = [];
|
|
34
|
-
const webSocketTaskTables = [
|
|
35
|
-
{
|
|
36
|
-
tableName: 'WebSocketTask',
|
|
37
|
-
resourceName: 'WebSocketTask',
|
|
38
|
-
attributes: [
|
|
39
|
-
{
|
|
40
|
-
keyType: 'partitionKey',
|
|
41
|
-
AttributeName: 'taskKey',
|
|
42
|
-
AttributeType: 'S'
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
keyType: 'sortKey',
|
|
46
|
-
AttributeName: 'connectionId',
|
|
47
|
-
AttributeType: 'S'
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
];
|
|
52
|
-
|
|
53
|
-
for (let webSocketTaskTable of webSocketTaskTables) {
|
|
54
|
-
resultForCreateSources.push({
|
|
55
|
-
templatePath: templatePath,
|
|
56
|
-
templateData: webSocketTaskTable,
|
|
57
|
-
setting: {
|
|
58
|
-
initialData: 'Resources:\n',
|
|
59
|
-
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
60
|
-
saveFileName: SAVE_FILE_NAME.dynamoDbYaml,
|
|
61
|
-
fileExtension: '.yml',
|
|
62
|
-
isAppend: true
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
return resultForCreateSources;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export default data;
|
package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/ttlDynamoTemplate.ejs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<%- resourceName %>Table:
|
|
2
|
-
Type: "AWS::DynamoDB::Table"
|
|
3
|
-
Properties:
|
|
4
|
-
TableName: ${self:custom.iz_resourcePrefix}<%- tableName %>
|
|
5
|
-
BillingMode: PAY_PER_REQUEST
|
|
6
|
-
AttributeDefinitions:
|
|
7
|
-
<%_ attributes.forEach(attribute => { -%>
|
|
8
|
-
- AttributeName: <%- attribute['AttributeName'] %>
|
|
9
|
-
AttributeType: <%- attribute['AttributeType'] %>
|
|
10
|
-
<%_ }) _%>
|
|
11
|
-
KeySchema:
|
|
12
|
-
<%_ attributes.forEach(attribute => { -%>
|
|
13
|
-
<%_ if (attribute.keyType === 'partitionKey' || attribute.keyType === "identifier") { -%>
|
|
14
|
-
- AttributeName: <%- attribute["AttributeName"] %>
|
|
15
|
-
KeyType: HASH
|
|
16
|
-
<%_ } -%>
|
|
17
|
-
<%_ if(attribute.keyType === "sortKey") { -%>
|
|
18
|
-
- AttributeName: <%- attribute["AttributeName"] %>
|
|
19
|
-
KeyType: RANGE
|
|
20
|
-
<%_ } -%>
|
|
21
|
-
<%_ }) _%>
|
|
22
|
-
TimeToLiveSpecification:
|
|
23
|
-
AttributeName: expirationTime
|
|
24
|
-
Enabled: true
|
|
25
|
-
#<#<%- firstLetterUpperCase(tableName) %>DynamoDbSetting#>
|
|
26
|
-
#<#/<%- firstLetterUpperCase(tableName) %>DynamoDbSetting#>
|
|
27
|
-
<%_ function firstLetterUpperCase(text){
|
|
28
|
-
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
29
|
-
} _%>
|
|
30
|
-
<%_ function firstLetterLowerCase(str) {
|
|
31
|
-
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
32
|
-
} _%>
|
package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/userUploadRecords.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
import path from 'path';
|
|
19
|
-
import { fileURLToPath } from 'url';
|
|
20
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
-
const __dirname = path.dirname(__filename);
|
|
22
|
-
|
|
23
|
-
import { consts } from '../../../../../../MainLibs/index.js';
|
|
24
|
-
|
|
25
|
-
const { SOURCE_PATH, SAVE_FILE_NAME } = consts;
|
|
26
|
-
|
|
27
|
-
const templatePath = path.join(__dirname, './ttlDynamoTemplate.ejs');
|
|
28
|
-
|
|
29
|
-
function data(_izContext, srcPath) {
|
|
30
|
-
let resultForCreateSources = [];
|
|
31
|
-
const userUploadRecords = [
|
|
32
|
-
{
|
|
33
|
-
tableName: 'UserUploadRecords',
|
|
34
|
-
resourceName: 'UserUploadRecords',
|
|
35
|
-
attributes: [
|
|
36
|
-
{
|
|
37
|
-
keyType: 'partitionKey',
|
|
38
|
-
AttributeName: 'connectionId',
|
|
39
|
-
AttributeType: 'S'
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
];
|
|
44
|
-
|
|
45
|
-
for (let userUploadRecord of userUploadRecords) {
|
|
46
|
-
resultForCreateSources.push({
|
|
47
|
-
templatePath: templatePath,
|
|
48
|
-
templateData: userUploadRecord,
|
|
49
|
-
setting: {
|
|
50
|
-
initialData: 'Resources:\n',
|
|
51
|
-
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
52
|
-
saveFileName: SAVE_FILE_NAME.dynamoDbYaml,
|
|
53
|
-
fileExtension: '.yml',
|
|
54
|
-
isAppend: true
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
return resultForCreateSources;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export default data;
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
import path from 'path';
|
|
19
|
-
import { fileURLToPath } from 'url';
|
|
20
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
-
const __dirname = path.dirname(__filename);
|
|
22
|
-
|
|
23
|
-
import { consts, utils } from '../../../../MainLibs/index.js';
|
|
24
|
-
const { SOURCE_PATH, SAVE_FILE_NAME } = consts;
|
|
25
|
-
const { firstLetterUpperCase: upperCase } = utils;
|
|
26
|
-
|
|
27
|
-
const templatePath = path.join(
|
|
28
|
-
__dirname,
|
|
29
|
-
'../../resourceYaml/dynamodb/template.ejs'
|
|
30
|
-
);
|
|
31
|
-
/**
|
|
32
|
-
* create param of crateSouce for FindData And processLogical
|
|
33
|
-
*
|
|
34
|
-
* @param {Object} _izContext
|
|
35
|
-
* @param {String} srcPath
|
|
36
|
-
* @returns {Object[]}
|
|
37
|
-
*/
|
|
38
|
-
const createAwaitingMultipleStepDynamoDbData = (
|
|
39
|
-
_izContext,
|
|
40
|
-
flowSchema,
|
|
41
|
-
allLocalObjectSchemas,
|
|
42
|
-
srcPath
|
|
43
|
-
) => {
|
|
44
|
-
if (!flowSchema.event.includes('ownTopic')) {
|
|
45
|
-
return [];
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
const objectSchema = allLocalObjectSchemas.records.find(
|
|
49
|
-
schema => schema.objectType === flowSchema.objType.objectType
|
|
50
|
-
);
|
|
51
|
-
|
|
52
|
-
if (!objectSchema) {
|
|
53
|
-
return [];
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
if (!objectSchema.storageResources) {
|
|
57
|
-
return [];
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// ex.
|
|
61
|
-
// storageResources: {
|
|
62
|
-
// cacheTable: {
|
|
63
|
-
// storageType: "dynamoDB",
|
|
64
|
-
// tableName: "TranslateIdsCacheMain"
|
|
65
|
-
// }
|
|
66
|
-
// }
|
|
67
|
-
|
|
68
|
-
// Check if there's exactly one DynamoDB storage resource
|
|
69
|
-
const dynamoDbEntries = Object.entries(objectSchema.storageResources).filter(
|
|
70
|
-
([_, value]) => value.storageType === 'dynamoDB'
|
|
71
|
-
);
|
|
72
|
-
|
|
73
|
-
console.debug(`DynamoDB entries: ${JSON.stringify(dynamoDbEntries)}`);
|
|
74
|
-
|
|
75
|
-
if (dynamoDbEntries.length !== 1) {
|
|
76
|
-
console.warn(
|
|
77
|
-
`Object schema ${objectSchema.objectType} for ${flowSchema.flowTag} needs to have exactly one DynamoDB storage resource.`
|
|
78
|
-
);
|
|
79
|
-
return []; // Either no DynamoDB storage or more than one found
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
const storageResourceEntry = dynamoDbEntries[0];
|
|
83
|
-
|
|
84
|
-
if (!storageResourceEntry) {
|
|
85
|
-
return [];
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
const [_, storageResource] = storageResourceEntry;
|
|
89
|
-
const tableName = storageResource.tableName;
|
|
90
|
-
|
|
91
|
-
const attributes = objectSchema.identifiers.map(identifier => ({
|
|
92
|
-
keyType: identifier.type,
|
|
93
|
-
AttributeName: identifier.fieldName,
|
|
94
|
-
AttributeType: 'S'
|
|
95
|
-
}));
|
|
96
|
-
|
|
97
|
-
return [
|
|
98
|
-
{
|
|
99
|
-
templatePath,
|
|
100
|
-
templateData: {
|
|
101
|
-
tableName,
|
|
102
|
-
resourceName: upperCase(tableName),
|
|
103
|
-
attributes
|
|
104
|
-
},
|
|
105
|
-
setting: {
|
|
106
|
-
initialData: 'Resources:\n',
|
|
107
|
-
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
108
|
-
saveFileName: SAVE_FILE_NAME.dynamoDbYaml,
|
|
109
|
-
fileExtension: '.yml',
|
|
110
|
-
isAppend: true
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
];
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
export default createAwaitingMultipleStepDynamoDbData;
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
import path from 'path';
|
|
19
|
-
import { fileURLToPath } from 'url';
|
|
20
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
-
const __dirname = path.dirname(__filename);
|
|
22
|
-
|
|
23
|
-
import { consts, utils } from '../../../../../MainLibs/index.js';
|
|
24
|
-
|
|
25
|
-
const { firstLetterUpperCase: upperCase } = utils;
|
|
26
|
-
const {
|
|
27
|
-
SOURCE_PATH,
|
|
28
|
-
defaultIamRolePerAction,
|
|
29
|
-
createIamRole,
|
|
30
|
-
RESOURCE_CLASSES,
|
|
31
|
-
resourceNames,
|
|
32
|
-
DYNAMO_RESOURCE,
|
|
33
|
-
SAVE_FILE_NAME,
|
|
34
|
-
FUNCTION_NAME,
|
|
35
|
-
SOURCE_GENERATE_IAM_ROLE,
|
|
36
|
-
HANDLER
|
|
37
|
-
} = consts;
|
|
38
|
-
|
|
39
|
-
const templatePath = path.join(__dirname, 'template.ejs');
|
|
40
|
-
/**
|
|
41
|
-
* receive objectSchema
|
|
42
|
-
* create data for WebSocket handler template
|
|
43
|
-
*
|
|
44
|
-
* @param {Object} objectSchema
|
|
45
|
-
* @return {{templatePath, templateData,setting}}
|
|
46
|
-
*/
|
|
47
|
-
function data(_izContext, flowSchema, srcPath) {
|
|
48
|
-
return [createSourceParams(_izContext, flowSchema, srcPath)];
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
function createSourceParams(_izContext, flowSchema, srcPath) {
|
|
52
|
-
const functionName = upperCase(FUNCTION_NAME.flowSchemaEventBridge);
|
|
53
|
-
// const action = SOURCE_GENERATE_IAM_ROLE.EventBridge;
|
|
54
|
-
const functionNameConfig = upperCase(SOURCE_GENERATE_IAM_ROLE.EventBridge);
|
|
55
|
-
const handlerType = HANDLER.hdrInv;
|
|
56
|
-
const schedules = flowSchema.schedules;
|
|
57
|
-
|
|
58
|
-
// validate schedule
|
|
59
|
-
if (!Array.isArray(schedules)) {
|
|
60
|
-
console.error('schedules is not an array');
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
if (schedules.length === 0) {
|
|
64
|
-
console.error('No schedule found in flowSchema');
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// Validate rate format for each schedule and Validate each schedule in the array
|
|
69
|
-
for (const schedule of schedules) {
|
|
70
|
-
if (!schedule.name || schedule.name.length === 0) {
|
|
71
|
-
console.error("A schedule's name is not defined");
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
if (!schedule.rate || schedule.rate.length === 0) {
|
|
75
|
-
console.error("A schedule's rate is not defined");
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
if (!schedule.input || schedule.input.length === 0) {
|
|
79
|
-
console.error("A schedule's input is not defined");
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
if (Array.isArray(schedule.rate) && schedule.rate.length <= 1) {
|
|
84
|
-
const rate = schedule.rate[0];
|
|
85
|
-
|
|
86
|
-
if (rate.startsWith('rate')) {
|
|
87
|
-
// Validate rate expression format: rate(value unit)
|
|
88
|
-
if (
|
|
89
|
-
!/^rate\(\d+\s+(minute|minutes|hour|hours|day|days)\)$/.test(rate)
|
|
90
|
-
) {
|
|
91
|
-
console.error(
|
|
92
|
-
`Invalid rate format: ${rate}. Should be like 'rate(5 minutes)' or 'rate(1 day)'`
|
|
93
|
-
);
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
} else if (rate.startsWith('cron')) {
|
|
97
|
-
// Extract the cron components for more detailed validation
|
|
98
|
-
const cronMatch = rate.match(/^cron\((.*)\)$/);
|
|
99
|
-
if (!cronMatch) {
|
|
100
|
-
console.error(
|
|
101
|
-
`Invalid cron format: ${rate}. Should be like 'cron(0 10 * * ? *)'`
|
|
102
|
-
);
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
const cronParts = cronMatch[1].split(/\s+/);
|
|
107
|
-
if (cronParts.length !== 6) {
|
|
108
|
-
console.error(
|
|
109
|
-
`Invalid cron expression: ${rate}. Must contain 6 components: minutes hours day-of-month month day-of-week year`
|
|
110
|
-
);
|
|
111
|
-
return;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
} else {
|
|
115
|
-
console.error(
|
|
116
|
-
`Invalid rate expression: ${rate} - must start with 'rate' or 'cron'`
|
|
117
|
-
);
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
// add input for trigger event source
|
|
121
|
-
Object.assign(schedule.input, {
|
|
122
|
-
eventType: 'eventBridgeSchedule'
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
let additionalResourcePermission = defaultIamRolePerAction();
|
|
127
|
-
additionalResourcePermission.push(
|
|
128
|
-
createIamRole(
|
|
129
|
-
{
|
|
130
|
-
[RESOURCE_CLASSES.dynamoDbTable]: [
|
|
131
|
-
DYNAMO_RESOURCE.putItem,
|
|
132
|
-
DYNAMO_RESOURCE.getItem,
|
|
133
|
-
DYNAMO_RESOURCE.query,
|
|
134
|
-
DYNAMO_RESOURCE.deleteItem,
|
|
135
|
-
DYNAMO_RESOURCE.updateItem
|
|
136
|
-
]
|
|
137
|
-
},
|
|
138
|
-
[resourceNames(RESOURCE_CLASSES.dynamoDbTable, 'WebSocketTask')]
|
|
139
|
-
)
|
|
140
|
-
);
|
|
141
|
-
|
|
142
|
-
// console.log("additionalResourcePermission in createObjectS3", JSON.stringify(additionalResourcePermission))
|
|
143
|
-
return {
|
|
144
|
-
templatePath: templatePath,
|
|
145
|
-
templateData: {
|
|
146
|
-
resourceLocation: path.join(
|
|
147
|
-
SOURCE_PATH.resourceLocationFlowSchemaEventBridge,
|
|
148
|
-
flowSchema.flowTag,
|
|
149
|
-
'source/'
|
|
150
|
-
),
|
|
151
|
-
functionName,
|
|
152
|
-
functionNameConfig: functionNameConfig,
|
|
153
|
-
additionalResourcePermission,
|
|
154
|
-
roleName: SOURCE_GENERATE_IAM_ROLE.EventBridge,
|
|
155
|
-
handlerType,
|
|
156
|
-
schedules
|
|
157
|
-
},
|
|
158
|
-
setting: {
|
|
159
|
-
savePath: path.join(srcPath, SOURCE_PATH.appYaml),
|
|
160
|
-
saveFileName: upperCase(SAVE_FILE_NAME.flowSchema),
|
|
161
|
-
fileExtension: '.yml',
|
|
162
|
-
isAppend: true
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export default data;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<%_ const join = require('path').join; _%>
|
|
2
|
-
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
|
-
handler: <%- join(resourceLocation, `${functionName}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
|
-
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionNameConfig) %>
|
|
5
|
-
role: <%- roleName %>Role
|
|
6
|
-
#<#<%- functionName %>FunctionSetting#>
|
|
7
|
-
#<#/<%- functionName %>FunctionSetting#>
|
|
8
|
-
events:
|
|
9
|
-
<%_ schedules.forEach((schedule) => { _%>
|
|
10
|
-
- schedule:
|
|
11
|
-
name: <%- schedule.name %>
|
|
12
|
-
description: <%- schedule.description %>
|
|
13
|
-
rate: <%- schedule.rate %>
|
|
14
|
-
input: <%- JSON.stringify(schedule.input) %>
|
|
15
|
-
<%_ }) _%>
|
|
16
|
-
<%_ function firstLetterUpperCase(text){
|
|
17
|
-
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
18
|
-
} _%>
|
|
19
|
-
<%_ function firstLetterLowerCase(str) {
|
|
20
|
-
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
21
|
-
} _%>
|