tucana 0.0.15 → 0.0.16

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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tucana/generated/aquila/aquila.action_pb.rb +29 -0
  3. data/lib/tucana/{aquila/action_communication_services_pb.rb → generated/aquila/aquila.action_services_pb.rb} +2 -2
  4. data/lib/tucana/generated/aquila/aquila.execution_pb.rb +21 -0
  5. data/lib/tucana/{aquila/action_execute_services_pb.rb → generated/aquila/aquila.execution_services_pb.rb} +4 -2
  6. data/lib/tucana/{sagittarius/action_pb.rb → generated/sagittarius/sagittarius.action_pb.rb} +3 -3
  7. data/lib/tucana/{sagittarius/action_services_pb.rb → generated/sagittarius/sagittarius.action_services_pb.rb} +3 -2
  8. data/lib/tucana/generated/sagittarius/sagittarius.datatype_pb.rb +20 -0
  9. data/lib/tucana/{sagittarius/datatype_services_pb.rb → generated/sagittarius/sagittarius.datatype_services_pb.rb} +2 -2
  10. data/lib/tucana/{sagittarius/flow_definition_pb.rb → generated/sagittarius/sagittarius.flow_definition_pb.rb} +2 -2
  11. data/lib/tucana/generated/sagittarius/sagittarius.flow_pb.rb +23 -0
  12. data/lib/tucana/{sagittarius/flow_services_pb.rb → generated/sagittarius/sagittarius.flow_services_pb.rb} +2 -2
  13. data/lib/tucana/generated/sagittarius/sagittarius.node_pb.rb +20 -0
  14. data/lib/tucana/{sagittarius/ping_pb.rb → generated/sagittarius/sagittarius.ping_pb.rb} +2 -2
  15. data/lib/tucana/{sagittarius/ping_services_pb.rb → generated/sagittarius/sagittarius.ping_services_pb.rb} +2 -2
  16. data/lib/tucana/generated/sagittarius/sagittarius.runtime_function_pb.rb +20 -0
  17. data/lib/tucana/generated/sagittarius/sagittarius.runtime_function_services_pb.rb +24 -0
  18. data/lib/tucana/generated/shared/shared.datatype_pb.rb +23 -0
  19. data/lib/tucana/generated/shared/shared.event_pb.rb +23 -0
  20. data/lib/tucana/generated/shared/shared.runtime_function_pb.rb +20 -0
  21. data/lib/tucana/generated/shared/shared.struct_pb.rb +20 -0
  22. data/lib/tucana/{shared/translations_pb.rb → generated/shared/shared.translation_pb.rb} +2 -2
  23. data/lib/tucana/shared/shared.struct.rb +146 -0
  24. data/lib/tucana/version.rb +1 -1
  25. data/lib/tucana.rb +9 -2
  26. metadata +24 -20
  27. data/lib/tucana/aquila/action_communication_pb.rb +0 -29
  28. data/lib/tucana/aquila/action_execute_pb.rb +0 -21
  29. data/lib/tucana/sagittarius/datatype_pb.rb +0 -20
  30. data/lib/tucana/sagittarius/flow_pb.rb +0 -23
  31. data/lib/tucana/sagittarius/node_pb.rb +0 -20
  32. data/lib/tucana/shared/datatype_definition_pb.rb +0 -23
  33. data/lib/tucana/shared/event_pb.rb +0 -23
  34. data/lib/tucana/shared/runtime_function_definition_pb.rb +0 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1324fa7bd731848feffff1dc0b2ebe1288211cdea970414dcc2d64435bcb804
4
- data.tar.gz: f628ecd6078fe12a76bf1abed25865d357f8052a9fe9eaca31fbddbeae1eb9b0
3
+ metadata.gz: af555760e37d27ca51a6d0196085dd6d6864c4a7b78bbfb87aa459faf17ded24
4
+ data.tar.gz: ee842cd7a5a56d08c10c3d542733b4d7df8e47bb07ae3dc9da490d1082ff50b6
5
5
  SHA512:
6
- metadata.gz: 1241937c4f8a5588a8388f7b0c11ec36794816cdeb878994d87ed5266fa1a4d5c9aff06066af7da4ad4c8516807ef18c2529ea166d4dbbf7460b2cac3cd718c0
7
- data.tar.gz: 42e38e1e268c7501e7299361a39fb0a71a0f759a67350266b9fdffec162fc23d190680fdd781251dc63b8f826f8844edf413bff48a5fa721fbbcf4158e360e0e
6
+ metadata.gz: 459f5ded953e948257fd6156a3010872ab5266ae5041871b44008e63a41de0d7adeb5d2cd7eb5cba67df81fa1c5811a25a0dfcb2175ca8138604a2b1544548ab
7
+ data.tar.gz: f481f8111307bdc5757cdf836c0ca1258dbb633e1b229dd63aadbd4560f6f2b0e71a28387b5ce2008996ba60dd41e8df0e696d8f829db7edbea235b09d04ca28
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: aquila.action.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require_relative '../shared/shared.struct_pb'
8
+ require_relative '../shared/shared.runtime_function_pb'
9
+ require_relative '../shared/shared.datatype_pb'
10
+ require_relative '../shared/shared.translation_pb'
11
+ require_relative '../shared/shared.event_pb'
12
+
13
+
14
+ descriptor_data = "\n\x13\x61quila.action.proto\x12\x06\x61quila\x1a\x13shared.struct.proto\x1a\x1dshared.runtime_function.proto\x1a\x15shared.datatype.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\"\xbf\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\x1e\n\x04type\x18\x03 \x01(\x0b\x32\x10.shared.DataType\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
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+ pool.add_serialized_file(descriptor_data)
18
+
19
+ module Tucana
20
+ module Aquila
21
+ 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
24
+ ExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ExecutionRequest").msgclass
25
+ ExecutionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ExecutionResult").msgclass
26
+ TransferRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.TransferRequest").msgclass
27
+ TransferResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.TransferResponse").msgclass
28
+ end
29
+ end
@@ -1,8 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: action_communication.proto for package 'Tucana.Aquila'
2
+ # Source: aquila.action.proto for package 'Tucana.Aquila'
3
3
 
