tucana 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tucana/aquila/action_communication_pb.rb +29 -0
- data/lib/tucana/aquila/{transfer_services_pb.rb → action_communication_services_pb.rb} +4 -4
- data/lib/tucana/sagittarius/action_pb.rb +2 -2
- data/lib/tucana/sagittarius/node_pb.rb +2 -2
- data/lib/tucana/shared/event_pb.rb +23 -0
- data/lib/tucana/shared/runtime_function_definition_pb.rb +21 -0
- data/lib/tucana/version.rb +1 -1
- metadata +6 -5
- data/lib/tucana/aquila/transfer_pb.rb +0 -22
- data/lib/tucana/shared/definitions_pb.rb +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1324fa7bd731848feffff1dc0b2ebe1288211cdea970414dcc2d64435bcb804
|
4
|
+
data.tar.gz: f628ecd6078fe12a76bf1abed25865d357f8052a9fe9eaca31fbddbeae1eb9b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1241937c4f8a5588a8388f7b0c11ec36794816cdeb878994d87ed5266fa1a4d5c9aff06066af7da4ad4c8516807ef18c2529ea166d4dbbf7460b2cac3cd718c0
|
7
|
+
data.tar.gz: 42e38e1e268c7501e7299361a39fb0a71a0f759a67350266b9fdffec162fc23d190680fdd781251dc63b8f826f8844edf413bff48a5fa721fbbcf4158e360e0e
|
@@ -0,0 +1,29 @@
|
|
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,8 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source:
|
2
|
+
# Source: action_communication.proto for package 'Tucana.Aquila'
|
3
3
|
|
4
4
|
require 'grpc'
|
5
|
-
require_relative '
|
5
|
+
require_relative 'action_communication_pb'
|
6
6
|
|
7
7
|
module Tucana
|
8
8
|
module Aquila
|
@@ -15,8 +15,8 @@ module Tucana
|
|
15
15
|
self.unmarshal_class_method = :decode
|
16
16
|
self.service_name = 'aquila.ActionTransferService'
|
17
17
|
|
18
|
-
|
19
|
-
rpc :
|
18
|
+
# This behavior achieves a bi-directional stream so that both services aren't required to be a server & client on their own
|
19
|
+
rpc :Transfer, stream(::Tucana::Aquila::TransferRequest), stream(::Tucana::Aquila::TransferResponse)
|
20
20
|
end
|
21
21
|
|
22
22
|
Stub = Service.rpc_stub_class
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
-
require_relative '../shared/
|
7
|
+
require_relative '../shared/runtime_function_definition_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n\x0c\x61\x63tion.proto\x12\x0bsagittarius\x1a
|
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"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
-
require_relative '../shared/
|
7
|
+
require_relative '../shared/runtime_function_definition_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n\nnode.proto\x12\x0bsagittarius\x1a
|
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
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
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: 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
|
@@ -0,0 +1,21 @@
|
|
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
|
data/lib/tucana/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tucana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
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:
|
11
|
+
date: 2025-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -74,10 +74,10 @@ 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
|
77
79
|
- lib/tucana/aquila/action_execute_pb.rb
|
78
80
|
- lib/tucana/aquila/action_execute_services_pb.rb
|
79
|
-
- lib/tucana/aquila/transfer_pb.rb
|
80
|
-
- lib/tucana/aquila/transfer_services_pb.rb
|
81
81
|
- lib/tucana/sagittarius/action_pb.rb
|
82
82
|
- lib/tucana/sagittarius/action_services_pb.rb
|
83
83
|
- lib/tucana/sagittarius/datatype_pb.rb
|
@@ -89,7 +89,8 @@ files:
|
|
89
89
|
- lib/tucana/sagittarius/ping_pb.rb
|
90
90
|
- lib/tucana/sagittarius/ping_services_pb.rb
|
91
91
|
- lib/tucana/shared/datatype_definition_pb.rb
|
92
|
-
- lib/tucana/shared/
|
92
|
+
- lib/tucana/shared/event_pb.rb
|
93
|
+
- lib/tucana/shared/runtime_function_definition_pb.rb
|
93
94
|
- lib/tucana/shared/translations_pb.rb
|
94
95
|
- lib/tucana/version.rb
|
95
96
|
homepage: https://github.com/code0-tech/tucana
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# source: transfer.proto
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require_relative '../shared/definitions_pb'
|
8
|
-
|
9
|
-
|
10
|
-
descriptor_data = "\n\x0etransfer.proto\x12\x06\x61quila\x1a\x11\x64\x65\x66initions.proto\"\xaa\x01\n\x12InformationRequest\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12>\n\x13\x66unction_definition\x18\x02 \x03(\x0b\x32!.shared.RuntimeFunctionDefinition\x12@\n\x14parameter_definition\x18\x03 \x03(\x0b\x32\".shared.RuntimeParameterDefinition\"&\n\x13InformationResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"e\n\x14\x41\x63tionExecuteRequest\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\x12\x1b\n\x13\x66unction_identifier\x18\x02 \x01(\t\x12\x12\n\nparameters\x18\x03 \x03(\t\"E\n\x15\x41\x63tionExecuteResponse\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\x12\x0e\n\x06result\x18\x02 \x03(\t2\xaa\x01\n\x15\x41\x63tionTransferService\x12\x45\n\x08Transfer\x12\x1a.aquila.InformationRequest\x1a\x1b.aquila.InformationResponse(\x01\x12J\n\x07\x45xecute\x12\x1c.aquila.ActionExecuteRequest\x1a\x1d.aquila.ActionExecuteResponse(\x01\x30\x01\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
|
-
InformationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.InformationRequest").msgclass
|
18
|
-
InformationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.InformationResponse").msgclass
|
19
|
-
ActionExecuteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionExecuteRequest").msgclass
|
20
|
-
ActionExecuteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionExecuteResponse").msgclass
|
21
|
-
end
|
22
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# source: definitions.proto
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
|
8
|
-
descriptor_data = "\n\x11\x64\x65\x66initions.proto\x12\x06shared\"\'\n\x19RuntimeFunctionDefinition\x12\n\n\x02id\x18\x01 \x01(\t\"*\n\x1aRuntimeParameterDefinition\x12\x0c\n\x04name\x18\x01 \x01(\tB\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
|
-
RuntimeFunctionDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.RuntimeFunctionDefinition").msgclass
|
16
|
-
RuntimeParameterDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.RuntimeParameterDefinition").msgclass
|
17
|
-
end
|
18
|
-
end
|