tucana 0.0.52 → 0.0.53

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3afa39f14d1350a689dec4599bb1b8ab7c6e4a71071707e7f70722ebe9ace4d6
4
- data.tar.gz: 7af0ceece7545dd76040e64214e29f0155c3d0f9c28ed8521cfd9297a4961296
3
+ metadata.gz: 4c1d8aa3cb219a20d20ab34d775289b4bd02c11e93abd025054f95f392b84451
4
+ data.tar.gz: 2b0c44c901674549055597e01211159c95c0b560a730498859e1dfe96335c89d
5
5
  SHA512:
6
- metadata.gz: 7d383967c48a91f1b0a6dd5d5c0e3b0ffa07278755bc2d42ae8046c0e6ce77a0c7ee8f9805adffed1ed5e1b46084156acde6fd7f4fd617fc926c3e431c3b17e3
7
- data.tar.gz: 6303e050a16b3873a785e5b0c0d99c1a59d9581eb4eee3e5b14f863512a074cab977dfda5eb4f967184197e5c5d318e464ebe6b0eb49a497125edea03bc66aa1
6
+ metadata.gz: 46f9432657480949bc2519ecc75312350cc29a41d5d963961df51987a45eb472871596f5cf244177a357e7b3d3003a7db0dc27534945abf30b7246e045adea68
7
+ data.tar.gz: 94af184fc1833c9852cb88daaa5cd632ca9205fdb7bdfd8f0ce94b18c85ba0021fe30bca64bd98d08b0391b3149775a9a1a181063207f9b18d8839394dd8d9e6
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: aquila.action_configuration.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require_relative '../shared/shared.action_configuration_pb'
8
+
9
+
10
+ descriptor_data = "\n!aquila.action_configuration.proto\x12\x06\x61quila\x1a!shared.action_configuration.proto\"y\n ActionConfigurationUpdateRequest\x12\x19\n\x11\x61\x63tion_identifier\x18\x01 \x01(\t\x12:\n\x15\x61\x63tion_configurations\x18\x02 \x03(\x0b\x32\x1b.shared.ActionConfiguration\"4\n!ActionConfigurationUpdateResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x32}\n\x1a\x41\x63tionConfigurationService\x12_\n\x06Update\x12(.aquila.ActionConfigurationUpdateRequest\x1a).aquila.ActionConfigurationUpdateResponse\"\x00\x42\x11\xea\x02\x0eTucana::Aquilab\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module Tucana
16
+ module Aquila
17
+ ActionConfigurationUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionConfigurationUpdateRequest").msgclass
18
+ ActionConfigurationUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionConfigurationUpdateResponse").msgclass
19
+ end
20
+ end
@@ -0,0 +1,24 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: aquila.action_configuration.proto for package 'Tucana.Aquila'
3
+
4
+ require 'grpc'
5
+ require_relative 'aquila.action_configuration_pb'
6
+
7
+ module Tucana
8
+ module Aquila
9
+ module ActionConfigurationService
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 = 'aquila.ActionConfigurationService'
17
+
18
+ rpc :Update, ::Tucana::Aquila::ActionConfigurationUpdateRequest, ::Tucana::Aquila::ActionConfigurationUpdateResponse
19
+ end
20
+
21
+ Stub = Service.rpc_stub_class
22
+ end
23
+ end
24
+ end
@@ -5,13 +5,9 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require_relative '../shared/shared.struct_pb'
8
- require_relative '../shared/shared.runtime_function_pb'
9
- require_relative '../shared/shared.data_type_pb'
10
- require_relative '../shared/shared.flow_definition_pb'
11
- require_relative '../shared/shared.translation_pb'
12
8
 
13
9
 
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\x1cshared.flow_definition.proto\x1a\x18shared.translation.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\"\x87\x02\n\rConfiguration\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12?\n\x14\x66unction_definitions\x18\x03 \x03(\x0b\x32!.shared.RuntimeFunctionDefinition\x12.\n\ndata_types\x18\x04 \x03(\x0b\x32\x1a.shared.DefinitionDataType\x12$\n\nflow_types\x18\x05 \x03(\x0b\x32\x10.shared.FlowType\x12:\n\x15\x61\x63tion_configurations\x18\x06 \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"
10
+ descriptor_data = "\n\x13\x61quila.action.proto\x12\x06\x61quila\x1a\x13shared.struct.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\"9\n\x0b\x41\x63tionLogon\x12\x19\n\x11\x61\x63tion_identifier\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\"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\"\x8a\x01\n\x0fTransferRequest\x12$\n\x05logon\x18\x01 \x01(\x0b\x32\x13.aquila.ActionLogonH\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
11
 