4
4
  require 'grpc'
5
- require_relative 'action_communication_pb'
5
+ require_relative 'aquila.action_pb'
6
6
 
7
7
  module Tucana
8
8
  module Aquila
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: aquila.execution.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n\x16\x61quila.execution.proto\x12\x06\x61quila\";\n\x11\x41\x63tionCallRequest\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12\x12\n\nparameters\x18\x02 \x03(\t\"2\n\x12\x41\x63tionCallResponse\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\"\x1e\n\x0c\x41\x63tionResult\x12\x0e\n\x06result\x18\x01 \x03(\t\"3\n\x13\x41\x63tionResultRequest\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\"Z\n\x14\x41\x63tionResultResponse\x12\x30\n\raction_result\x18\x01 \x01(\x0b\x32\x14.aquila.ActionResultH\x00\x88\x01\x01\x42\x10\n\x0e_action_result2R\n\x11\x41\x63tionCallService\x12=\n\x04\x43\x61ll\x12\x19.aquila.ActionCallRequest\x1a\x1a.aquila.ActionCallResponse2]\n\x13\x41\x63tionResultService\x12\x46\n\tGetResult\x12\x1b.aquila.ActionResultRequest\x1a\x1c.aquila.ActionResultResponseB\x11\xea\x02\x0eTucana::Aquilab\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
12
+
13
+ module Tucana
14
+ module Aquila
15
+ ActionCallRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionCallRequest").msgclass
16
+ ActionCallResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionCallResponse").msgclass
17
+ ActionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionResult").msgclass
18
+ ActionResultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionResultRequest").msgclass
19
+ ActionResultResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionResultResponse").msgclass
20
+ end
21
+ end
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: action_execute.proto for package 'Tucana.Aquila'
2
+ # Source: aquila.execution.proto for package 'Tucana.Aquila'
3
3
 
4
4
  require 'grpc'
5
- require_relative 'action_execute_pb'
5
+ require_relative 'aquila.execution_pb'
6
6
 
7
7
  module Tucana
8
8
  module Aquila
9
9
  module ActionCallService
10
+ # Service for calling an execution with the given parameter
10
11
  class Service
11
12
 
12
13
  include ::GRPC::GenericService
@@ -21,6 +22,7 @@ module Tucana
21
22
  Stub = Service.rpc_stub_class
22
23
  end
23
24
  module ActionResultService
25
+ # Service for getting a result of an execution
24
26
  class Service
25
27
 
26
28
  include ::GRPC::GenericService
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: action.proto
3
+ # source: sagittarius.action.proto
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
- require_relative '../shared/runtime_function_definition_pb'
7
+ require_relative '../shared/shared.runtime_function_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n\x0c\x61\x63tion.proto\x12\x0bsagittarius\x1a!runtime_function_definition.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"
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
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
  pool.add_serialized_file(descriptor_data)
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: action.proto for package 'Tucana.Sagittarius'
2
+ # Source: sagittarius.action.proto for package 'Tucana.Sagittarius'
3
3
 
4
4
  require 'grpc'
5
- require_relative 'action_pb'
5
+ require_relative 'sagittarius.action_pb'
6
6
 
7
7
  module Tucana
8
8
  module Sagittarius
9
9
  module ActionService
10
+ # Service from Sagittarius to get called by Aquila to get informed of any action behavior & availability
10
11
  class Service
11
12
 
12
13
  include ::GRPC::GenericService
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: sagittarius.datatype.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require_relative '../shared/shared.datatype_pb'
8
+
9
+
10
+ descriptor_data = "\n\x1asagittarius.datatype.proto\x12\x0bsagittarius\x1a\x15shared.datatype.proto\"=\n\x15\x44\x61taTypeUpdateRequest\x12$\n\ndata_types\x18\x01 \x03(\x0b\x32\x10.shared.DataType\")\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
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module Tucana
16
+ module Sagittarius
17
+ DataTypeUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.DataTypeUpdateRequest").msgclass
18
+ DataTypeUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.DataTypeUpdateResponse").msgclass
19
+ end
20
+ end
@@ -1,8 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: datatype.proto for package 'Tucana.Sagittarius'
2
+ # Source: sagittarius.datatype.proto for package 'Tucana.Sagittarius'
3
3
 
4
4
  require 'grpc'
5
- require_relative 'datatype_pb'
5
+ require_relative 'sagittarius.datatype_pb'
6
6
 
7
7
  module Tucana
