tucana 0.0.76 → 0.0.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tucana/generated/aquila/aquila.action_pb.rb +13 -1
- data/lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.flow_pb.rb +25 -0
- data/lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.flow_services_pb.rb +29 -0
- data/lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.module_pb.rb +27 -0
- data/lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.module_services_pb.rb +32 -0
- data/lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.runtime_status_pb.rb +23 -0
- data/lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.runtime_status_services_pb.rb +26 -0
- data/lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.test_execution_pb.rb +27 -0
- data/lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.test_execution_services_pb.rb +29 -0
- data/lib/tucana/generated/sagittarius_rails/sagittarius_rails.flow_pb.rb +22 -0
- data/lib/tucana/generated/sagittarius_rails/sagittarius_rails.flow_services_pb.rb +27 -0
- data/lib/tucana/generated/sagittarius_rails/sagittarius_rails.module_pb.rb +23 -0
- data/lib/tucana/generated/sagittarius_rails/sagittarius_rails.module_services_pb.rb +27 -0
- data/lib/tucana/generated/sagittarius_rails/sagittarius_rails.runtime_status_pb.rb +23 -0
- data/lib/tucana/generated/sagittarius_rails/sagittarius_rails.runtime_status_services_pb.rb +26 -0
- data/lib/tucana/generated/sagittarius_rails/sagittarius_rails.test_execution_pb.rb +23 -0
- data/lib/tucana/generated/sagittarius_rails/sagittarius_rails.test_execution_services_pb.rb +26 -0
- data/lib/tucana/generated/sagittarius_rails/sagittarius_rails.token_pb.rb +22 -0
- data/lib/tucana/generated/sagittarius_rails/sagittarius_rails.token_services_pb.rb +27 -0
- data/lib/tucana/generated/shared/shared.flow_pb.rb +3 -2
- data/lib/tucana/generated/velorum/velorum.info_pb.rb +1 -5
- data/lib/tucana/version.rb +1 -1
- data/lib/tucana.rb +1 -1
- metadata +19 -11
- data/lib/tucana/generated/sagittarius/sagittarius.flow_pb.rb +0 -21
- data/lib/tucana/generated/sagittarius/sagittarius.flow_services_pb.rb +0 -24
- data/lib/tucana/generated/sagittarius/sagittarius.module_pb.rb +0 -21
- data/lib/tucana/generated/sagittarius/sagittarius.module_services_pb.rb +0 -25
- data/lib/tucana/generated/sagittarius/sagittarius.ping_pb.rb +0 -17
- data/lib/tucana/generated/sagittarius/sagittarius.ping_services_pb.rb +0 -24
- data/lib/tucana/generated/sagittarius/sagittarius.runtime_status_pb.rb +0 -21
- data/lib/tucana/generated/sagittarius/sagittarius.runtime_status_services_pb.rb +0 -24
- data/lib/tucana/generated/sagittarius/sagittarius.text_execution_pb.rb +0 -23
- data/lib/tucana/generated/sagittarius/sagittarius.text_execution_services_pb.rb +0 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 122de1035e68064e657f78057fa3402b7c7224c3ce69f69e4ebdbac6e81affb4
|
|
4
|
+
data.tar.gz: e0ba88b134e61701494c0f5863b3b8f8b72e935dc93d5b14c50f832912e8eb0b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c044f0bb9775d5583570e2ac605704bbb83cfd62cd9924d7552eeed03107c6a770728484e332e2a4e7466c35d3173e2141decf125d1b5cbe746057f52f83f8cf
|
|
7
|
+
data.tar.gz: b57b31647bc61a52d07e4a36178ca5a4ebd8692883192e53339cffc46b2d01f9edd0a79d2aa5edf3bade4554068c32795c7137b862f3255c02c4fb744c455d77
|
|
@@ -7,19 +7,31 @@ require 'google/protobuf'
|
|
|
7
7
|
require_relative '../shared/shared.module_pb'
|
|
8
8
|
require_relative '../shared/shared.execution_result_pb'
|
|
9
9
|
require_relative '../shared/shared.struct_pb'
|
|
10
|
+
require_relative '../shared/shared.flow_pb'
|
|
11
|
+
require_relative '../shared/shared.translation_pb'
|
|
12
|
+
require_relative '../shared/shared.errors_pb'
|
|
10
13
|
|
|
11
14
|
|
|
12
|
-
descriptor_data = "\n\x13\x61quila.action.proto\x12\x06\x61quila\x1a\x13shared.module.proto\x1a\x1dshared.execution_result.proto\x1a\x13shared.struct.proto\"U\n\x0b\x41\x63tionEvent\x12\x12\n\nevent_type\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\x03\x12\x1e\n\x07payload\x18\x03 \x01(\x0b\x32\r.shared.Value\"
|
|
15
|
+
descriptor_data = "\n\x13\x61quila.action.proto\x12\x06\x61quila\x1a\x13shared.module.proto\x1a\x1dshared.execution_result.proto\x1a\x13shared.struct.proto\x1a\x11shared.flow.proto\x1a\x18shared.translation.proto\x1a\x13shared.errors.proto\"\xc9\x01\n\nActionFlow\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x12\n\nproject_id\x18\x02 \x01(\x03\x12%\n\x08settings\x18\x03 \x03(\x0b\x32\x13.shared.FlowSetting\x12$\n\x0cinput_schema\x18\x04 \x01(\x0b\x32\x0e.shared.Struct\x12%\n\routput_schema\x18\x05 \x01(\x0b\x32\x0e.shared.Struct\x12\x14\n\x0cproject_slug\x18\x06 \x01(\t\x12\x0c\n\x04name\x18\x07 \x01(\t\"U\n\x0b\x41\x63tionEvent\x12\x12\n\nevent_type\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\x03\x12\x1e\n\x07payload\x18\x03 \x01(\x0b\x32\r.shared.Value\"\x9f\x01\n\x0b\x41\x63tionLogon\x12\x1e\n\x06module\x18\x01 \x01(\x0b\x32\x0e.shared.Module\x12\x39\n\x0escaling_option\x18\x02 \x01(\x0e\x32!.aquila.ActionLogon.ScalingOption\"5\n\rScalingOption\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\t\n\x05SPLIT\x10\x02\"6\n\x16\x41\x63tionNodeSubFlowValue\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\"v\n\x0f\x41\x63tionNodeValue\x12&\n\rliteral_value\x18\x01 \x01(\x0b\x32\r.shared.ValueH\x00\x12\x32\n\x08sub_flow\x18\x02 \x01(\x0b\x32\x1e.aquila.ActionNodeSubFlowValueH\x00\x42\x07\n\x05value\"\x94\x01\n\x16\x41\x63tionExecutionRequest\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 \x03(\x0b\x32\x17.aquila.ActionNodeValue\x12\x12\n\nproject_id\x18\x04 \x01(\x03\"`\n\x1d\x41\x63tionSubFlowExecutionRequest\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\x12!\n\nparameters\x18\x02 \x03(\x0b\x32\r.shared.Value\"\x8c\x01\n\x1e\x41\x63tionSubFlowExecutionResponse\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\x12 \n\x07success\x18\x02 \x01(\x0b\x32\r.shared.ValueH\x00\x12 \n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32\r.shared.ErrorH\x00\x42\x08\n\x06result\"k\n\x1a\x41\x63tionFlowExecutionRequest\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\x12\x0f\n\x07\x66low_id\x18\x02 \x01(\t\x12\x1e\n\x07payload\x18\x03 \x01(\x0b\x32\r.shared.Value\"i\n\x17\x41\x63tionExecutionResponse\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\x12\x30\n\x0bnode_result\x18\x02 \x01(\x0b\x32\x1b.shared.NodeExecutionResult\"\x89\x01\n\x1b\x41\x63tionFlowExecutionResponse\x12\x1c\n\x14\x65xecution_identifier\x18\x01 \x01(\t\x12 \n\x07success\x18\x02 \x01(\x0b\x32\r.shared.ValueH\x00\x12 \n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32\r.shared.ErrorH\x00\x42\x08\n\x06result\"^\n\x10\x41\x63tionFlowUpdate\x12*\n\x0cupdated_flow\x18\x01 \x01(\x0b\x32\x12.aquila.ActionFlowH\x00\x12\x16\n\x0c\x64\x65leted_flow\x18\x02 \x01(\x03H\x00\x42\x06\n\x04\x64\x61ta\"\xe3\x01\n\x15\x41\x63tionTransferRequest\x12$\n\x05logon\x18\x01 \x01(\x0b\x32\x13.aquila.ActionLogonH\x00\x12$\n\x05\x65vent\x18\x02 \x01(\x0b\x32\x13.aquila.ActionEventH\x00\x12\x31\n\x06result\x18\x03 \x01(\x0b\x32\x1f.aquila.ActionExecutionResponseH\x00\x12\x43\n\x12sub_flow_execution\x18\x04 \x01(\x0b\x32%.aquila.ActionSubFlowExecutionRequestH\x00\x42\x06\n\x04\x64\x61ta\"\xdc\x02\n\x16\x41\x63tionTransferResponse\x12\x33\n\texecution\x18\x01 \x01(\x0b\x32\x1e.aquila.ActionExecutionRequestH\x00\x12=\n\x15module_configurations\x18\x02 \x01(\x0b\x32\x1c.shared.ModuleConfigurationsH\x00\x12/\n\x0b\x66low_update\x18\x03 \x01(\x0b\x32\x18.aquila.ActionFlowUpdateH\x00\x12\x46\n\x17\x66low_execution_response\x18\x04 \x01(\x0b\x32#.aquila.ActionFlowExecutionResponseH\x00\x12M\n\x1bsub_flow_execution_response\x18\x05 \x01(\x0b\x32&.aquila.ActionSubFlowExecutionResponseH\x00\x42\x06\n\x04\x64\x61ta2f\n\x15\x41\x63tionTransferService\x12M\n\x08Transfer\x12\x1d.aquila.ActionTransferRequest\x1a\x1e.aquila.ActionTransferResponse(\x01\x30\x01\x42\x11\xea\x02\x0eTucana::Aquilab\x06proto3"
|
|
13
16
|
|
|
14
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
18
|
pool.add_serialized_file(descriptor_data)
|
|
16
19
|
|
|
17
20
|
module Tucana
|
|
18
21
|
module Aquila
|
|
22
|
+
ActionFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionFlow").msgclass
|
|
19
23
|
ActionEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionEvent").msgclass
|
|
20
24
|
ActionLogon = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionLogon").msgclass
|
|
25
|
+
ActionLogon::ScalingOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionLogon.ScalingOption").enummodule
|
|
26
|
+
ActionNodeSubFlowValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionNodeSubFlowValue").msgclass
|
|
27
|
+
ActionNodeValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionNodeValue").msgclass
|
|
21
28
|
ActionExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionExecutionRequest").msgclass
|
|
29
|
+
ActionSubFlowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionSubFlowExecutionRequest").msgclass
|
|
30
|
+
ActionSubFlowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionSubFlowExecutionResponse").msgclass
|
|
31
|
+
ActionFlowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionFlowExecutionRequest").msgclass
|
|
22
32
|
ActionExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionExecutionResponse").msgclass
|
|
33
|
+
ActionFlowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionFlowExecutionResponse").msgclass
|
|
34
|
+
ActionFlowUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionFlowUpdate").msgclass
|
|
23
35
|
ActionTransferRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionTransferRequest").msgclass
|
|
24
36
|
ActionTransferResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aquila.ActionTransferResponse").msgclass
|
|
25
37
|
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sagittarius_gateway.flow.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../shared/shared.flow_pb'
|
|
8
|
+
require_relative '../shared/shared.module_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\x1esagittarius_gateway.flow.proto\x12\x13sagittarius_gateway\x1a\x11shared.flow.proto\x1a\x13shared.module.proto\"\x12\n\x10\x46lowLogonRequest\"\x81\x01\n\x0c\x46lowResponse\x12.\n\x0cupdated_flow\x18\x01 \x01(\x0b\x32\x16.shared.ValidationFlowH\x00\x12\x19\n\x0f\x64\x65leted_flow_id\x18\x02 \x01(\x03H\x00\x12\x1e\n\x05\x66lows\x18\x03 \x01(\x0b\x32\r.shared.FlowsH\x00\x42\x06\n\x04\x64\x61ta\"b\n\x0f\x46lowPushRequest\x12\x1a\n\x12runtime_identifier\x18\x01 \x01(\x03\x12\x33\n\x08response\x18\x02 \x01(\x0b\x32!.sagittarius_gateway.FlowResponse\"\x12\n\x10\x46lowPushResponse2\xbc\x01\n\x0b\x46lowService\x12V\n\x06Update\x12%.sagittarius_gateway.FlowLogonRequest\x1a!.sagittarius_gateway.FlowResponse\"\x00\x30\x01\x12U\n\x04Push\x12$.sagittarius_gateway.FlowPushRequest\x1a%.sagittarius_gateway.FlowPushResponse\"\x00\x42\x1f\xea\x02\x1cTucana::Sagittarius::Gatewayb\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Tucana
|
|
17
|
+
module Sagittarius
|
|
18
|
+
module Gateway
|
|
19
|
+
FlowLogonRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.FlowLogonRequest").msgclass
|
|
20
|
+
FlowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.FlowResponse").msgclass
|
|
21
|
+
FlowPushRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.FlowPushRequest").msgclass
|
|
22
|
+
FlowPushResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.FlowPushResponse").msgclass
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: sagittarius_gateway.flow.proto for package 'Tucana.Sagittarius.Gateway'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require_relative 'sagittarius_gateway.flow_pb'
|
|
6
|
+
|
|
7
|
+
module Tucana
|
|
8
|
+
module Sagittarius
|
|
9
|
+
module Gateway
|
|
10
|
+
module FlowService
|
|
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_gateway.FlowService'
|
|
18
|
+
|
|
19
|
+
# Called by Aquila
|
|
20
|
+
rpc :Update, ::Tucana::Sagittarius::Gateway::FlowLogonRequest, stream(::Tucana::Sagittarius::Gateway::FlowResponse)
|
|
21
|
+
# Called by Sagittarius
|
|
22
|
+
rpc :Push, ::Tucana::Sagittarius::Gateway::FlowPushRequest, ::Tucana::Sagittarius::Gateway::FlowPushResponse
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
Stub = Service.rpc_stub_class
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sagittarius_gateway.module.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../shared/shared.errors_pb'
|
|
8
|
+
require_relative '../shared/shared.module_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n sagittarius_gateway.module.proto\x12\x13sagittarius_gateway\x1a\x13shared.errors.proto\x1a\x13shared.module.proto\"\\\n\x13ModuleUpdateRequest\x12\x1f\n\x07modules\x18\x01 \x03(\x0b\x32\x0e.shared.Module\x12$\n\x1c\x61vailable_definition_sources\x18\x02 \x03(\t\"[\n\x14ModuleUpdateResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12(\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x14.shared.ServiceErrorH\x00\x88\x01\x01\x42\x08\n\x06_error\"\x1c\n\x1aModuleConfigurationRequest\"Z\n\x1bModuleConfigurationResponse\x12;\n\x15module_configurations\x18\x01 \x01(\x0b\x32\x1c.shared.ModuleConfigurations\"\x80\x01\n\x1eModuleConfigurationPushRequest\x12\x1a\n\x12runtime_identifier\x18\x01 \x01(\x03\x12\x42\n\x08response\x18\x02 \x01(\x0b\x32\x30.sagittarius_gateway.ModuleConfigurationResponse\"!\n\x1fModuleConfigurationPushResponse2\xde\x02\n\rModuleService\x12_\n\x06Update\x12(.sagittarius_gateway.ModuleUpdateRequest\x1a).sagittarius_gateway.ModuleUpdateResponse\"\x00\x12w\n\x0e\x43onfigurations\x12/.sagittarius_gateway.ModuleConfigurationRequest\x1a\x30.sagittarius_gateway.ModuleConfigurationResponse\"\x00\x30\x01\x12s\n\x04Push\x12\x33.sagittarius_gateway.ModuleConfigurationPushRequest\x1a\x34.sagittarius_gateway.ModuleConfigurationPushResponse\"\x00\x42\x1f\xea\x02\x1cTucana::Sagittarius::Gatewayb\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Tucana
|
|
17
|
+
module Sagittarius
|
|
18
|
+
module Gateway
|
|
19
|
+
ModuleUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.ModuleUpdateRequest").msgclass
|
|
20
|
+
ModuleUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.ModuleUpdateResponse").msgclass
|
|
21
|
+
ModuleConfigurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.ModuleConfigurationRequest").msgclass
|
|
22
|
+
ModuleConfigurationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.ModuleConfigurationResponse").msgclass
|
|
23
|
+
ModuleConfigurationPushRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.ModuleConfigurationPushRequest").msgclass
|
|
24
|
+
ModuleConfigurationPushResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.ModuleConfigurationPushResponse").msgclass
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: sagittarius_gateway.module.proto for package 'Tucana.Sagittarius.Gateway'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require_relative 'sagittarius_gateway.module_pb'
|
|
6
|
+
|
|
7
|
+
module Tucana
|
|
8
|
+
module Sagittarius
|
|
9
|
+
module Gateway
|
|
10
|
+
module ModuleService
|
|
11
|
+
# This service will be implemented as a server by Sagittarius and as a client by Aquila.
|
|
12
|
+
class Service
|
|
13
|
+
|
|
14
|
+
include ::GRPC::GenericService
|
|
15
|
+
|
|
16
|
+
self.marshal_class_method = :encode
|
|
17
|
+
self.unmarshal_class_method = :decode
|
|
18
|
+
self.service_name = 'sagittarius_gateway.ModuleService'
|
|
19
|
+
|
|
20
|
+
# Aquila will call this method to update modules
|
|
21
|
+
rpc :Update, ::Tucana::Sagittarius::Gateway::ModuleUpdateRequest, ::Tucana::Sagittarius::Gateway::ModuleUpdateResponse
|
|
22
|
+
# Aquila will call this method to open a stream to receive module configurations
|
|
23
|
+
rpc :Configurations, ::Tucana::Sagittarius::Gateway::ModuleConfigurationRequest, stream(::Tucana::Sagittarius::Gateway::ModuleConfigurationResponse)
|
|
24
|
+
# Sagittarius will call this method push new module configurations to aquila
|
|
25
|
+
rpc :Push, ::Tucana::Sagittarius::Gateway::ModuleConfigurationPushRequest, ::Tucana::Sagittarius::Gateway::ModuleConfigurationPushResponse
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
Stub = Service.rpc_stub_class
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sagittarius_gateway.runtime_status.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../shared/shared.errors_pb'
|
|
8
|
+
require_relative '../shared/shared.runtime_status_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n(sagittarius_gateway.runtime_status.proto\x12\x13sagittarius_gateway\x1a\x13shared.errors.proto\x1a\x1bshared.runtime_status.proto\"B\n\x1aRuntimeStatusUpdateRequest\x12$\n\x06status\x18\x01 \x01(\x0b\x32\x14.shared.ModuleStatus\"b\n\x1bRuntimeStatusUpdateResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12(\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x14.shared.ServiceErrorH\x00\x88\x01\x01\x42\x08\n\x06_error2\x85\x01\n\x14RuntimeStatusService\x12m\n\x06Update\x12/.sagittarius_gateway.RuntimeStatusUpdateRequest\x1a\x30.sagittarius_gateway.RuntimeStatusUpdateResponse\"\x00\x42\x1f\xea\x02\x1cTucana::Sagittarius::Gatewayb\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Tucana
|
|
17
|
+
module Sagittarius
|
|
18
|
+
module Gateway
|
|
19
|
+
RuntimeStatusUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.RuntimeStatusUpdateRequest").msgclass
|
|
20
|
+
RuntimeStatusUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.RuntimeStatusUpdateResponse").msgclass
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
data/lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.runtime_status_services_pb.rb
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: sagittarius_gateway.runtime_status.proto for package 'Tucana.Sagittarius.Gateway'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require_relative 'sagittarius_gateway.runtime_status_pb'
|
|
6
|
+
|
|
7
|
+
module Tucana
|
|
8
|
+
module Sagittarius
|
|
9
|
+
module Gateway
|
|
10
|
+
module RuntimeStatusService
|
|
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_gateway.RuntimeStatusService'
|
|
18
|
+
|
|
19
|
+
rpc :Update, ::Tucana::Sagittarius::Gateway::RuntimeStatusUpdateRequest, ::Tucana::Sagittarius::Gateway::RuntimeStatusUpdateResponse
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
Stub = Service.rpc_stub_class
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sagittarius_gateway.test_execution.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../shared/shared.struct_pb'
|
|
8
|
+
require_relative '../shared/shared.execution_result_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n(sagittarius_gateway.test_execution.proto\x12\x13sagittarius_gateway\x1a\x13shared.struct.proto\x1a\x1dshared.execution_result.proto\"\x07\n\x05Logon\"b\n\x14TestExecutionRequest\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x1c\n\x14\x65xecution_identifier\x18\x02 \x01(\t\x12\x1b\n\x04\x62ody\x18\x03 \x01(\x0b\x32\r.shared.Value\"y\n\x15\x45xecutionLogonRequest\x12+\n\x05logon\x18\x01 \x01(\x0b\x32\x1a.sagittarius_gateway.LogonH\x00\x12+\n\x08response\x18\x02 \x01(\x0b\x32\x17.shared.ExecutionResultH\x00\x42\x06\n\x04\x64\x61ta\"T\n\x16\x45xecutionLogonResponse\x12:\n\x07request\x18\x01 \x01(\x0b\x32).sagittarius_gateway.TestExecutionRequest\"R\n\x14\x45xecutionPushRequest\x12:\n\x07request\x18\x01 \x01(\x0b\x32).sagittarius_gateway.TestExecutionRequest\"\x17\n\x15\x45xecutionPushResponse2\xdc\x01\n\x10\x45xecutionService\x12g\n\x06Update\x12*.sagittarius_gateway.ExecutionLogonRequest\x1a+.sagittarius_gateway.ExecutionLogonResponse\"\x00(\x01\x30\x01\x12_\n\x04Push\x12).sagittarius_gateway.ExecutionPushRequest\x1a*.sagittarius_gateway.ExecutionPushResponse\"\x00\x42\x1f\xea\x02\x1cTucana::Sagittarius::Gatewayb\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Tucana
|
|
17
|
+
module Sagittarius
|
|
18
|
+
module Gateway
|
|
19
|
+
Logon = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.Logon").msgclass
|
|
20
|
+
TestExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.TestExecutionRequest").msgclass
|
|
21
|
+
ExecutionLogonRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.ExecutionLogonRequest").msgclass
|
|
22
|
+
ExecutionLogonResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.ExecutionLogonResponse").msgclass
|
|
23
|
+
ExecutionPushRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.ExecutionPushRequest").msgclass
|
|
24
|
+
ExecutionPushResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_gateway.ExecutionPushResponse").msgclass
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
data/lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.test_execution_services_pb.rb
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: sagittarius_gateway.test_execution.proto for package 'Tucana.Sagittarius.Gateway'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require_relative 'sagittarius_gateway.test_execution_pb'
|
|
6
|
+
|
|
7
|
+
module Tucana
|
|
8
|
+
module Sagittarius
|
|
9
|
+
module Gateway
|
|
10
|
+
module ExecutionService
|
|
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_gateway.ExecutionService'
|
|
18
|
+
|
|
19
|
+
# Called by Aquila
|
|
20
|
+
rpc :Update, stream(::Tucana::Sagittarius::Gateway::ExecutionLogonRequest), stream(::Tucana::Sagittarius::Gateway::ExecutionLogonResponse)
|
|
21
|
+
# Called by Sagittarius
|
|
22
|
+
rpc :Push, ::Tucana::Sagittarius::Gateway::ExecutionPushRequest, ::Tucana::Sagittarius::Gateway::ExecutionPushResponse
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
Stub = Service.rpc_stub_class
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sagittarius_rails.flow.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../shared/shared.flow_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n\x1csagittarius_rails.flow.proto\x12\x11sagittarius_rails\x1a\x11shared.flow.proto\"\x12\n\x10\x46lowLogonRequest\"\x81\x01\n\x0c\x46lowResponse\x12.\n\x0cupdated_flow\x18\x01 \x01(\x0b\x32\x16.shared.ValidationFlowH\x00\x12\x19\n\x0f\x64\x65leted_flow_id\x18\x02 \x01(\x03H\x00\x12\x1e\n\x05\x66lows\x18\x03 \x01(\x0b\x32\r.shared.FlowsH\x00\x42\x06\n\x04\x64\x61ta2_\n\x0b\x46lowService\x12P\n\x06Update\x12#.sagittarius_rails.FlowLogonRequest\x1a\x1f.sagittarius_rails.FlowResponse\"\x00\x42\x1d\xea\x02\x1aTucana::Sagittarius::Railsb\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
|
|
15
|
+
module Tucana
|
|
16
|
+
module Sagittarius
|
|
17
|
+
module Rails
|
|
18
|
+
FlowLogonRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_rails.FlowLogonRequest").msgclass
|
|
19
|
+
FlowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_rails.FlowResponse").msgclass
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: sagittarius_rails.flow.proto for package 'Tucana.Sagittarius.Rails'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require_relative 'sagittarius_rails.flow_pb'
|
|
6
|
+
|
|
7
|
+
module Tucana
|
|
8
|
+
module Sagittarius
|
|
9
|
+
module Rails
|
|
10
|
+
module FlowService
|
|
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_rails.FlowService'
|
|
18
|
+
|
|
19
|
+
# Called by Gateway
|
|
20
|
+
rpc :Update, ::Tucana::Sagittarius::Rails::FlowLogonRequest, ::Tucana::Sagittarius::Rails::FlowResponse
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
Stub = Service.rpc_stub_class
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sagittarius_rails.module.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../shared/shared.errors_pb'
|
|
8
|
+
require_relative '../shared/shared.module_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\x1esagittarius_rails.module.proto\x12\x11sagittarius_rails\x1a\x13shared.errors.proto\x1a\x13shared.module.proto\"\\\n\x13ModuleUpdateRequest\x12\x1f\n\x07modules\x18\x01 \x03(\x0b\x32\x0e.shared.Module\x12$\n\x1c\x61vailable_definition_sources\x18\x02 \x03(\t\"[\n\x14ModuleUpdateResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12(\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x14.shared.ServiceErrorH\x00\x88\x01\x01\x42\x08\n\x06_error2l\n\rModuleService\x12[\n\x06Update\x12&.sagittarius_rails.ModuleUpdateRequest\x1a\'.sagittarius_rails.ModuleUpdateResponse\"\x00\x42\x1d\xea\x02\x1aTucana::Sagittarius::Railsb\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Tucana
|
|
17
|
+
module Sagittarius
|
|
18
|
+
module Rails
|
|
19
|
+
ModuleUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_rails.ModuleUpdateRequest").msgclass
|
|
20
|
+
ModuleUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_rails.ModuleUpdateResponse").msgclass
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: sagittarius_rails.module.proto for package 'Tucana.Sagittarius.Rails'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require_relative 'sagittarius_rails.module_pb'
|
|
6
|
+
|
|
7
|
+
module Tucana
|
|
8
|
+
module Sagittarius
|
|
9
|
+
module Rails
|
|
10
|
+
module ModuleService
|
|
11
|
+
# This service will be implemented as a server by Sagittarius and as a client by Aquila.
|
|
12
|
+
class Service
|
|
13
|
+
|
|
14
|
+
include ::GRPC::GenericService
|
|
15
|
+
|
|
16
|
+
self.marshal_class_method = :encode
|
|
17
|
+
self.unmarshal_class_method = :decode
|
|
18
|
+
self.service_name = 'sagittarius_rails.ModuleService'
|
|
19
|
+
|
|
20
|
+
rpc :Update, ::Tucana::Sagittarius::Rails::ModuleUpdateRequest, ::Tucana::Sagittarius::Rails::ModuleUpdateResponse
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
Stub = Service.rpc_stub_class
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sagittarius_rails.runtime_status.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../shared/shared.errors_pb'
|
|
8
|
+
require_relative '../shared/shared.runtime_status_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n&sagittarius_rails.runtime_status.proto\x12\x11sagittarius_rails\x1a\x13shared.errors.proto\x1a\x1bshared.runtime_status.proto\"B\n\x1aRuntimeStatusUpdateRequest\x12$\n\x06status\x18\x01 \x01(\x0b\x32\x14.shared.ModuleStatus\"b\n\x1bRuntimeStatusUpdateResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12(\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x14.shared.ServiceErrorH\x00\x88\x01\x01\x42\x08\n\x06_error2\x81\x01\n\x14RuntimeStatusService\x12i\n\x06Update\x12-.sagittarius_rails.RuntimeStatusUpdateRequest\x1a..sagittarius_rails.RuntimeStatusUpdateResponse\"\x00\x42\x1d\xea\x02\x1aTucana::Sagittarius::Railsb\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Tucana
|
|
17
|
+
module Sagittarius
|
|
18
|
+
module Rails
|
|
19
|
+
RuntimeStatusUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_rails.RuntimeStatusUpdateRequest").msgclass
|
|
20
|
+
RuntimeStatusUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_rails.RuntimeStatusUpdateResponse").msgclass
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: sagittarius_rails.runtime_status.proto for package 'Tucana.Sagittarius.Rails'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require_relative 'sagittarius_rails.runtime_status_pb'
|
|
6
|
+
|
|
7
|
+
module Tucana
|
|
8
|
+
module Sagittarius
|
|
9
|
+
module Rails
|
|
10
|
+
module RuntimeStatusService
|
|
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_rails.RuntimeStatusService'
|
|
18
|
+
|
|
19
|
+
rpc :Update, ::Tucana::Sagittarius::Rails::RuntimeStatusUpdateRequest, ::Tucana::Sagittarius::Rails::RuntimeStatusUpdateResponse
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
Stub = Service.rpc_stub_class
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sagittarius_rails.test_execution.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../shared/shared.execution_result_pb'
|
|
8
|
+
require_relative '../shared/shared.errors_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n&sagittarius_rails.test_execution.proto\x12\x11sagittarius_rails\x1a\x1dshared.execution_result.proto\x1a\x13shared.errors.proto\"=\n\x10\x45xecutionRequest\x12)\n\x08response\x18\x01 \x01(\x0b\x32\x17.shared.ExecutionResult\"X\n\x11\x45xecutionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12(\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x14.shared.ServiceErrorH\x00\x88\x01\x01\x42\x08\n\x06_error2i\n\x10\x45xecutionService\x12U\n\x06Update\x12#.sagittarius_rails.ExecutionRequest\x1a$.sagittarius_rails.ExecutionResponse\"\x00\x42\x1d\xea\x02\x1aTucana::Sagittarius::Railsb\x06proto3"
|
|
12
|
+
|
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Tucana
|
|
17
|
+
module Sagittarius
|
|
18
|
+
module Rails
|
|
19
|
+
ExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_rails.ExecutionRequest").msgclass
|
|
20
|
+
ExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_rails.ExecutionResponse").msgclass
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: sagittarius_rails.test_execution.proto for package 'Tucana.Sagittarius.Rails'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require_relative 'sagittarius_rails.test_execution_pb'
|
|
6
|
+
|
|
7
|
+
module Tucana
|
|
8
|
+
module Sagittarius
|
|
9
|
+
module Rails
|
|
10
|
+
module ExecutionService
|
|
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_rails.ExecutionService'
|
|
18
|
+
|
|
19
|
+
rpc :Update, ::Tucana::Sagittarius::Rails::ExecutionRequest, ::Tucana::Sagittarius::Rails::ExecutionResponse
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
Stub = Service.rpc_stub_class
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sagittarius_rails.token.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
descriptor_data = "\n\x1dsagittarius_rails.token.proto\x12\x11sagittarius_rails\"#\n\x12TokenVerifyRequest\x12\r\n\x05token\x18\x01 \x01(\t\"\x91\x01\n\x13TokenVerifyResponse\x12\x36\n\x08verified\x18\x01 \x01(\x0b\x32\".sagittarius_rails.VerifiedRuntimeH\x00\x12:\n\nunverified\x18\x02 \x01(\x0b\x32$.sagittarius_rails.UnverifiedRuntimeH\x00\x42\x06\n\x04\x64\x61ta\"%\n\x0fVerifiedRuntime\x12\x12\n\nruntime_id\x18\x01 \x01(\x03\"\x13\n\x11UnverifiedRuntime2i\n\x0cTokenService\x12Y\n\x06Verify\x12%.sagittarius_rails.TokenVerifyRequest\x1a&.sagittarius_rails.TokenVerifyResponse\"\x00\x42\x1d\xea\x02\x1aTucana::Sagittarius::Railsb\x06proto3"
|
|
9
|
+
|
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
|
12
|
+
|
|
13
|
+
module Tucana
|
|
14
|
+
module Sagittarius
|
|
15
|
+
module Rails
|
|
16
|
+
TokenVerifyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_rails.TokenVerifyRequest").msgclass
|
|
17
|
+
TokenVerifyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_rails.TokenVerifyResponse").msgclass
|
|
18
|
+
VerifiedRuntime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_rails.VerifiedRuntime").msgclass
|
|
19
|
+
UnverifiedRuntime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius_rails.UnverifiedRuntime").msgclass
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: sagittarius_rails.token.proto for package 'Tucana.Sagittarius.Rails'
|
|
3
|
+
|
|
4
|
+
require 'grpc'
|
|
5
|
+
require_relative 'sagittarius_rails.token_pb'
|
|
6
|
+
|
|
7
|
+
module Tucana
|
|
8
|
+
module Sagittarius
|
|
9
|
+
module Rails
|
|
10
|
+
module TokenService
|
|
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_rails.TokenService'
|
|
18
|
+
|
|
19
|
+
# Called by Gateway
|
|
20
|
+
rpc :Verify, ::Tucana::Sagittarius::Rails::TokenVerifyRequest, ::Tucana::Sagittarius::Rails::TokenVerifyResponse
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
Stub = Service.rpc_stub_class
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -6,9 +6,10 @@ require 'google/protobuf'
|
|
|
6
6
|
|
|
7
7
|
require_relative '../shared/shared.struct_pb'
|
|
8
8
|
require_relative '../shared/shared.data_type_pb'
|
|
9
|
+
require_relative '../shared/shared.translation_pb'
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
descriptor_data = "\n\x11shared.flow.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x16shared.data_type.proto\"\
|
|
12
|
+
descriptor_data = "\n\x11shared.flow.proto\x12\x06shared\x1a\x13shared.struct.proto\x1a\x16shared.data_type.proto\x1a\x18shared.translation.proto\"\xcb\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\x08settings\x18\x05 \x03(\x0b\x32\x13.shared.FlowSetting\x12\x18\n\x10starting_node_id\x18\x06 \x01(\x03\x12,\n\x0enode_functions\x18\x07 \x03(\x0b\x32\x14.shared.NodeFunction\x12\x14\n\x0cproject_slug\x18\x08 \x01(\t\x12\x1b\n\x0e\x64isable_reason\x18\t \x01(\tH\x00\x88\x01\x01\x12\x11\n\tsignature\x18\n \x01(\t\x12\x1e\n\x11\x64\x65\x66inition_source\x18\x0b \x01(\tH\x01\x88\x01\x01\x12$\n\x0cinput_schema\x18\x0c \x01(\x0b\x32\x0e.shared.Struct\x12%\n\routput_schema\x18\r \x01(\x0b\x32\x0e.shared.Struct\x12\x0c\n\x04name\x18\x0e \x01(\tB\x11\n\x0f_disable_reasonB\x14\n\x12_definition_source\"\xb5\x01\n\rExecutionFlow\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x12\n\nproject_id\x18\x05 \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\"\x9b\x01\n\x0eGenerationFlow\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x18\n\x10starting_node_id\x18\x03 \x01(\t\x12,\n\x0enode_functions\x18\x04 \x03(\x0b\x32\x14.shared.NodeFunction\x12%\n\x08settings\x18\x05 \x03(\x0b\x32\x13.shared.FlowSetting\"\x8a\x01\n\x0b\x46lowSetting\x12\x18\n\x0b\x64\x61tabase_id\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x17\n\x0f\x66low_setting_id\x18\x02 \x01(\t\x12\x1c\n\x05value\x18\x03 \x01(\x0b\x32\r.shared.Value\x12\x11\n\x04\x63\x61st\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_database_idB\x07\n\x05_cast\"\xe2\x01\n\x0cNodeFunction\x12\x18\n\x0b\x64\x61tabase_id\x18\x01 \x01(\x03H\x00\x88\x01\x01\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\x01\x88\x01\x01\x12\x1e\n\x11\x64\x65\x66inition_source\x18\x05 \x01(\tH\x02\x88\x01\x01\x42\x0e\n\x0c_database_idB\x0f\n\r_next_node_idB\x14\n\x12_definition_source\"\x94\x01\n\tNodeValue\x12&\n\rliteral_value\x18\x01 \x01(\x0b\x32\r.shared.ValueH\x00\x12\x31\n\x0freference_value\x18\x02 \x01(\x0b\x32\x16.shared.ReferenceValueH\x00\x12#\n\x08sub_flow\x18\x03 \x01(\x0b\x32\x0f.shared.SubFlowH\x00\x42\x07\n\x05value\"\x80\x01\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\x12\x11\n\x04\x63\x61st\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_cast\"\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\"d\n\x0fSubFlowFunction\x12\x1b\n\x13\x66unction_identifier\x18\x01 \x01(\t\x12\x1e\n\x11\x64\x65\x66inition_source\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x14\n\x12_definition_source\"\xf3\x01\n\x07SubFlow\x12\x1a\n\x10starting_node_id\x18\x01 \x01(\x03H\x00\x12+\n\x08\x66unction\x18\x02 \x01(\x0b\x32\x17.shared.SubFlowFunctionH\x00\x12$\n\x0cinput_schema\x18\x03 \x01(\x0b\x32\x0e.shared.Struct\x12%\n\routput_schema\x18\x04 \x01(\x0b\x32\x0e.shared.Struct\x12\x11\n\tsignature\x18\x05 \x01(\t\x12(\n\x08settings\x18\x06 \x03(\x0b\x32\x16.shared.SubFlowSettingB\x15\n\x13\x65xecution_reference\"\xa5\x01\n\x0eSubFlowSetting\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12)\n\rdefault_value\x18\x02 \x01(\x0b\x32\r.shared.ValueH\x00\x88\x01\x01\x12\x15\n\x08optional\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x13\n\x06hidden\x18\x04 \x01(\x08H\x02\x88\x01\x01\x42\x10\n\x0e_default_valueB\x0b\n\t_optionalB\t\n\x07_hidden\"\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
13
|
|
|
13
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
15
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -23,8 +24,8 @@ module Tucana
|
|
|
23
24
|
NodeValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.NodeValue").msgclass
|
|
24
25
|
NodeParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.NodeParameter").msgclass
|
|
25
26
|
ReferenceValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.ReferenceValue").msgclass
|
|
27
|
+
SubFlowFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.SubFlowFunction").msgclass
|
|
26
28
|
SubFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.SubFlow").msgclass
|
|
27
|
-
SubFlow::SubFlowFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.SubFlow.SubFlowFunction").msgclass
|
|
28
29
|
SubFlowSetting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.SubFlowSetting").msgclass
|
|
29
30
|
FlowInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.FlowInput").msgclass
|
|
30
31
|
InputType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("shared.InputType").msgclass
|
|
@@ -4,12 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
|
-
require_relative '../shared/shared.function_pb'
|
|
8
|
-
require_relative '../shared/shared.data_type_pb'
|
|
9
|
-
require_relative '../shared/shared.flow_pb'
|
|
10
7
|
|
|
11
|
-
|
|
12
|
-
descriptor_data = "\n\x12velorum.info.proto\x12\x07velorum\x1a\x15shared.function.proto\x1a\x16shared.data_type.proto\x1a\x11shared.flow.proto\"\x0f\n\rModelsRequest\"\x9a\x01\n\x05Model\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\ntoken_cost\x18\x03 \x01(\x02\x12&\n\x04type\x18\x04 \x03(\x0e\x32\x18.velorum.Model.ModelType\"3\n\tModelType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07\x45XPLAIN\x10\x01\x12\x0c\n\x08GENERATE\x10\x02\"0\n\x0eModelsResponse\x12\x1e\n\x06models\x18\x01 \x03(\x0b\x32\x0e.velorum.Model2J\n\x0bInfoService\x12;\n\x06Models\x12\x16.velorum.ModelsRequest\x1a\x17.velorum.ModelsResponse\"\x00\x42\x12\xea\x02\x0fTucana::Velorumb\x06proto3"
|
|
8
|
+
descriptor_data = "\n\x12velorum.info.proto\x12\x07velorum\"\x0f\n\rModelsRequest\"\x9a\x01\n\x05Model\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\ntoken_cost\x18\x03 \x01(\x02\x12&\n\x04type\x18\x04 \x03(\x0e\x32\x18.velorum.Model.ModelType\"3\n\tModelType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07\x45XPLAIN\x10\x01\x12\x0c\n\x08GENERATE\x10\x02\"0\n\x0eModelsResponse\x12\x1e\n\x06models\x18\x01 \x03(\x0b\x32\x0e.velorum.Model2J\n\x0bInfoService\x12;\n\x06Models\x12\x16.velorum.ModelsRequest\x1a\x17.velorum.ModelsResponse\"\x00\x42\x12\xea\x02\x0fTucana::Velorumb\x06proto3"
|
|
13
9
|
|
|
14
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
11
|
pool.add_serialized_file(descriptor_data)
|
data/lib/tucana/version.rb
CHANGED
data/lib/tucana.rb
CHANGED
|
@@ -5,7 +5,7 @@ require_relative "tucana/version"
|
|
|
5
5
|
module Tucana
|
|
6
6
|
class Error < StandardError; end
|
|
7
7
|
|
|
8
|
-
AVAILABLE_PROTOCOLS = %i[aquila
|
|
8
|
+
AVAILABLE_PROTOCOLS = %i[aquila sagittarius_gateway sagittarius_rails velorum]
|
|
9
9
|
|
|
10
10
|
def self.load_protocol(protocol)
|
|
11
11
|
if protocol != :shared
|
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.
|
|
4
|
+
version: 0.0.78
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Niklas van Schrick
|
|
@@ -80,16 +80,24 @@ files:
|
|
|
80
80
|
- lib/tucana/generated/aquila/aquila.module_services_pb.rb
|
|
81
81
|
- lib/tucana/generated/aquila/aquila.runtime_status_pb.rb
|
|
82
82
|
- lib/tucana/generated/aquila/aquila.runtime_status_services_pb.rb
|
|
83
|
-
- lib/tucana/generated/
|
|
84
|
-
- lib/tucana/generated/
|
|
85
|
-
- lib/tucana/generated/
|
|
86
|
-
- lib/tucana/generated/
|
|
87
|
-
- lib/tucana/generated/
|
|
88
|
-
- lib/tucana/generated/
|
|
89
|
-
- lib/tucana/generated/
|
|
90
|
-
- lib/tucana/generated/
|
|
91
|
-
- lib/tucana/generated/
|
|
92
|
-
- lib/tucana/generated/
|
|
83
|
+
- lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.flow_pb.rb
|
|
84
|
+
- lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.flow_services_pb.rb
|
|
85
|
+
- lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.module_pb.rb
|
|
86
|
+
- lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.module_services_pb.rb
|
|
87
|
+
- lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.runtime_status_pb.rb
|
|
88
|
+
- lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.runtime_status_services_pb.rb
|
|
89
|
+
- lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.test_execution_pb.rb
|
|
90
|
+
- lib/tucana/generated/sagittarius_gateway/sagittarius_gateway.test_execution_services_pb.rb
|
|
91
|
+
- lib/tucana/generated/sagittarius_rails/sagittarius_rails.flow_pb.rb
|
|
92
|
+
- lib/tucana/generated/sagittarius_rails/sagittarius_rails.flow_services_pb.rb
|
|
93
|
+
- lib/tucana/generated/sagittarius_rails/sagittarius_rails.module_pb.rb
|
|
94
|
+
- lib/tucana/generated/sagittarius_rails/sagittarius_rails.module_services_pb.rb
|
|
95
|
+
- lib/tucana/generated/sagittarius_rails/sagittarius_rails.runtime_status_pb.rb
|
|
96
|
+
- lib/tucana/generated/sagittarius_rails/sagittarius_rails.runtime_status_services_pb.rb
|
|
97
|
+
- lib/tucana/generated/sagittarius_rails/sagittarius_rails.test_execution_pb.rb
|
|
98
|
+
- lib/tucana/generated/sagittarius_rails/sagittarius_rails.test_execution_services_pb.rb
|
|
99
|
+
- lib/tucana/generated/sagittarius_rails/sagittarius_rails.token_pb.rb
|
|
100
|
+
- lib/tucana/generated/sagittarius_rails/sagittarius_rails.token_services_pb.rb
|
|
93
101
|
- lib/tucana/generated/shared/shared.data_type_pb.rb
|
|
94
102
|
- lib/tucana/generated/shared/shared.errors_pb.rb
|
|
95
103
|
- lib/tucana/generated/shared/shared.execution_result_pb.rb
|
|
@@ -1,21 +0,0 @@
|
|
|
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 '../shared/shared.flow_pb'
|
|
8
|
-
require_relative '../shared/shared.module_pb'
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
descriptor_data = "\n\x16sagittarius.flow.proto\x12\x0bsagittarius\x1a\x11shared.flow.proto\x1a\x13shared.module.proto\"\x12\n\x10\x46lowLogonRequest\"\xc0\x01\n\x0c\x46lowResponse\x12.\n\x0cupdated_flow\x18\x01 \x01(\x0b\x32\x16.shared.ValidationFlowH\x00\x12\x19\n\x0f\x64\x65leted_flow_id\x18\x02 \x01(\x03H\x00\x12\x1e\n\x05\x66lows\x18\x03 \x01(\x0b\x32\r.shared.FlowsH\x00\x12=\n\x15module_configurations\x18\x04 \x01(\x0b\x32\x1c.shared.ModuleConfigurationsH\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
|
-
FlowLogonRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.FlowLogonRequest").msgclass
|
|
19
|
-
FlowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.FlowResponse").msgclass
|
|
20
|
-
end
|
|
21
|
-
end
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: sagittarius.flow.proto for package 'Tucana.Sagittarius'
|
|
3
|
-
|
|
4
|
-
require 'grpc'
|
|
5
|
-
require_relative 'sagittarius.flow_pb'
|
|
6
|
-
|
|
7
|
-
module Tucana
|
|
8
|
-
module Sagittarius
|
|
9
|
-
module FlowService
|
|
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.FlowService'
|
|
17
|
-
|
|
18
|
-
rpc :Update, ::Tucana::Sagittarius::FlowLogonRequest, stream(::Tucana::Sagittarius::FlowResponse)
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
Stub = Service.rpc_stub_class
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: sagittarius.module.proto
|
|
4
|
-
|
|
5
|
-
require 'google/protobuf'
|
|
6
|
-
|
|
7
|
-
require_relative '../shared/shared.errors_pb'
|
|
8
|
-
require_relative '../shared/shared.module_pb'
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
descriptor_data = "\n\x18sagittarius.module.proto\x12\x0bsagittarius\x1a\x13shared.errors.proto\x1a\x13shared.module.proto\"]\n\x13ModuleUpdateRequest\x12\x1f\n\x07modules\x18\x01 \x03(\x0b\x32\x0e.shared.Module\x12%\n\x1d\x61vailable_defintition_soruces\x18\x02 \x03(\t\"[\n\x14ModuleUpdateResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12(\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x14.shared.ServiceErrorH\x00\x88\x01\x01\x42\x08\n\x06_error2`\n\rModuleService\x12O\n\x06Update\x12 .sagittarius.ModuleUpdateRequest\x1a!.sagittarius.ModuleUpdateResponse\"\x00\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
|
-
ModuleUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.ModuleUpdateRequest").msgclass
|
|
19
|
-
ModuleUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.ModuleUpdateResponse").msgclass
|
|
20
|
-
end
|
|
21
|
-
end
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: sagittarius.module.proto for package 'Tucana.Sagittarius'
|
|
3
|
-
|
|
4
|
-
require 'grpc'
|
|
5
|
-
require_relative 'sagittarius.module_pb'
|
|
6
|
-
|
|
7
|
-
module Tucana
|
|
8
|
-
module Sagittarius
|
|
9
|
-
module ModuleService
|
|
10
|
-
# This service will be implemented as a server by Sagittarius and as a client by Aquila.
|
|
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.ModuleService'
|
|
18
|
-
|
|
19
|
-
rpc :Update, ::Tucana::Sagittarius::ModuleUpdateRequest, ::Tucana::Sagittarius::ModuleUpdateResponse
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
Stub = Service.rpc_stub_class
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: sagittarius.ping.proto
|
|
4
|
-
|
|
5
|
-
require 'google/protobuf'
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
10
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
-
pool.add_serialized_file(descriptor_data)
|
|
12
|
-
|
|
13
|
-
module Tucana
|
|
14
|
-
module Sagittarius
|
|
15
|
-
PingMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.PingMessage").msgclass
|
|
16
|
-
end
|
|
17
|
-
end
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: sagittarius.ping.proto for package 'Tucana.Sagittarius'
|
|
3
|
-
|
|
4
|
-
require 'grpc'
|
|
5
|
-
require_relative 'sagittarius.ping_pb'
|
|
6
|
-
|
|
7
|
-
module Tucana
|
|
8
|
-
module Sagittarius
|
|
9
|
-
module PingService
|
|
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.PingService'
|
|
17
|
-
|
|
18
|
-
rpc :Ping, ::Tucana::Sagittarius::PingMessage, ::Tucana::Sagittarius::PingMessage
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
Stub = Service.rpc_stub_class
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: sagittarius.runtime_status.proto
|
|
4
|
-
|
|
5
|
-
require 'google/protobuf'
|
|
6
|
-
|
|
7
|
-
require_relative '../shared/shared.errors_pb'
|
|
8
|
-
require_relative '../shared/shared.runtime_status_pb'
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
descriptor_data = "\n sagittarius.runtime_status.proto\x12\x0bsagittarius\x1a\x13shared.errors.proto\x1a\x1bshared.runtime_status.proto\"B\n\x1aRuntimeStatusUpdateRequest\x12$\n\x06status\x18\x01 \x01(\x0b\x32\x14.shared.ModuleStatus\"b\n\x1bRuntimeStatusUpdateResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12(\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x14.shared.ServiceErrorH\x00\x88\x01\x01\x42\x08\n\x06_error2u\n\x14RuntimeStatusService\x12]\n\x06Update\x12\'.sagittarius.RuntimeStatusUpdateRequest\x1a(.sagittarius.RuntimeStatusUpdateResponse\"\x00\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
|
-
RuntimeStatusUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.RuntimeStatusUpdateRequest").msgclass
|
|
19
|
-
RuntimeStatusUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.RuntimeStatusUpdateResponse").msgclass
|
|
20
|
-
end
|
|
21
|
-
end
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: sagittarius.runtime_status.proto for package 'Tucana.Sagittarius'
|
|
3
|
-
|
|
4
|
-
require 'grpc'
|
|
5
|
-
require_relative 'sagittarius.runtime_status_pb'
|
|
6
|
-
|
|
7
|
-
module Tucana
|
|
8
|
-
module Sagittarius
|
|
9
|
-
module RuntimeStatusService
|
|
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.RuntimeStatusService'
|
|
17
|
-
|
|
18
|
-
rpc :Update, ::Tucana::Sagittarius::RuntimeStatusUpdateRequest, ::Tucana::Sagittarius::RuntimeStatusUpdateResponse
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
Stub = Service.rpc_stub_class
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: sagittarius.text_execution.proto
|
|
4
|
-
|
|
5
|
-
require 'google/protobuf'
|
|
6
|
-
|
|
7
|
-
require_relative '../shared/shared.struct_pb'
|
|
8
|
-
require_relative '../shared/shared.execution_result_pb'
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
descriptor_data = "\n sagittarius.text_execution.proto\x12\x0bsagittarius\x1a\x13shared.struct.proto\x1a\x1dshared.execution_result.proto\"\x07\n\x05Logon\"b\n\x14TestExecutionRequest\x12\x0f\n\x07\x66low_id\x18\x01 \x01(\x03\x12\x1c\n\x14\x65xecution_identifier\x18\x02 \x01(\t\x12\x1b\n\x04\x62ody\x18\x03 \x01(\x0b\x32\r.shared.Value\"q\n\x15\x45xecutionLogonRequest\x12#\n\x05logon\x18\x01 \x01(\x0b\x32\x12.sagittarius.LogonH\x00\x12+\n\x08response\x18\x02 \x01(\x0b\x32\x17.shared.ExecutionResultH\x00\x42\x06\n\x04\x64\x61ta\"L\n\x16\x45xecutionLogonResponse\x12\x32\n\x07request\x18\x01 \x01(\x0b\x32!.sagittarius.TestExecutionRequest2i\n\x10\x45xecutionService\x12U\n\x04Test\x12\".sagittarius.ExecutionLogonRequest\x1a#.sagittarius.ExecutionLogonResponse\"\x00(\x01\x30\x01\x42\x16\xea\x02\x13Tucana::Sagittariusb\x06proto3"
|
|
12
|
-
|
|
13
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
-
pool.add_serialized_file(descriptor_data)
|
|
15
|
-
|
|
16
|
-
module Tucana
|
|
17
|
-
module Sagittarius
|
|
18
|
-
Logon = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.Logon").msgclass
|
|
19
|
-
TestExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.TestExecutionRequest").msgclass
|
|
20
|
-
ExecutionLogonRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.ExecutionLogonRequest").msgclass
|
|
21
|
-
ExecutionLogonResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sagittarius.ExecutionLogonResponse").msgclass
|
|
22
|
-
end
|
|
23
|
-
end
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: sagittarius.text_execution.proto for package 'Tucana.Sagittarius'
|
|
3
|
-
|
|
4
|
-
require 'grpc'
|
|
5
|
-
require_relative 'sagittarius.text_execution_pb'
|
|
6
|
-
|
|
7
|
-
module Tucana
|
|
8
|
-
module Sagittarius
|
|
9
|
-
module ExecutionService
|
|
10
|
-
class Service
|
|
11
|
-
|
|
12
|
-
include ::GRPC::GenericService
|
|
13
|
-
|
|
14
|
-
self.marshal_class_method = :encode
|
|
15
|
-
self.unmarshal_class_method = :decode
|
|
16
|
-
self.service_name = 'sagittarius.ExecutionService'
|
|
17
|
-
|
|
18
|
-
rpc :Test, stream(::Tucana::Sagittarius::ExecutionLogonRequest), stream(::Tucana::Sagittarius::ExecutionLogonResponse)
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
Stub = Service.rpc_stub_class
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|