16
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
13
  pool.add_serialized_file(descriptor_data)
@@ -19,8 +15,7 @@ pool.add_serialized_file(descriptor_data)
19
15
  module Tucana
20
16
  module Aquila
21
17
  Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.Event").msgclass
22
- Configuration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.Configuration").msgclass
23
- ActionConfiguration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionConfiguration").msgclass
18
+ ActionLogon = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionLogon").msgclass
24
19
  ExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ExecutionRequest").msgclass
25
20
  ExecutionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ExecutionResult").msgclass
26
21
  TransferRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.TransferRequest").msgclass
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: sagittarius.action_configuration.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require_relative '../shared/shared.action_configuration_pb'
8
+
9
+
10
+ descriptor_data = "\n&sagittarius.action_configuration.proto\x12\x0bsagittarius\x1a!shared.action_configuration.proto\"y\n ActionConfigurationUpdateRequest\x12\x19\n\x11\x61\x63tion_identifier\x18\x01 \x01(\t\x12:\n\x15\x61\x63tion_configurations\x18\x02 \x03(\x0b\x32\x1b.shared.ActionConfiguration\"4\n!ActionConfigurationUpdateResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x32\x87\x01\n\x1a\x41\x63tionConfigurationService\x12i\n\x06Update\x12-.sagittarius.ActionConfigurationUpdateRequest\x1a..sagittarius.ActionConfigurationUpdateResponse\"\x00\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
+ ActionConfigurationUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.ActionConfigurationUpdateRequest").msgclass
18
+ ActionConfigurationUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.ActionConfigurationUpdateResponse").msgclass
19
+ end
20
+ end
@@ -0,0 +1,24 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: sagittarius.action_configuration.proto for package 'Tucana.Sagittarius'
3
+
4
+ require 'grpc'
5
+ require_relative 'sagittarius.action_configuration_pb'
6
+
7
+ module Tucana
8
+ module Sagittarius
9
+ module ActionConfigurationService
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.ActionConfigurationService'
17
+
18
+ rpc :Update, ::Tucana::Sagittarius::ActionConfigurationUpdateRequest, ::Tucana::Sagittarius::ActionConfigurationUpdateResponse
19
+ end
20
+
21
+ Stub = Service.rpc_stub_class
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: shared.action_configuration.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require_relative '../shared/shared.data_type_pb'
8
+ require_relative '../shared/shared.struct_pb'
9
+ require_relative '../shared/shared.translation_pb'
10
+
11
+
12
+ descriptor_data = "\n!shared.action_configuration.proto\x12\x06shared\x1a\x16shared.data_type.proto\x1a\x13shared.struct.proto\x1a\x18shared.translation.proto\"\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_valueB\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
16
+
17
+ module Tucana
18
+ module Shared
19
+ ActionConfiguration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ActionConfiguration").msgclass
20
+ end
21
+ end
@@ -8,7 +8,7 @@ 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\"\xc9\x03\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\x0f\x64isplay_message\x18\x04 \x03(\x0b\x32\x13.shared.Translation\x12\"\n\x05\x61lias\x18\x05 \x03(\x0b\x32\x13.shared.Translation\x12-\n\x05rules\x18\x06 \x03(\x0b\x32\x1e.shared.DefinitionDataTypeRule\x12\x14\n\x0cgeneric_keys\x18\x07 \x03(\t\x12\x0f\n\x07version\x18\x08 \x01(\t\x12\x1e\n\x11\x61\x63tion_identifier\x18\t \x01(\tH\x00\x88\x01\x01\"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\x14\n\x12_action_identifier\"U\n\x11\x45xecutionDataType\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12,\n\x05rules\x18\x02 \x03(\x0b\x32\x1d.shared.ExecutionDataTypeRule\"\xc6\x04\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\x12\x45\n\x0bparent_type\x18\x08 \x01(\x0b\x32..shared.DefinitionDataTypeParentTypeRuleConfigH\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\"Y\n&DefinitionDataTypeParentTypeRuleConfig\x12/\n\x0bparent_type\x18\x01 \x01(\x0b\x32\x1a.shared.DataTypeIdentifier\"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"
11
+ descriptor_data = "\n\x16shared.data_type.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x18shared.translation.proto\"\xc9\x03\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\x0f\x64isplay_message\x18\x04 \x03(\x0b\x32\x13.shared.Translation\x12\"\n\x05\x61lias\x18\x05 \x03(\x0b\x32\x13.shared.Translation\x12-\n\x05rules\x18\x06 \x03(\x0b\x32\x1e.shared.DefinitionDataTypeRule\x12\x14\n\x0cgeneric_keys\x18\x07 \x03(\t\x12\x0f\n\x07version\x18\x08 \x01(\t\x12\x1e\n\x11\x64\x65\x66inition_source\x18\t \x01(\tH\x00\x88\x01\x01\"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\x14\n\x12_definition_source\"U\n\x11\x45xecutionDataType\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12,\n\x05rules\x18\x02 \x03(\x0b\x32\x1d.shared.ExecutionDataTypeRule\"\x94\x04\n\x16\x44\x65\x66initionDataTypeRule\x12=\n\x0c\x63ontains_key\x18\x01 \x01(\x0b\x32%.shared.DataTypeContainsKeyRuleConfigH\x00\x12?\n\rcontains_type\x18\x02 \x01(\x0b\x32&.shared.DataTypeContainsTypeRuleConfigH\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;\n\x0binput_types\x18\x06 \x01(\x0b\x32$.shared.DataTypeInputTypesRuleConfigH\x00\x12;\n\x0breturn_type\x18\x07 \x01(\x0b\x32$.shared.DataTypeReturnTypeRuleConfigH\x00\x12;\n\x0bparent_type\x18\x08 \x01(\x0b\x32$.shared.DataTypeParentTypeRuleConfigH\x00\x42\x08\n\x06\x63onfig\"\xdc\x02\n\x15\x45xecutionDataTypeRule\x12=\n\x0c\x63ontains_key\x18\x01 \x01(\x0b\x32%.shared.DataTypeContainsKeyRuleConfigH\x00\x12?\n\rcontains_type\x18\x02 \x01(\x0b\x32&.shared.DataTypeContainsTypeRuleConfigH\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\"O\n\x1c\x44\x61taTypeParentTypeRuleConfig\x12/\n\x0bparent_type\x18\x01 \x01(\x0b\x32\x1a.shared.DataTypeIdentifier\"f\n\x1d\x44\x61taTypeContainsKeyRuleConfig\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x14\x64\x61ta_type_identifier\x18\x02 \x01(\x0b\x32\x1a.shared.DataTypeIdentifier\"Z\n\x1e\x44\x61taTypeContainsTypeRuleConfig\x12\x38\n\x14\x64\x61ta_type_identifier\x18\x01 \x01(\x0b\x32\x1a.shared.DataTypeIdentifier\"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\"\xd4\x01\n\x1c\x44\x61taTypeInputTypesRuleConfig\x12K\n\x0binput_types\x18\x01 \x03(\x0b\x32\x36.shared.DataTypeInputTypesRuleConfig.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\"X\n\x1c\x44\x61taTypeReturnTypeRuleConfig\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)
@@ -20,17 +20,15 @@ module Tucana
20
20
  ExecutionDataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ExecutionDataType").msgclass
