tucana 0.0.29 → 0.0.31
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.
- checksums.yaml +4 -4
- data/lib/tucana/generated/aquila/aquila.action_pb.rb +1 -1
- data/lib/tucana/generated/aquila/aquila.data_type_pb.rb +1 -1
- data/lib/tucana/generated/sagittarius/sagittarius.data_type_pb.rb +1 -1
- data/lib/tucana/generated/sagittarius/sagittarius.flow_pb.rb +1 -1
- data/lib/tucana/generated/sagittarius/sagittarius.text_execution_pb.rb +24 -0
- data/lib/tucana/generated/sagittarius/sagittarius.text_execution_services_pb.rb +24 -0
- data/lib/tucana/generated/shared/shared.data_type_pb.rb +13 -9
- data/lib/tucana/generated/shared/shared.event_pb.rb +1 -1
- data/lib/tucana/generated/shared/shared.flow_pb.rb +5 -2
- data/lib/tucana/generated/shared/shared.runtime_function_pb.rb +1 -1
- data/lib/tucana/shared/shared.data_type.rb +10 -10
- data/lib/tucana/version.rb +1 -1
- metadata +4 -3
- data/lib/tucana/generated/shared/shared.test_execution_pb.rb +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64a1e03aee279c48da6510de648af2e610d271858c508eb12f583b9952b4848b
|
4
|
+
data.tar.gz: 284b7149413a15e399793e54c837c377ceef412a794fc381032382f66cdb97d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9130ee5e26d055cac81a34ebab2b7982f8a84d1cc4b71efc60e7f729341d59ad749cdd3c6e511963884703c0ceacf755230e45f5ecc693369414726d5fe45389
|
7
|
+
data.tar.gz: c132a8f79989c3aafd40eb5176fd11d062257f83885beb1c81b74901c759b809c252f783e60a985ce859062c8591d64cdb9330e7453f5c692c95599678516cc2
|
@@ -11,7 +11,7 @@ require_relative '../shared/shared.translation_pb'
|
|
11
11
|
require_relative '../shared/shared.event_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n\x13\x61quila.action.proto\x12\x06\x61quila\x1a\x13shared.struct.proto\x1a\x1dshared.runtime_function.proto\x1a\x16shared.data_type.proto\x1a\x18shared.translation.proto\x1a\x12shared.event.proto\";\n\x05\x45vent\x12\x12\n\nevent_type\x18\x01 \x01(\t\x12\x1e\n\x07payload\x18\x02 \x01(\x0b\x32\r.shared.Value\"\xc8\x01\n\rConfiguration\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12?\n\x14\x66unction_definitions\x18\x02 \x03(\x0b\x32!.shared.RuntimeFunctionDefinition\x12&\n\x0b\x65vent_types\x18\x03 \x03(\x0b\x32\x11.shared.EventType\x12:\n\x15\x61\x63tion_configurations\x18\x04 \x03(\x0b\x32\x1b.aquila.ActionConfiguration\"\
|
14
|
+
descriptor_data = "\n\x13\x61quila.action.proto\x12\x06\x61quila\x1a\x13shared.struct.proto\x1a\x1dshared.runtime_function.proto\x1a\x16shared.data_type.proto\x1a\x18shared.translation.proto\x1a\x12shared.event.proto\";\n\x05\x45vent\x12\x12\n\nevent_type\x18\x01 \x01(\t\x12\x1e\n\x07payload\x18\x02 \x01(\x0b\x32\r.shared.Value\"\xc8\x01\n\rConfiguration\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12?\n\x14\x66unction_definitions\x18\x02 \x03(\x0b\x32!.shared.RuntimeFunctionDefinition\x12&\n\x0b\x65vent_types\x18\x03 \x03(\x0b\x32\x11.shared.EventType\x12:\n\x15\x61\x63tion_configurations\x18\x04 \x03(\x0b\x32\x1b.aquila.ActionConfiguration\"\xc9\x01\n\x13\x41\x63tionConfiguration\x12!\n\x04name\x18\x01 \x03(\x0b\x32\x13.shared.Translation\x12(\n\x0b\x64\x65scription\x18\x02 \x03(\x0b\x32\x13.shared.Translation\x12(\n\x04type\x18\x03 \x01(\x0b\x32\x1a.shared.DefinitionDataType\x12)\n\rdefault_value\x18\x04 \x01(\x0b\x32\r.shared.ValueH\x00\x88\x01\x01\x42\x10\n\x0e_default_value\"q\n\x10\x45xecutionRequest\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\x12\x1b\n\x13\x66unction_identifier\x18\x02 \x01(\t\x12\"\n\nparameters\x18\x03 \x01(\x0b\x32\x0e.shared.Struct\"N\n\x0f\x45xecutionResult\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\x12\x1d\n\x06result\x18\x02 \x01(\x0b\x32\r.shared.Value\"\x94\x01\n\x0fTransferRequest\x12.\n\rconfiguration\x18\x01 \x01(\x0b\x32\x15.aquila.ConfigurationH\x00\x12\x1e\n\x05\x65vent\x18\x02 \x01(\x0b\x32\r.aquila.EventH\x00\x12)\n\x06result\x18\x03 \x01(\x0b\x32\x17.aquila.ExecutionResultH\x00\x42\x06\n\x04\x64\x61ta\"?\n\x10TransferResponse\x12+\n\texecution\x18\x01 \x01(\x0b\x32\x18.aquila.ExecutionRequest2Z\n\x15\x41\x63tionTransferService\x12\x41\n\x08Transfer\x12\x17.aquila.TransferRequest\x1a\x18.aquila.TransferResponse(\x01\x30\x01\x42\x11\xea\x02\x0eTucana::Aquilab\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
pool.add_serialized_file(descriptor_data)
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require_relative '../shared/shared.data_type_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n\x16\x61quila.data_type.proto\x12\x06\x61quila\x1a\x16shared.data_type.proto\"
|
10
|
+
descriptor_data = "\n\x16\x61quila.data_type.proto\x12\x06\x61quila\x1a\x16shared.data_type.proto\"G\n\x15\x44\x61taTypeUpdateRequest\x12.\n\ndata_types\x18\x01 \x03(\x0b\x32\x1a.shared.DefinitionDataType\")\n\x16\x44\x61taTypeUpdateResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x32\\\n\x0f\x44\x61taTypeService\x12I\n\x06Update\x12\x1d.aquila.DataTypeUpdateRequest\x1a\x1e.aquila.DataTypeUpdateResponse\"\x00\x42\x11\xea\x02\x0eTucana::Aquilab\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require_relative '../shared/shared.data_type_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n\x1bsagittarius.data_type.proto\x12\x0bsagittarius\x1a\x16shared.data_type.proto\"
|
10
|
+
descriptor_data = "\n\x1bsagittarius.data_type.proto\x12\x0bsagittarius\x1a\x16shared.data_type.proto\"G\n\x15\x44\x61taTypeUpdateRequest\x12.\n\ndata_types\x18\x01 \x03(\x0b\x32\x1a.shared.DefinitionDataType\")\n\x16\x44\x61taTypeUpdateResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x32\x66\n\x0f\x44\x61taTypeService\x12S\n\x06Update\x12\".sagittarius.DataTypeUpdateRequest\x1a#.sagittarius.DataTypeUpdateResponse\"\x00\x42\x16\xea\x02\x13Tucana::Sagittariusb\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require_relative '../shared/shared.flow_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n\x16sagittarius.flow.proto\x12\x0bsagittarius\x1a\x11shared.flow.proto\"\x12\n\x10\x46lowLogonRequest\"
|
10
|
+
descriptor_data = "\n\x16sagittarius.flow.proto\x12\x0bsagittarius\x1a\x11shared.flow.proto\"\x12\n\x10\x46lowLogonRequest\"\x81\x01\n\x0c\x46lowResponse\x12.\n\x0cupdated_flow\x18\x01 \x01(\x0b\x32\x16.shared.ValidationFlowH\x00\x12\x19\n\x0f\x64\x65leted_flow_id\x18\x02 \x01(\x03H\x00\x12\x1e\n\x05\x66lows\x18\x03 \x01(\x0b\x32\r.shared.FlowsH\x00\x42\x06\n\x04\x64\x61ta2U\n\x0b\x46lowService\x12\x46\n\x06Update\x12\x1d.sagittarius.FlowLogonRequest\x1a\x19.sagittarius.FlowResponse\"\x00\x30\x01\x42\x16\xea\x02\x13Tucana::Sagittariusb\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: sagittarius.text_execution.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require_relative '../shared/shared.struct_pb'
|
8
|
+
|
9
|
+
|
10
|
+
descriptor_data = "\n sagittarius.text_execution.proto\x12\x0bsagittarius\x1a\x13shared.struct.proto\"\x07\n\x05Logon\"\\\n\x14TestExecutionRequest\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x65xecution_uuid\x18\x02 \x01(\t\x12\x1b\n\x04\x62ody\x18\x03 \x01(\x0b\x32\r.shared.Value\"\x7f\n\x15TestExecutionResponse\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x16\n\x0e\x65xecution_uuid\x18\x02 \x01(\t\x12\x1d\n\x06result\x18\x03 \x01(\x0b\x32\r.shared.Value\x12\x1e\n\x04logs\x18\x04 \x03(\x0b\x32\x10.sagittarius.Log\"8\n\x03Log\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\r\n\x05level\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\t\"|\n\x15\x45xecutionLogonRequest\x12#\n\x05logon\x18\x01 \x01(\x0b\x32\x12.sagittarius.LogonH\x00\x12\x36\n\x08response\x18\x02 \x01(\x0b\x32\".sagittarius.TestExecutionResponseH\x00\x42\x06\n\x04\x64\x61ta\"L\n\x16\x45xecutionLogonResponse\x12\x32\n\x07request\x18\x01 \x01(\x0b\x32!.sagittarius.TestExecutionRequest2i\n\x10\x45xecutionService\x12U\n\x04Test\x12\".sagittarius.ExecutionLogonRequest\x1a#.sagittarius.ExecutionLogonResponse\"\x00(\x01\x30\x01\x42\x16\xea\x02\x13Tucana::Sagittariusb\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
|
15
|
+
module Tucana
|
16
|
+
module Sagittarius
|
17
|
+
Logon = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.Logon").msgclass
|
18
|
+
TestExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.TestExecutionRequest").msgclass
|
19
|
+
TestExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.TestExecutionResponse").msgclass
|
20
|
+
Log = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.Log").msgclass
|
21
|
+
ExecutionLogonRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.ExecutionLogonRequest").msgclass
|
22
|
+
ExecutionLogonResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.ExecutionLogonResponse").msgclass
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: sagittarius.text_execution.proto for package 'Tucana.Sagittarius'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require_relative 'sagittarius.text_execution_pb'
|
6
|
+
|
7
|
+
module Tucana
|
8
|
+
module Sagittarius
|
9
|
+
module ExecutionService
|
10
|
+
class Service
|
11
|
+
|
12
|
+
include ::GRPC::GenericService
|
13
|
+
|
14
|
+
self.marshal_class_method = :encode
|
15
|
+
self.unmarshal_class_method = :decode
|
16
|
+
self.service_name = 'sagittarius.ExecutionService'
|
17
|
+
|
18
|
+
rpc :Test, stream(::Tucana::Sagittarius::ExecutionLogonRequest), stream(::Tucana::Sagittarius::ExecutionLogonResponse)
|
19
|
+
end
|
20
|
+
|
21
|
+
Stub = Service.rpc_stub_class
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -8,24 +8,28 @@ require_relative '../shared/shared.struct_pb'
|
|
8
8
|
require_relative '../shared/shared.translation_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n\x16shared.data_type.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x18shared.translation.proto\"\
|
11
|
+
descriptor_data = "\n\x16shared.data_type.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x18shared.translation.proto\"\xf6\x02\n\x12\x44\x65\x66initionDataType\x12\x33\n\x07variant\x18\x01 \x01(\x0e\x32\".shared.DefinitionDataType.Variant\x12\x12\n\nidentifier\x18\x02 \x01(\t\x12!\n\x04name\x18\x03 \x03(\x0b\x32\x13.shared.Translation\x12-\n\x05rules\x18\x04 \x03(\x0b\x32\x1e.shared.DefinitionDataTypeRule\x12\x34\n\x0bparent_type\x18\x05 \x01(\x0b\x32\x1a.shared.DataTypeIdentifierH\x00\x88\x01\x01\x12\x14\n\x0cgeneric_keys\x18\x06 \x03(\t\"i\n\x07Variant\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tPRIMITIVE\x10\x01\x12\x08\n\x04TYPE\x10\x02\x12\n\n\x06OBJECT\x10\x03\x12\x0c\n\x08\x44\x41TATYPE\x10\x04\x12\t\n\x05\x41RRAY\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\x08\n\x04NODE\x10\x07\x42\x0e\n\x0c_parent_type\"\x7f\n\x11\x45xecutionDataType\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12,\n\x05rules\x18\x02 \x03(\x0b\x32\x1d.shared.ExecutionDataTypeRule\x12\x18\n\x0bparent_type\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_parent_type\"\xff\x03\n\x16\x44\x65\x66initionDataTypeRule\x12G\n\x0c\x63ontains_key\x18\x01 \x01(\x0b\x32/.shared.DefinitionDataTypeContainsKeyRuleConfigH\x00\x12I\n\rcontains_type\x18\x02 \x01(\x0b\x32\x30.shared.DefinitionDataTypeContainsTypeRuleConfigH\x00\x12H\n\x12item_of_collection\x18\x03 \x01(\x0b\x32*.shared.DataTypeItemOfCollectionRuleConfigH\x00\x12=\n\x0cnumber_range\x18\x04 \x01(\x0b\x32%.shared.DataTypeNumberRangeRuleConfigH\x00\x12\x30\n\x05regex\x18\x05 \x01(\x0b\x32\x1f.shared.DataTypeRegexRuleConfigH\x00\x12\x45\n\x0binput_types\x18\x06 \x01(\x0b\x32..shared.DefinitionDataTypeInputTypesRuleConfigH\x00\x12\x45\n\x0breturn_type\x18\x07 \x01(\x0b\x32..shared.DefinitionDataTypeReturnTypeRuleConfigH\x00\x42\x08\n\x06\x63onfig\"\xee\x02\n\x15\x45xecutionDataTypeRule\x12\x46\n\x0c\x63ontains_key\x18\x01 \x01(\x0b\x32..shared.ExecutionDataTypeContainsKeyRuleConfigH\x00\x12H\n\rcontains_type\x18\x02 \x01(\x0b\x32/.shared.ExecutionDataTypeContainsTypeRuleConfigH\x00\x12H\n\x12item_of_collection\x18\x03 \x01(\x0b\x32*.shared.DataTypeItemOfCollectionRuleConfigH\x00\x12=\n\x0cnumber_range\x18\x04 \x01(\x0b\x32%.shared.DataTypeNumberRangeRuleConfigH\x00\x12\x30\n\x05regex\x18\x05 \x01(\x0b\x32\x1f.shared.DataTypeRegexRuleConfigH\x00\x42\x08\n\x06\x63onfig\"p\n\'DefinitionDataTypeContainsKeyRuleConfig\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x14\x64\x61ta_type_identifier\x18\x02 \x01(\x0b\x32\x1a.shared.DataTypeIdentifier\"S\n&ExecutionDataTypeContainsKeyRuleConfig\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x14\x64\x61ta_type_identifier\x18\x02 \x01(\t\"d\n(DefinitionDataTypeContainsTypeRuleConfig\x12\x38\n\x14\x64\x61ta_type_identifier\x18\x01 \x01(\x0b\x32\x1a.shared.DataTypeIdentifier\"G\n\'ExecutionDataTypeContainsTypeRuleConfig\x12\x1c\n\x14\x64\x61ta_type_identifier\x18\x01 \x01(\t\"B\n\"DataTypeItemOfCollectionRuleConfig\x12\x1c\n\x05items\x18\x01 \x03(\x0b\x32\r.shared.Value\"W\n\x1d\x44\x61taTypeNumberRangeRuleConfig\x12\x0c\n\x04\x66rom\x18\x01 \x01(\x03\x12\n\n\x02to\x18\x02 \x01(\x03\x12\x12\n\x05steps\x18\x03 \x01(\x03H\x00\x88\x01\x01\x42\x08\n\x06_steps\"*\n\x17\x44\x61taTypeRegexRuleConfig\x12\x0f\n\x07pattern\x18\x01 \x01(\t\"\xe8\x01\n&DefinitionDataTypeInputTypesRuleConfig\x12U\n\x0binput_types\x18\x01 \x03(\x0b\x32@.shared.DefinitionDataTypeInputTypesRuleConfig.DataTypeInputType\x1ag\n\x11\x44\x61taTypeInputType\x12\x38\n\x14\x64\x61ta_type_identifier\x18\x01 \x01(\x0b\x32\x1a.shared.DataTypeIdentifier\x12\x18\n\x10input_identifier\x18\x02 \x01(\t\"b\n&DefinitionDataTypeReturnTypeRuleConfig\x12\x38\n\x14\x64\x61ta_type_identifier\x18\x01 \x01(\x0b\x32\x1a.shared.DataTypeIdentifier\"\x80\x01\n\x12\x44\x61taTypeIdentifier\x12\x1e\n\x14\x64\x61ta_type_identifier\x18\x01 \x01(\tH\x00\x12+\n\x0cgeneric_type\x18\x02 \x01(\x0b\x32\x13.shared.GenericTypeH\x00\x12\x15\n\x0bgeneric_key\x18\x03 \x01(\tH\x00\x42\x06\n\x04type\"[\n\x0bGenericType\x12\x1c\n\x14\x64\x61ta_type_identifier\x18\x01 \x01(\t\x12.\n\x0fgeneric_mappers\x18\x02 \x03(\x0b\x32\x15.shared.GenericMapper\"\xd7\x01\n\rGenericMapper\x12*\n\x06source\x18\x01 \x03(\x0b\x32\x1a.shared.DataTypeIdentifier\x12\x0e\n\x06target\x18\x02 \x01(\t\x12N\n\x14generic_combinations\x18\x03 \x03(\x0e\x32\x30.shared.GenericMapper.GenericCombinationStrategy\":\n\x1aGenericCombinationStrategy\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x07\n\x03\x41ND\x10\x01\x12\x06\n\x02OR\x10\x02\x42\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
15
15
|
|
16
16
|
module Tucana
|
17
17
|
module Shared
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
DefinitionDataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataType").msgclass
|
19
|
+
DefinitionDataType::Variant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataType.Variant").enummodule
|
20
|
+
ExecutionDataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ExecutionDataType").msgclass
|
21
|
+
DefinitionDataTypeRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeRule").msgclass
|
22
|
+
ExecutionDataTypeRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ExecutionDataTypeRule").msgclass
|
23
|
+
DefinitionDataTypeContainsKeyRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeContainsKeyRuleConfig").msgclass
|
24
|
+
ExecutionDataTypeContainsKeyRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ExecutionDataTypeContainsKeyRuleConfig").msgclass
|
25
|
+
DefinitionDataTypeContainsTypeRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeContainsTypeRuleConfig").msgclass
|
26
|
+
ExecutionDataTypeContainsTypeRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ExecutionDataTypeContainsTypeRuleConfig").msgclass
|
23
27
|
DataTypeItemOfCollectionRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeItemOfCollectionRuleConfig").msgclass
|
24
28
|
DataTypeNumberRangeRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeNumberRangeRuleConfig").msgclass
|
25
29
|
DataTypeRegexRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeRegexRuleConfig").msgclass
|
26
|
-
|
27
|
-
|
28
|
-
|
30
|
+
DefinitionDataTypeInputTypesRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeInputTypesRuleConfig").msgclass
|
31
|
+
DefinitionDataTypeInputTypesRuleConfig::DataTypeInputType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeInputTypesRuleConfig.DataTypeInputType").msgclass
|
32
|
+
DefinitionDataTypeReturnTypeRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeReturnTypeRuleConfig").msgclass
|
29
33
|
DataTypeIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeIdentifier").msgclass
|
30
34
|
GenericType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.GenericType").msgclass
|
31
35
|
GenericMapper = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.GenericMapper").msgclass
|
@@ -9,7 +9,7 @@ require_relative '../shared/shared.translation_pb'
|
|
9
9
|
require_relative '../shared/shared.data_type_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n\x12shared.event.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x18shared.translation.proto\x1a\x16shared.data_type.proto\"\
|
12
|
+
descriptor_data = "\n\x12shared.event.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x18shared.translation.proto\x1a\x16shared.data_type.proto\"\xdd\x01\n\x17\x45ventDefinitionSettings\x12!\n\x04name\x18\x01 \x03(\x0b\x32\x13.shared.Translation\x12\x0e\n\x06unique\x18\x02 \x01(\x08\x12(\n\x0b\x64\x65scription\x18\x03 \x03(\x0b\x32\x13.shared.Translation\x12(\n\x04type\x18\x04 \x01(\x0b\x32\x1a.shared.DefinitionDataType\x12)\n\rdefault_value\x18\x05 \x01(\x0b\x32\r.shared.ValueH\x00\x88\x01\x01\x42\x10\n\x0e_default_value\"\x86\x01\n\x0f\x45ventDefinition\x12\x31\n\x08settings\x18\x01 \x03(\x0b\x32\x1f.shared.EventDefinitionSettings\x12.\n\ninput_type\x18\x02 \x01(\x0b\x32\x1a.shared.DefinitionDataType\x12\x10\n\x08\x65\x64itable\x18\x03 \x01(\x08\"[\n\tEventType\x12!\n\x04name\x18\x01 \x03(\x0b\x32\x13.shared.Translation\x12+\n\ndefinition\x18\x02 \x01(\x0b\x32\x17.shared.EventDefinitionB\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
@@ -8,16 +8,19 @@ require_relative '../shared/shared.struct_pb'
|
|
8
8
|
require_relative '../shared/shared.data_type_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n\x11shared.flow.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x16shared.data_type.proto\"\
|
11
|
+
descriptor_data = "\n\x11shared.flow.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x16shared.data_type.proto\"\xc4\x02\n\x0eValidationFlow\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x12\n\nproject_id\x18\x02 \x01(\x03\x12\x0c\n\x04type\x18\x03 \x01(\t\x12-\n\ndata_types\x18\x04 \x03(\x0b\x32\x19.shared.ExecutionDataType\x12\"\n\x15input_type_identifier\x18\x05 \x01(\tH\x00\x88\x01\x01\x12#\n\x16return_type_identifier\x18\x06 \x01(\tH\x01\x88\x01\x01\x12%\n\x08settings\x18\x07 \x03(\x0b\x32\x13.shared.FlowSetting\x12+\n\rstarting_node\x18\x08 \x01(\x0b\x32\x14.shared.NodeFunctionB\x18\n\x16_input_type_identifierB\x19\n\x17_return_type_identifier\"\x86\x01\n\rExecutionFlow\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12+\n\rstarting_node\x18\x02 \x01(\x0b\x32\x14.shared.NodeFunction\x12\'\n\x0binput_value\x18\x03 \x01(\x0b\x32\r.shared.ValueH\x00\x88\x01\x01\x42\x0e\n\x0c_input_value\"[\n\x0b\x46lowSetting\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\x03\x12\x17\n\x0f\x66low_setting_id\x18\x02 \x01(\t\x12\x1e\n\x06object\x18\x03 \x01(\x0b\x32\x0e.shared.Struct\"\xa7\x01\n\x0cNodeFunction\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\x03\x12\x1b\n\x13runtime_function_id\x18\x02 \x01(\t\x12)\n\nparameters\x18\x03 \x03(\x0b\x32\x15.shared.NodeParameter\x12,\n\tnext_node\x18\x04 \x01(\x0b\x32\x14.shared.NodeFunctionH\x00\x88\x01\x01\x42\x0c\n\n_next_node\"8\n\rNodeFunctions\x12\'\n\tfunctions\x18\x01 \x03(\x0b\x32\x14.shared.NodeFunction\"\xa0\x01\n\tNodeValue\x12&\n\rliteral_value\x18\x01 \x01(\x0b\x32\r.shared.ValueH\x00\x12\x31\n\x0freference_value\x18\x02 \x01(\x0b\x32\x16.shared.ReferenceValueH\x00\x12/\n\x0enode_functions\x18\x03 \x01(\x0b\x32\x15.shared.NodeFunctionsH\x00\x42\x07\n\x05value\"d\n\rNodeParameter\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\x03\x12\x1c\n\x14runtime_parameter_id\x18\x02 \x01(\t\x12 \n\x05value\x18\x03 \x01(\x0b\x32\x11.shared.NodeValue\"\x96\x01\n\x0eReferenceValue\x12\x15\n\rprimary_level\x18\x01 \x01(\x05\x12\x17\n\x0fsecondary_level\x18\x02 \x01(\x05\x12\x1b\n\x0etertiary_level\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12$\n\x05paths\x18\x04 \x03(\x0b\x32\x15.shared.ReferencePathB\x11\n\x0f_tertiary_level\"U\n\rReferencePath\x12\x11\n\x04path\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x61rray_index\x18\x02 \x01(\x03H\x01\x88\x01\x01\x42\x07\n\x05_pathB\x0e\n\x0c_array_index\".\n\x05\x46lows\x12%\n\x05\x66lows\x18\x01 \x03(\x0b\x32\x16.shared.ValidationFlowB\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
15
15
|
|
16
16
|
module Tucana
|
17
17
|
module Shared
|
18
|
-
|
18
|
+
ValidationFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ValidationFlow").msgclass
|
19
|
+
ExecutionFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ExecutionFlow").msgclass
|
19
20
|
FlowSetting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.FlowSetting").msgclass
|
20
21
|
NodeFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.NodeFunction").msgclass
|
22
|
+
NodeFunctions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.NodeFunctions").msgclass
|
23
|
+
NodeValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.NodeValue").msgclass
|
21
24
|
NodeParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.NodeParameter").msgclass
|
22
25
|
ReferenceValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ReferenceValue").msgclass
|
23
26
|
ReferencePath = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ReferencePath").msgclass
|
@@ -9,7 +9,7 @@ require_relative '../shared/shared.data_type_pb'
|
|
9
9
|
require_relative '../shared/shared.struct_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n\x1dshared.runtime_function.proto\x12\x06shared\x1a\x18shared.translation.proto\x1a\x16shared.data_type.proto\x1a\x13shared.struct.proto\"\
|
12
|
+
descriptor_data = "\n\x1dshared.runtime_function.proto\x12\x06shared\x1a\x18shared.translation.proto\x1a\x16shared.data_type.proto\x1a\x13shared.struct.proto\"\xcf\x01\n\x15\x46unctionGenericMapper\x12*\n\x06source\x18\x01 \x03(\x0b\x32\x1a.shared.DataTypeIdentifier\x12\x0e\n\x06target\x18\x02 \x01(\t\x12N\n\x14generic_combinations\x18\x03 \x03(\x0e\x32\x30.shared.GenericMapper.GenericCombinationStrategy\x12\x19\n\x0cparameter_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0f\n\r_parameter_id\"\xe7\x03\n\x19RuntimeFunctionDefinition\x12\x14\n\x0cruntime_name\x18\x01 \x01(\t\x12I\n\x1druntime_parameter_definitions\x18\x02 \x03(\x0b\x32\".shared.RuntimeParameterDefinition\x12?\n\x16return_type_identifier\x18\x03 \x01(\x0b\x32\x1a.shared.DataTypeIdentifierH\x00\x88\x01\x01\x12\x14\n\x0cthrows_error\x18\x04 \x01(\x08\x12\x14\n\x0cgeneric_keys\x18\x05 \x03(\t\x12\x36\n\x0fgeneric_mappers\x18\x06 \x03(\x0b\x32\x1d.shared.FunctionGenericMapper\x12!\n\x04name\x18\x07 \x03(\x0b\x32\x13.shared.Translation\x12(\n\x0b\x64\x65scription\x18\x08 \x03(\x0b\x32\x13.shared.Translation\x12*\n\rdocumentation\x18\t \x03(\x0b\x32\x13.shared.Translation\x12\x30\n\x13\x64\x65precation_message\x18\n \x03(\x0b\x32\x13.shared.TranslationB\x19\n\x17_return_type_identifier\"\xa2\x02\n\x1aRuntimeParameterDefinition\x12\x38\n\x14\x64\x61ta_type_identifier\x18\x01 \x01(\x0b\x32\x1a.shared.DataTypeIdentifier\x12\x14\n\x0cruntime_name\x18\x02 \x01(\t\x12)\n\rdefault_value\x18\x03 \x01(\x0b\x32\r.shared.ValueH\x00\x88\x01\x01\x12!\n\x04name\x18\x04 \x03(\x0b\x32\x13.shared.Translation\x12(\n\x0b\x64\x65scription\x18\x05 \x03(\x0b\x32\x13.shared.Translation\x12*\n\rdocumentation\x18\x06 \x03(\x0b\x32\x13.shared.TranslationB\x10\n\x0e_default_valueB\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
@@ -5,7 +5,7 @@ module Tucana
|
|
5
5
|
UnexpectedRuleType = Class.new(Tucana::Error)
|
6
6
|
UnexpectedType = Class.new(Tucana::Error)
|
7
7
|
|
8
|
-
|
8
|
+
DefinitionDataTypeRule.class_eval do
|
9
9
|
def variant
|
10
10
|
self.config
|
11
11
|
end
|
@@ -34,9 +34,9 @@ module Tucana
|
|
34
34
|
def create(variant, config)
|
35
35
|
case variant
|
36
36
|
when :contains_key
|
37
|
-
self.contains_key =
|
37
|
+
self.contains_key = DefinitionDataTypeContainsKeyRuleConfig.new(config)
|
38
38
|
when :contains_type
|
39
|
-
self.contains_type =
|
39
|
+
self.contains_type = DefinitionDataTypeContainsTypeRuleConfig.new(config)
|
40
40
|
when :item_of_collection
|
41
41
|
self.item_of_collection = DataTypeItemOfCollectionRuleConfig.from_hash(config)
|
42
42
|
when :number_range
|
@@ -44,9 +44,9 @@ module Tucana
|
|
44
44
|
when :regex
|
45
45
|
self.regex = DataTypeRegexRuleConfig.new(config)
|
46
46
|
when :input_types
|
47
|
-
self.input_types =
|
47
|
+
self.input_types = DefinitionDataTypeInputTypesRuleConfig.new(config)
|
48
48
|
when :return_type
|
49
|
-
self.return_type =
|
49
|
+
self.return_type = DefinitionDataTypeReturnTypeRuleConfig.new(config)
|
50
50
|
else
|
51
51
|
raise UnexpectedRuleType, "Unknown rule type #{variant}"
|
52
52
|
end
|
@@ -59,7 +59,7 @@ module Tucana
|
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
62
|
-
|
62
|
+
DefinitionDataTypeContainsKeyRuleConfig.class_eval do
|
63
63
|
def to_h
|
64
64
|
{
|
65
65
|
key: self.key,
|
@@ -75,7 +75,7 @@ module Tucana
|
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
-
|
78
|
+
DefinitionDataTypeContainsTypeRuleConfig.class_eval do
|
79
79
|
def to_h
|
80
80
|
{
|
81
81
|
data_type_identifier: self.data_type_identifier.to_h,
|
@@ -117,7 +117,7 @@ module Tucana
|
|
117
117
|
end
|
118
118
|
end
|
119
119
|
|
120
|
-
|
120
|
+
DefinitionDataTypeInputTypesRuleConfig.class_eval do
|
121
121
|
def to_h
|
122
122
|
{
|
123
123
|
input_types: self.input_types.map { |input_type| input_type.to_h }
|
@@ -131,7 +131,7 @@ module Tucana
|
|
131
131
|
end
|
132
132
|
end
|
133
133
|
|
134
|
-
|
134
|
+
DefinitionDataTypeInputTypesRuleConfig::DataTypeInputType.class_eval do
|
135
135
|
def to_h
|
136
136
|
{
|
137
137
|
data_type_identifier: self.data_type_identifier,
|
@@ -147,7 +147,7 @@ module Tucana
|
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
|
-
|
150
|
+
DefinitionDataTypeReturnTypeRuleConfig.class_eval do
|
151
151
|
def to_h
|
152
152
|
{
|
153
153
|
data_type_identifier: self.data_type_identifier,
|
data/lib/tucana/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tucana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Niklas van Schrick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -96,13 +96,14 @@ files:
|
|
96
96
|
- lib/tucana/generated/sagittarius/sagittarius.ping_services_pb.rb
|
97
97
|
- lib/tucana/generated/sagittarius/sagittarius.runtime_function_pb.rb
|
98
98
|
- lib/tucana/generated/sagittarius/sagittarius.runtime_function_services_pb.rb
|
99
|
+
- lib/tucana/generated/sagittarius/sagittarius.text_execution_pb.rb
|
100
|
+
- lib/tucana/generated/sagittarius/sagittarius.text_execution_services_pb.rb
|
99
101
|
- lib/tucana/generated/shared/shared.data_type_pb.rb
|
100
102
|
- lib/tucana/generated/shared/shared.event_pb.rb
|
101
103
|
- lib/tucana/generated/shared/shared.flow_definition_pb.rb
|
102
104
|
- lib/tucana/generated/shared/shared.flow_pb.rb
|
103
105
|
- lib/tucana/generated/shared/shared.runtime_function_pb.rb
|
104
106
|
- lib/tucana/generated/shared/shared.struct_pb.rb
|
105
|
-
- lib/tucana/generated/shared/shared.test_execution_pb.rb
|
106
107
|
- lib/tucana/generated/shared/shared.translation_pb.rb
|
107
108
|
- lib/tucana/shared/shared.data_type.rb
|
108
109
|
- lib/tucana/shared/shared.struct.rb
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# source: shared.test_execution.proto
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require_relative '../shared/shared.struct_pb'
|
8
|
-
|
9
|
-
|
10
|
-
descriptor_data = "\n\x1bshared.test_execution.proto\x12\x06shared\x1a\x13shared.struct.proto\"Z\n\x14TestExecutionRequest\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x65xecution_id\x18\x02 \x01(\x03\x12\x1b\n\x04\x62ody\x18\x03 \x01(\x0b\x32\r.shared.Value\"x\n\x15TestExecutionResponse\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x65xecution_id\x18\x02 \x01(\x03\x12\x1d\n\x06result\x18\x03 \x01(\x0b\x32\r.shared.Value\x12\x19\n\x04logs\x18\x04 \x03(\x0b\x32\x0b.shared.Log\"8\n\x03Log\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\r\n\x05level\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\tB\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
|
11
|
-
|
12
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
-
pool.add_serialized_file(descriptor_data)
|
14
|
-
|
15
|
-
module Tucana
|
16
|
-
module Shared
|
17
|
-
TestExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.TestExecutionRequest").msgclass
|
18
|
-
TestExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.TestExecutionResponse").msgclass
|
19
|
-
Log = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.Log").msgclass
|
20
|
-
end
|
21
|
-
end
|