@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
|
@@ -0,0 +1,160 @@
|
|
|
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
|
+
// console.log("=== property value schema ===");
|
|
19
|
+
|
|
20
|
+
import path from 'path';
|
|
21
|
+
import { fileURLToPath } from 'url';
|
|
22
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
23
|
+
const __dirname = path.dirname(__filename);
|
|
24
|
+
|
|
25
|
+
import lodash from 'lodash';
|
|
26
|
+
import { getObjectSchema } from '@izara_project/izara-core-library-service-schemas';
|
|
27
|
+
import { propertyNodeLib } from '@izara_project/izara-property-nodes';
|
|
28
|
+
import { consts, utils, libs } from '@izara_project/izara-core-generate-service-code'
|
|
29
|
+
|
|
30
|
+
const {
|
|
31
|
+
SOURCE_PATH,
|
|
32
|
+
FIELD_NAME_TYPE,
|
|
33
|
+
SAVE_FILE_NAME,
|
|
34
|
+
STORAGE_TYPES
|
|
35
|
+
} = consts;
|
|
36
|
+
|
|
37
|
+
const { fieldNameSetting } = libs;
|
|
38
|
+
|
|
39
|
+
const { firstLetterUpperCase: upperCase } = utils;
|
|
40
|
+
|
|
41
|
+
const templatePath = path.join(__dirname, './templateObjectPropertyValueSchema.ejs');
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
async function data(_izContext, settings, srcPath) {
|
|
45
|
+
console.log('generateObjectSchema propertyNode')
|
|
46
|
+
let propertyValueObjectSchemas = [];
|
|
47
|
+
let createSources = [];
|
|
48
|
+
|
|
49
|
+
for (const settingPropertyNode of settings) {
|
|
50
|
+
let objectSchema = await getObjectSchema
|
|
51
|
+
.getLocalObjectSchemasWithHierarchy(
|
|
52
|
+
_izContext,
|
|
53
|
+
[settingPropertyNode.objectType],
|
|
54
|
+
path.join(srcPath, './schemas')
|
|
55
|
+
)
|
|
56
|
+
.then(res => res.records[0]);
|
|
57
|
+
_izContext.logger.debug('objectSchema objectSchema::', objectSchema);
|
|
58
|
+
|
|
59
|
+
if (!objectSchema) {
|
|
60
|
+
throw Error(
|
|
61
|
+
`Invalid objType:${objTypeString(objType)}, cannot generate attribute tree schema cause objectSchema is not exists`
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// let objectType = settings.objType.objectType;
|
|
66
|
+
let propertyValueTag = settingPropertyNode.propertyNodeName;
|
|
67
|
+
// validate only addOnndataStructure is type propertyNode.
|
|
68
|
+
|
|
69
|
+
if (!objectSchema.hasOwnProperty('addOnDataStructure') ||
|
|
70
|
+
!Array.isArray(objectSchema.addOnDataStructure) ||
|
|
71
|
+
!objectSchema.addOnDataStructure.length
|
|
72
|
+
) {
|
|
73
|
+
// console.log(`Not have data in addOnDataStructure in objectType:${objectSchema.objectType}`);
|
|
74
|
+
throw Error(
|
|
75
|
+
`Not have data in addOnDataStructure in objectType:${objectSchema.objectType}`
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const storageResources = objectSchema.storageResources; // storageResource from main objectType
|
|
80
|
+
let cloneDeepStorageResources = lodash.cloneDeep(storageResources);
|
|
81
|
+
for (let [storageResourceTag, storageResourceSetting] of Object.entries(cloneDeepStorageResources)) {
|
|
82
|
+
if (storageResourceSetting.storageType === STORAGE_TYPES.dynamoDB) {
|
|
83
|
+
delete cloneDeepStorageResources[storageResourceTag];
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
const storageResourceTags = Object.keys(cloneDeepStorageResources); // storage ResourceTag from main objectType
|
|
87
|
+
const compositeKeyDeliminator = objectSchema.compositeKeyDeliminator;
|
|
88
|
+
|
|
89
|
+
propertyValueObjectSchemas.push(
|
|
90
|
+
{
|
|
91
|
+
// {subject}property
|
|
92
|
+
// objectType: propertyValueTag + PROPERTY_VALUE_TAG.property,
|
|
93
|
+
objectType: propertyNodeLib.createPropertyGraphNodeLabel(propertyValueTag),
|
|
94
|
+
fieldNames: {
|
|
95
|
+
// [propertyValueTag + PROPERTY_VALUE_TAG.property + 'Id']:
|
|
96
|
+
[propertyValueTag + upperCase(propertyNodeLib.consts.PROPERTY_GRAPH_IDENTIFIER_ID)]:
|
|
97
|
+
fieldNameSetting(FIELD_NAME_TYPE.randomOnCreateFieldName)
|
|
98
|
+
},
|
|
99
|
+
identifiers: [
|
|
100
|
+
{
|
|
101
|
+
type: 'identifier',
|
|
102
|
+
fieldName: propertyValueTag + upperCase(propertyNodeLib.consts.PROPERTY_GRAPH_IDENTIFIER_ID)
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
// {subject}propertyLabel
|
|
108
|
+
// objectType: propertyValueTag + PROPERTY_VALUE_TAG.propertyLabel,
|
|
109
|
+
objectType: propertyNodeLib.createPropertyLabelGraphNodeLabel(propertyValueTag),
|
|
110
|
+
fieldNames: {
|
|
111
|
+
// [propertyValueTag + PROPERTY_VALUE_TAG.propertyLabel + 'Id']:
|
|
112
|
+
[propertyValueTag + upperCase(propertyNodeLib.consts.PROPERTY_LABEL_GRAPH_IDENTIFIER_ID)]:
|
|
113
|
+
fieldNameSetting(FIELD_NAME_TYPE.randomOnCreateFieldName)
|
|
114
|
+
},
|
|
115
|
+
identifiers: [
|
|
116
|
+
{
|
|
117
|
+
type: 'identifier',
|
|
118
|
+
fieldName:
|
|
119
|
+
propertyValueTag + upperCase(propertyNodeLib.consts.PROPERTY_LABEL_GRAPH_IDENTIFIER_ID)
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
);
|
|
124
|
+
for (let propertyValueObjectSchema of propertyValueObjectSchemas) {
|
|
125
|
+
Object.assign(propertyValueObjectSchema, {
|
|
126
|
+
storageResources: cloneDeepStorageResources, // add storageResources
|
|
127
|
+
compositeKeyDeliminator: compositeKeyDeliminator
|
|
128
|
+
});
|
|
129
|
+
for (let attributeTreeFieldName of Object.values(
|
|
130
|
+
propertyValueObjectSchema.fieldNames
|
|
131
|
+
)) {
|
|
132
|
+
Object.assign(attributeTreeFieldName, {
|
|
133
|
+
storageResourceTags: storageResourceTags
|
|
134
|
+
}); // add storageResourceTags for each fieldName
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
for (const propertyValueObjectSchema of propertyValueObjectSchemas) {
|
|
138
|
+
createSources.push({
|
|
139
|
+
templatePath: templatePath,
|
|
140
|
+
templateData: {
|
|
141
|
+
fieldNames: JSON.stringify(propertyValueObjectSchema.fieldNames, null, 2),
|
|
142
|
+
identifiers: JSON.stringify(propertyValueObjectSchema.identifiers, null, 2),
|
|
143
|
+
objectType: propertyValueObjectSchema.objectType,
|
|
144
|
+
storageResources: JSON.stringify(propertyValueObjectSchema.storageResources, null, 2),
|
|
145
|
+
compositeKeyDeliminator: propertyValueObjectSchema.compositeKeyDeliminator
|
|
146
|
+
},
|
|
147
|
+
setting: {
|
|
148
|
+
savePath: path.join(srcPath, SOURCE_PATH.generatedPropertyValue, propertyValueObjectSchema.objectType + '/'),
|
|
149
|
+
hookPath: path.join(srcPath, 'schemaHook', 'propertyValue', propertyValueObjectSchema.objectType, '/'),
|
|
150
|
+
saveFileName: SAVE_FILE_NAME.objectSchema,
|
|
151
|
+
fileExtension: '.js',
|
|
152
|
+
isAppend: false
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
return createSources;
|
|
158
|
+
} //End loop addOn
|
|
159
|
+
|
|
160
|
+
export default data;
|
|
@@ -21,20 +21,19 @@ const __filename = fileURLToPath(import.meta.url);
|
|
|
21
21
|
const __dirname = path.dirname(__filename);
|
|
22
22
|
import lodash from 'lodash';
|
|
23
23
|
import { getObjectSchema } from '@izara_project/izara-core-library-service-schemas';
|
|
24
|
+
import { propertyNodeLib } from '@izara_project/izara-property-nodes'
|
|
25
|
+
import { consts, utils } from '@izara_project/izara-core-generate-service-code'
|
|
24
26
|
|
|
25
|
-
import { consts, utils } from '../../../../MainLibs/index.js';
|
|
26
27
|
const {
|
|
27
28
|
SOURCE_PATH,
|
|
28
|
-
PREFIX_RELATIONSHIP,
|
|
29
|
-
PROPERTY_VALUE_TAG,
|
|
30
29
|
SAVE_FILE_NAME,
|
|
31
30
|
STORAGE_TYPES,
|
|
32
31
|
ADD_ON_DATA_STRUCTURE_TYPE
|
|
33
32
|
} = consts;
|
|
34
33
|
|
|
35
34
|
const { firstLetterUpperCase: upperCase, getLocalConfig } = utils;
|
|
36
|
-
|
|
37
|
-
const { createBasicRelationshipsProperties } =
|
|
35
|
+
import libs from '../../../Libs/Libs.js';
|
|
36
|
+
const { createBasicRelationshipsProperties } = libs;
|
|
38
37
|
|
|
39
38
|
const templatePath = path.join(__dirname, './tempRelationship.ejs');
|
|
40
39
|
|
|
@@ -42,39 +41,39 @@ async function data(_izContext, settings, srcPath) {
|
|
|
42
41
|
// console.log("create Data function ::", { settings })
|
|
43
42
|
let createSourceRecords = [];
|
|
44
43
|
for (const settingPropertyValue of settings) {
|
|
45
|
-
let objectSchema = await getObjectSchema
|
|
46
|
-
.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
path.join(srcPath, './schemas')
|
|
50
|
-
)
|
|
51
|
-
.then(res => res.records[0]);
|
|
44
|
+
let objectSchema = await getObjectSchema.getLocalObjectSchemasWithHierarchy(_izContext,
|
|
45
|
+
settingPropertyValue.objectType,
|
|
46
|
+
path.join(srcPath, './schemas')
|
|
47
|
+
).then(res => res.records[0]);
|
|
52
48
|
|
|
53
49
|
if (!objectSchema) {
|
|
54
50
|
throw Error(
|
|
55
|
-
`Invalid objType:${
|
|
51
|
+
`Invalid objType:${(settingPropertyValue.objType)}, cannot generate attribute tree schema cause objectSchema is not exists`
|
|
56
52
|
);
|
|
57
53
|
}
|
|
58
|
-
|
|
54
|
+
// console.log("objectSchema", objectSchema)
|
|
59
55
|
// validate addOnData type PropertyValues
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
56
|
+
if (objectSchema.addOnDataStructure && Object.keys(objectSchema.addOnDataStructure).length) {
|
|
57
|
+
let addOn = objectSchema.addOnDataStructure.find(addOn => {
|
|
58
|
+
return (
|
|
59
|
+
addOn.type === ADD_ON_DATA_STRUCTURE_TYPE.propertyValue &&
|
|
60
|
+
objectSchema.objectType === settingPropertyValue.objectType
|
|
61
|
+
);
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
if (!addOn) {
|
|
65
|
+
throw Error(
|
|
66
|
+
`Invalid objType:${settingPropertyValue.objectType}, not have setting for generate propertyValues`
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
} else {
|
|
70
|
+
throw Error(`objectType: ${settingPropertyValue.objectType} not have addOnDataStructure`)
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
let generateRelationships = createSourceParams(
|
|
74
74
|
_izContext,
|
|
75
75
|
objectSchema,
|
|
76
|
-
settingPropertyValue
|
|
77
|
-
srcPath
|
|
76
|
+
settingPropertyValue
|
|
78
77
|
);
|
|
79
78
|
createSourceRecords.push(...generateRelationships);
|
|
80
79
|
}
|
|
@@ -95,28 +94,24 @@ async function data(_izContext, settings, srcPath) {
|
|
|
95
94
|
}
|
|
96
95
|
}
|
|
97
96
|
|
|
98
|
-
function createSourceParams(_izContext, objectSchema, settings
|
|
97
|
+
function createSourceParams(_izContext, objectSchema, settings) {
|
|
99
98
|
const attributeRelationships = [];
|
|
100
99
|
// const objectType = objectSchema.objectType; // main objectType
|
|
101
|
-
let propertyValue = settings.
|
|
100
|
+
let propertyValue = settings.propertyNodeName;
|
|
102
101
|
const storageResources = objectSchema.storageResources; // storageResource from main objectType
|
|
103
102
|
let cloneDeepStorageResources = lodash.cloneDeep(storageResources);
|
|
104
|
-
for (let [storageResourceTag, storageResourceSetting] of Object.entries(
|
|
105
|
-
cloneDeepStorageResources
|
|
106
|
-
)) {
|
|
103
|
+
for (let [storageResourceTag, storageResourceSetting] of Object.entries(cloneDeepStorageResources)) {
|
|
107
104
|
if (storageResourceSetting.storageType === STORAGE_TYPES.dynamoDB) {
|
|
108
105
|
delete cloneDeepStorageResources[storageResourceTag];
|
|
109
106
|
}
|
|
110
107
|
}
|
|
111
108
|
|
|
112
|
-
const serviceTag = getLocalConfig(
|
|
109
|
+
const serviceTag = getLocalConfig('iz_serviceTag');
|
|
113
110
|
attributeRelationships.push(
|
|
114
111
|
{
|
|
115
112
|
// has{objectType}propertyValue
|
|
116
|
-
relationshipTag:
|
|
117
|
-
|
|
118
|
-
upperCase(propertyValue) +
|
|
119
|
-
PROPERTY_VALUE_TAG.property,
|
|
113
|
+
// relationshipTag: PREFIX_RELATIONSHIP.has + upperCase(propertyValue) + PROPERTY_VALUE_TAG.property,
|
|
114
|
+
relationshipTag: propertyNodeLib.createHasPropertyGraphRelationshipType(upperCase(propertyValue)),
|
|
120
115
|
relationshipProperties: createBasicRelationshipsProperties(
|
|
121
116
|
{
|
|
122
117
|
serviceTag: serviceTag,
|
|
@@ -126,7 +121,8 @@ function createSourceParams(_izContext, objectSchema, settings, srcPath) {
|
|
|
126
121
|
},
|
|
127
122
|
{
|
|
128
123
|
serviceTag: serviceTag,
|
|
129
|
-
objectType: propertyValue + PROPERTY_VALUE_TAG.property,
|
|
124
|
+
// objectType: propertyValue + PROPERTY_VALUE_TAG.property,
|
|
125
|
+
objectType: propertyNodeLib.createPropertyGraphNodeLabel(upperCase(propertyValue)),
|
|
130
126
|
linkType: 'many',
|
|
131
127
|
requiredOnCreate: true
|
|
132
128
|
},
|
|
@@ -136,10 +132,8 @@ function createSourceParams(_izContext, objectSchema, settings, srcPath) {
|
|
|
136
132
|
},
|
|
137
133
|
// disabled{objectType}propertyValue
|
|
138
134
|
{
|
|
139
|
-
relationshipTag:
|
|
140
|
-
|
|
141
|
-
upperCase(propertyValue) +
|
|
142
|
-
PROPERTY_VALUE_TAG.property,
|
|
135
|
+
// relationshipTag: PREFIX_RELATIONSHIP.disabled + upperCase(propertyValue) + PROPERTY_VALUE_TAG.property,
|
|
136
|
+
relationshipTag: propertyNodeLib.createDisabledPropertyGraphRelationshipType(upperCase(propertyValue)),
|
|
143
137
|
relationshipProperties: createBasicRelationshipsProperties(
|
|
144
138
|
{
|
|
145
139
|
serviceTag: serviceTag,
|
|
@@ -149,7 +143,8 @@ function createSourceParams(_izContext, objectSchema, settings, srcPath) {
|
|
|
149
143
|
},
|
|
150
144
|
{
|
|
151
145
|
serviceTag: serviceTag,
|
|
152
|
-
objectType: propertyValue + PROPERTY_VALUE_TAG.property,
|
|
146
|
+
// objectType: propertyValue + PROPERTY_VALUE_TAG.property,
|
|
147
|
+
objectType: propertyNodeLib.createPropertyGraphNodeLabel(upperCase(propertyValue)),
|
|
153
148
|
linkType: 'many',
|
|
154
149
|
requiredOnCreate: false
|
|
155
150
|
},
|
|
@@ -160,20 +155,19 @@ function createSourceParams(_izContext, objectSchema, settings, srcPath) {
|
|
|
160
155
|
|
|
161
156
|
{
|
|
162
157
|
// is{objectType}PropertyLabel
|
|
163
|
-
relationshipTag:
|
|
164
|
-
PREFIX_RELATIONSHIP.is +
|
|
165
|
-
upperCase(propertyValue) +
|
|
166
|
-
PROPERTY_VALUE_TAG.propertyLabel,
|
|
158
|
+
relationshipTag: propertyNodeLib.createIsPropertyLabelGraphRelationshipType(upperCase(propertyValue)),
|
|
167
159
|
relationshipProperties: createBasicRelationshipsProperties(
|
|
168
160
|
{
|
|
169
161
|
serviceTag: serviceTag,
|
|
170
|
-
objectType: propertyValue + PROPERTY_VALUE_TAG.property,
|
|
162
|
+
// objectType: propertyValue + PROPERTY_VALUE_TAG.property,
|
|
163
|
+
objectType: propertyNodeLib.createPropertyGraphNodeLabel(upperCase(propertyValue)),
|
|
171
164
|
linkType: 'many',
|
|
172
165
|
requiredOnCreate: true
|
|
173
166
|
},
|
|
174
167
|
{
|
|
175
168
|
serviceTag: serviceTag,
|
|
176
|
-
objectType: propertyValue + PROPERTY_VALUE_TAG.propertyLabel,
|
|
169
|
+
// objectType: propertyValue + PROPERTY_VALUE_TAG.propertyLabel,
|
|
170
|
+
objectType: propertyNodeLib.createPropertyLabelGraphNodeLabel(upperCase(propertyValue)),
|
|
177
171
|
linkType: 'one',
|
|
178
172
|
requiredOnCreate: false
|
|
179
173
|
},
|
|
@@ -19,8 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
19
19
|
// console.log("generate main PropertyValue Schema");
|
|
20
20
|
import { join } from 'path';
|
|
21
21
|
|
|
22
|
-
import objectPropertyNodeSchema from './
|
|
23
|
-
import relationshipPropertyNodeSchema from './
|
|
22
|
+
import objectPropertyNodeSchema from './PropertyValueObjectSchema/data.js';
|
|
23
|
+
import relationshipPropertyNodeSchema from './PropertyValueRelationshipSchema/data.js';
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Generates code with templates for different actions
|
|
@@ -40,14 +40,13 @@ async function generateCodeWithTemplate(_izContext, objSchemaPath, settings) {
|
|
|
40
40
|
settings,
|
|
41
41
|
srcPath
|
|
42
42
|
);
|
|
43
|
-
allCreateSource.push(...objSchemaPropertyNode);
|
|
44
43
|
|
|
45
44
|
let relationshipSchemaPropertyNode = await relationshipPropertyNodeSchema(
|
|
46
45
|
_izContext,
|
|
47
46
|
settings,
|
|
48
47
|
srcPath
|
|
49
48
|
);
|
|
50
|
-
allCreateSource.push(relationshipSchemaPropertyNode);
|
|
49
|
+
allCreateSource.push(relationshipSchemaPropertyNode, ...objSchemaPropertyNode);
|
|
51
50
|
|
|
52
51
|
// } else {
|
|
53
52
|
// throw Error(`Generate propertyNode schema Invalid generateName:${settings.generateName} `);
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (C) 2021 Sven Mason <http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or (at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
import lambdaSharedLib from '@izara_project/izara-core-library-lambda';
|
|
19
|
-
import { lambda } from '@izara_project/izara-core-library-external-request';
|
|
20
|
-
import { consts } from '@izara_project/izara-core-library-core';
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Checks a user's permission by invoking another Lambda function.
|
|
24
|
-
* Adheres to Izara.io backend syntax guidelines.
|
|
25
|
-
*
|
|
26
|
-
* @param {object} _izContext - The context object containing logger, credentials, etc.
|
|
27
|
-
* @param {object} payload - The data payload for the permission check.
|
|
28
|
-
* @param {string} [payload.objectType] - The type of the object (e.g., 'INVOICE'). Must be used with `action`.
|
|
29
|
-
* @param {string} [payload.action] - The action to perform (e.g., 'READ', 'APPROVE'). Must be used with `objectType`.
|
|
30
|
-
* @param {string} [payload.flowTag] - The tag for a flow-based permission check. Used instead of `objectType`/`action`.
|
|
31
|
-
* @param {string} [payload.serviceName] - The name of the calling service (optional).
|
|
32
|
-
* @returns {Promise<{status: boolean, errorFound?: string}>}
|
|
33
|
-
* Resolves with the result of the permission check:
|
|
34
|
-
* - `status`: Whether the user has permission.
|
|
35
|
-
* - `errorFound`: Optional error message if the permission check failed.
|
|
36
|
-
*
|
|
37
|
-
* @throws {Error} If the payload is invalid or Lambda invocation fails.
|
|
38
|
-
*/
|
|
39
|
-
async function checkPermission(_izContext, payload) {
|
|
40
|
-
// Validate that the payload object itself is provided.
|
|
41
|
-
if (!payload || typeof payload !== 'object') {
|
|
42
|
-
const error = new Error('Payload object is required.');
|
|
43
|
-
_izContext.logger.error(error.message);
|
|
44
|
-
throw error;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
const userId = _izContext.correlationIds.get(consts.BASE_USER_ID);
|
|
48
|
-
const targetId = _izContext.correlationIds.get(consts.TARGET_ID);
|
|
49
|
-
|
|
50
|
-
// Validate the required 'userId' field.
|
|
51
|
-
if (!userId || typeof userId !== 'string' || userId.trim() === '') {
|
|
52
|
-
const error = new Error(
|
|
53
|
-
'userId is required and must be a non-empty string.'
|
|
54
|
-
);
|
|
55
|
-
_izContext.logger.error(error.message);
|
|
56
|
-
throw error;
|
|
57
|
-
} else {
|
|
58
|
-
payload.userId = userId;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
if (targetId) {
|
|
62
|
-
payload.targetId = targetId;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
// Define validation flags for business rules.
|
|
66
|
-
const hasObjectParams = payload.objectType || payload.action;
|
|
67
|
-
const hasFlowTag = payload.flowTag;
|
|
68
|
-
|
|
69
|
-
// Rule: Cannot mix object-based and flow-based parameters.
|
|
70
|
-
if (hasObjectParams && hasFlowTag) {
|
|
71
|
-
const error = new Error(
|
|
72
|
-
'Invalid payload: Cannot provide flowTag together with objectType or action.'
|
|
73
|
-
);
|
|
74
|
-
_izContext.logger.error(error.message, { payload });
|
|
75
|
-
throw error;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// Rule: If using object-based, both objectType and action are required.
|
|
79
|
-
if (hasObjectParams && (!payload.objectType || !payload.action)) {
|
|
80
|
-
const error = new Error(
|
|
81
|
-
'Invalid payload: Both objectType and action must be provided together.'
|
|
82
|
-
);
|
|
83
|
-
_izContext.logger.error(error.message, { payload });
|
|
84
|
-
throw error;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// Rule: Must provide at least one of the two valid schemas.
|
|
88
|
-
if (!hasObjectParams && !hasFlowTag) {
|
|
89
|
-
const error = new Error(
|
|
90
|
-
'Invalid payload: Must provide either (objectType and action) or flowTag.'
|
|
91
|
-
);
|
|
92
|
-
_izContext.logger.error(error.message, { payload });
|
|
93
|
-
throw error;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Log the payload for debugging before invoking the next service.
|
|
97
|
-
_izContext.logger.debug('Checking permission with payload:', payload);
|
|
98
|
-
|
|
99
|
-
try {
|
|
100
|
-
const lambdaName = lambdaSharedLib.lambdaFunctionName(
|
|
101
|
-
_izContext,
|
|
102
|
-
'CheckPermissionHdrInv',
|
|
103
|
-
'UserAccount'
|
|
104
|
-
);
|
|
105
|
-
|
|
106
|
-
const result = await lambda.invokeSync(_izContext, lambdaName, payload);
|
|
107
|
-
|
|
108
|
-
_izContext.logger.info('Permission check invoked successfully.');
|
|
109
|
-
|
|
110
|
-
// example result = { status: boolean , errorFound: string }
|
|
111
|
-
return result;
|
|
112
|
-
} catch (err) {
|
|
113
|
-
// Log the full error object for better traceability.
|
|
114
|
-
_izContext.logger.error(
|
|
115
|
-
'Error invoking CheckPermissionHdrInv Lambda: ',
|
|
116
|
-
err
|
|
117
|
-
);
|
|
118
|
-
throw err;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export default checkPermission;
|
|
@@ -1,22 +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
|
-
// contain functions that use with generated code in each services
|
|
19
|
-
import consts from './src/Consts.js';
|
|
20
|
-
import generateCodeLibs from './src/GenerateCodeLibs.js';
|
|
21
|
-
|
|
22
|
-
export { consts, generateCodeLibs };
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright(C) 2021 Sven Mason < http://izara.io>
|
|
3
|
-
|
|
4
|
-
This program is free software: you can redistribute it and / or modify
|
|
5
|
-
it under the terms of the GNU Affero General Public License as
|
|
6
|
-
published by the Free Software Foundation, either version 3 of the
|
|
7
|
-
License, or(at your option) any later version.
|
|
8
|
-
|
|
9
|
-
This program is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
|
|
12
|
-
GNU Affero General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU Affero General Public License
|
|
15
|
-
along with this program.If not, see < http://www.gnu.org/licenses/>.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
// constant for updateRelationship and createRelationship
|
|
19
|
-
|
|
20
|
-
const PREFIX = {
|
|
21
|
-
updateRel: 'updateRelationshipEndpoint',
|
|
22
|
-
createRel: 'createRelationshipEndpoint',
|
|
23
|
-
deleteRel: 'deleteRelationshipEndpoint',
|
|
24
|
-
updateNode: 'updateNodeEndpoint',
|
|
25
|
-
createNode: 'createNodeEndpoint',
|
|
26
|
-
getRel: 'getRelationshipEndpoint',
|
|
27
|
-
changeRel: 'changeRelationshipEndpoint',
|
|
28
|
-
ONE: 'one',
|
|
29
|
-
MANY: 'many',
|
|
30
|
-
CREATE_OBJECT_ASYNC: 'createObjectAsync',
|
|
31
|
-
CREATE_OBJECT_ASYNC_COMPLETE: 'createObjectAsyncComplete',
|
|
32
|
-
CREATE_OBJECT_EXTERNAL_TOPIC: 'createObjectExternalTopic'
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
// const TOPIC_NAME_GRAPH_HANDLER = {
|
|
36
|
-
// inUpdateRel: "InUpdateRelationship",
|
|
37
|
-
// inCreateRel: "InCreateRelationshipV2",
|
|
38
|
-
// outUpdateRel: "OutUpdateRelationship",
|
|
39
|
-
// outCreateRel: "OutCreateRelationship",
|
|
40
|
-
// inDeleteRel: "InDeleteRelationshipV2",
|
|
41
|
-
// outDeleteRel: "OutDeleteRelationshipV2",
|
|
42
|
-
// inUpdateNode: "InUpdateNode",
|
|
43
|
-
// outUpdateNode: "OutUpdateNode",
|
|
44
|
-
// inCreateNode: "InCreateNodeV2",
|
|
45
|
-
// outCreateNode: "OutCreateNodeV2",
|
|
46
|
-
// inDeleteNode: "InDeleteNodeV2",
|
|
47
|
-
// outDeleteNode: "OutDeleteNodeV2",
|
|
48
|
-
// }
|
|
49
|
-
|
|
50
|
-
const TOPIC_NAME_GRAPH_HANDLER = {
|
|
51
|
-
inUpdateRel: 'UpdateRelationship_In',
|
|
52
|
-
inCreateRel: 'CreateRelationship_In',
|
|
53
|
-
outUpdateRel: 'UpdateRelationship_Out',
|
|
54
|
-
outCreateRel: 'CreateRelationship_Out',
|
|
55
|
-
inDeleteRel: 'DeleteRelationship_In',
|
|
56
|
-
outDeleteRel: 'DeleteRelationship_Out',
|
|
57
|
-
inUpdateNode: 'UpdateNode_In',
|
|
58
|
-
outUpdateNode: 'UpdateNode_Out',
|
|
59
|
-
inCreateNode: 'CreateNode_In',
|
|
60
|
-
outCreateNode: 'CreateNode_Out',
|
|
61
|
-
inDeleteNode: 'DeleteNode_In',
|
|
62
|
-
outDeleteNode: 'DeleteNode_Out',
|
|
63
|
-
inChangeRelationship: 'ChangeRelationshipType_In',
|
|
64
|
-
outChangeRelationship: 'ChangeRelationshipType_Out',
|
|
65
|
-
inMoveRelationship: 'MoveRelationship_In',
|
|
66
|
-
outMoveRelationship: 'MoveRelationship_Out'
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
const TOPIC_NAME_GENERATE_CODE = {
|
|
70
|
-
updateRelComplete: 'UpdateRelationshipComplete',
|
|
71
|
-
createRelComplete: 'CreateRelationshipComplete',
|
|
72
|
-
deleteRelComplete: 'DeleteRelationshipComplete',
|
|
73
|
-
getRelComplete: 'GetRelationshipComplete',
|
|
74
|
-
outUpdateRelComplete: 'UpdateRelationshipComplete_Out',
|
|
75
|
-
outCreateRelComplete: 'CreateRelationshipComplete_Out',
|
|
76
|
-
outDeleteRelComplete: 'DeleteRelationshipComplete_Out',
|
|
77
|
-
outGetRelComplete: 'GetRelationshipComplete_Out',
|
|
78
|
-
updateNodeComplete: 'UpdateNodeComplete',
|
|
79
|
-
outUpdateNodeComplete: 'UpdateNodeComplete_Out',
|
|
80
|
-
createNodeComplete: 'CreateObjectComplete',
|
|
81
|
-
outCreateNodeComplete: 'CreateObjectComplete_Out',
|
|
82
|
-
deleteNodeComplete: 'DeleteNodeComplete',
|
|
83
|
-
outDeleteNodeComplete: 'DeleteNodeComplete_Out',
|
|
84
|
-
getNodeComplete: 'GetNodeComplete',
|
|
85
|
-
outGetNodeComplete: 'GetNodeComplete_Out',
|
|
86
|
-
reservedLimitComplete: 'ReservedLimitComplete',
|
|
87
|
-
createPresignUrl: 'CreatePresignUrl',
|
|
88
|
-
flowSchemaOwnTopicComplete: 'FlowSchemaOwnTopicComplete',
|
|
89
|
-
flowSchemaOwnTopicEndpointComplete: 'FlowSchemaOwnTopicEndpointComplete',
|
|
90
|
-
createRecordComplete: 'CreateRecordComplete',
|
|
91
|
-
changeRelationshipComplete: 'ChangeRelationshipComplete',
|
|
92
|
-
outChangeRelationshipComplete: 'ChangeRelationshipComplete_Out',
|
|
93
|
-
moveRelationshipComplete: 'MoveRelationshipComplete',
|
|
94
|
-
outMoveRelationshipComplete: 'MoveRelationshipComplete_Out'
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
const GRAPH_HANDLER_SERVICE_NAME = {
|
|
98
|
-
graphHandler: 'GraphHandler'
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
const ACCOUNTLIMIT_TAG = {
|
|
102
|
-
staticLimit: 'staticLimit',
|
|
103
|
-
reservedDynamic: 'reservedDynamic'
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
const LIMIT_TAG = {
|
|
107
|
-
uploadImage: 'uploadImageS3',
|
|
108
|
-
uploadData: 'uploadDataS3'
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
const RBAC_TYPE = {
|
|
112
|
-
appLevel: 'AppLevel',
|
|
113
|
-
userLevel: 'UserLevel'
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
const TOPIC_NAME_EXTERNAL_SERVICE = {
|
|
117
|
-
staticLimitProcessComplete: 'StaticLimitProcessComplete_Out',
|
|
118
|
-
reservedDynamicUsageComplete: 'ReservedDynamicUsageComplete_Out'
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
const EXTERNAL_SERVICE_NAME = {
|
|
122
|
-
accountLimits: 'AccountLimits'
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
export default {
|
|
126
|
-
TOPIC_NAME_GENERATE_CODE,
|
|
127
|
-
TOPIC_NAME_GRAPH_HANDLER,
|
|
128
|
-
PREFIX,
|
|
129
|
-
GRAPH_HANDLER_SERVICE_NAME,
|
|
130
|
-
ACCOUNTLIMIT_TAG,
|
|
131
|
-
LIMIT_TAG,
|
|
132
|
-
RBAC_TYPE,
|
|
133
|
-
TOPIC_NAME_EXTERNAL_SERVICE,
|
|
134
|
-
EXTERNAL_SERVICE_NAME
|
|
135
|
-
};
|