21
21
  DefinitionDataTypeRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeRule").msgclass
22
22
  ExecutionDataTypeRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ExecutionDataTypeRule").msgclass
23
- DefinitionDataTypeParentTypeRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeParentTypeRuleConfig").msgclass
24
- DefinitionDataTypeContainsKeyRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeContainsKeyRuleConfig").msgclass
25
- ExecutionDataTypeContainsKeyRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ExecutionDataTypeContainsKeyRuleConfig").msgclass
26
- DefinitionDataTypeContainsTypeRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeContainsTypeRuleConfig").msgclass
27
- ExecutionDataTypeContainsTypeRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ExecutionDataTypeContainsTypeRuleConfig").msgclass
23
+ DataTypeParentTypeRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeParentTypeRuleConfig").msgclass
24
+ DataTypeContainsKeyRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeContainsKeyRuleConfig").msgclass
25
+ DataTypeContainsTypeRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeContainsTypeRuleConfig").msgclass
28
26
  DataTypeItemOfCollectionRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeItemOfCollectionRuleConfig").msgclass
29
27
  DataTypeNumberRangeRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeNumberRangeRuleConfig").msgclass
30
28
  DataTypeRegexRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeRegexRuleConfig").msgclass
31
- DefinitionDataTypeInputTypesRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeInputTypesRuleConfig").msgclass
32
- DefinitionDataTypeInputTypesRuleConfig::DataTypeInputType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeInputTypesRuleConfig.DataTypeInputType").msgclass
33
- DefinitionDataTypeReturnTypeRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DefinitionDataTypeReturnTypeRuleConfig").msgclass
29
+ DataTypeInputTypesRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeInputTypesRuleConfig").msgclass
30
+ DataTypeInputTypesRuleConfig::DataTypeInputType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeInputTypesRuleConfig.DataTypeInputType").msgclass
31
+ DataTypeReturnTypeRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeReturnTypeRuleConfig").msgclass
34
32
  DataTypeIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeIdentifier").msgclass
