@izara_project/izara-market-library-service-schemas 1.0.85 → 1.0.87
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 -36
- package/package.json +10 -15
- package/src/{GenerateCodeLibs/src/GenerateCodeLibs.js → Libs/Libs.js} +76 -25
- 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/relationshipPropertyValueSchema → TemplateData/PropertyValueSchema/PropertyValueRelationshipSchema}/tempRelationship.ejs +1 -1
- package/src/{reStructure/TemplateData/propertyValueSchema → TemplateData/PropertyValueSchema}/generateTemplateData.js +3 -4
- package/src/GenerateCodeLibs/index.js +0 -22
- package/src/GenerateCodeLibs/src/Consts.js +0 -135
- package/src/MainLibs/index.js +0 -22
- package/src/MainLibs/src/Consts.js +0 -1114
- 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 -85
- 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 -627
- 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 -446
- 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 -135
- 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 -56
- 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 -89
- 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/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/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/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/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 -181
- 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}/templateRelationshipPropertyValueSchema.ejs +0 -0
|
@@ -1,85 +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 fs from 'fs';
|
|
24
|
-
import yaml from 'yaml';
|
|
25
|
-
import { consts, utils } from '../../../../../../MainLibs/index.js';
|
|
26
|
-
|
|
27
|
-
const {
|
|
28
|
-
HANDLER,
|
|
29
|
-
SOURCE_PATH,
|
|
30
|
-
defaultIamRolePerAction,
|
|
31
|
-
SAVE_FILE_NAME,
|
|
32
|
-
shortNameHandler
|
|
33
|
-
} = consts;
|
|
34
|
-
const { firstLetterUpperCase: upperCase } = utils;
|
|
35
|
-
|
|
36
|
-
const templatePath = path.join(__dirname, 'template.ejs');
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* receive objectSchema
|
|
40
|
-
*
|
|
41
|
-
* @param {Object} objectSchema
|
|
42
|
-
* @return {{templatePath, templateData,setting}}
|
|
43
|
-
*/
|
|
44
|
-
|
|
45
|
-
function data(_izContext, flowSchema, srcPath) {
|
|
46
|
-
return createSourceParamsApi(_izContext, flowSchema, srcPath);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function createSourceParamsApi(_izContext, flowSchema, srcPath) {
|
|
50
|
-
let functionName = 'Process' + upperCase(flowSchema.flowTag);
|
|
51
|
-
let handlerType = upperCase(HANDLER.hdrApi);
|
|
52
|
-
let additionalResourcePermission = defaultIamRolePerAction();
|
|
53
|
-
|
|
54
|
-
const configPath = path.join(srcPath, '../../config/serverless.config.yml');
|
|
55
|
-
const serverlessConfig = fs.readFileSync(configPath, 'utf8');
|
|
56
|
-
const config = yaml.parse(serverlessConfig);
|
|
57
|
-
const serviceTag = config.main_config.iz_serviceTag;
|
|
58
|
-
|
|
59
|
-
return {
|
|
60
|
-
templatePath: templatePath,
|
|
61
|
-
templateData: {
|
|
62
|
-
resourceLocation: path.join(
|
|
63
|
-
SOURCE_PATH.resourceLocationFlowSchema,
|
|
64
|
-
upperCase(flowSchema.flowTag),
|
|
65
|
-
'source/'
|
|
66
|
-
),
|
|
67
|
-
functionName,
|
|
68
|
-
handlerType,
|
|
69
|
-
additionalResourcePermission,
|
|
70
|
-
functionNameConfig:
|
|
71
|
-
upperCase(functionName) + upperCase(shortNameHandler(handlerType)),
|
|
72
|
-
roleName: upperCase(flowSchema.flowTag),
|
|
73
|
-
event: 'post',
|
|
74
|
-
serviceTag: serviceTag
|
|
75
|
-
},
|
|
76
|
-
setting: {
|
|
77
|
-
savePath: path.join(srcPath, SOURCE_PATH.appYaml),
|
|
78
|
-
saveFileName: upperCase(SAVE_FILE_NAME.flowSchema),
|
|
79
|
-
fileExtension: '.yml',
|
|
80
|
-
isAppend: true
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export default data;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
<%_ const join = require('path').join _%>
|
|
2
|
-
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
|
-
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`) %>
|
|
4
|
-
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
-
role: <%- firstLetterUpperCase(roleName) _%>Role
|
|
6
|
-
#<#<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
-
#<#/<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
8
|
-
events:
|
|
9
|
-
- httpApi:
|
|
10
|
-
path: /<%- serviceTag %>/<%- firstLetterLowerCase(functionName) %>/<%- functionName %>
|
|
11
|
-
method: <%- event %>
|
|
12
|
-
authorizer: authorizerServiceSchema
|
|
13
|
-
#<#<%- firstLetterUpperCase(functionName) _%><%- firstLetterUpperCase(handlerType) %>AppLevelAuthorizer#>
|
|
14
|
-
#<#/<%- firstLetterUpperCase(functionName) _%><%- firstLetterUpperCase(handlerType) %>AppLevelAuthorizer#>
|
|
15
|
-
- httpApi:
|
|
16
|
-
path: /<%- serviceTag %>/<%- firstLetterLowerCase(functionName) %>/<%- functionName %>/{targetUserId}
|
|
17
|
-
method: <%- event %>
|
|
18
|
-
authorizer: authorizerServiceSchema
|
|
19
|
-
#<#<%- firstLetterUpperCase(functionName) _%><%- firstLetterUpperCase(handlerType) %>UserLevelAuthorizer#>
|
|
20
|
-
#<#/<%- firstLetterUpperCase(functionName) _%><%- firstLetterUpperCase(handlerType) %>UserLevelAuthorizer#>
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<%_ function firstLetterUpperCase(text){
|
|
24
|
-
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
25
|
-
} _%>
|
|
26
|
-
<%_ function firstLetterLowerCase(str) {
|
|
27
|
-
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
28
|
-
} _%>
|
|
@@ -1,67 +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
|
-
import { consts, utils } from '../../../../../../MainLibs/index.js';
|
|
23
|
-
|
|
24
|
-
const { HANDLER, SOURCE_PATH } = consts;
|
|
25
|
-
const { firstLetterUpperCase: upperCase } = utils;
|
|
26
|
-
|
|
27
|
-
const templatePath = path.join(__dirname, 'template.ejs');
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* receive objectSchema
|
|
31
|
-
* create data for WebScoket handler template
|
|
32
|
-
*
|
|
33
|
-
* @param {Object} objectSchema
|
|
34
|
-
* @return {{templatePath, templateData,setting}}
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
function data(_izContext, flowSchema, srcPath) {
|
|
38
|
-
return createSourceParamsApi(_izContext, flowSchema, srcPath);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
function createSourceParamsApi(_izContext, flowSchema, srcPath) {
|
|
42
|
-
let functionName = 'Process' + upperCase(flowSchema.flowTag);
|
|
43
|
-
let handlerType = upperCase(HANDLER.hdrApi);
|
|
44
|
-
|
|
45
|
-
return {
|
|
46
|
-
templatePath: templatePath,
|
|
47
|
-
templateData: {
|
|
48
|
-
functionName,
|
|
49
|
-
handlerType
|
|
50
|
-
// propertyNames,
|
|
51
|
-
// properties
|
|
52
|
-
},
|
|
53
|
-
setting: {
|
|
54
|
-
savePath: path.join(
|
|
55
|
-
srcPath,
|
|
56
|
-
SOURCE_PATH.flowSchema,
|
|
57
|
-
upperCase(flowSchema.flowTag),
|
|
58
|
-
'source/'
|
|
59
|
-
),
|
|
60
|
-
saveFileName: `${functionName}_${handlerType}`,
|
|
61
|
-
fileExtension: '.js',
|
|
62
|
-
isAppend: false
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export default data;
|
|
@@ -1,86 +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
|
-
|
|
19
|
-
|
|
20
|
-
const RBAC_TARGET_ID = process.env.iz_rbacTargetIdUser // iz_rbacTargetIdUser | iz_rbacDeliveryMethodId
|
|
21
|
-
|
|
22
|
-
import { middlewareHandler as middleware } from "@izara_project/izara-middleware";
|
|
23
|
-
import Logger from '@izara_project/izara-core-library-logger';
|
|
24
|
-
import callingFlowSharedLib from '@izara_project/izara-core-library-calling-flow';
|
|
25
|
-
|
|
26
|
-
import <%- functionName %> from './<%- functionName %>_Main.js';
|
|
27
|
-
|
|
28
|
-
// validate event params in middleware before into function.
|
|
29
|
-
let validatorSchema = {
|
|
30
|
-
//(<validatorSchema>)
|
|
31
|
-
//(</validatorSchema>)
|
|
32
|
-
};
|
|
33
|
-
// NOTE: not sure about remap_when_flatten and remove_when_flatten function of api still require for validate or not? Tam(19-Nov) -- Yes
|
|
34
|
-
|
|
35
|
-
// for auth userLevel
|
|
36
|
-
// if (process.env.iz_rbacTargetIdUser) {
|
|
37
|
-
// validatorSchema["required"] = ['pathParameters'];
|
|
38
|
-
// validatorSchema.properties.pathParameters = {
|
|
39
|
-
// additionalProperties: false,
|
|
40
|
-
// type: ['object', 'boolean'],
|
|
41
|
-
// required: [process.env.iz_rbacTargetIdUser],
|
|
42
|
-
// properties: {
|
|
43
|
-
// }
|
|
44
|
-
// };
|
|
45
|
-
// validatorSchema.properties.pathParameters.properties[process.env.iz_rbacTargetIdUser] = {
|
|
46
|
-
// type: 'string'
|
|
47
|
-
// };
|
|
48
|
-
//}
|
|
49
|
-
// If not have Authorizer set setMiddlewareSettings.
|
|
50
|
-
middleware.setValidatorSchema(validatorSchema, { noAuthorizer: true })
|
|
51
|
-
|
|
52
|
-
// // default user Authorizer.
|
|
53
|
-
// middleware.setValidatorSchema(validatorSchema)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export const main = middleware.wrap(async (event, context, callback) => {
|
|
57
|
-
event._izContext.logger.debug('Event:', event);
|
|
58
|
-
try {
|
|
59
|
-
|
|
60
|
-
// for targetUserId
|
|
61
|
-
// let targetUserId = null
|
|
62
|
-
// if (process.env.iz_rbacTargetIdUser) {
|
|
63
|
-
// targetUserId = event.pathParameters[process.env.iz_rbacTargetIdUser]
|
|
64
|
-
// }
|
|
65
|
-
// invoke LambdaFunction
|
|
66
|
-
let lambdaFunctionResponse = await <%- functionName %>.<%- functionName %>(
|
|
67
|
-
event._izContext, // correlationId/logger/integrationTestDetail/uniqueRequestId/userId
|
|
68
|
-
event.body,
|
|
69
|
-
//(<additionalParams>)
|
|
70
|
-
//(</additionalParams>)
|
|
71
|
-
callingFlowSharedLib.addCallingFlowToPassOnProperties(event)
|
|
72
|
-
);
|
|
73
|
-
|
|
74
|
-
// return error to client
|
|
75
|
-
if (lambdaFunctionResponse instanceof Error) {
|
|
76
|
-
return (izara.response.failure(lambdaFunctionResponse));
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// return success to client
|
|
80
|
-
return (izara.response.success(lambdaFunctionResponse));
|
|
81
|
-
|
|
82
|
-
} catch (err) {
|
|
83
|
-
event._izContext.logger.error('Error, LambdaFunctionHdrApi: ', err);
|
|
84
|
-
return (izara.response.failure(err));
|
|
85
|
-
}
|
|
86
|
-
});
|
|
@@ -1,74 +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
|
-
import { consts, utils } from '../../../../../../MainLibs/index.js';
|
|
23
|
-
|
|
24
|
-
const {
|
|
25
|
-
HANDLER,
|
|
26
|
-
SOURCE_PATH,
|
|
27
|
-
defaultIamRolePerAction,
|
|
28
|
-
SAVE_FILE_NAME,
|
|
29
|
-
shortNameHandler
|
|
30
|
-
} = consts;
|
|
31
|
-
const { firstLetterUpperCase: upperCase } = utils;
|
|
32
|
-
|
|
33
|
-
const templatePath = path.join(__dirname, 'template.ejs');
|
|
34
|
-
/**
|
|
35
|
-
* receive objectSchema
|
|
36
|
-
* create data for WebScoket handler template
|
|
37
|
-
*
|
|
38
|
-
* @param {Object} objectSchema
|
|
39
|
-
* @return {{templatePath, templateData,setting}}
|
|
40
|
-
*/
|
|
41
|
-
|
|
42
|
-
function data(_izContext, flowSchema, srcPath) {
|
|
43
|
-
return createSourceParamsInvoke(_izContext, flowSchema, srcPath);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
function createSourceParamsInvoke(_izContext, flowSchema, srcPath) {
|
|
47
|
-
let functionName = 'Process' + upperCase(flowSchema.flowTag);
|
|
48
|
-
let handlerType = upperCase(HANDLER.hdrInv);
|
|
49
|
-
let additionalResourcePermission = defaultIamRolePerAction();
|
|
50
|
-
|
|
51
|
-
return {
|
|
52
|
-
templatePath: templatePath,
|
|
53
|
-
templateData: {
|
|
54
|
-
resourceLocation: path.join(
|
|
55
|
-
SOURCE_PATH.resourceLocationFlowSchema,
|
|
56
|
-
upperCase(flowSchema.flowTag),
|
|
57
|
-
'source/'
|
|
58
|
-
),
|
|
59
|
-
functionName,
|
|
60
|
-
handlerType,
|
|
61
|
-
additionalResourcePermission,
|
|
62
|
-
functionNameConfig:
|
|
63
|
-
upperCase(functionName) + upperCase(shortNameHandler(handlerType)),
|
|
64
|
-
roleName: upperCase(flowSchema.flowTag)
|
|
65
|
-
},
|
|
66
|
-
setting: {
|
|
67
|
-
savePath: path.join(srcPath, SOURCE_PATH.appYaml),
|
|
68
|
-
saveFileName: upperCase(SAVE_FILE_NAME.flowSchema),
|
|
69
|
-
fileExtension: '.yml',
|
|
70
|
-
isAppend: true
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
export default data;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<%_ const join = require('path').join; _%>
|
|
2
|
-
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
|
-
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
|
-
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
-
role: <%- roleName %>Role
|
|
6
|
-
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
-
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
8
|
-
<%_ function firstLetterUpperCase(text){
|
|
9
|
-
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
10
|
-
} _%>
|
|
11
|
-
<%_ function firstLetterLowerCase(str) {
|
|
12
|
-
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
13
|
-
} _%>
|
|
@@ -1,64 +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
|
-
import { consts, utils } from '../../../../../../MainLibs/index.js';
|
|
23
|
-
|
|
24
|
-
const { HANDLER, SOURCE_PATH } = consts;
|
|
25
|
-
const { firstLetterUpperCase: upperCase } = utils;
|
|
26
|
-
|
|
27
|
-
const templatePath = path.join(__dirname, 'template.ejs');
|
|
28
|
-
/**
|
|
29
|
-
* receive objectSchema
|
|
30
|
-
* create data for WebScoket handler template
|
|
31
|
-
*
|
|
32
|
-
* @param {Object} objectSchema
|
|
33
|
-
* @return {{templatePath, templateData,setting}}
|
|
34
|
-
*/
|
|
35
|
-
|
|
36
|
-
function data(_izContext, flowSchema, srcPath) {
|
|
37
|
-
return createSourceParamsInvoke(_izContext, flowSchema, srcPath);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function createSourceParamsInvoke(_izContext, flowSchema, srcPath) {
|
|
41
|
-
let functionName = 'Process' + upperCase(flowSchema.flowTag);
|
|
42
|
-
let handlerType = upperCase(HANDLER.hdrInv);
|
|
43
|
-
|
|
44
|
-
return {
|
|
45
|
-
templatePath: templatePath,
|
|
46
|
-
templateData: {
|
|
47
|
-
functionName,
|
|
48
|
-
handlerType
|
|
49
|
-
},
|
|
50
|
-
setting: {
|
|
51
|
-
savePath: path.join(
|
|
52
|
-
srcPath,
|
|
53
|
-
SOURCE_PATH.flowSchema,
|
|
54
|
-
upperCase(flowSchema.flowTag),
|
|
55
|
-
'source/'
|
|
56
|
-
),
|
|
57
|
-
saveFileName: `${functionName}_${handlerType}`,
|
|
58
|
-
fileExtension: '.js',
|
|
59
|
-
isAppend: false
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export default data;
|
|
@@ -1,52 +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
|
-
|
|
19
|
-
|
|
20
|
-
import { middlewareHandler as middleware } from "@izara_project/izara-middleware";
|
|
21
|
-
import Logger from '@izara_project/izara-core-library-logger';
|
|
22
|
-
import callingFlowSharedLib from '@izara_project/izara-core-library-calling-flow';
|
|
23
|
-
|
|
24
|
-
import <%- functionName %> from './<%- functionName %>_Main.js';
|
|
25
|
-
|
|
26
|
-
// validate event params in middleware before into function.
|
|
27
|
-
const validatorSchema = {
|
|
28
|
-
//(<validatorSchema>)
|
|
29
|
-
//(</validatorSchema>)
|
|
30
|
-
};
|
|
31
|
-
middleware.setValidatorSchema(validatorSchema)
|
|
32
|
-
|
|
33
|
-
export const main = middleware.wrap(async (event, context, callback) => {
|
|
34
|
-
event._izContext.logger.debug('Event:', event);
|
|
35
|
-
event._izContext.logger.debug('context:', context);
|
|
36
|
-
|
|
37
|
-
try {
|
|
38
|
-
|
|
39
|
-
// invoke LambdaFunction
|
|
40
|
-
return await <%- functionName %>.<%- functionName %>(
|
|
41
|
-
event._izContext, // correlationId/logger/integrationTestDetail/uniqueRequestId
|
|
42
|
-
event,
|
|
43
|
-
//(<additionalParams>)
|
|
44
|
-
//(</additionalParams>)
|
|
45
|
-
callingFlowSharedLib.addCallingFlowToPassOnProperties(event)
|
|
46
|
-
);
|
|
47
|
-
|
|
48
|
-
} catch (err) {
|
|
49
|
-
event._izContext.logger.error('Error, LambdaFunctionHdrInv: ', err);
|
|
50
|
-
throw (err);
|
|
51
|
-
}
|
|
52
|
-
});
|
|
@@ -1,113 +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
|
-
import { consts, utils } from '../../../../../../MainLibs/index.js';
|
|
23
|
-
|
|
24
|
-
const {
|
|
25
|
-
SOURCE_PATH,
|
|
26
|
-
defaultIamRolePerAction,
|
|
27
|
-
createIamRole,
|
|
28
|
-
RESOURCE_CLASSES,
|
|
29
|
-
resourceNames,
|
|
30
|
-
DYNAMO_RESOURCE,
|
|
31
|
-
SAVE_FILE_NAME,
|
|
32
|
-
FUNCTION_NAME,
|
|
33
|
-
shortNameHandler,
|
|
34
|
-
SOURCE_GENERATE_IAM_ROLE,
|
|
35
|
-
SQS_RESOURCE
|
|
36
|
-
} = consts;
|
|
37
|
-
const { firstLetterUpperCase: upperCase } = utils;
|
|
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, srcPath) {
|
|
48
|
-
const handlerType = upperCase('hdrSqs');
|
|
49
|
-
const functionName = upperCase(FUNCTION_NAME.flowSchemaRegister);
|
|
50
|
-
let functionNameConfig =
|
|
51
|
-
upperCase(functionName) + upperCase(shortNameHandler(handlerType));
|
|
52
|
-
let additionalResourcePermission = defaultIamRolePerAction();
|
|
53
|
-
|
|
54
|
-
additionalResourcePermission.push(
|
|
55
|
-
createIamRole(
|
|
56
|
-
{
|
|
57
|
-
[RESOURCE_CLASSES.sqs]: [
|
|
58
|
-
SQS_RESOURCE.getQueueAttributes,
|
|
59
|
-
SQS_RESOURCE.receiveMessage,
|
|
60
|
-
SQS_RESOURCE.deleteMessage
|
|
61
|
-
]
|
|
62
|
-
},
|
|
63
|
-
[resourceNames(RESOURCE_CLASSES.sqs, upperCase(functionName))]
|
|
64
|
-
),
|
|
65
|
-
createIamRole(
|
|
66
|
-
{
|
|
67
|
-
[RESOURCE_CLASSES.dynamoDbTable]: [
|
|
68
|
-
DYNAMO_RESOURCE.putItem,
|
|
69
|
-
DYNAMO_RESOURCE.getItem,
|
|
70
|
-
DYNAMO_RESOURCE.query,
|
|
71
|
-
DYNAMO_RESOURCE.deleteItem,
|
|
72
|
-
DYNAMO_RESOURCE.updateItem
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
[
|
|
76
|
-
resourceNames(RESOURCE_CLASSES.dynamoDbTable, 'WebSocketTask'),
|
|
77
|
-
resourceNames(RESOURCE_CLASSES.dynamoDbTable, 'RegisterRecords ')
|
|
78
|
-
]
|
|
79
|
-
),
|
|
80
|
-
createIamRole(
|
|
81
|
-
{
|
|
82
|
-
'execute-api': ['ManageConnections']
|
|
83
|
-
},
|
|
84
|
-
[resourceNames(RESOURCE_CLASSES.webSocket)]
|
|
85
|
-
)
|
|
86
|
-
);
|
|
87
|
-
|
|
88
|
-
// console.log("additionalResourcePermission in createObjectS3", JSON.stringify(additionalResourcePermission))
|
|
89
|
-
return [
|
|
90
|
-
{
|
|
91
|
-
templatePath: templatePath,
|
|
92
|
-
templateData: {
|
|
93
|
-
resourceLocation: path.join(
|
|
94
|
-
SOURCE_PATH.resourceLocationFlowSchemaRegister,
|
|
95
|
-
'source/'
|
|
96
|
-
),
|
|
97
|
-
additionalResourcePermission,
|
|
98
|
-
functionName,
|
|
99
|
-
handlerType,
|
|
100
|
-
roleName: SOURCE_GENERATE_IAM_ROLE.RegisterRole,
|
|
101
|
-
functionNameConfig
|
|
102
|
-
},
|
|
103
|
-
setting: {
|
|
104
|
-
savePath: path.join(srcPath, SOURCE_PATH.appYaml),
|
|
105
|
-
saveFileName: upperCase(SAVE_FILE_NAME.flowSchema),
|
|
106
|
-
fileExtension: '.yml',
|
|
107
|
-
isAppend: true
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
];
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export default data;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<%_ const join = require('path').join; _%>
|
|
2
|
-
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
|
-
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}Complete_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
|
-
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>Complete<%- firstLetterUpperCase(handlerType) %>
|
|
5
|
-
role: <%- roleName %>Role
|
|
6
|
-
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
-
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
8
|
-
events:
|
|
9
|
-
- sqs:
|
|
10
|
-
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
11
|
-
batchSize: 10
|
|
12
|
-
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
13
|
-
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%- functionName %>"]}}} # functionName of callingFlow
|
|
14
|
-
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<%_ function firstLetterUpperCase(text){
|
|
18
|
-
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
19
|
-
} _%>
|
|
20
|
-
<%_ function firstLetterLowerCase(str) {
|
|
21
|
-
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
22
|
-
} _%>
|
|
@@ -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
|
-
import { consts, utils } from '../../../../../../MainLibs/index.js';
|
|
23
|
-
|
|
24
|
-
const { SOURCE_PATH, FUNCTION_NAME, HANDLER } = consts;
|
|
25
|
-
const { firstLetterUpperCase: upperCase } = utils;
|
|
26
|
-
|
|
27
|
-
const templatePath = path.join(__dirname, 'template.ejs');
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* receive objectSchema
|
|
31
|
-
* create data for SQS handler template
|
|
32
|
-
*
|
|
33
|
-
* @param {Object} objectSchema
|
|
34
|
-
* @return {{templatePath, templateData,setting}}
|
|
35
|
-
*/
|
|
36
|
-
function data(_izContext, srcPath) {
|
|
37
|
-
let queueName = FUNCTION_NAME.flowSchemaRegister;
|
|
38
|
-
let functionName = FUNCTION_NAME.flowSchemaRegister + 'Complete';
|
|
39
|
-
let handlerType = upperCase(HANDLER.hdrSqs);
|
|
40
|
-
return [
|
|
41
|
-
{
|
|
42
|
-
templatePath: templatePath,
|
|
43
|
-
templateData: {
|
|
44
|
-
queueName,
|
|
45
|
-
functionName: functionName,
|
|
46
|
-
handler: HANDLER.hdrSqs,
|
|
47
|
-
firstLetterUpperCase: upperCase
|
|
48
|
-
},
|
|
49
|
-
setting: {
|
|
50
|
-
savePath: path.join(srcPath, SOURCE_PATH.flowSchemaRegister, 'source/'),
|
|
51
|
-
saveFileName: `${upperCase(functionName)}_${handlerType}`,
|
|
52
|
-
fileExtension: '.js',
|
|
53
|
-
isAppend: false
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
];
|
|
57
|
-
}
|
|
58
|
-
export default data;
|