8
8
  module Sagittarius
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: flow_definition.proto
3
+ # source: sagittarius.flow_definition.proto
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\x15\x66low_definition.proto\x12\x0bsagittarius\"\x10\n\x0e\x46lowDefinitionB\x16\xea\x02\x13Tucana::Sagittariusb\x06proto3"
8
+ descriptor_data = "\n!sagittarius.flow_definition.proto\x12\x0bsagittarius\"\x10\n\x0e\x46lowDefinitionB\x16\xea\x02\x13Tucana::Sagittariusb\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
  pool.add_serialized_file(descriptor_data)
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: sagittarius.flow.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require_relative 'sagittarius.node_pb'
8
+ require_relative 'sagittarius.flow_definition_pb'
9
+
10
+
11
+ descriptor_data = "\n\x16sagittarius.flow.proto\x12\x0bsagittarius\x1a\x16sagittarius.node.proto\x1a!sagittarius.flow_definition.proto\"o\n\x04\x46low\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12%\n\nstart_node\x18\x02 \x01(\x0b\x32\x11.sagittarius.Node\x12/\n\ndefinition\x18\x03 \x01(\x0b\x32\x1b.sagittarius.FlowDefinition\")\n\x05\x46lows\x12 \n\x05\x66lows\x18\x01 \x03(\x0b\x32\x11.sagittarius.Flow\"\x12\n\x10\x46lowLogonRequest\"\x81\x01\n\x0c\x46lowResponse\x12)\n\x0cupdated_flow\x18\x01 \x01(\x0b\x32\x11.sagittarius.FlowH\x00\x12\x19\n\x0f\x64\x65leted_flow_id\x18\x02 \x01(\x03H\x00\x12#\n\x05\x66lows\x18\x03 \x01(\x0b\x32\x12.sagittarius.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"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Tucana
17
+ module Sagittarius
18
+ Flow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.Flow").msgclass
19
+ Flows = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.Flows").msgclass
20
+ FlowLogonRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.FlowLogonRequest").msgclass
21
+ FlowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.FlowResponse").msgclass
22
+ end
23
+ end
@@ -1,8 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: flow.proto for package 'Tucana.Sagittarius'
2
+ # Source: sagittarius.flow.proto for package 'Tucana.Sagittarius'
3
3
 
4
4
  require 'grpc'
5
- require_relative 'flow_pb'
5
+ require_relative 'sagittarius.flow_pb'
6
6
 
7
7
  module Tucana
8
8
  module Sagittarius
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: sagittarius.node.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require_relative '../shared/shared.runtime_function_pb'
8
+
9
+
10
+ descriptor_data = "\n\x16sagittarius.node.proto\x12\x0bsagittarius\x1a\x1dshared.runtime_function.proto\"\xa2\x01\n\x04Node\x12\x35\n\ndefinition\x18\x01 \x01(\x0b\x32!.shared.RuntimeFunctionDefinition\x12)\n\tnext_node\x18\x02 \x01(\x0b\x32\x11.sagittarius.NodeH\x00\x88\x01\x01\x12*\n\nparameters\x18\x03 \x03(\x0b\x32\x16.sagittarius.ParameterB\x0c\n\n_next_node\"\x98\x01\n\tParameter\x12\x36\n\ndefinition\x18\x01 \x01(\x0b\x32\".shared.RuntimeParameterDefinition\x12\x12\n\x05value\x18\x02 \x01(\tH\x00\x88\x01\x01\x12(\n\x08sub_node\x18\x03 \x01(\x0b\x32\x11.sagittarius.NodeH\x01\x88\x01\x01\x42\x08\n\x06_valueB\x0b\n\t_sub_nodeB\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
+ Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.Node").msgclass
18
+ Parameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.Parameter").msgclass
19
+ end
20
+ end
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: ping.proto
3
+ # source: sagittarius.ping.proto
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\nping.proto\x12\x0bsagittarius\"\x1e\n\x0bPingMessage\x12\x0f\n\x07ping_id\x18\x01 \x01(\x03\x32K\n\x0bPingService\x12<\n\x04Ping\x12\x18.sagittarius.PingMessage\x1a\x18.sagittarius.PingMessage\"\x00\x42\x16\xea\x02\x13Tucana::Sagittariusb\x06proto3"
8
+ descriptor_data = "\n\x16sagittarius.ping.proto\x12\x0bsagittarius\"\x1e\n\x0bPingMessage\x12\x0f\n\x07ping_id\x18\x01 \x01(\x03\x32K\n\x0bPingService\x12<\n\x04Ping\x12\x18.sagittarius.PingMessage\x1a\x18.sagittarius.PingMessage\"\x00\x42\x16\xea\x02\x13Tucana::Sagittariusb\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
  pool.add_serialized_file(descriptor_data)
@@ -1,8 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: ping.proto for package 'Tucana.Sagittarius'
2
+ # Source: sagittarius.ping.proto for package 'Tucana.Sagittarius'
3
3
 
4
4
  require 'grpc'
5
- require_relative 'ping_pb'
5
+ require_relative 'sagittarius.ping_pb'
6
6
 
7
7
  module Tucana