35
33
  GenericType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.GenericType").msgclass
36
34
  GenericMapper = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.GenericMapper").msgclass
@@ -8,7 +8,7 @@ require_relative '../shared/shared.translation_pb'
8
8
  require_relative '../shared/shared.struct_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n\x1cshared.flow_definition.proto\x12\x06shared\x1a\x18shared.translation.proto\x1a\x13shared.struct.proto\"\x81\x04\n\x08\x46lowType\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12)\n\x08settings\x18\x02 \x03(\x0b\x32\x17.shared.FlowTypeSetting\x12\"\n\x15input_type_identifier\x18\x03 \x01(\tH\x00\x88\x01\x01\x12#\n\x16return_type_identifier\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x10\n\x08\x65\x64itable\x18\x05 \x01(\x08\x12!\n\x04name\x18\x06 \x03(\x0b\x32\x13.shared.Translation\x12(\n\x0b\x64\x65scription\x18\x07 \x03(\x0b\x32\x13.shared.Translation\x12*\n\rdocumentation\x18\x08 \x03(\x0b\x32\x13.shared.Translation\x12,\n\x0f\x64isplay_message\x18\t \x03(\x0b\x32\x13.shared.Translation\x12\"\n\x05\x61lias\x18\n \x03(\x0b\x32\x13.shared.Translation\x12\x0f\n\x07version\x18\x0b \x01(\t\x12\x14\n\x0c\x64isplay_icon\x18\x0c \x01(\t\x12\x1e\n\x11\x61\x63tion_identifier\x18\r \x01(\tH\x02\x88\x01\x01\x42\x18\n\x16_input_type_identifierB\x19\n\x17_return_type_identifierB\x14\n\x12_action_identifier\"\xbd\x02\n\x0f\x46lowTypeSetting\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12\x37\n\x06unique\x18\x02 \x01(\x0e\x32\'.shared.FlowTypeSetting.UniquenessScope\x12\x1c\n\x14\x64\x61ta_type_identifier\x18\x03 \x01(\t\x12)\n\rdefault_value\x18\x04 \x01(\x0b\x32\r.shared.ValueH\x00\x88\x01\x01\x12!\n\x04name\x18\x05 \x03(\x0b\x32\x13.shared.Translation\x12(\n\x0b\x64\x65scription\x18\x06 \x03(\x0b\x32\x13.shared.Translation\"5\n\x0fUniquenessScope\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x0b\n\x07PROJECT\x10\x02\x42\x10\n\x0e_default_valueB\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
