@izara_project/izara-market-library-service-schemas 1.0.84 → 1.0.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +8 -37
- package/package.json +10 -16
- package/src/Libs/Libs.js +711 -0
- package/src/TemplateData/AttributeTreeSchema/AttributeTreeManager/data.js +139 -0
- package/src/TemplateData/AttributeTreeSchema/AttributeTreeManager/template.ejs +18 -0
- package/src/TemplateData/AttributeTreeSchema/AttributeTreeRelationship/data.js +160 -0
- package/src/TemplateData/AttributeTreeSchema/AttributeTreeRelationship/template.ejs +7 -0
- package/src/TemplateData/AttributeTreeSchema/AttributeTreeStandard/data.js +103 -0
- package/src/TemplateData/AttributeTreeSchema/AttributeTreeStandard/template.ejs +20 -0
- package/src/TemplateData/AttributeTreeSchema/generateTemplateData.js +105 -0
- package/src/{reStructure → TemplateData}/GenerateSchema.js +38 -52
- package/src/TemplateData/PropertyValueSchema/PropertyValueObjectSchema/data.js +160 -0
- package/src/{reStructure/TemplateData/propertyValueSchema/relationshipPropertyValueSchema → TemplateData/PropertyValueSchema/PropertyValueRelationshipSchema}/data.js +43 -49
- package/src/{reStructure/TemplateData/propertyValueSchema → TemplateData/PropertyValueSchema}/generateTemplateData.js +3 -4
- package/src/CheckPermission/CheckPermission.js +0 -122
- package/src/GenerateCodeLibs/index.js +0 -22
- package/src/GenerateCodeLibs/src/Consts.js +0 -135
- package/src/GenerateCodeLibs/src/GenerateCodeLibs.js +0 -2583
- package/src/MainLibs/index.js +0 -22
- package/src/MainLibs/src/Consts.js +0 -735
- package/src/MainLibs/src/GenerateCodeUtils.js +0 -72
- package/src/MainLibs/src/Utils.js +0 -72
- package/src/SourceManager/index.js +0 -21
- package/src/SourceManager/src/CreateSource.js +0 -229
- package/src/SourceManager/src/Utils.js +0 -110
- package/src/reStructure/GenerateCode.js +0 -184
- package/src/reStructure/GenerateResources.js +0 -121
- package/src/reStructure/GenerateTests.js +0 -138
- package/src/reStructure/IntTestConfig.js +0 -23
- package/src/reStructure/SchemaConfig.js +0 -23
- package/src/reStructure/TemplateConfig.js +0 -58
- package/src/reStructure/TemplateData/Auth/generateAuthYml/data.js +0 -47
- package/src/reStructure/TemplateData/Auth/generateAuthYml/template.ejs +0 -16
- package/src/reStructure/TemplateData/Auth/generateTemplateData.js +0 -48
- package/src/reStructure/TemplateData/EndpointPerService/generateTemplateData.js +0 -127
- package/src/reStructure/TemplateData/EndpointPerService/handler/api/data.js +0 -72
- package/src/reStructure/TemplateData/EndpointPerService/handler/api/request.json +0 -7
- package/src/reStructure/TemplateData/EndpointPerService/handler/api/template.ejs +0 -73
- package/src/reStructure/TemplateData/EndpointPerService/handler/dsq/data.js +0 -76
- package/src/reStructure/TemplateData/EndpointPerService/handler/dsq/request.json +0 -7
- package/src/reStructure/TemplateData/EndpointPerService/handler/dsq/template.ejs +0 -129
- package/src/reStructure/TemplateData/EndpointPerService/handler/inv/data.js +0 -79
- package/src/reStructure/TemplateData/EndpointPerService/handler/inv/request.json +0 -7
- package/src/reStructure/TemplateData/EndpointPerService/handler/inv/template.ejs +0 -73
- package/src/reStructure/TemplateData/EndpointPerService/handler/sqs/data.js +0 -76
- package/src/reStructure/TemplateData/EndpointPerService/handler/sqs/request.json +0 -7
- package/src/reStructure/TemplateData/EndpointPerService/handler/sqs/template.ejs +0 -131
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/create/backupTemplate.ejs +0 -358
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/create/data.js +0 -51
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/create/template.ejs +0 -614
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/delete/data.js +0 -50
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/delete/template.ejs +0 -163
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/get/data.js +0 -50
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/get/template.ejs +0 -273
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/update/data.js +0 -50
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/update/template.ejs +0 -433
- package/src/reStructure/TemplateData/EndpointPerService/yaml/data.js +0 -307
- package/src/reStructure/TemplateData/EndpointPerService/yaml/template.ejs +0 -35
- package/src/reStructure/TemplateData/IntTest/generateResources/generateResources.js +0 -112
- package/src/reStructure/TemplateData/IntTest/generateResources/templateResources.ejs +0 -33
- package/src/reStructure/TemplateData/IntTest/generateTests/events/data.js +0 -133
- package/src/reStructure/TemplateData/IntTest/generateTests/events/templateEvents.ejs +0 -11
- package/src/reStructure/TemplateData/IntTest/generateTests/generateTemplate.js +0 -67
- package/src/reStructure/TemplateData/IntTest/generateTests/pathIntTest/data.js +0 -47
- package/src/reStructure/TemplateData/IntTest/generateTests/pathIntTest/template.ejs +0 -5
- package/src/reStructure/TemplateData/IntTest/generateTests/tests/data.js +0 -211
- package/src/reStructure/TemplateData/IntTest/generateTests/tests/templateTests.ejs +0 -3
- package/src/reStructure/TemplateData/IntTest/libs/libs.js +0 -416
- package/src/reStructure/TemplateData/IntTest/upload/uploadIntTest.js +0 -95
- package/src/reStructure/TemplateData/externalService/functionNameConfig/data.js +0 -176
- package/src/reStructure/TemplateData/externalService/functionNameConfig/template.ejs +0 -14
- package/src/reStructure/TemplateData/externalService/functionNameConfig/templateIntTesting.ejs +0 -31
- package/src/reStructure/TemplateData/externalService/functionNameConfig/templateYaml.ejs +0 -10
- package/src/reStructure/TemplateData/externalService/generateTemplateData.js +0 -79
- package/src/reStructure/TemplateData/externalService/lambdaRole/data.js +0 -445
- package/src/reStructure/TemplateData/externalService/lambdaRole/request.json +0 -18
- package/src/reStructure/TemplateData/externalService/lambdaRole/template.ejs +0 -59
- package/src/reStructure/TemplateData/externalService/snsTopicSubscriptions/data.js +0 -274
- package/src/reStructure/TemplateData/externalService/snsTopicSubscriptions/request.json +0 -12
- package/src/reStructure/TemplateData/externalService/snsTopicSubscriptions/template.ejs +0 -35
- package/src/reStructure/TemplateData/findData/GetByStorage/getByDynamo.ejs +0 -54
- package/src/reStructure/TemplateData/findData/GetByStorage/getByGraph.ejs +0 -81
- package/src/reStructure/TemplateData/findData/findDataYaml/data.js +0 -184
- package/src/reStructure/TemplateData/findData/findDataYaml/template.ejs +0 -14
- package/src/reStructure/TemplateData/findData/generateTemplateData.js +0 -69
- package/src/reStructure/TemplateData/findData/handler/data.js +0 -51
- package/src/reStructure/TemplateData/findData/handler/template.ejs +0 -136
- package/src/reStructure/TemplateData/findData/mainFunction/data.js +0 -319
- package/src/reStructure/TemplateData/findData/mainFunction/template.ejs +0 -149
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/functionYaml/data.js +0 -129
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/handler/data.js +0 -68
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/handler/template.ejs +0 -84
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/mainFunction/data.js +0 -71
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/mainFunction/template.ejs +0 -118
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/queue/data.js +0 -73
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/queue/template.ejs +0 -49
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/functionYaml/data.js +0 -128
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/functionYaml/template.ejs +0 -17
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/handler/data.js +0 -66
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/handler/template.ejs +0 -123
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/mainFunction/data.js +0 -58
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/mainFunction/template.ejs +0 -129
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/queue/data.js +0 -62
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/queue/template.ejs +0 -45
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/functionYaml/data.js +0 -116
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/handler/data.js +0 -67
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/handler/template.ejs +0 -83
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/mainFunction/data.js +0 -67
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/mainFunction/template.ejs +0 -131
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/functionYaml/data.js +0 -118
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/functionYaml/template.ejs +0 -17
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/handler/data.js +0 -65
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/handler/template.ejs +0 -99
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/mainFunction/data.js +0 -63
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/mainFunction/template.ejs +0 -81
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/sns-sqs/data.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/sns-sqs/template.ejs +0 -49
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/functionYaml/data.js +0 -138
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/functionYaml/template.ejs +0 -18
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/handler/data.js +0 -66
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/handler/template.ejs +0 -123
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/mainFunction/data.js +0 -66
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/mainFunction/template.ejs +0 -262
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/queue/data.js +0 -66
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/queue/template.ejs +0 -45
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/functionYaml/data.js +0 -144
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/functionYaml/template.ejs +0 -14
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/handler/data.js +0 -66
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/handler/template.ejs +0 -121
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/mainFunction/data.js +0 -61
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/mainFunction/template.ejs +0 -172
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/sqs/data.js +0 -68
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/sqs/template.ejs +0 -53
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/functionYml/HdrS3/data.js +0 -139
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/functionYml/HdrS3/template.ejs +0 -25
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/handler/handlerS3/data.js +0 -52
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/handler/handlerS3/template.ejs +0 -50
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/mainFunction/ProcessCsvtemplate.ejs +0 -182
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/mainFunction/data.js +0 -51
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/mainFunction/template.ejs +0 -68
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/queue/data.js +0 -77
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/queue/dsqTemplatePath.ejs +0 -32
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/queue/s3Template.ejs +0 -59
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/S3/data.js +0 -60
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/S3/template.ejs +0 -13
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/libs/data.js +0 -53
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/libs/template.ejs +0 -97
- package/src/reStructure/TemplateData/flowSchema/components/upload/relate/sns-out/data.js +0 -66
- package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/functionYaml/data.js +0 -91
- package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/functionYaml/template.ejs +0 -17
- package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/handler/data.js +0 -58
- package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/handler/template.ejs +0 -72
- package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/ReservedTableData.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/WebSocketTaskData.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/ttlDynamoTemplate.ejs +0 -32
- package/src/reStructure/TemplateData/flowSchema/components/websocket/dynamoDb/userUploadRecords.js +0 -61
- package/src/reStructure/TemplateData/flowSchema/dynamoDb/data.js +0 -116
- package/src/reStructure/TemplateData/flowSchema/eventBridge/functionYaml/data.js +0 -167
- package/src/reStructure/TemplateData/flowSchema/eventBridge/functionYaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/flowSchema/eventBridge/handler/inv/data.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/eventBridge/handler/inv/request.json +0 -7
- package/src/reStructure/TemplateData/flowSchema/eventBridge/handler/inv/template.ejs +0 -60
- package/src/reStructure/TemplateData/flowSchema/eventBridge/mainFunction/data.js +0 -67
- package/src/reStructure/TemplateData/flowSchema/eventBridge/mainFunction/request.json +0 -5
- package/src/reStructure/TemplateData/flowSchema/eventBridge/mainFunction/template.ejs +0 -59
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/functionYaml/data.js +0 -111
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/handler/data.js +0 -93
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/handler/template.ejs +0 -81
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/mainFunction/data.js +0 -68
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/mainFunction/template.ejs +0 -58
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Process/functionYaml/data.js +0 -156
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Process/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Process/handler/data.js +0 -65
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Process/handler/template.ejs +0 -101
- package/src/reStructure/TemplateData/flowSchema/externalTopic/sns-in-sqs/data.js +0 -77
- package/src/reStructure/TemplateData/flowSchema/externalTopic/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/flowSchema/externalTopic/sns-out/data.js +0 -72
- package/src/reStructure/TemplateData/flowSchema/flowSchemaMainFunction/data.js +0 -120
- package/src/reStructure/TemplateData/flowSchema/flowSchemaMainFunction/template.ejs +0 -92
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/functionYaml/data.js +0 -111
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/functionYaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/handler/data.js +0 -70
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/handler/template.ejs +0 -81
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/mainFunction/data.js +0 -70
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/mainFunction/template.ejs +0 -61
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComponent/functionYaml/data.js +0 -145
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComponent/functionYaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComponent/handler/data.js +0 -68
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComponent/handler/template.ejs +0 -87
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/functionYaml/data.js +0 -111
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/functionYaml/template.ejs +0 -18
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/handler/data.js +0 -65
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/handler/template.ejs +0 -108
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/mainFunction/data.js +0 -65
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/mainFunction/template.ejs +0 -106
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/sns-in/data.js +0 -100
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/sns-in/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/sns-out/data.js +0 -74
- package/src/reStructure/TemplateData/flowSchema/flowStep/functionYaml/data.js +0 -152
- package/src/reStructure/TemplateData/flowSchema/flowStep/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/flowSchema/flowStep/handler/data.js +0 -102
- package/src/reStructure/TemplateData/flowSchema/flowStep/handler/template.ejs +0 -89
- package/src/reStructure/TemplateData/flowSchema/flowStep/mainFunction/data.js +0 -100
- package/src/reStructure/TemplateData/flowSchema/flowStep/mainFunction/template.ejs +0 -58
- package/src/reStructure/TemplateData/flowSchema/flowStep/sns-in/data.js +0 -98
- package/src/reStructure/TemplateData/flowSchema/flowStep/sns-in/template.ejs +0 -59
- package/src/reStructure/TemplateData/flowSchema/generateTemplateData.js +0 -808
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Api/functionYaml/data.js +0 -85
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Api/functionYaml/template.ejs +0 -28
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Api/handler/data.js +0 -67
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Api/handler/template.ejs +0 -86
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Inv/functionYaml/data.js +0 -74
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Inv/functionYaml/template.ejs +0 -13
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Inv/handler/data.js +0 -64
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Inv/handler/template.ejs +0 -52
- package/src/reStructure/TemplateData/flowSchema/register/complete/functionYaml/data.js +0 -113
- package/src/reStructure/TemplateData/flowSchema/register/complete/functionYaml/template.ejs +0 -22
- package/src/reStructure/TemplateData/flowSchema/register/complete/handler/data.js +0 -58
- package/src/reStructure/TemplateData/flowSchema/register/complete/handler/template.ejs +0 -85
- package/src/reStructure/TemplateData/flowSchema/register/complete/mainFunction/data.js +0 -62
- package/src/reStructure/TemplateData/flowSchema/register/complete/mainFunction/template.ejs +0 -176
- package/src/reStructure/TemplateData/flowSchema/register/dynamoDB/register.js +0 -73
- package/src/reStructure/TemplateData/flowSchema/register/sns-in/data.js +0 -58
- package/src/reStructure/TemplateData/flowSchema/register/sns-in/template.ejs +0 -45
- package/src/reStructure/TemplateData/flowSchema/register/subscriptionOutAll/data.js +0 -82
- package/src/reStructure/TemplateData/flowSchema/register/subscriptionOutAll/template.ejs +0 -13
- package/src/reStructure/TemplateData/flowSchema/register/wbs/functionYaml/data.js +0 -107
- package/src/reStructure/TemplateData/flowSchema/register/wbs/functionYaml/template.ejs +0 -19
- package/src/reStructure/TemplateData/flowSchema/register/wbs/handler/data.js +0 -65
- package/src/reStructure/TemplateData/flowSchema/register/wbs/handler/template.ejs +0 -83
- package/src/reStructure/TemplateData/flowSchema/register/wbs/mainFunction/data.js +0 -56
- package/src/reStructure/TemplateData/flowSchema/register/wbs/mainFunction/template.ejs +0 -165
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/FunctionYaml/data.js +0 -143
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/FunctionYaml/template.ejs +0 -22
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/Handler/data.js +0 -73
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/Handler/template.ejs +0 -86
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/MainFunction/data.js +0 -62
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/MainFunction/template.ejs +0 -80
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/sns/data.js +0 -63
- package/src/reStructure/TemplateData/flowSchema/statusFieldComponent/sns/template.ejs +0 -59
- package/src/reStructure/TemplateData/flowSchema/templateByStatusType/statusFieldTemplate.ejs +0 -30
- package/src/reStructure/TemplateData/flowSchema/templateByStatusType/storedCacheTemplate.ejs +0 -26
- package/src/reStructure/TemplateData/flowSchema/templateByStatusType/triggerCacheTemplate.ejs +0 -44
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/functionYaml/data.js +0 -135
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/functionYaml/template.ejs +0 -22
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/handler/data.js +0 -70
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/handler/template.ejs +0 -89
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/mainFunction/data.js +0 -72
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/mainFunction/template.ejs +0 -85
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/functionYaml/data.js +0 -139
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/functionYaml/template.ejs +0 -22
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/handler/data.js +0 -73
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/handler/template.ejs +0 -88
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/mainFunction/data.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/mainFunction/template.ejs +0 -58
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/functionYaml/data.js +0 -131
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/functionYaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/handler/data.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/handler/template.ejs +0 -88
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/mainFunction/data.js +0 -69
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/mainFunction/template.ejs +0 -74
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheQueue/data.js +0 -90
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheQueue/template.ejs +0 -49
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/functionYaml/data.js +0 -137
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/functionYaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/handler/data.js +0 -61
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/handler/template.ejs +0 -85
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/mainFunction/data.js +0 -55
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/mainFunction/template.ejs +0 -134
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/sqs/data.js +0 -100
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/sqs/template.ejs +0 -43
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/sqs/templateSub.ejs +0 -7
- package/src/reStructure/TemplateData/generateRole/createSharedResource.js +0 -469
- package/src/reStructure/TemplateData/generateRole/data.js +0 -92
- package/src/reStructure/TemplateData/generateRole/sharedResourceTemplate.ejs +0 -32
- package/src/reStructure/TemplateData/generateRole/template.ejs +0 -33
- package/src/reStructure/TemplateData/perActionComplete/create/handler/data.js +0 -61
- package/src/reStructure/TemplateData/perActionComplete/create/handler/template.ejs +0 -126
- package/src/reStructure/TemplateData/perActionComplete/create/mainFunction/createObjectComplete_main.js +0 -196
- package/src/reStructure/TemplateData/perActionComplete/create/mainFunction/data.js +0 -53
- package/src/reStructure/TemplateData/perActionComplete/create/mainFunction/template.ejs +0 -187
- package/src/reStructure/TemplateData/perActionComplete/create/sns-in-sqs/data.js +0 -62
- package/src/reStructure/TemplateData/perActionComplete/create/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/perActionComplete/create/sns-out/data.js +0 -67
- package/src/reStructure/TemplateData/perActionComplete/create/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/perActionComplete/create/yaml/data.js +0 -106
- package/src/reStructure/TemplateData/perActionComplete/create/yaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/perActionComplete/delete/handler/data.js +0 -61
- package/src/reStructure/TemplateData/perActionComplete/delete/handler/template.ejs +0 -125
- package/src/reStructure/TemplateData/perActionComplete/delete/mainFunction/data.js +0 -53
- package/src/reStructure/TemplateData/perActionComplete/delete/mainFunction/template.ejs +0 -88
- package/src/reStructure/TemplateData/perActionComplete/delete/sns-in-sqs/data.js +0 -62
- package/src/reStructure/TemplateData/perActionComplete/delete/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/perActionComplete/delete/sns-out/data.js +0 -67
- package/src/reStructure/TemplateData/perActionComplete/delete/yaml/data.js +0 -104
- package/src/reStructure/TemplateData/perActionComplete/delete/yaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/perActionComplete/generateTemplateData.js +0 -162
- package/src/reStructure/TemplateData/perActionComplete/get/handler/data.js +0 -61
- package/src/reStructure/TemplateData/perActionComplete/get/handler/template.ejs +0 -125
- package/src/reStructure/TemplateData/perActionComplete/get/mainFunction/data.js +0 -54
- package/src/reStructure/TemplateData/perActionComplete/get/mainFunction/template.ejs +0 -131
- package/src/reStructure/TemplateData/perActionComplete/get/sns-in-sqs/data.js +0 -62
- package/src/reStructure/TemplateData/perActionComplete/get/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/perActionComplete/get/sns-out/data.js +0 -67
- package/src/reStructure/TemplateData/perActionComplete/get/yaml/data.js +0 -106
- package/src/reStructure/TemplateData/perActionComplete/get/yaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/perActionComplete/update/handler/data.js +0 -61
- package/src/reStructure/TemplateData/perActionComplete/update/handler/template.ejs +0 -125
- package/src/reStructure/TemplateData/perActionComplete/update/mainFunction/data.js +0 -53
- package/src/reStructure/TemplateData/perActionComplete/update/mainFunction/template.ejs +0 -133
- package/src/reStructure/TemplateData/perActionComplete/update/sns-in-sqs/data.js +0 -62
- package/src/reStructure/TemplateData/perActionComplete/update/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/perActionComplete/update/sns-out/data.js +0 -66
- package/src/reStructure/TemplateData/perActionComplete/update/yaml/data.js +0 -107
- package/src/reStructure/TemplateData/perActionComplete/update/yaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/perActionEndpoint/generateTemplateData.js +0 -112
- package/src/reStructure/TemplateData/perActionEndpoint/handler/api/data.js +0 -109
- package/src/reStructure/TemplateData/perActionEndpoint/handler/api/request.json +0 -7
- package/src/reStructure/TemplateData/perActionEndpoint/handler/api/template.ejs +0 -36
- package/src/reStructure/TemplateData/perActionEndpoint/handler/dsq/data.js +0 -118
- package/src/reStructure/TemplateData/perActionEndpoint/handler/dsq/request.json +0 -7
- package/src/reStructure/TemplateData/perActionEndpoint/handler/dsq/template.ejs +0 -55
- package/src/reStructure/TemplateData/perActionEndpoint/handler/inv/data.js +0 -112
- package/src/reStructure/TemplateData/perActionEndpoint/handler/inv/request.json +0 -7
- package/src/reStructure/TemplateData/perActionEndpoint/handler/inv/template.ejs +0 -37
- package/src/reStructure/TemplateData/perActionEndpoint/handler/sqs/data.js +0 -116
- package/src/reStructure/TemplateData/perActionEndpoint/handler/sqs/request.json +0 -7
- package/src/reStructure/TemplateData/perActionEndpoint/handler/sqs/template.ejs +0 -57
- package/src/reStructure/TemplateData/perActionEndpoint/handler/webSocket/data.js +0 -94
- package/src/reStructure/TemplateData/perActionEndpoint/handler/webSocket/template.ejs +0 -61
- package/src/reStructure/TemplateData/perActionEndpoint/handler/webSocketConnect/data.js +0 -54
- package/src/reStructure/TemplateData/perActionEndpoint/handler/webSocketConnect/template.ejs +0 -55
- package/src/reStructure/TemplateData/perActionEndpoint/libs/data.js +0 -60
- package/src/reStructure/TemplateData/perActionEndpoint/libs/template.ejs +0 -46
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/create/data.js +0 -91
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/create/request.json +0 -0
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/create/template.ejs +0 -339
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/delete/data.js +0 -91
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/delete/template.ejs +0 -99
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/get/data.js +0 -92
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/get/request.json +0 -5
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/get/template.ejs +0 -116
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/get/testParam.json +0 -5
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/update/data.js +0 -85
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/update/request.json +0 -0
- package/src/reStructure/TemplateData/perActionEndpoint/mainFunction/update/template.ejs +0 -166
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/api/data.js +0 -229
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/api/request.json +0 -14
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/api/template.ejs +0 -20
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/dsq/data.js +0 -234
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/dsq/request.json +0 -19
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/dsq/template.ejs +0 -17
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/inv/data.js +0 -207
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/inv/example req.js +0 -15
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/inv/request.json +0 -14
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/inv/template.ejs +0 -13
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/sqs/data.js +0 -237
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/sqs/request.json +0 -19
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/sqs/template.ejs +0 -17
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/wbs/data.js +0 -204
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/wbs/request.json +0 -19
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/wbs/template.ejs +0 -29
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/webSocketConnect/data.js +0 -58
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/webSocketConnect/template.ejs +0 -10
- package/src/reStructure/TemplateData/processLogical/generateTemplateData.js +0 -60
- package/src/reStructure/TemplateData/processLogical/handler/data.js +0 -50
- package/src/reStructure/TemplateData/processLogical/handler/template.ejs +0 -127
- package/src/reStructure/TemplateData/processLogical/mainFunction/data.js +0 -49
- package/src/reStructure/TemplateData/processLogical/mainFunction/template.ejs +0 -424
- package/src/reStructure/TemplateData/processLogical/yaml/data.js +0 -172
- package/src/reStructure/TemplateData/processLogical/yaml/template.ejs +0 -12
- package/src/reStructure/TemplateData/processLogicalPagination/DsqYaml/data.js +0 -50
- package/src/reStructure/TemplateData/processLogicalPagination/DsqYaml/template.ejs +0 -32
- package/src/reStructure/TemplateData/processLogicalPagination/generateTemplateData.js +0 -68
- package/src/reStructure/TemplateData/processLogicalPagination/handler/dsq/data.js +0 -49
- package/src/reStructure/TemplateData/processLogicalPagination/handler/dsq/template.ejs +0 -160
- package/src/reStructure/TemplateData/processLogicalPagination/handler/sqs/data.js +0 -48
- package/src/reStructure/TemplateData/processLogicalPagination/handler/sqs/template.ejs +0 -143
- package/src/reStructure/TemplateData/processLogicalPagination/mainFunction/data.js +0 -48
- package/src/reStructure/TemplateData/processLogicalPagination/mainFunction/template.ejs +0 -210
- package/src/reStructure/TemplateData/processLogicalPagination/yaml/dsq/data.js +0 -162
- package/src/reStructure/TemplateData/processLogicalPagination/yaml/dsq/template.ejs +0 -12
- package/src/reStructure/TemplateData/processLogicalPagination/yaml/sqs/data.js +0 -171
- package/src/reStructure/TemplateData/processLogicalPagination/yaml/sqs/template.ejs +0 -13
- package/src/reStructure/TemplateData/propertyValueSchema/objectPropertyValueSchema/data.js +0 -181
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/api/data.js +0 -146
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/api/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/data.js +0 -161
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/dsq/data.js +0 -146
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/dsq/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/inv/data.js +0 -146
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/inv/template.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/sqs/data.js +0 -147
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/sqs/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/templateByHandler/invTemplate.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -18
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/api/data.js +0 -62
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/api/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/api/template.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/data.js +0 -72
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/dsq/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/dsq/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/dsq/template.ejs +0 -202
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/inv/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/inv/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/inv/template.ejs +0 -144
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/sqs/template.ejs +0 -77
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/templateByHandler/apiTemplate.ejs +0 -153
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/templateByHandler/dsqTemplate.ejs +0 -197
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/templateByHandler/invTemplate.ejs +0 -141
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/handler/templateByHandler/sqsTemplate.ejs +0 -182
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/mainFunction/data.js +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/mainFunction/template.ejs +0 -377
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/sns-in-sqs/data.js +0 -73
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/functionYaml/data.js +0 -116
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/handler/sqs/data.js +0 -60
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/handler/sqs/template.ejs +0 -126
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/mainFunction/data.js +0 -55
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/mainFunction/template.ejs +0 -150
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/sns-in-sqs/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/sns-in-sqs/template.ejs +0 -46
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/sns-out/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/api/data.js +0 -175
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/api/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/data.js +0 -201
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/dsq/data.js +0 -176
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/dsq/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/inv/data.js +0 -175
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/inv/template.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/sqs/data.js +0 -177
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/sqs/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -21
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/templateByHandler/invTemplate.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/api/data.js +0 -62
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/api/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/api/template.ejs +0 -57
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/data.js +0 -71
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/dsq/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/dsq/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/dsq/template.ejs +0 -184
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/inv/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/inv/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/inv/template.ejs +0 -126
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/sqs/template.ejs +0 -75
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/templateByHandler/apiTemplate.ejs +0 -137
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/templateByHandler/dsqTemplate.ejs +0 -179
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/templateByHandler/invTemplate.ejs +0 -123
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/handler/templateByHandler/sqsTemplate.ejs +0 -163
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/mainFunction/data.js +0 -57
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/mainFunction/template.ejs +0 -443
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/sns-in-sqs/data.js +0 -74
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/functionYaml/data.js +0 -117
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/functionYaml/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/handler/sqs/data.js +0 -60
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/handler/sqs/template.ejs +0 -126
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/mainFunction/data.js +0 -55
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/mainFunction/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/mainFunction/template.ejs +0 -151
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-in-sqs/data.js +0 -62
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-in-sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-in-sqs/template.ejs +0 -46
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-out/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-out/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/api/data.js +0 -178
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/api/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/data.js +0 -201
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/dsq/data.js +0 -176
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/dsq/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/inv/data.js +0 -178
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/inv/template.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/sqs/data.js +0 -176
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/sqs/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -21
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/templateByHandler/invTemplate.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -18
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/api/data.js +0 -62
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/api/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/api/template.ejs +0 -139
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/data.js +0 -72
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/dsq/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/dsq/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/dsq/template.ejs +0 -182
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/inv/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/inv/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/inv/template.ejs +0 -124
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/sqs/template.ejs +0 -162
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/templateByHandler/apiTemplate.ejs +0 -139
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/templateByHandler/dsqTemplate.ejs +0 -182
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/templateByHandler/invTemplate.ejs +0 -124
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/handler/templateByHandler/sqsTemplate.ejs +0 -162
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/mainFunction/data.js +0 -61
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/mainFunction/template.ejs +0 -365
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/sns-in-sqs/data.js +0 -74
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/functionYaml/data.js +0 -115
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/functionYaml/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/handler/sqs/data.js +0 -60
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/handler/sqs/template.ejs +0 -126
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/mainFunction/data.js +0 -55
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/mainFunction/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/mainFunction/template.ejs +0 -143
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-in-sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-in-sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-out/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-out/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/relationshipPerAction/generateTemplateData.js +0 -547
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/api/data.js +0 -168
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/api/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/data.js +0 -202
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/dsq/data.js +0 -177
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/dsq/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/inv/data.js +0 -167
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/inv/template.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/sqs/data.js +0 -166
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/sqs/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -21
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/templateByHandler/invTemplate.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -18
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/api/data.js +0 -62
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/api/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/api/template.ejs +0 -138
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/data.js +0 -72
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/dsq/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/dsq/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/dsq/template.ejs +0 -185
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/inv/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/inv/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/inv/template.ejs +0 -127
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/sqs/template.ejs +0 -165
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/templateByHandler/apiTemplate.ejs +0 -137
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/templateByHandler/dsqTemplate.ejs +0 -178
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/templateByHandler/invTemplate.ejs +0 -122
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/handler/templateByHandler/sqsTemplate.ejs +0 -163
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/mainFunction/data.js +0 -58
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/mainFunction/template.ejs +0 -317
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/sns-in-sqs/data.js +0 -74
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/functionYaml/data.js +0 -116
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/functionYaml/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/handler/sqs/data.js +0 -61
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/handler/sqs/template.ejs +0 -127
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/mainFunction/data.js +0 -56
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/mainFunction/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/mainFunction/template.ejs +0 -143
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-in-sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-in-sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-in-sqs/template.ejs +0 -47
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-out/data.js +0 -65
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-out/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/data.js +0 -168
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/templateByHandler/invTemplate.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/data.js +0 -71
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/templateByHandler/apiTemplate.ejs +0 -155
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/templateByHandler/dsqTemplate.ejs +0 -198
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/templateByHandler/invTemplate.ejs +0 -143
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/handler/templateByHandler/sqsTemplate.ejs +0 -182
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/mainFunction/data.js +0 -57
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/mainFunction/template.ejs +0 -379
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/sns-in-sqs/data.js +0 -73
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/functionYaml/data.js +0 -115
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/functionYaml/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/handler/sqs/data.js +0 -60
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/handler/sqs/template.ejs +0 -126
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/mainFunction/data.js +0 -58
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/mainFunction/template.ejs +0 -155
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/sns-in-sqs/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/sns-in-sqs/template.ejs +0 -46
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/sns-out/data.js +0 -64
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/api/data.js +0 -167
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/api/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/api/template.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/data.js +0 -191
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/dsq/data.js +0 -196
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/dsq/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/dsq/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/inv/data.js +0 -186
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/inv/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/inv/template.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/sqs/data.js +0 -187
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/sqs/template.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/templateByHandler/apiTemplate.ejs +0 -20
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/templateByHandler/dsqTemplate.ejs +0 -18
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/templateByHandler/invTemplate.ejs +0 -13
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/templateByHandler/sqsTemplate.ejs +0 -17
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/api/data.js +0 -78
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/api/request.json +0 -7
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/api/template.ejs +0 -142
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/data.js +0 -73
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/dsq/data.js +0 -79
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/dsq/request.json +0 -7
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/dsq/template.ejs +0 -188
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/inv/data.js +0 -80
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/inv/request.json +0 -5
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/inv/template.ejs +0 -147
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/sqs/data.js +0 -79
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/sqs/request.json +0 -7
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/sqs/template.ejs +0 -163
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/template.ejs +0 -9
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/apiTemplate.ejs +0 -138
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/dsqTemplate.ejs +0 -180
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/invTemplate.ejs +0 -124
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/handler/templateByHandler/sqsTemplate.ejs +0 -163
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/mainFunction/data.js +0 -60
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/mainFunction/request.json +0 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/mainFunction/template.ejs +0 -384
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-in-sqs/data.js +0 -83
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-in-sqs/request.json +0 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-out/data.js +0 -68
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/sns-out/request.json +0 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/functionYaml/data.js +0 -117
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/functionYaml/request.json +0 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/functionYaml/template.ejs +0 -21
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/handler/sqs/data.js +0 -60
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/handler/sqs/request.json +0 -0
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/handler/sqs/template.ejs +0 -128
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/mainFunction/data.js +0 -55
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/mainFunction/request.json +0 -1
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/mainFunction/template.ejs +0 -145
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-in-sqs/data.js +0 -63
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-in-sqs/request.json +0 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-in-sqs/template.ejs +0 -46
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-out/data.js +0 -62
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-out/request.json +0 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-out/template.ejs +0 -10
- package/src/reStructure/TemplateData/resourceYaml/CreateSourceData.js +0 -79
- package/src/reStructure/TemplateData/resourceYaml/dynamodb/defaultDynamoDbTable.js +0 -145
- package/src/reStructure/TemplateData/resourceYaml/dynamodb/generateDynamoPerLink.js +0 -111
- package/src/reStructure/TemplateData/resourceYaml/dynamodb/mainResourcePerObjectSchemaData.js +0 -165
- package/src/reStructure/TemplateData/resourceYaml/dynamodb/template.ejs +0 -29
- package/src/reStructure/TemplateData/resourceYaml/filterGenerateResource/data.js +0 -124
- package/src/reStructure/TemplateData/resourceYaml/generateTemplateData.js +0 -146
- package/src/reStructure/TemplateData/resourceYaml/sns-in-sqs/defaultSnsInSqsForFindDataAndProcessLogical.js +0 -91
- package/src/reStructure/TemplateData/resourceYaml/sns-in-sqs/request.json +0 -4
- package/src/reStructure/TemplateData/resourceYaml/sns-in-sqs/snsAndSqsPerActionData.js +0 -84
- package/src/reStructure/TemplateData/resourceYaml/sns-in-sqs/snsTemplate.ejs +0 -59
- package/src/reStructure/TemplateData/resourceYaml/sns-in-sqs/sqsTemplate.ejs +0 -43
- package/src/reStructure/TemplateData/resourceYaml/sns-out/data.js +0 -78
- package/src/reStructure/TemplateData/resourceYaml/sns-out/defaultSnsOutForFindDataAndProcessLogical.js +0 -64
- package/src/reStructure/TemplateData/resourceYaml/sns-out/request.json +0 -3
- package/src/reStructure/TemplateData/resourceYaml/sns-out/template.ejs +0 -10
- package/src/reStructure/libs/GenerateCodeLibs.js +0 -32
- package/src/reStructure/libs/ValidateAddOnDataStructure.js +0 -72
- package/src/reStructure/test.bash +0 -192
- /package/src/{reStructure/TemplateData/propertyValueSchema/objectPropertyValueSchema → TemplateData/PropertyValueSchema/PropertyValueObjectSchema}/templateObjectPropertyValueSchema.ejs +0 -0
- /package/src/{reStructure/TemplateData/propertyValueSchema/relationshipPropertyValueSchema → TemplateData/PropertyValueSchema/PropertyValueRelationshipSchema}/tempRelationship.ejs +0 -0
- /package/src/{reStructure/TemplateData/propertyValueSchema/relationshipPropertyValueSchema → TemplateData/PropertyValueSchema/PropertyValueRelationshipSchema}/templateRelationshipPropertyValueSchema.ejs +0 -0
|
@@ -1,62 +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 { utils, consts } from '../../../../../../MainLibs/index.js';
|
|
24
|
-
const { firstLetterLowerCase: lowerCase, firstLetterUpperCase: upperCase } =
|
|
25
|
-
utils;
|
|
26
|
-
const { SOURCE_PATH, SAVE_FILE_NAME, FUNCTION_NAME } = consts;
|
|
27
|
-
const templatePath = path.join(__dirname, 'template.ejs');
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* create data for dynamoDbYaml tempalte from objectSchema
|
|
31
|
-
* return array of dynamoDb data
|
|
32
|
-
* because one objectSchema can create multiple dynamoDb table
|
|
33
|
-
*
|
|
34
|
-
* @param {Object} _izContext
|
|
35
|
-
* @param {String} saveFilePath
|
|
36
|
-
* @returns {Object[]} - data of multiple dynamoDb template
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
function createDefaultSnsOut(_izContext, srcPath) {
|
|
40
|
-
const createSourceParams = createParamsForCreateSource(_izContext, srcPath);
|
|
41
|
-
// console.log("createSourceParamUpdateRelationshipComplete", createSourceParams)
|
|
42
|
-
return [createSourceParams];
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function createParamsForCreateSource(_izContext, srcPath) {
|
|
46
|
-
let queueName = FUNCTION_NAME.updateRelComplete;
|
|
47
|
-
return {
|
|
48
|
-
templatePath: templatePath,
|
|
49
|
-
templateData: {
|
|
50
|
-
queueName: upperCase(queueName)
|
|
51
|
-
},
|
|
52
|
-
setting: {
|
|
53
|
-
initialData: 'Resources:\n',
|
|
54
|
-
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
55
|
-
saveFileName: SAVE_FILE_NAME.snsOutYaml,
|
|
56
|
-
fileExtension: '.yml',
|
|
57
|
-
isAppend: true
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export default createDefaultSnsOut;
|
package/src/reStructure/TemplateData/relationshipPerAction/update/complete/sns-out/template.ejs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
##--------- [Create Topic Out]
|
|
2
|
-
Out<%- firstLetterUpperCase(queueName) %>:
|
|
3
|
-
Type: AWS::SNS::Topic
|
|
4
|
-
Properties:
|
|
5
|
-
DisplayName: "SNS Message out"
|
|
6
|
-
TopicName: ${self:custom.iz_serviceTag}_${self:custom.iz_stage}_<%- firstLetterUpperCase(queueName) %>_Out
|
|
7
|
-
|
|
8
|
-
<%_ function firstLetterUpperCase(text) {
|
|
9
|
-
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
10
|
-
} _%>
|
|
@@ -1,79 +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
|
-
const config = require('../libs/Consts');
|
|
24
|
-
|
|
25
|
-
const dynamoDbMainYaml = require('./TemplateAndData/DynamoDbMain/Data/MainDynamoDbYamlData');
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @param {Object} _izContext
|
|
29
|
-
* @param {Object} objectSchema
|
|
30
|
-
*/
|
|
31
|
-
module.exports.createSourceDataObjectSchema = (
|
|
32
|
-
_izContext,
|
|
33
|
-
objectSchema,
|
|
34
|
-
saveFilePath
|
|
35
|
-
) => {
|
|
36
|
-
let resultsForCreateSource = [];
|
|
37
|
-
|
|
38
|
-
const dynamoDbMainYamlDataList =
|
|
39
|
-
dynamoDbMainYaml.dynamoDbMainYamlFromObjectSchema.templateDataFunction(
|
|
40
|
-
_izContext,
|
|
41
|
-
objectSchema
|
|
42
|
-
);
|
|
43
|
-
// console.log("dynamoDbMainYamlDataList: ", dynamoDbMainYamlDataList);
|
|
44
|
-
|
|
45
|
-
for (let dynamoDbMainYamlData of dynamoDbMainYamlDataList) {
|
|
46
|
-
// create iam role of handler here
|
|
47
|
-
resultsForCreateSource.push({
|
|
48
|
-
templatePath:
|
|
49
|
-
dynamoDbMainYaml.dynamoDbMainYamlFromObjectSchema.templatePath,
|
|
50
|
-
templateData: dynamoDbMainYamlData,
|
|
51
|
-
setting: {
|
|
52
|
-
initialData: 'Resources:\n',
|
|
53
|
-
savePath: path.join(saveFilePath, config.SOURCE_PATH.resourceYaml),
|
|
54
|
-
saveFileName: 'generate-dynamodb-table',
|
|
55
|
-
fileExtension: '.yml',
|
|
56
|
-
isAppend: true
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// console.log("resultsForCreateSource: ", resultsForCreateSource);
|
|
62
|
-
|
|
63
|
-
return resultsForCreateSource;
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @param {Object} _izContext
|
|
69
|
-
* @param {Object} relSchema
|
|
70
|
-
* @param {String} saveFilePath
|
|
71
|
-
* @returns
|
|
72
|
-
*/
|
|
73
|
-
module.exports.createSourceDataRelSchema = (
|
|
74
|
-
_izContext,
|
|
75
|
-
relSchema,
|
|
76
|
-
saveFilePath
|
|
77
|
-
) => {
|
|
78
|
-
return [];
|
|
79
|
-
};
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
import path from 'path';
|
|
19
|
-
import { fileURLToPath } from 'url';
|
|
20
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
-
const __dirname = path.dirname(__filename);
|
|
22
|
-
|
|
23
|
-
import { consts } from '../../../../MainLibs/index.js';
|
|
24
|
-
const { SOURCE_PATH, SAVE_FILE_NAME } = consts;
|
|
25
|
-
const templatePath = path.join(__dirname, 'template.ejs');
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* create param of crateSouce for FindData And processLogical
|
|
29
|
-
*
|
|
30
|
-
* @param {Object} _izContext
|
|
31
|
-
* @param {String} srcPath
|
|
32
|
-
* @returns {Object[]}
|
|
33
|
-
*/
|
|
34
|
-
const createAwaitingMultipleStepDynamoDbData = (_izContext, srcPath) => {
|
|
35
|
-
let resultsForCreateSource = [];
|
|
36
|
-
const defaultDynamoDataLists = [];
|
|
37
|
-
|
|
38
|
-
defaultDynamoDataLists.push(
|
|
39
|
-
{
|
|
40
|
-
tableName: 'AwaitingMultipleSteps',
|
|
41
|
-
resourceName: 'AwaitingMultipleSteps',
|
|
42
|
-
attributes: [
|
|
43
|
-
{
|
|
44
|
-
keyType: 'partitionKey',
|
|
45
|
-
AttributeName: 'awaitingStepId',
|
|
46
|
-
AttributeType: 'S'
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
keyType: 'sortKey',
|
|
50
|
-
AttributeName: 'pendingStepId',
|
|
51
|
-
AttributeType: 'S'
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
tableName: 'AwaitingMultipleStepByPending',
|
|
57
|
-
resourceName: 'AwaitingMultipleStepByPending',
|
|
58
|
-
attributes: [
|
|
59
|
-
{
|
|
60
|
-
keyType: 'partitionKey',
|
|
61
|
-
AttributeName: 'pendingStepId',
|
|
62
|
-
AttributeType: 'S'
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
keyType: 'sortKey',
|
|
66
|
-
AttributeName: 'awaitingStepId',
|
|
67
|
-
AttributeType: 'S'
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
tableName: 'FindDataMain',
|
|
73
|
-
resourceName: 'FindDataMain',
|
|
74
|
-
attributes: [
|
|
75
|
-
{
|
|
76
|
-
keyType: 'partitionKey',
|
|
77
|
-
AttributeName: 'findDataId',
|
|
78
|
-
AttributeType: 'S'
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
tableName: 'LogicalResultsMain',
|
|
84
|
-
resourceName: 'LogicalResultsMain',
|
|
85
|
-
attributes: [
|
|
86
|
-
{
|
|
87
|
-
keyType: 'partitionKey',
|
|
88
|
-
AttributeName: 'logicalResultId',
|
|
89
|
-
AttributeType: 'S'
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
tableName: 'LogicalResultsData',
|
|
95
|
-
resourceName: 'LogicalResultsData',
|
|
96
|
-
attributes: [
|
|
97
|
-
{
|
|
98
|
-
keyType: 'partitionKey',
|
|
99
|
-
AttributeName: 'logicalResultId',
|
|
100
|
-
AttributeType: 'S'
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
keyType: 'sortKey',
|
|
104
|
-
AttributeName: 'identifiersId',
|
|
105
|
-
AttributeType: 'S'
|
|
106
|
-
}
|
|
107
|
-
]
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
tableName: 'AwaitingStep',
|
|
111
|
-
resourceName: 'AwaitingStep',
|
|
112
|
-
attributes: [
|
|
113
|
-
{
|
|
114
|
-
keyType: 'partitionKey',
|
|
115
|
-
AttributeName: 'awaitingStepId',
|
|
116
|
-
AttributeType: 'S'
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
keyType: 'sortKey',
|
|
120
|
-
AttributeName: 'pendingStepId',
|
|
121
|
-
AttributeType: 'S'
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
);
|
|
126
|
-
|
|
127
|
-
for (let defaultlDynamoData of defaultDynamoDataLists) {
|
|
128
|
-
resultsForCreateSource.push({
|
|
129
|
-
templatePath: templatePath,
|
|
130
|
-
templateData: defaultlDynamoData,
|
|
131
|
-
setting: {
|
|
132
|
-
initialData: 'Resources:\n',
|
|
133
|
-
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
134
|
-
saveFileName: SAVE_FILE_NAME.dynamoDbYaml,
|
|
135
|
-
fileExtension: '.yml',
|
|
136
|
-
isAppend: true
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
// console.log("resultsForCreateSource default dynamo", resultsForCreateSource)
|
|
141
|
-
|
|
142
|
-
return resultsForCreateSource;
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
export default createAwaitingMultipleStepDynamoDbData;
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
import path from 'path';
|
|
19
|
-
import { fileURLToPath } from 'url';
|
|
20
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
-
const __dirname = path.dirname(__filename);
|
|
22
|
-
|
|
23
|
-
import { consts } from '../../../../MainLibs/index.js';
|
|
24
|
-
const {
|
|
25
|
-
SOURCE_PATH,
|
|
26
|
-
SAVE_FILE_NAME,
|
|
27
|
-
checkDynamoTypeRelationship,
|
|
28
|
-
createDynamoDbComponentByLinks,
|
|
29
|
-
STORAGE_TYPES
|
|
30
|
-
} = consts;
|
|
31
|
-
const templatePath = path.join(__dirname, 'template.ejs');
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* create param of crateSouce for FindData And processLogical
|
|
35
|
-
*
|
|
36
|
-
* @param {Object} _izContext
|
|
37
|
-
* @param {String} srcPath
|
|
38
|
-
* @returns {Object[]}
|
|
39
|
-
*/
|
|
40
|
-
const createDynamoPerRelationshipLink = (
|
|
41
|
-
_izContext,
|
|
42
|
-
allObjectRelationships,
|
|
43
|
-
srcPath
|
|
44
|
-
) => {
|
|
45
|
-
let resultsForCreateSource = [];
|
|
46
|
-
const dynamoTablePerLinks = [];
|
|
47
|
-
|
|
48
|
-
for (const relationship of allObjectRelationships) {
|
|
49
|
-
let [storageType, relationshipTag, links] =
|
|
50
|
-
checkDynamoTypeRelationship(relationship);
|
|
51
|
-
if (storageType === STORAGE_TYPES.dynamoDB) {
|
|
52
|
-
for (const link of links) {
|
|
53
|
-
let dynamoComponent = createDynamoDbComponentByLinks(
|
|
54
|
-
link,
|
|
55
|
-
relationshipTag
|
|
56
|
-
);
|
|
57
|
-
dynamoTablePerLinks.push(
|
|
58
|
-
{
|
|
59
|
-
tableName: dynamoComponent.tableNameFrom,
|
|
60
|
-
resourceName: dynamoComponent.resourceNameFrom,
|
|
61
|
-
attributes: [
|
|
62
|
-
{
|
|
63
|
-
keyType: 'partitionKey',
|
|
64
|
-
AttributeName: dynamoComponent.identifiersConcatFrom,
|
|
65
|
-
AttributeType: 'S'
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
keyType: 'sortKey',
|
|
69
|
-
AttributeName: dynamoComponent.identifiersConcatTo,
|
|
70
|
-
AttributeType: 'S'
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
tableName: dynamoComponent.tableNameTo,
|
|
76
|
-
resourceName: dynamoComponent.resourceNameTo,
|
|
77
|
-
attributes: [
|
|
78
|
-
{
|
|
79
|
-
keyType: 'partitionKey',
|
|
80
|
-
AttributeName: dynamoComponent.identifiersConcatTo,
|
|
81
|
-
AttributeType: 'S'
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
keyType: 'sortKey',
|
|
85
|
-
AttributeName: dynamoComponent.identifiersConcatFrom,
|
|
86
|
-
AttributeType: 'S'
|
|
87
|
-
}
|
|
88
|
-
]
|
|
89
|
-
}
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
for (let dynamoTablePerLink of dynamoTablePerLinks) {
|
|
95
|
-
resultsForCreateSource.push({
|
|
96
|
-
templatePath: templatePath,
|
|
97
|
-
templateData: dynamoTablePerLink,
|
|
98
|
-
setting: {
|
|
99
|
-
initialData: 'Resources:\n',
|
|
100
|
-
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
101
|
-
saveFileName: SAVE_FILE_NAME.dynamoDbYaml,
|
|
102
|
-
fileExtension: '.yml',
|
|
103
|
-
isAppend: true
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
// console.log("resultsForCreateSource generate per link", resultsForCreateSource)
|
|
108
|
-
return resultsForCreateSource;
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
export default createDynamoPerRelationshipLink;
|
package/src/reStructure/TemplateData/resourceYaml/dynamodb/mainResourcePerObjectSchemaData.js
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2020 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
import path from 'path';
|
|
19
|
-
import { fileURLToPath } from 'url';
|
|
20
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
21
|
-
const __dirname = path.dirname(__filename);
|
|
22
|
-
|
|
23
|
-
import { consts, utils } from '../../../../MainLibs/index.js';
|
|
24
|
-
|
|
25
|
-
const { firstLetterUpperCase: upperCase } = utils;
|
|
26
|
-
const { SOURCE_PATH, SAVE_FILE_NAME, STORAGE_TYPES } = consts;
|
|
27
|
-
|
|
28
|
-
const templatePath = path.join(__dirname, 'template.ejs');
|
|
29
|
-
// ---------- End Per Lambda Handler IamRole Data ----------
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* create data for dynamoDbYaml tempalte from objectSchema
|
|
33
|
-
* return array of dynamoDb data
|
|
34
|
-
* because one objectSchema can create multiple dynamoDb table
|
|
35
|
-
*
|
|
36
|
-
* @param {Object} _izContext
|
|
37
|
-
* @param {Object} objectSchema
|
|
38
|
-
* @returns {Object[]} - data of multiple dynamoDb template
|
|
39
|
-
*/
|
|
40
|
-
|
|
41
|
-
function dataForMainDynamoDbYamlFromObjectSchema(
|
|
42
|
-
_izContext,
|
|
43
|
-
objectSchema,
|
|
44
|
-
srcPath
|
|
45
|
-
) {
|
|
46
|
-
let dynamoDbYamlTemplateData = [];
|
|
47
|
-
|
|
48
|
-
let identifierDetail = {};
|
|
49
|
-
for (let identifier of objectSchema.identifiers) {
|
|
50
|
-
//check identifiers from objectSchema
|
|
51
|
-
// console.log("identifier");
|
|
52
|
-
if (identifier.type === 'partitionKey' || identifier.type === 'sortKey') {
|
|
53
|
-
identifierDetail[identifier.type] = {};
|
|
54
|
-
|
|
55
|
-
if (identifier.name) {
|
|
56
|
-
Object.assign(identifierDetail[identifier.type], {
|
|
57
|
-
AttributeName: identifier.name,
|
|
58
|
-
AttributeType: 'S'
|
|
59
|
-
});
|
|
60
|
-
} else {
|
|
61
|
-
let fieldNameType = objectSchema.fieldNames[identifier.fieldName].type;
|
|
62
|
-
let attributeType;
|
|
63
|
-
if (fieldNameType === 'string') {
|
|
64
|
-
attributeType = 'S';
|
|
65
|
-
} else if (
|
|
66
|
-
fieldNameType === 'number' ||
|
|
67
|
-
fieldNameType === 'timestamp'
|
|
68
|
-
) {
|
|
69
|
-
attributeType = 'N';
|
|
70
|
-
}
|
|
71
|
-
Object.assign(identifierDetail[identifier.type], {
|
|
72
|
-
AttributeName: identifier.fieldName,
|
|
73
|
-
AttributeType: attributeType
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
} else if (identifier.type === 'identifier') {
|
|
77
|
-
identifierDetail[identifier.type] = {};
|
|
78
|
-
|
|
79
|
-
if (identifier.name) {
|
|
80
|
-
Object.assign(identifierDetail[identifier.type], {
|
|
81
|
-
AttributeName: identifier.name,
|
|
82
|
-
AttributeType: 'S'
|
|
83
|
-
});
|
|
84
|
-
} else {
|
|
85
|
-
let fieldNameType = objectSchema.fieldNames[identifier.fieldName].type;
|
|
86
|
-
let attributeType;
|
|
87
|
-
if (fieldNameType === 'string') {
|
|
88
|
-
attributeType = 'S';
|
|
89
|
-
} else if (fieldNameType === 'number') {
|
|
90
|
-
attributeType = 'N';
|
|
91
|
-
}
|
|
92
|
-
Object.assign(identifierDetail[identifier.type], {
|
|
93
|
-
AttributeName: identifier.fieldName,
|
|
94
|
-
AttributeType: attributeType
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// if (!identifierDetail.hasOwnProperty("partitionKey")) {
|
|
101
|
-
// return []
|
|
102
|
-
// }
|
|
103
|
-
|
|
104
|
-
for (let storageResource of Object.values(objectSchema.storageResources)) {
|
|
105
|
-
// if (storageResource.hasOwnProperty("serviceTag") && storageResource.serviceTag !== getLocalConfig(srcPath)) {
|
|
106
|
-
// continue; // if serviceTag of storageResource not own service will skip
|
|
107
|
-
// }
|
|
108
|
-
|
|
109
|
-
if (storageResource.storageType === STORAGE_TYPES.dynamoDB) {
|
|
110
|
-
let templateData = {
|
|
111
|
-
tableName: upperCase(storageResource.tableName),
|
|
112
|
-
resourceName: upperCase(storageResource.tableName),
|
|
113
|
-
attributes: []
|
|
114
|
-
};
|
|
115
|
-
if (storageResource.hasOwnProperty('groupByPartitionKeyField')) {
|
|
116
|
-
templateData.attributes.push({
|
|
117
|
-
keyType: 'partitionKey',
|
|
118
|
-
AttributeName: storageResource.groupByPartitionKeyField,
|
|
119
|
-
AttributeType: 'S'
|
|
120
|
-
});
|
|
121
|
-
} else {
|
|
122
|
-
for (let identifierType in identifierDetail) {
|
|
123
|
-
templateData.attributes.push({
|
|
124
|
-
keyType: identifierType,
|
|
125
|
-
AttributeName: identifierDetail[identifierType].AttributeName,
|
|
126
|
-
AttributeType: identifierDetail[identifierType].AttributeType
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
// templateData.resourceName = upperCase(objectSchema.objectType)
|
|
131
|
-
dynamoDbYamlTemplateData.push(templateData);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
// console.log("dynamoDbYamlTemplateData", dynamoDbYamlTemplateData)
|
|
135
|
-
return dynamoDbYamlTemplateData;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
const createSourceDataDynamoDB = (_izContext, objectSchema, srcPath) => {
|
|
139
|
-
let resultsForCreateSource = [];
|
|
140
|
-
|
|
141
|
-
const dynamoDbMainYamlDataList = dataForMainDynamoDbYamlFromObjectSchema(
|
|
142
|
-
_izContext,
|
|
143
|
-
objectSchema,
|
|
144
|
-
srcPath
|
|
145
|
-
);
|
|
146
|
-
// console.log("generateDynamoPerObjectSchema", objectSchema)
|
|
147
|
-
for (let dynamoDbMainYamlData of dynamoDbMainYamlDataList) {
|
|
148
|
-
resultsForCreateSource.push({
|
|
149
|
-
templatePath: templatePath,
|
|
150
|
-
templateData: dynamoDbMainYamlData,
|
|
151
|
-
setting: {
|
|
152
|
-
initialData: 'Resources:\n',
|
|
153
|
-
savePath: path.join(srcPath, SOURCE_PATH.resourceYaml),
|
|
154
|
-
saveFileName: SAVE_FILE_NAME.dynamoDbYaml,
|
|
155
|
-
fileExtension: '.yml',
|
|
156
|
-
isAppend: true
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
// console.log("resultsForCreateSource per objectSchema", resultsForCreateSource)
|
|
161
|
-
|
|
162
|
-
return resultsForCreateSource;
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
export default createSourceDataDynamoDB;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<%- resourceName %>Table:
|
|
2
|
-
Type: "AWS::DynamoDB::Table"
|
|
3
|
-
Properties:
|
|
4
|
-
TableName: ${self:custom.iz_resourcePrefix}<%- tableName %>
|
|
5
|
-
BillingMode: PAY_PER_REQUEST
|
|
6
|
-
AttributeDefinitions:
|
|
7
|
-
<%_ attributes.forEach(attribute => { -%>
|
|
8
|
-
- AttributeName: <%- attribute['AttributeName'] %>
|
|
9
|
-
AttributeType: <%- attribute['AttributeType'] %>
|
|
10
|
-
<%_ }) _%>
|
|
11
|
-
KeySchema:
|
|
12
|
-
<%_ attributes.forEach(attribute => { -%>
|
|
13
|
-
<%_ if (attribute.keyType === 'partitionKey' || attribute.keyType === "identifier") { -%>
|
|
14
|
-
- AttributeName: <%- attribute["AttributeName"] %>
|
|
15
|
-
KeyType: HASH
|
|
16
|
-
<%_ } -%>
|
|
17
|
-
<%_ if(attribute.keyType === "sortKey") { -%>
|
|
18
|
-
- AttributeName: <%- attribute["AttributeName"] %>
|
|
19
|
-
KeyType: RANGE
|
|
20
|
-
<%_ } -%>
|
|
21
|
-
<%_ }) _%>
|
|
22
|
-
#<#<%- firstLetterUpperCase(tableName) %>DynamoDbSetting#>
|
|
23
|
-
#<#/<%- firstLetterUpperCase(tableName) %>DynamoDbSetting#>
|
|
24
|
-
<%_ function firstLetterUpperCase(text){
|
|
25
|
-
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
26
|
-
} _%>
|
|
27
|
-
<%_ function firstLetterLowerCase(str) {
|
|
28
|
-
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
29
|
-
} _%>
|