8
8
  module Sagittarius
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: sagittarius.runtime_function.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require_relative '../shared/shared.runtime_function_pb'
8
+
9
+
10
+ descriptor_data = "\n\"sagittarius.runtime_function.proto\x12\x0bsagittarius\x1a\x1dshared.runtime_function.proto\"f\n&RuntimeFunctionDefinitionUpdateRequest\x12<\n\x11runtime_functions\x18\x01 \x03(\x0b\x32!.shared.RuntimeFunctionDefinition\":\n\'RuntimeFunctionDefinitionUpdateResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x32\x99\x01\n RuntimeFunctionDefinitionService\x12u\n\x06Update\x12\x33.sagittarius.RuntimeFunctionDefinitionUpdateRequest\x1a\x34.sagittarius.RuntimeFunctionDefinitionUpdateResponse\"\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
+ RuntimeFunctionDefinitionUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.RuntimeFunctionDefinitionUpdateRequest").msgclass
18
+ RuntimeFunctionDefinitionUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.RuntimeFunctionDefinitionUpdateResponse").msgclass
19
+ end
20
+ end
@@ -0,0 +1,24 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: sagittarius.runtime_function.proto for package 'Tucana.Sagittarius'
3
+
4
+ require 'grpc'
5
+ require_relative 'sagittarius.runtime_function_pb'
6
+
7
+ module Tucana
8
+ module Sagittarius
9
+ module RuntimeFunctionDefinitionService
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.RuntimeFunctionDefinitionService'
17
+
18
+ rpc :Update, ::Tucana::Sagittarius::RuntimeFunctionDefinitionUpdateRequest, ::Tucana::Sagittarius::RuntimeFunctionDefinitionUpdateResponse
19
+ end
20
+
21
+ Stub = Service.rpc_stub_class
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: shared.datatype.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require_relative '../shared/shared.struct_pb'
8
+ require_relative '../shared/shared.translation_pb'
9
+
10
+
11
+ descriptor_data = "\n\x15shared.datatype.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x18shared.translation.proto\"\xa5\x03\n\x08\x44\x61taType\x12)\n\x07variant\x18\x01 \x01(\x0e\x32\x18.shared.DataType.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\x14.shared.DataTypeRule\x12%\n\x0binput_types\x18\x05 \x03(\x0b\x32\x10.shared.DataType\x12*\n\x0breturn_type\x18\x06 \x01(\x0b\x32\x10.shared.DataTypeH\x00\x88\x01\x01\x12#\n\x16parent_type_identifier\x18\x07 \x01(\tH\x01\x88\x01\x01\"o\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\x0b\n\x07GENERIC\x10\x06\x12\x0c\n\x08\x46UNCTION\x10\x07\x42\x0e\n\x0c_return_typeB\x19\n\x17_parent_type_identifier\"\xcf\x01\n\x0c\x44\x61taTypeRule\x12-\n\x07variant\x18\x01 \x01(\x0e\x32\x1c.shared.DataTypeRule.Variant\x12\x1e\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x0e.shared.Struct\"p\n\x07Variant\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05REGEX\x10\x01\x12\x10\n\x0cNUMBER_RANGE\x10\x02\x12\x16\n\x12ITEM_OF_COLLECTION\x10\x03\x12\x11\n\rCONTAINS_TYPE\x10\x04\x12\x10\n\x0c\x43ONTAINS_KEY\x10\x05\x42\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Tucana
17
+ module Shared
18
+ DataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataType").msgclass
19
+ DataType::Variant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataType.Variant").enummodule
20
+ DataTypeRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeRule").msgclass
21
+ DataTypeRule::Variant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeRule.Variant").enummodule
22
+ end
23
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: shared.event.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require_relative '../shared/shared.struct_pb'
8
+ require_relative '../shared/shared.translation_pb'
9
+ require_relative '../shared/shared.datatype_pb'
10
+
11
+
12
+ descriptor_data = "\n\x12shared.event.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x18shared.translation.proto\x1a\x15shared.datatype.proto\"\xd3\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\x1e\n\x04type\x18\x04 \x01(\x0b\x32\x10.shared.DataType\x12)\n\rdefault_value\x18\x05 \x01(\x0b\x32\r.shared.ValueH\x00\x88\x01\x01\x42\x10\n\x0e_default_value\"|\n\x0f\x45ventDefinition\x12\x31\n\x08settings\x18\x01 \x03(\x0b\x32\x1f.shared.EventDefinitionSettings\x12$\n\ninput_type\x18\x02 \x01(\x0b\x32\x10.shared.DataType\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
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
16
+
17
+ module Tucana
18
+ module Shared
19
+ EventDefinitionSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.EventDefinitionSettings").msgclass
20
+ EventDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.EventDefinition").msgclass
21
+ EventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.EventType").msgclass
22
+ end
23
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: shared.runtime_function.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require_relative '../shared/shared.translation_pb'
8
+
9
+
10
+ descriptor_data = "\n\x1dshared.runtime_function.proto\x12\x06shared\x1a\x18shared.translation.proto\"\xdf\x01\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(\tH\x00\x88\x01\x01\x12!\n\x04name\x18\x04 \x03(\x0b\x32\x13.shared.TranslationB\x19\n\x17_return_type_identifier\"s\n\x1aRuntimeParameterDefinition\x12\x1c\n\x14\x64\x61ta_type_identifier\x18\x01 \x01(\t\x12\x14\n\x0cruntime_name\x18\x02 \x01(\t\x12!\n\x04name\x18\x03 \x03(\x0b\x32\x13.shared.TranslationB\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
+ RuntimeFunctionDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.RuntimeFunctionDefinition").msgclass
18
+ RuntimeParameterDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.RuntimeParameterDefinition").msgclass
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: shared.struct.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n\x13shared.struct.proto\x12\x06shared\"r\n\x06Struct\x12*\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x1a.shared.Struct.FieldsEntry\x1a<\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.shared.Value:\x02\x38\x01\"\xcf\x01\n\x05Value\x12\'\n\nnull_value\x18\x01 \x01(\x0e\x32\x11.shared.NullValueH\x00\x12\x16\n\x0cnumber_value\x18\x02 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x12&\n\x0cstruct_value\x18\x05 \x01(\x0b\x32\x0e.shared.StructH\x00\x12\'\n\nlist_value\x18\x06 \x01(\x0b\x32\x11.shared.ListValueH\x00\x42\x06\n\x04kind\"*\n\tListValue\x12\x1d\n\x06values\x18\x01 \x03(\x0b\x32\r.shared.Value*\x1b\n\tNullValue\x12\x0e\n\nNULL_VALUE\x10\x00\x42\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
12
+
13
+ module Tucana
14
+ module Shared
15
+ Struct = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.Struct").msgclass
16
+ Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.Value").msgclass
17
+ ListValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ListValue").msgclass
18
+ NullValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.NullValue").enummodule
19
+ end
20
+ end
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: translations.proto
3
+ # source: shared.translation.proto
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\x12translations.proto\x12\x06shared\",\n\x0bTranslation\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\tB\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
8
+ descriptor_data = "\n\x18shared.translation.proto\x12\x06shared\",\n\x0bTranslation\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\tB\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
  pool.add_serialized_file(descriptor_data)