11
+ descriptor_data = "\n\x1cshared.flow_definition.proto\x12\x06shared\x1a\x18shared.translation.proto\x1a\x13shared.struct.proto\"\x81\x04\n\x08\x46lowType\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12)\n\x08settings\x18\x02 \x03(\x0b\x32\x17.shared.FlowTypeSetting\x12\"\n\x15input_type_identifier\x18\x03 \x01(\tH\x00\x88\x01\x01\x12#\n\x16return_type_identifier\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x10\n\x08\x65\x64itable\x18\x05 \x01(\x08\x12!\n\x04name\x18\x06 \x03(\x0b\x32\x13.shared.Translation\x12(\n\x0b\x64\x65scription\x18\x07 \x03(\x0b\x32\x13.shared.Translation\x12*\n\rdocumentation\x18\x08 \x03(\x0b\x32\x13.shared.Translation\x12,\n\x0f\x64isplay_message\x18\t \x03(\x0b\x32\x13.shared.Translation\x12\"\n\x05\x61lias\x18\n \x03(\x0b\x32\x13.shared.Translation\x12\x0f\n\x07version\x18\x0b \x01(\t\x12\x14\n\x0c\x64isplay_icon\x18\x0c \x01(\t\x12\x1e\n\x11\x64\x65\x66inition_source\x18\r \x01(\tH\x02\x88\x01\x01\x42\x18\n\x16_input_type_identifierB\x19\n\x17_return_type_identifierB\x14\n\x12_definition_source\"\xbd\x02\n\x0f\x46lowTypeSetting\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12\x37\n\x06unique\x18\x02 \x01(\x0e\x32\'.shared.FlowTypeSetting.UniquenessScope\x12\x1c\n\x14\x64\x61ta_type_identifier\x18\x03 \x01(\t\x12)\n\rdefault_value\x18\x04 \x01(\x0b\x32\r.shared.ValueH\x00\x88\x01\x01\x12!\n\x04name\x18\x05 \x03(\x0b\x32\x13.shared.Translation\x12(\n\x0b\x64\x65scription\x18\x06 \x03(\x0b\x32\x13.shared.Translation\"5\n\x0fUniquenessScope\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x0b\n\x07PROJECT\x10\x02\x42\x10\n\x0e_default_valueB\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
  pool.add_serialized_file(descriptor_data)
@@ -8,7 +8,7 @@ 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\"\xa5\x03\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\x18\n\x10starting_node_id\x18\x08 \x01(\x03\x12,\n\x0enode_functions\x18\t \x03(\x0b\x32\x14.shared.NodeFunction\x12\x14\n\x0cproject_slug\x18\n \x01(\t\x12\x1b\n\x0e\x64isable_reason\x18\x0b \x01(\tH\x02\x88\x01\x01\x42\x18\n\x16_input_type_identifierB\x19\n\x17_return_type_identifierB\x11\n\x0f_disable_reason\"\xa1\x01\n\rExecutionFlow\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x18\n\x10starting_node_id\x18\x02 \x01(\x03\x12,\n\x0enode_functions\x18\x04 \x03(\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\"Y\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\x1c\n\x05value\x18\x03 \x01(\x0b\x32\r.shared.Value\"\xcd\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\x19\n\x0cnext_node_id\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12\x1e\n\x11\x61\x63tion_identifier\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x0f\n\r_next_node_idB\x14\n\x12_action_identifier\"\x8b\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\x1a\n\x10node_function_id\x18\x03 \x01(\x03H\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\"G\n\x0eReferenceValue\x12\x0f\n\x07node_id\x18\x01 \x01(\x03\x12$\n\x05paths\x18\x02 \x03(\x0b\x32\x15.shared.ReferencePath\"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"
11
+ descriptor_data = "\n\x11shared.flow.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x16shared.data_type.proto\"\xb1\x03\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\x33\n\ninput_type\x18\x05 \x01(\x0b\x32\x1a.shared.DataTypeIdentifierH\x00\x88\x01\x01\x12\x34\n\x0breturn_type\x18\x06 \x01(\x0b\x32\x1a.shared.DataTypeIdentifierH\x01\x88\x01\x01\x12%\n\x08settings\x18\x07 \x03(\x0b\x32\x13.shared.FlowSetting\x12\x18\n\x10starting_node_id\x18\x08 \x01(\x03\x12,\n\x0enode_functions\x18\t \x03(\x0b\x32\x14.shared.NodeFunction\x12\x14\n\x0cproject_slug\x18\n \x01(\t\x12\x1b\n\x0e\x64isable_reason\x18\x0b \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_input_typeB\x0e\n\x0c_return_typeB\x11\n\x0f_disable_reason\"\xa1\x01\n\rExecutionFlow\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x18\n\x10starting_node_id\x18\x02 \x01(\x03\x12,\n\x0enode_functions\x18\x04 \x03(\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\"Y\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\x1c\n\x05value\x18\x03 \x01(\x0b\x32\r.shared.Value\"\xb2\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\x19\n\x0cnext_node_id\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12\x19\n\x11\x64\x65\x66inition_source\x18\x05 \x01(\tB\x0f\n\r_next_node_id\"\x8b\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\x1a\n\x10node_function_id\x18\x03 \x01(\x03H\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\"\xa5\x01\n\x0eReferenceValue\x12\'\n\nflow_input\x18\x01 \x01(\x0b\x32\x11.shared.FlowInputH\x00\x12\x11\n\x07node_id\x18\x02 \x01(\x03H\x00\x12\'\n\ninput_type\x18\x03 \x01(\x0b\x32\x11.shared.InputTypeH\x00\x12$\n\x05paths\x18\x04 \x03(\x0b\x32\x15.shared.ReferencePathB\x08\n\x06target\"\x0b\n\tFlowInput\"J\n\tInputType\x12\x0f\n\x07node_id\x18\x01 \x01(\x03\x12\x17\n\x0fparameter_index\x18\x02 \x01(\x03\x12\x13\n\x0binput_index\x18\x03 \x01(\x03\"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)
@@ -22,6 +22,8 @@ module Tucana
22
22
  NodeValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.NodeValue").msgclass