@@ -0,0 +1,146 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Protocol Buffers - Google's data interchange format
4
+ # Copyright 2008 Google Inc. All rights reserved.
5
+ #
6
+ # Use of this source code is governed by a BSD-style
7
+ # license that can be found at https://github.com/protocolbuffers/protobuf/blob/080a983eaaec3c57178c604738d245c70d9059ba/LICENSE or at
8
+ # https://developers.google.com/open-source/licenses/bsd
9
+
10
+ # Code0 Tucana note:
11
+ # This file only contains a partial copy of the source file. The module names have been modified to accommodate for the needs of this project.
12
+ # The original is located at https://github.com/protocolbuffers/protobuf/blob/18aa4e1fcb8882133e96445c40d1521f16932f1c/ruby/lib/google/protobuf/well_known_types.rb
13
+
14
+ module Tucana
15
+ module Shared
16
+ UnexpectedStructType = Class.new(Tucana::Error)
17
+
18
+ Struct.class_eval do
19
+ def [](key)
20
+ self.fields[key].to_ruby
21
+ rescue NoMethodError
22
+ nil
23
+ end
24
+
25
+ def []=(key, value)
26
+ unless key.is_a?(String)
27
+ raise UnexpectedStructType, "Struct keys must be strings."
28
+ end
29
+ self.fields[key] ||= Value.new
30
+ self.fields[key].from_ruby(value)
31
+ end
32
+
33
+ def to_h
34
+ ret = {}
35
+ self.fields.each { |key, val| ret[key] = val.to_ruby(true) }
36
+ ret
37
+ end
38
+
39
+ def self.from_hash(hash)
40
+ ret = Struct.new
41
+ hash.each { |key, val| ret[key] = val }
42
+ ret
43
+ end
44
+
45
+ def has_key?(key)
46
+ self.fields.has_key?(key)
47
+ end
48
+ end
49
+
50
+ Value.class_eval do
51
+ def to_ruby(recursive = false)
52
+ case self.kind
53
+ when :struct_value
54
+ if recursive
55
+ self.struct_value.to_h
56
+ else
57
+ self.struct_value
58
+ end
59
+ when :list_value
60
+ if recursive
61
+ self.list_value.to_a
62
+ else
63
+ self.list_value
64
+ end
65
+ when :null_value
66
+ nil
67
+ when :number_value
68
+ self.number_value
69
+ when :string_value
70
+ self.string_value
71
+ when :bool_value
72
+ self.bool_value
73
+ else
74
+ raise UnexpectedStructType
75
+ end
76
+ end
77
+
78
+ def self.from_ruby(value)
79
+ self.new.from_ruby(value)
80
+ end
81
+
82
+ def from_ruby(value)
83
+ case value
84
+ when NilClass
85
+ self.null_value = :NULL_VALUE
86
+ when Numeric
87
+ self.number_value = value
88
+ when String
89
+ self.string_value = value
90
+ when TrueClass
91
+ self.bool_value = true
92
+ when FalseClass
93
+ self.bool_value = false
94
+ when Struct
95
+ self.struct_value = value
96
+ when Hash
97
+ self.struct_value = Struct.from_hash(value)
98
+ when ListValue
99
+ self.list_value = value
100
+ when Array
101
+ self.list_value = ListValue.from_a(value)
102
+ else
103
+ raise UnexpectedStructType
104
+ end
105
+
106
+ self
107
+ end
108
+ end
109
+
110
+ ListValue.class_eval do
111
+ include Enumerable
112
+
113
+ def length
114
+ self.values.length
115
+ end
116
+
117
+ def [](index)
118
+ self.values[index].to_ruby
119
+ end
120
+
121
+ def []=(index, value)
122
+ self.values[index].from_ruby(value)
123
+ end
124
+
125
+ def <<(value)
126
+ wrapper = Value.new
127
+ wrapper.from_ruby(value)
128
+ self.values << wrapper
129
+ end
130
+
131
+ def each
132
+ self.values.each { |x| yield(x.to_ruby) }
133
+ end
134
+
135
+ def to_a
136
+ self.values.map { |x| x.to_ruby(true) }
137
+ end
138
+
139
+ def self.from_a(arr)
140
+ ret = ListValue.new
141
+ arr.each { |val| ret << val }
142
+ ret
143
+ end
144
+ end
145
+ end
146
+ end
@@ -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.15"
7
+ VERSION = "0.0.16"
8
8
  end