23
23
  NodeParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.NodeParameter").msgclass
24
24
  ReferenceValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ReferenceValue").msgclass
25
+ FlowInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.FlowInput").msgclass
26
+ InputType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.InputType").msgclass
25
27
  ReferencePath = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ReferencePath").msgclass
26
28
  Flows = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.Flows").msgclass
27
29
  end
@@ -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\"\xde\x04\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!\n\x04name\x18\x06 \x03(\x0b\x32\x13.shared.Translation\x12(\n\x0b\x64\x65scription\x18\x07 \x03(\x0b\x32\x13.shared.Translation\x12*\n\rdocumentation\x18\x08 \x03(\x0b\x32\x13.shared.Translation\x12\x30\n\x13\x64\x65precation_message\x18\t \x03(\x0b\x32\x13.shared.Translation\x12,\n\x0f\x64isplay_message\x18\n \x03(\x0b\x32\x13.shared.Translation\x12\"\n\x05\x61lias\x18\x0b \x03(\x0b\x32\x13.shared.Translation\x12\x0f\n\x07version\x18\x0c \x01(\t\x12\x14\n\x0c\x64isplay_icon\x18\r \x01(\t\x12\x1e\n\x11\x61\x63tion_identifier\x18\x0e \x01(\tH\x01\x88\x01\x01\x42\x19\n\x17_return_type_identifierB\x14\n\x12_action_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"
12
+ descriptor_data = "\n\x1dshared.runtime_function.proto\x12\x06shared\x1a\x18shared.translation.proto\x1a\x16shared.data_type.proto\x1a\x13shared.struct.proto\"\xde\x04\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!\n\x04name\x18\x06 \x03(\x0b\x32\x13.shared.Translation\x12(\n\x0b\x64\x65scription\x18\x07 \x03(\x0b\x32\x13.shared.Translation\x12*\n\rdocumentation\x18\x08 \x03(\x0b\x32\x13.shared.Translation\x12\x30\n\x13\x64\x65precation_message\x18\t \x03(\x0b\x32\x13.shared.Translation\x12,\n\x0f\x64isplay_message\x18\n \x03(\x0b\x32\x13.shared.Translation\x12\"\n\x05\x61lias\x18\x0b \x03(\x0b\x32\x13.shared.Translation\x12\x0f\n\x07version\x18\x0c \x01(\t\x12\x14\n\x0c\x64isplay_icon\x18\r \x01(\t\x12\x1e\n\x11\x64\x65\x66inition_source\x18\x0e \x01(\tH\x01\x88\x01\x01\x42\x19\n\x17_return_type_identifierB\x14\n\x12_definition_source\"\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)
@@ -36,9 +36,9 @@ module Tucana
36
36
  def create(variant, config)
37
37
  case variant
38
38
  when :contains_key
39
- self.contains_key = DefinitionDataTypeContainsKeyRuleConfig.new(config)
39
+ self.contains_key = DataTypeContainsKeyRuleConfig.new(config)
40
40
  when :contains_type
41
- self.contains_type = DefinitionDataTypeContainsTypeRuleConfig.new(config)
41
+ self.contains_type = DataTypeContainsTypeRuleConfig.new(config)
42
42
  when :item_of_collection
43
43
  self.item_of_collection = DataTypeItemOfCollectionRuleConfig.from_hash(config)
44
44
  when :number_range
@@ -46,11 +46,11 @@ module Tucana
46
46
  when :regex
47
47
  self.regex = DataTypeRegexRuleConfig.new(config)
48
48
  when :input_types
49
- self.input_types = DefinitionDataTypeInputTypesRuleConfig.new(config)
49
+ self.input_types = DataTypeInputTypesRuleConfig.new(config)
50
50
  when :return_type
51
- self.return_type = DefinitionDataTypeReturnTypeRuleConfig.new(config)
51
+ self.return_type = DataTypeReturnTypeRuleConfig.new(config)
52
52
  when :parent_type
53
- self.parent_type = DefinitionDataTypeParentTypeRuleConfig.from_hash(config)
53
+ self.parent_type = DataTypeParentTypeRuleConfig.from_hash(config)
54
54
  else
55
55
  raise UnexpectedRuleType, "Unknown rule type #{variant}"
56
56
  end
@@ -63,7 +63,7 @@ module Tucana
63
63
  end
64
64
  end
65
65
 
66
- DefinitionDataTypeContainsKeyRuleConfig.class_eval do
66
+ DataTypeContainsKeyRuleConfig.class_eval do
67
67
  def to_h