data/lib/tucana.rb CHANGED
@@ -8,9 +8,16 @@ module Tucana
8
8
  AVAILABLE_PROTOCOLS = %i[aquila sagittarius]
9
9
 
10
10
  def self.load_protocol(protocol)
11
+ if protocol != :shared
12
+ load_protocol(:shared)
13
+ end
14
+
11
15
  this_dir = File.expand_path(File.dirname(__FILE__))
12
- protocol_dir = File.join(this_dir, "tucana/#{protocol}")
13
16
 
14
- Dir["#{protocol_dir}/*_pb.rb"].each { |file| require file }
17
+ generated_protocol_dir = File.join(this_dir, "tucana/generated/#{protocol}")
18
+ Dir["#{generated_protocol_dir}/*_pb.rb"].each { |file| require file }
19
+
20
+ protocol_dir = File.join(this_dir, "tucana/#{protocol}")
21
+ Dir["#{protocol_dir}/*.rb"].each { |file| require file }
15
22
  end
16
23
  end
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.15
4
+ version: 0.0.16
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-01-06 00:00:00.000000000 Z
11
+ date: 2025-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -74,24 +74,28 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - lib/tucana.rb
77
- - lib/tucana/aquila/action_communication_pb.rb
78
- - lib/tucana/aquila/action_communication_services_pb.rb
79
- - lib/tucana/aquila/action_execute_pb.rb
80
- - lib/tucana/aquila/action_execute_services_pb.rb
81
- - lib/tucana/sagittarius/action_pb.rb
82
- - lib/tucana/sagittarius/action_services_pb.rb
83
- - lib/tucana/sagittarius/datatype_pb.rb
84
- - lib/tucana/sagittarius/datatype_services_pb.rb
85
- - lib/tucana/sagittarius/flow_definition_pb.rb
86
- - lib/tucana/sagittarius/flow_pb.rb
87
- - lib/tucana/sagittarius/flow_services_pb.rb
88
- - lib/tucana/sagittarius/node_pb.rb
89
- - lib/tucana/sagittarius/ping_pb.rb
90
- - lib/tucana/sagittarius/ping_services_pb.rb
91
- - lib/tucana/shared/datatype_definition_pb.rb
92
- - lib/tucana/shared/event_pb.rb
93
- - lib/tucana/shared/runtime_function_definition_pb.rb
94
- - lib/tucana/shared/translations_pb.rb
77
+ - lib/tucana/generated/aquila/aquila.action_pb.rb
78
+ - lib/tucana/generated/aquila/aquila.action_services_pb.rb
79
+ - lib/tucana/generated/aquila/aquila.execution_pb.rb
80
+ - lib/tucana/generated/aquila/aquila.execution_services_pb.rb
81
+ - lib/tucana/generated/sagittarius/sagittarius.action_pb.rb
82
+ - lib/tucana/generated/sagittarius/sagittarius.action_services_pb.rb
83
+ - lib/tucana/generated/sagittarius/sagittarius.datatype_pb.rb
84
+ - lib/tucana/generated/sagittarius/sagittarius.datatype_services_pb.rb
85
+ - lib/tucana/generated/sagittarius/sagittarius.flow_definition_pb.rb
86
+ - lib/tucana/generated/sagittarius/sagittarius.flow_pb.rb
87
+ - lib/tucana/generated/sagittarius/sagittarius.flow_services_pb.rb
88
+ - lib/tucana/generated/sagittarius/sagittarius.node_pb.rb
89
+ - lib/tucana/generated/sagittarius/sagittarius.ping_pb.rb
90
+ - lib/tucana/generated/sagittarius/sagittarius.ping_services_pb.rb
91
+ - lib/tucana/generated/sagittarius/sagittarius.runtime_function_pb.rb
92
+ - lib/tucana/generated/sagittarius/sagittarius.runtime_function_services_pb.rb
93
+ - lib/tucana/generated/shared/shared.datatype_pb.rb
94
+ - lib/tucana/generated/shared/shared.event_pb.rb
95
+ - lib/tucana/generated/shared/shared.runtime_function_pb.rb
96
+ - lib/tucana/generated/shared/shared.struct_pb.rb
97
+ - lib/tucana/generated/shared/shared.translation_pb.rb
98
+ - lib/tucana/shared/shared.struct.rb
95
99
  - lib/tucana/version.rb
96
100
  homepage: https://github.com/code0-tech/tucana
97
101
  licenses:
@@ -1,29 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: action_communication.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/protobuf/struct_pb'
8
- require_relative '../shared/runtime_function_definition_pb'
9
- require_relative '../shared/datatype_definition_pb'
10
- require_relative '../shared/translations_pb'
11
- require_relative '../shared/event_pb'
12
-
13
-
14
- descriptor_data = "\n\x1a\x61\x63tion_communication.proto\x12\x06\x61quila\x1a\x1cgoogle/protobuf/struct.proto\x1a!runtime_function_definition.proto\x1a\x19\x64\x61tatype_definition.proto\x1a\x12translations.proto\x1a\x0b\x65vent.proto\"D\n\x05\x45vent\x12\x12\n\nevent_type\x18\x01 \x01(\t\x12\'\n\x07payload\x18\x02 \x01(\x0b\x32\x16.google.protobuf.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\"\xc8\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\x1e\n\x04type\x18\x03 \x01(\x0b\x32\x10.shared.DataType\x12\x32\n\rdefault_value\x18\x04 \x01(\x0b\x32\x16.google.protobuf.ValueH\x00\x88\x01\x01\x42\x10\n\x0e_default_value\"z\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\x17.google.protobuf.Struct\"W\n\x0f\x45xecutionResult\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\x12&\n\x06result\x18\x02 \x01(\x0b\x32\x16.google.protobuf.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
-
16
- pool = Google::Protobuf::DescriptorPool.generated_pool
17
- pool.add_serialized_file(descriptor_data)
18
-
19
- module Tucana
20
- module Aquila
21
- 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
24
- ExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ExecutionRequest").msgclass
25
- ExecutionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ExecutionResult").msgclass
26
- TransferRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.TransferRequest").msgclass
27
- TransferResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.TransferResponse").msgclass
28
- end
29
- end
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: action_execute.proto
4
-
5
- require 'google/protobuf'
6
-
7
-
8
- descriptor_data = "\n\x14\x61\x63tion_execute.proto\x12\x06\x61quila\";\n\x11\x41\x63tionCallRequest\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12\x12\n\nparameters\x18\x02 \x03(\t\"2\n\x12\x41\x63tionCallResponse\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\"\x1e\n\x0c\x41\x63tionResult\x12\x0e\n\x06result\x18\x01 \x03(\t\"3\n\x13\x41\x63tionResultRequest\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\"Z\n\x14\x41\x63tionResultResponse\x12\x30\n\raction_result\x18\x01 \x01(\x0b\x32\x14.aquila.ActionResultH\x00\x88\x01\x01\x42\x10\n\x0e_action_result2R\n\x11\x41\x63tionCallService\x12=\n\x04\x43\x61ll\x12\x19.aquila.ActionCallRequest\x1a\x1a.aquila.ActionCallResponse2]\n\x13\x41\x63tionResultService\x12\x46\n\tGetResult\x12\x1b.aquila.ActionResultRequest\x1a\x1c.aquila.ActionResultResponseB\x11\xea\x02\x0eTucana::Aquilab\x06proto3"
9
-
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
- pool.add_serialized_file(descriptor_data)
12
-
13
- module Tucana
14
- module Aquila
15
- ActionCallRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionCallRequest").msgclass
16
- ActionCallResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionCallResponse").msgclass
17
- ActionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionResult").msgclass
18
- ActionResultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionResultRequest").msgclass
19
- ActionResultResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionResultResponse").msgclass
20
- end
21
- end
@@ -1,20 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: datatype.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require_relative '../shared/datatype_definition_pb'
8
-
9
-
10
- descriptor_data = "\n\x0e\x64\x61tatype.proto\x12\x0bsagittarius\x1a\x19\x64\x61tatype_definition.proto\"=\n\x15\x44\x61taTypeUpdateRequest\x12$\n\ndata_types\x18\x01 \x03(\x0b\x32\x10.shared.DataType\")\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
-
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
- pool.add_serialized_file(descriptor_data)
14
-
15
- module Tucana
16
- module Sagittarius
17
- DataTypeUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.DataTypeUpdateRequest").msgclass
18
- DataTypeUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.DataTypeUpdateResponse").msgclass
19
- end
20
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: flow.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require_relative 'node_pb'
8
- require_relative 'flow_definition_pb'
9
-
10
-
11
- descriptor_data = "\n\nflow.proto\x12\x0bsagittarius\x1a\nnode.proto\x1a\x15\x66low_definition.proto\"o\n\x04\x46low\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12%\n\nstart_node\x18\x02 \x01(\x0b\x32\x11.sagittarius.Node\x12/\n\ndefinition\x18\x03 \x01(\x0b\x32\x1b.sagittarius.FlowDefinition\")\n\x05\x46lows\x12 \n\x05\x66lows\x18\x01 \x03(\x0b\x32\x11.sagittarius.Flow\"\x12\n\x10\x46lowLogonRequest\"\x81\x01\n\x0c\x46lowResponse\x12)\n\x0cupdated_flow\x18\x01 \x01(\x0b\x32\x11.sagittarius.FlowH\x00\x12\x19\n\x0f\x64\x65leted_flow_id\x18\x02 \x01(\x03H\x00\x12#\n\x05\x66lows\x18\x03 \x01(\x0b\x32\x12.sagittarius.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"
12
-
13
- pool = Google::Protobuf::DescriptorPool.generated_pool
14
- pool.add_serialized_file(descriptor_data)
15
-
16
- module Tucana
17
- module Sagittarius
18
- Flow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.Flow").msgclass
19
- Flows = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.Flows").msgclass
20
- FlowLogonRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.FlowLogonRequest").msgclass
21
- FlowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.FlowResponse").msgclass
22
- end
23
- end
@@ -1,20 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: node.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require_relative '../shared/runtime_function_definition_pb'
8
-
9
-
10
- descriptor_data = "\n\nnode.proto\x12\x0bsagittarius\x1a!runtime_function_definition.proto\"\xa2\x01\n\x04Node\x12\x35\n\ndefinition\x18\x01 \x01(\x0b\x32!.shared.RuntimeFunctionDefinition\x12)\n\tnext_node\x18\x02 \x01(\x0b\x32\x11.sagittarius.NodeH\x00\x88\x01\x01\x12*\n\nparameters\x18\x03 \x03(\x0b\x32\x16.sagittarius.ParameterB\x0c\n\n_next_node\"\x98\x01\n\tParameter\x12\x36\n\ndefinition\x18\x01 \x01(\x0b\x32\".shared.RuntimeParameterDefinition\x12\x12\n\x05value\x18\x02 \x01(\tH\x00\x88\x01\x01\x12(\n\x08sub_node\x18\x03 \x01(\x0b\x32\x11.sagittarius.NodeH\x01\x88\x01\x01\x42\x08\n\x06_valueB\x0b\n\t_sub_nodeB\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
- Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.Node").msgclass
18
- Parameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.Parameter").msgclass
19
- end
20
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: datatype_definition.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/protobuf/struct_pb'
8
- require_relative '../shared/translations_pb'
9
-
10
-
11
- descriptor_data = "\n\x19\x64\x61tatype_definition.proto\x12\x06shared\x1a\x1cgoogle/protobuf/struct.proto\x1a\x12translations.proto\"\xa5\x03\n\x08\x44\x61taType\x12)\n\x07variant\x18\x01 \x01(\x0e\x32\x18.shared.DataType.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\x14.shared.DataTypeRule\x12%\n\x0binput_types\x18\x05 \x03(\x0b\x32\x10.shared.DataType\x12*\n\x0breturn_type\x18\x06 \x01(\x0b\x32\x10.shared.DataTypeH\x00\x88\x01\x01\x12#\n\x16parent_type_identifier\x18\x07 \x01(\tH\x01\x88\x01\x01\"o\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\x0b\n\x07GENERIC\x10\x06\x12\x0c\n\x08\x46UNCTION\x10\x07\x42\x0e\n\x0c_return_typeB\x19\n\x17_parent_type_identifier\"\xd8\x01\n\x0c\x44\x61taTypeRule\x12-\n\x07variant\x18\x01 \x01(\x0e\x32\x1c.shared.DataTypeRule.Variant\x12\'\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"p\n\x07Variant\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05REGEX\x10\x01\x12\x10\n\x0cNUMBER_RANGE\x10\x02\x12\x16\n\x12ITEM_OF_COLLECTION\x10\x03\x12\x11\n\rCONTAINS_TYPE\x10\x04\x12\x10\n\x0c\x43ONTAINS_KEY\x10\x05\x42\x11\xea\x02\x0eTucana::Sharedb\x06proto3"
12
-
13
- pool = Google::Protobuf::DescriptorPool.generated_pool
14
- pool.add_serialized_file(descriptor_data)
15
-
16
- module Tucana
17
- module Shared
18
- DataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataType").msgclass
19
- DataType::Variant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataType.Variant").enummodule
20
- DataTypeRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeRule").msgclass
21
- DataTypeRule::Variant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.DataTypeRule.Variant").enummodule
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: event.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/protobuf/struct_pb'
8
- require_relative '../shared/translations_pb'
9
- require_relative '../shared/datatype_definition_pb'
10
-
11
-
12
- descriptor_data = "\n\x0b\x65vent.proto\x12\x06shared\x1a\x1cgoogle/protobuf/struct.proto\x1a\x12translations.proto\x1a\x19\x64\x61tatype_definition.proto\"\xdc\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\x1e\n\x04type\x18\x04 \x01(\x0b\x32\x10.shared.DataType\x12\x32\n\rdefault_value\x18\x05 \x01(\x0b\x32\x16.google.protobuf.ValueH\x00\x88\x01\x01\x42\x10\n\x0e_default_value\"|\n\x0f\x45ventDefinition\x12\x31\n\x08settings\x18\x01 \x03(\x0b\x32\x1f.shared.EventDefinitionSettings\x12$\n\ninput_type\x18\x02 \x01(\x0b\x32\x10.shared.DataType\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
-
14
- pool = Google::Protobuf::DescriptorPool.generated_pool
15
- pool.add_serialized_file(descriptor_data)
16
-
17
- module Tucana
18
- module Shared
19
- EventDefinitionSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.EventDefinitionSettings").msgclass
20
- EventDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.EventDefinition").msgclass
21
- EventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.EventType").msgclass
22
- end
23
- end
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: runtime_function_definition.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require_relative '../shared/datatype_definition_pb'
8
-
9
-
10
- descriptor_data = "\n!runtime_function_definition.proto\x12\x06shared\x1a\x19\x64\x61tatype_definition.proto\"\xde\x01\n\x19RuntimeFunctionDefinition\x12\x12\n\nruntime_id\x18\x01 \x01(\t\x12O\n\x1druntime_parameter_definitions\x18\x02 \x01(\x0b\x32#.shared.RuntimeParameterDefinitionsH\x00\x88\x01\x01\x12*\n\x0breturn_type\x18\x03 \x01(\x0b\x32\x10.shared.DataTypeH\x01\x88\x01\x01\x42 \n\x1e_runtime_parameter_definitionsB\x0e\n\x0c_return_type\"T\n\x1bRuntimeParameterDefinitions\x12\x35\n\nparameters\x18\x01 \x03(\x0b\x32!.shared.RuntimeFunctionDefinition\"J\n\x1aRuntimeParameterDefinition\x12\x1e\n\x04type\x18\x01 \x01(\x0b\x32\x10.shared.DataType\x12\x0c\n\x04name\x18\x02 \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
- RuntimeFunctionDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.RuntimeFunctionDefinition").msgclass
18
- RuntimeParameterDefinitions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.RuntimeParameterDefinitions").msgclass
19
- RuntimeParameterDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.RuntimeParameterDefinition").msgclass
20
- end
21
- end