68
68
  {
69
69
  key: self.key,
@@ -79,7 +79,7 @@ module Tucana
79
79
  end
80
80
  end
81
81
 
82
- DefinitionDataTypeContainsTypeRuleConfig.class_eval do
82
+ DataTypeContainsTypeRuleConfig.class_eval do
83
83
  def to_h
84
84
  {
85
85
  data_type_identifier: self.data_type_identifier.to_h,
@@ -121,7 +121,7 @@ module Tucana
121
121
  end
122
122
  end
123
123
 
124
- DefinitionDataTypeInputTypesRuleConfig.class_eval do
124
+ DataTypeInputTypesRuleConfig.class_eval do
125
125
  def to_h
126
126
  {
127
127
  input_types: self.input_types.map { |input_type| input_type.to_h }
@@ -135,7 +135,7 @@ module Tucana
135
135
  end
136
136
  end
137
137
 
138
- DefinitionDataTypeInputTypesRuleConfig::DataTypeInputType.class_eval do
138
+ DataTypeInputTypesRuleConfig::DataTypeInputType.class_eval do
139
139
  def to_h
140
140
  {
141
141
  data_type_identifier: self.data_type_identifier,
@@ -151,7 +151,7 @@ module Tucana
151
151
  end
152
152
  end
153
153
 
154
- DefinitionDataTypeReturnTypeRuleConfig.class_eval do
154
+ DataTypeReturnTypeRuleConfig.class_eval do
155
155
  def to_h
156
156
  {
157
157
  data_type_identifier: self.data_type_identifier,
@@ -163,7 +163,7 @@ module Tucana
163
163
  end
164
164
  end
165
165
 
166
- DefinitionDataTypeParentTypeRuleConfig.class_eval do
166
+ DataTypeParentTypeRuleConfig.class_eval do
167
167
  def to_h
168
168
  {
169
169
  parent_type: self.parent_type,
@@ -4,5 +4,5 @@
4
4
  # to update the version, run "bundle exec rake release:version[NEW_VERSION]".
5
5
 
6
6
  module Tucana
7
- VERSION = "0.0.52"
7
+ VERSION = "0.0.53"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tucana
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.52
4
+ version: 0.0.53
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niklas van Schrick
@@ -72,6 +72,8 @@ extensions: []
72
72
  extra_rdoc_files: []
73
73
  files:
74
74
  - lib/tucana.rb
75
+ - lib/tucana/generated/aquila/aquila.action_configuration_pb.rb
76
+ - lib/tucana/generated/aquila/aquila.action_configuration_services_pb.rb
75
77
  - lib/tucana/generated/aquila/aquila.action_pb.rb
76
78
  - lib/tucana/generated/aquila/aquila.action_services_pb.rb
77
79
  - lib/tucana/generated/aquila/aquila.data_type_pb.rb
@@ -86,8 +88,8 @@ files:
86
88
  - lib/tucana/generated/aquila/aquila.runtime_status_services_pb.rb
87
89
  - lib/tucana/generated/aquila/aquila.runtime_usage_pb.rb
88
90
  - lib/tucana/generated/aquila/aquila.runtime_usage_services_pb.rb
89
- - lib/tucana/generated/sagittarius/sagittarius.action_pb.rb
90
- - lib/tucana/generated/sagittarius/sagittarius.action_services_pb.rb
91
+ - lib/tucana/generated/sagittarius/sagittarius.action_configuration_pb.rb
92
+ - lib/tucana/generated/sagittarius/sagittarius.action_configuration_services_pb.rb
91
93
  - lib/tucana/generated/sagittarius/sagittarius.data_type_pb.rb
92
94
  - lib/tucana/generated/sagittarius/sagittarius.data_type_services_pb.rb
93
95
  - lib/tucana/generated/sagittarius/sagittarius.flow_pb.rb
@@ -104,6 +106,7 @@ files:
104
106
  - lib/tucana/generated/sagittarius/sagittarius.runtime_usage_services_pb.rb
105
107
  - lib/tucana/generated/sagittarius/sagittarius.text_execution_pb.rb
106
108
  - lib/tucana/generated/sagittarius/sagittarius.text_execution_services_pb.rb
109
+ - lib/tucana/generated/shared/shared.action_configuration_pb.rb
107
110
  - lib/tucana/generated/shared/shared.data_type_pb.rb
108
111
  - lib/tucana/generated/shared/shared.flow_definition_pb.rb
109
112
  - lib/tucana/generated/shared/shared.flow_pb.rb
@@ -1,22 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: sagittarius.action.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require_relative '../shared/shared.runtime_function_pb'
8
-
9
-
10
- descriptor_data = "\n\x18sagittarius.action.proto\x12\x0bsagittarius\x1a\x1dshared.runtime_function.proto\"h\n\x12\x41\x63tionLogonRequest\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12>\n\x13\x66unction_definition\x18\x02 \x03(\x0b\x32!.shared.RuntimeFunctionDefinition\"\x15\n\x13\x41\x63tionLogonResponse\")\n\x13\x41\x63tionLogoffRequest\x12\x12\n\nidentifier\x18\x01 \x01(\t\"\x16\n\x14\x41\x63tionLogoffResponse2\xaa\x01\n\rActionService\x12J\n\x05Logon\x12\x1f.sagittarius.ActionLogonRequest\x1a .sagittarius.ActionLogonResponse\x12M\n\x06Logoff\x12 .sagittarius.ActionLogoffRequest\x1a!.sagittarius.ActionLogoffResponseB\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
- ActionLogonRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.ActionLogonRequest").msgclass
18
- ActionLogonResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.ActionLogonResponse").msgclass
19
- ActionLogoffRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.ActionLogoffRequest").msgclass
20
- ActionLogoffResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.ActionLogoffResponse").msgclass
21
- end
22
- end
@@ -1,26 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: sagittarius.action.proto for package 'Tucana.Sagittarius'
3
-
4
- require 'grpc'
5
- require_relative 'sagittarius.action_pb'
6
-
7
- module Tucana
8
- module Sagittarius
9
- module ActionService
10
- # Service from Sagittarius to get called by Aquila to get informed of any action behavior & availability
11
- class Service
12
-
13
- include ::GRPC::GenericService
14
-
15
- self.marshal_class_method = :encode
16
- self.unmarshal_class_method = :decode
17
- self.service_name = 'sagittarius.ActionService'
18
-
19
- rpc :Logon, ::Tucana::Sagittarius::ActionLogonRequest, ::Tucana::Sagittarius::ActionLogonResponse
20
- rpc :Logoff, ::Tucana::Sagittarius::ActionLogoffRequest, ::Tucana::Sagittarius::ActionLogoffResponse
21
- end
22
-
23
- Stub = Service.rpc_stub_class
24
- end
25
- end
26
- end