streamdal-protos 0.0.6 → 0.1.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +8 -32
- data/lib/shared/sp_shared_pb.rb +0 -30
- data/lib/sp_bus_pb.rb +0 -40
- data/lib/sp_command_pb.rb +0 -46
- data/lib/sp_common_pb.rb +0 -101
- data/lib/sp_external_pb.rb +0 -204
- data/lib/sp_external_services_pb.rb +0 -75
- data/lib/sp_info_pb.rb +0 -45
- data/lib/sp_internal_pb.rb +0 -79
- data/lib/sp_internal_services_pb.rb +0 -47
- data/lib/sp_kv_pb.rb +0 -44
- data/lib/sp_notify_pb.rb +0 -80
- data/lib/sp_pipeline_pb.rb +0 -94
- data/lib/sp_sdk_pb.rb +0 -44
- data/lib/sp_wsm_pb.rb +0 -45
- data/lib/steps/sp_steps_custom_pb.rb +0 -18
- data/lib/steps/sp_steps_decode_pb.rb +0 -18
- data/lib/steps/sp_steps_detective_pb.rb +0 -101
- data/lib/steps/sp_steps_encode_pb.rb +0 -18
- data/lib/steps/sp_steps_httprequest_pb.rb +0 -42
- data/lib/steps/sp_steps_inferschema_pb.rb +0 -18
- data/lib/steps/sp_steps_kv_pb.rb +0 -42
- data/lib/steps/sp_steps_schema_validation_pb.rb +0 -45
- data/lib/steps/sp_steps_transform_pb.rb +0 -73
- data/lib/steps/sp_steps_valid_json_pb.rb +0 -17
data/lib/sp_internal_pb.rb
DELETED
@@ -1,79 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: sp_internal.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'shared/sp_shared_pb'
|
7
|
-
require 'sp_command_pb'
|
8
|
-
require 'sp_common_pb'
|
9
|
-
require 'sp_info_pb'
|
10
|
-
require 'sp_pipeline_pb'
|
11
|
-
|
12
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
|
-
add_file("sp_internal.proto", :syntax => :proto3) do
|
14
|
-
add_message "protos.NewAudienceRequest" do
|
15
|
-
optional :session_id, :string, 1
|
16
|
-
optional :audience, :message, 2, "protos.Audience"
|
17
|
-
end
|
18
|
-
add_message "protos.HeartbeatRequest" do
|
19
|
-
optional :session_id, :string, 1
|
20
|
-
optional :service_name, :string, 2
|
21
|
-
repeated :audiences, :message, 3, "protos.Audience"
|
22
|
-
optional :client_info, :message, 4, "protos.ClientInfo"
|
23
|
-
end
|
24
|
-
add_message "protos.NotifyRequest" do
|
25
|
-
optional :condition_type, :enum, 1, "protos.NotifyRequest.ConditionType"
|
26
|
-
optional :step, :message, 2, "protos.PipelineStep"
|
27
|
-
optional :audience, :message, 3, "protos.Audience"
|
28
|
-
optional :occurred_at_unix_ts_utc, :int64, 4
|
29
|
-
optional :pipeline_id, :string, 5
|
30
|
-
optional :payload, :bytes, 6
|
31
|
-
end
|
32
|
-
add_enum "protos.NotifyRequest.ConditionType" do
|
33
|
-
value :CONDITION_TYPE_UNSET, 0
|
34
|
-
value :CONDITION_TYPE_ON_TRUE, 1
|
35
|
-
value :CONDITION_TYPE_ON_FALSE, 2
|
36
|
-
value :CONDITION_TYPE_ON_ERROR, 3
|
37
|
-
end
|
38
|
-
add_message "protos.MetricsRequest" do
|
39
|
-
repeated :metrics, :message, 1, "protos.Metric"
|
40
|
-
end
|
41
|
-
add_message "protos.RegisterRequest" do
|
42
|
-
optional :service_name, :string, 1
|
43
|
-
optional :session_id, :string, 2
|
44
|
-
optional :client_info, :message, 3, "protos.ClientInfo"
|
45
|
-
repeated :audiences, :message, 4, "protos.Audience"
|
46
|
-
optional :dry_run, :bool, 5
|
47
|
-
end
|
48
|
-
add_message "protos.DeregisterRequest" do
|
49
|
-
optional :service_name, :string, 1
|
50
|
-
optional :session_id, :string, 2
|
51
|
-
end
|
52
|
-
add_message "protos.GetSetPipelinesCommandsByServiceRequest" do
|
53
|
-
optional :service_name, :string, 1
|
54
|
-
end
|
55
|
-
add_message "protos.GetSetPipelinesCommandsByServiceResponse" do
|
56
|
-
repeated :set_pipeline_commands, :message, 1, "protos.Command"
|
57
|
-
map :wasm_modules, :string, :message, 3, "protos.shared.WasmModule"
|
58
|
-
end
|
59
|
-
add_message "protos.SendSchemaRequest" do
|
60
|
-
optional :audience, :message, 1, "protos.Audience"
|
61
|
-
optional :schema, :message, 2, "protos.Schema"
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
module Streamdal
|
67
|
-
module Protos
|
68
|
-
NewAudienceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NewAudienceRequest").msgclass
|
69
|
-
HeartbeatRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.HeartbeatRequest").msgclass
|
70
|
-
NotifyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotifyRequest").msgclass
|
71
|
-
NotifyRequest::ConditionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotifyRequest.ConditionType").enummodule
|
72
|
-
MetricsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.MetricsRequest").msgclass
|
73
|
-
RegisterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.RegisterRequest").msgclass
|
74
|
-
DeregisterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeregisterRequest").msgclass
|
75
|
-
GetSetPipelinesCommandsByServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetSetPipelinesCommandsByServiceRequest").msgclass
|
76
|
-
GetSetPipelinesCommandsByServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetSetPipelinesCommandsByServiceResponse").msgclass
|
77
|
-
SendSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SendSchemaRequest").msgclass
|
78
|
-
end
|
79
|
-
end
|
@@ -1,47 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: sp_internal.proto for package 'Streamdal.Protos'
|
3
|
-
|
4
|
-
require 'grpc'
|
5
|
-
require 'sp_internal_pb'
|
6
|
-
|
7
|
-
module Streamdal
|
8
|
-
module Protos
|
9
|
-
module Internal
|
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 = 'protos.Internal'
|
17
|
-
|
18
|
-
# Initial method that an SDK should call to register itself with the server.
|
19
|
-
# The server will use this stream to send commands to the SDK via the
|
20
|
-
# `CommandResponse` message. Clients should continuously listen for
|
21
|
-
# CommandResponse messages and re-establish registration if the stream gets
|
22
|
-
# disconnected.
|
23
|
-
rpc :Register, ::Streamdal::Protos::RegisterRequest, stream(::Streamdal::Protos::Command)
|
24
|
-
# Declare a new audience that the SDK is able to accept commands for.
|
25
|
-
# An SDK would use this method when a new audience is declared by the user
|
26
|
-
# via `.Process()`.
|
27
|
-
rpc :NewAudience, ::Streamdal::Protos::NewAudienceRequest, ::Streamdal::Protos::StandardResponse
|
28
|
-
# SDK is responsible for sending heartbeats to the server to let the server
|
29
|
-
# know about active consumers and producers.
|
30
|
-
rpc :Heartbeat, ::Streamdal::Protos::HeartbeatRequest, ::Streamdal::Protos::StandardResponse
|
31
|
-
# Use this method when Notify condition has been triggered; the server will
|
32
|
-
# decide on what to do about the notification.
|
33
|
-
rpc :Notify, ::Streamdal::Protos::NotifyRequest, ::Streamdal::Protos::StandardResponse
|
34
|
-
# Send periodic metrics to the server
|
35
|
-
rpc :Metrics, ::Streamdal::Protos::MetricsRequest, ::Streamdal::Protos::StandardResponse
|
36
|
-
# Used to pull all pipeline configs for the service name in the SDK's constructor
|
37
|
-
# This is needed because Register() is async
|
38
|
-
rpc :GetSetPipelinesCommandsByService, ::Streamdal::Protos::GetSetPipelinesCommandsByServiceRequest, ::Streamdal::Protos::GetSetPipelinesCommandsByServiceResponse
|
39
|
-
rpc :SendTail, stream(::Streamdal::Protos::TailResponse), ::Streamdal::Protos::StandardResponse
|
40
|
-
# Used by SDK to send a new schema to the server
|
41
|
-
rpc :SendSchema, ::Streamdal::Protos::SendSchemaRequest, ::Streamdal::Protos::StandardResponse
|
42
|
-
end
|
43
|
-
|
44
|
-
Stub = Service.rpc_stub_class
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
data/lib/sp_kv_pb.rb
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: sp_kv.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'shared/sp_shared_pb'
|
7
|
-
|
8
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
add_file("sp_kv.proto", :syntax => :proto3) do
|
10
|
-
add_message "protos.KVObject" do
|
11
|
-
optional :key, :string, 1
|
12
|
-
optional :value, :bytes, 2
|
13
|
-
optional :created_at_unix_ts_nano_utc, :int64, 3
|
14
|
-
optional :updated_at_unix_ts_nano_utc, :int64, 4
|
15
|
-
end
|
16
|
-
add_message "protos.KVInstruction" do
|
17
|
-
optional :id, :string, 1
|
18
|
-
optional :action, :enum, 2, "protos.shared.KVAction"
|
19
|
-
optional :object, :message, 3, "protos.KVObject"
|
20
|
-
optional :requested_at_unix_ts_nano_utc, :int64, 4
|
21
|
-
end
|
22
|
-
add_message "protos.KVRequest" do
|
23
|
-
repeated :instructions, :message, 1, "protos.KVInstruction"
|
24
|
-
optional :overwrite, :bool, 2
|
25
|
-
end
|
26
|
-
add_message "protos.KVCreateHTTPRequest" do
|
27
|
-
repeated :kvs, :message, 1, "protos.KVObject"
|
28
|
-
optional :overwrite, :bool, 2
|
29
|
-
end
|
30
|
-
add_message "protos.KVUpdateHTTPRequest" do
|
31
|
-
repeated :kvs, :message, 1, "protos.KVObject"
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
module Streamdal
|
37
|
-
module Protos
|
38
|
-
KVObject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KVObject").msgclass
|
39
|
-
KVInstruction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KVInstruction").msgclass
|
40
|
-
KVRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KVRequest").msgclass
|
41
|
-
KVCreateHTTPRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KVCreateHTTPRequest").msgclass
|
42
|
-
KVUpdateHTTPRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KVUpdateHTTPRequest").msgclass
|
43
|
-
end
|
44
|
-
end
|
data/lib/sp_notify_pb.rb
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: sp_notify.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_file("sp_notify.proto", :syntax => :proto3) do
|
8
|
-
add_message "protos.NotificationConfig" do
|
9
|
-
proto3_optional :id, :string, 1
|
10
|
-
optional :name, :string, 2
|
11
|
-
optional :type, :enum, 3, "protos.NotificationType"
|
12
|
-
oneof :config do
|
13
|
-
optional :slack, :message, 1000, "protos.NotificationSlack"
|
14
|
-
optional :email, :message, 1001, "protos.NotificationEmail"
|
15
|
-
optional :pagerduty, :message, 1002, "protos.NotificationPagerDuty"
|
16
|
-
end
|
17
|
-
end
|
18
|
-
add_message "protos.NotificationSlack" do
|
19
|
-
optional :bot_token, :string, 1
|
20
|
-
optional :channel, :string, 2
|
21
|
-
end
|
22
|
-
add_message "protos.NotificationEmail" do
|
23
|
-
optional :type, :enum, 1, "protos.NotificationEmail.Type"
|
24
|
-
repeated :recipients, :string, 2
|
25
|
-
optional :from_address, :string, 3
|
26
|
-
oneof :config do
|
27
|
-
optional :smtp, :message, 1000, "protos.NotificationEmailSMTP"
|
28
|
-
optional :ses, :message, 1001, "protos.NotificationEmailSES"
|
29
|
-
end
|
30
|
-
end
|
31
|
-
add_enum "protos.NotificationEmail.Type" do
|
32
|
-
value :TYPE_UNSET, 0
|
33
|
-
value :TYPE_SMTP, 1
|
34
|
-
value :TYPE_SES, 2
|
35
|
-
end
|
36
|
-
add_message "protos.NotificationEmailSMTP" do
|
37
|
-
optional :host, :string, 1
|
38
|
-
optional :port, :int32, 2
|
39
|
-
optional :user, :string, 3
|
40
|
-
optional :password, :string, 4
|
41
|
-
optional :use_tls, :bool, 5
|
42
|
-
end
|
43
|
-
add_message "protos.NotificationEmailSES" do
|
44
|
-
optional :ses_region, :string, 1
|
45
|
-
optional :ses_access_key_id, :string, 2
|
46
|
-
optional :ses_secret_access_key, :string, 3
|
47
|
-
end
|
48
|
-
add_message "protos.NotificationPagerDuty" do
|
49
|
-
optional :token, :string, 1
|
50
|
-
optional :email, :string, 2
|
51
|
-
optional :service_id, :string, 3
|
52
|
-
optional :urgency, :enum, 4, "protos.NotificationPagerDuty.Urgency"
|
53
|
-
end
|
54
|
-
add_enum "protos.NotificationPagerDuty.Urgency" do
|
55
|
-
value :URGENCY_UNSET, 0
|
56
|
-
value :URGENCY_LOW, 1
|
57
|
-
value :URGENCY_HIGH, 2
|
58
|
-
end
|
59
|
-
add_enum "protos.NotificationType" do
|
60
|
-
value :NOTIFICATION_TYPE_UNSET, 0
|
61
|
-
value :NOTIFICATION_TYPE_SLACK, 1
|
62
|
-
value :NOTIFICATION_TYPE_EMAIL, 2
|
63
|
-
value :NOTIFICATION_TYPE_PAGERDUTY, 3
|
64
|
-
end
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
module Streamdal
|
69
|
-
module Protos
|
70
|
-
NotificationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationConfig").msgclass
|
71
|
-
NotificationSlack = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationSlack").msgclass
|
72
|
-
NotificationEmail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationEmail").msgclass
|
73
|
-
NotificationEmail::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationEmail.Type").enummodule
|
74
|
-
NotificationEmailSMTP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationEmailSMTP").msgclass
|
75
|
-
NotificationEmailSES = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationEmailSES").msgclass
|
76
|
-
NotificationPagerDuty = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationPagerDuty").msgclass
|
77
|
-
NotificationPagerDuty::Urgency = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationPagerDuty.Urgency").enummodule
|
78
|
-
NotificationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationType").enummodule
|
79
|
-
end
|
80
|
-
end
|
data/lib/sp_pipeline_pb.rb
DELETED
@@ -1,94 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: sp_pipeline.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'sp_notify_pb'
|
7
|
-
require 'steps/sp_steps_custom_pb'
|
8
|
-
require 'steps/sp_steps_decode_pb'
|
9
|
-
require 'steps/sp_steps_detective_pb'
|
10
|
-
require 'steps/sp_steps_encode_pb'
|
11
|
-
require 'steps/sp_steps_httprequest_pb'
|
12
|
-
require 'steps/sp_steps_inferschema_pb'
|
13
|
-
require 'steps/sp_steps_kv_pb'
|
14
|
-
require 'steps/sp_steps_schema_validation_pb'
|
15
|
-
require 'steps/sp_steps_transform_pb'
|
16
|
-
require 'steps/sp_steps_valid_json_pb'
|
17
|
-
|
18
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
19
|
-
add_file("sp_pipeline.proto", :syntax => :proto3) do
|
20
|
-
add_message "protos.Pipeline" do
|
21
|
-
optional :id, :string, 1
|
22
|
-
optional :name, :string, 2
|
23
|
-
repeated :steps, :message, 3, "protos.PipelineStep"
|
24
|
-
repeated :_notification_configs, :message, 4, "protos.NotificationConfig"
|
25
|
-
proto3_optional :_paused, :bool, 1000
|
26
|
-
end
|
27
|
-
add_message "protos.PipelineStepConditions" do
|
28
|
-
optional :abort, :enum, 1, "protos.AbortCondition"
|
29
|
-
optional :notify, :bool, 2
|
30
|
-
map :metadata, :string, :string, 3
|
31
|
-
optional :notification, :message, 4, "protos.PipelineStepNotification"
|
32
|
-
end
|
33
|
-
add_message "protos.PipelineStepNotification" do
|
34
|
-
repeated :notification_config_ids, :string, 1
|
35
|
-
optional :payload_type, :enum, 2, "protos.PipelineStepNotification.PayloadType"
|
36
|
-
repeated :paths, :string, 3
|
37
|
-
end
|
38
|
-
add_enum "protos.PipelineStepNotification.PayloadType" do
|
39
|
-
value :PAYLOAD_TYPE_UNSET, 0
|
40
|
-
value :PAYLOAD_TYPE_EXCLUDE, 1
|
41
|
-
value :PAYLOAD_TYPE_FULL_PAYLOAD, 2
|
42
|
-
value :PAYLOAD_TYPE_SELECT_PATHS, 3
|
43
|
-
end
|
44
|
-
add_message "protos.PipelineStep" do
|
45
|
-
optional :name, :string, 1
|
46
|
-
optional :on_true, :message, 2, "protos.PipelineStepConditions"
|
47
|
-
optional :on_false, :message, 3, "protos.PipelineStepConditions"
|
48
|
-
optional :dynamic, :bool, 4
|
49
|
-
optional :on_error, :message, 5, "protos.PipelineStepConditions"
|
50
|
-
proto3_optional :_wasm_id, :string, 10000
|
51
|
-
proto3_optional :_wasm_bytes, :bytes, 10001
|
52
|
-
proto3_optional :_wasm_function, :string, 10002
|
53
|
-
oneof :step do
|
54
|
-
optional :detective, :message, 1000, "protos.steps.DetectiveStep"
|
55
|
-
optional :transform, :message, 1001, "protos.steps.TransformStep"
|
56
|
-
optional :encode, :message, 1002, "protos.steps.EncodeStep"
|
57
|
-
optional :decode, :message, 1003, "protos.steps.DecodeStep"
|
58
|
-
optional :custom, :message, 1004, "protos.steps.CustomStep"
|
59
|
-
optional :http_request, :message, 1005, "protos.steps.HttpRequestStep"
|
60
|
-
optional :kv, :message, 1006, "protos.steps.KVStep"
|
61
|
-
optional :infer_schema, :message, 1007, "protos.steps.InferSchemaStep"
|
62
|
-
optional :valid_json, :message, 1008, "protos.steps.ValidJSONStep"
|
63
|
-
optional :schema_validation, :message, 1009, "protos.steps.SchemaValidationStep"
|
64
|
-
end
|
65
|
-
end
|
66
|
-
add_message "protos.PipelineConfigs" do
|
67
|
-
repeated :configs, :message, 1, "protos.PipelineConfig"
|
68
|
-
proto3_optional :_is_empty, :bool, 1000
|
69
|
-
end
|
70
|
-
add_message "protos.PipelineConfig" do
|
71
|
-
optional :id, :string, 1
|
72
|
-
optional :paused, :bool, 2
|
73
|
-
optional :created_at_unix_ts_utc, :int64, 3
|
74
|
-
end
|
75
|
-
add_enum "protos.AbortCondition" do
|
76
|
-
value :ABORT_CONDITION_UNSET, 0
|
77
|
-
value :ABORT_CONDITION_ABORT_CURRENT, 1
|
78
|
-
value :ABORT_CONDITION_ABORT_ALL, 2
|
79
|
-
end
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
module Streamdal
|
84
|
-
module Protos
|
85
|
-
Pipeline = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Pipeline").msgclass
|
86
|
-
PipelineStepConditions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStepConditions").msgclass
|
87
|
-
PipelineStepNotification = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStepNotification").msgclass
|
88
|
-
PipelineStepNotification::PayloadType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStepNotification.PayloadType").enummodule
|
89
|
-
PipelineStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStep").msgclass
|
90
|
-
PipelineConfigs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineConfigs").msgclass
|
91
|
-
PipelineConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineConfig").msgclass
|
92
|
-
AbortCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AbortCondition").enummodule
|
93
|
-
end
|
94
|
-
end
|
data/lib/sp_sdk_pb.rb
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: sp_sdk.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'sp_pipeline_pb'
|
7
|
-
|
8
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
add_file("sp_sdk.proto", :syntax => :proto3) do
|
10
|
-
add_message "protos.SDKResponse" do
|
11
|
-
optional :data, :bytes, 1
|
12
|
-
optional :status, :enum, 2, "protos.ExecStatus"
|
13
|
-
proto3_optional :status_message, :string, 3
|
14
|
-
repeated :pipeline_status, :message, 4, "protos.PipelineStatus"
|
15
|
-
map :metadata, :string, :string, 5
|
16
|
-
end
|
17
|
-
add_message "protos.PipelineStatus" do
|
18
|
-
optional :id, :string, 1
|
19
|
-
optional :name, :string, 2
|
20
|
-
repeated :step_status, :message, 3, "protos.StepStatus"
|
21
|
-
end
|
22
|
-
add_message "protos.StepStatus" do
|
23
|
-
optional :name, :string, 1
|
24
|
-
optional :status, :enum, 2, "protos.ExecStatus"
|
25
|
-
proto3_optional :status_message, :string, 3
|
26
|
-
optional :abort_condition, :enum, 4, "protos.AbortCondition"
|
27
|
-
end
|
28
|
-
add_enum "protos.ExecStatus" do
|
29
|
-
value :EXEC_STATUS_UNSET, 0
|
30
|
-
value :EXEC_STATUS_TRUE, 1
|
31
|
-
value :EXEC_STATUS_FALSE, 2
|
32
|
-
value :EXEC_STATUS_ERROR, 3
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
module Streamdal
|
38
|
-
module Protos
|
39
|
-
SDKResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SDKResponse").msgclass
|
40
|
-
PipelineStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStatus").msgclass
|
41
|
-
StepStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.StepStatus").msgclass
|
42
|
-
ExecStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ExecStatus").enummodule
|
43
|
-
end
|
44
|
-
end
|
data/lib/sp_wsm_pb.rb
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: sp_wsm.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'sp_pipeline_pb'
|
7
|
-
require 'steps/sp_steps_detective_pb'
|
8
|
-
|
9
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
-
add_file("sp_wsm.proto", :syntax => :proto3) do
|
11
|
-
add_message "protos.WASMRequest" do
|
12
|
-
optional :step, :message, 1, "protos.PipelineStep"
|
13
|
-
optional :input_payload, :bytes, 2
|
14
|
-
proto3_optional :input_step, :bytes, 3
|
15
|
-
proto3_optional :inter_step_result, :message, 4, "protos.InterStepResult"
|
16
|
-
end
|
17
|
-
add_message "protos.WASMResponse" do
|
18
|
-
optional :output_payload, :bytes, 1
|
19
|
-
optional :exit_code, :enum, 2, "protos.WASMExitCode"
|
20
|
-
optional :exit_msg, :string, 3
|
21
|
-
proto3_optional :output_step, :bytes, 4
|
22
|
-
proto3_optional :inter_step_result, :message, 5, "protos.InterStepResult"
|
23
|
-
end
|
24
|
-
add_message "protos.InterStepResult" do
|
25
|
-
oneof :input_from do
|
26
|
-
optional :detective_result, :message, 1, "protos.steps.DetectiveStepResult"
|
27
|
-
end
|
28
|
-
end
|
29
|
-
add_enum "protos.WASMExitCode" do
|
30
|
-
value :WASM_EXIT_CODE_UNSET, 0
|
31
|
-
value :WASM_EXIT_CODE_TRUE, 1
|
32
|
-
value :WASM_EXIT_CODE_FALSE, 2
|
33
|
-
value :WASM_EXIT_CODE_ERROR, 3
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
37
|
-
|
38
|
-
module Streamdal
|
39
|
-
module Protos
|
40
|
-
WASMRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.WASMRequest").msgclass
|
41
|
-
WASMResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.WASMResponse").msgclass
|
42
|
-
InterStepResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.InterStepResult").msgclass
|
43
|
-
WASMExitCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.WASMExitCode").enummodule
|
44
|
-
end
|
45
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: steps/sp_steps_custom.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_file("steps/sp_steps_custom.proto", :syntax => :proto3) do
|
8
|
-
add_message "protos.steps.CustomStep" do
|
9
|
-
optional :id, :string, 1
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
module Streamdal
|
15
|
-
module Protos
|
16
|
-
CustomStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.CustomStep").msgclass
|
17
|
-
end
|
18
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: steps/sp_steps_decode.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_file("steps/sp_steps_decode.proto", :syntax => :proto3) do
|
8
|
-
add_message "protos.steps.DecodeStep" do
|
9
|
-
optional :id, :string, 1
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
module Streamdal
|
15
|
-
module Protos
|
16
|
-
DecodeStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DecodeStep").msgclass
|
17
|
-
end
|
18
|
-
end
|
@@ -1,101 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: steps/sp_steps_detective.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_file("steps/sp_steps_detective.proto", :syntax => :proto3) do
|
8
|
-
add_message "protos.steps.DetectiveStep" do
|
9
|
-
proto3_optional :path, :string, 1
|
10
|
-
repeated :args, :string, 2
|
11
|
-
proto3_optional :negate, :bool, 3
|
12
|
-
optional :type, :enum, 4, "protos.steps.DetectiveType"
|
13
|
-
end
|
14
|
-
add_message "protos.steps.DetectiveStepResultMatch" do
|
15
|
-
optional :type, :enum, 1, "protos.steps.DetectiveType"
|
16
|
-
optional :path, :string, 2
|
17
|
-
optional :value, :bytes, 5
|
18
|
-
end
|
19
|
-
add_message "protos.steps.DetectiveStepResult" do
|
20
|
-
repeated :matches, :message, 1, "protos.steps.DetectiveStepResultMatch"
|
21
|
-
end
|
22
|
-
add_enum "protos.steps.DetectiveType" do
|
23
|
-
value :DETECTIVE_TYPE_UNKNOWN, 0
|
24
|
-
value :DETECTIVE_TYPE_IS_EMPTY, 1000
|
25
|
-
value :DETECTIVE_TYPE_HAS_FIELD, 1001
|
26
|
-
value :DETECTIVE_TYPE_IS_TYPE, 1002
|
27
|
-
value :DETECTIVE_TYPE_STRING_CONTAINS_ANY, 1003
|
28
|
-
value :DETECTIVE_TYPE_STRING_CONTAINS_ALL, 1004
|
29
|
-
value :DETECTIVE_TYPE_STRING_EQUAL, 1005
|
30
|
-
value :DETECTIVE_TYPE_IPV4_ADDRESS, 1006
|
31
|
-
value :DETECTIVE_TYPE_IPV6_ADDRESS, 1007
|
32
|
-
value :DETECTIVE_TYPE_MAC_ADDRESS, 1008
|
33
|
-
value :DETECTIVE_TYPE_REGEX, 1009
|
34
|
-
value :DETECTIVE_TYPE_TIMESTAMP_RFC3339, 1010
|
35
|
-
value :DETECTIVE_TYPE_TIMESTAMP_UNIX_NANO, 1011
|
36
|
-
value :DETECTIVE_TYPE_TIMESTAMP_UNIX, 1012
|
37
|
-
value :DETECTIVE_TYPE_BOOLEAN_TRUE, 1013
|
38
|
-
value :DETECTIVE_TYPE_BOOLEAN_FALSE, 1014
|
39
|
-
value :DETECTIVE_TYPE_UUID, 1015
|
40
|
-
value :DETECTIVE_TYPE_URL, 1016
|
41
|
-
value :DETECTIVE_TYPE_HOSTNAME, 1017
|
42
|
-
value :DETECTIVE_TYPE_STRING_LENGTH_MIN, 1018
|
43
|
-
value :DETECTIVE_TYPE_STRING_LENGTH_MAX, 1019
|
44
|
-
value :DETECTIVE_TYPE_STRING_LENGTH_RANGE, 1020
|
45
|
-
value :DETECTIVE_TYPE_SEMVER, 1021
|
46
|
-
value :DETECTIVE_TYPE_PII_ANY, 2000
|
47
|
-
value :DETECTIVE_TYPE_PII_CREDIT_CARD, 2001
|
48
|
-
value :DETECTIVE_TYPE_PII_SSN, 2002
|
49
|
-
value :DETECTIVE_TYPE_PII_EMAIL, 2003
|
50
|
-
value :DETECTIVE_TYPE_PII_PHONE, 2004
|
51
|
-
value :DETECTIVE_TYPE_PII_DRIVER_LICENSE, 2005
|
52
|
-
value :DETECTIVE_TYPE_PII_PASSPORT_ID, 2006
|
53
|
-
value :DETECTIVE_TYPE_PII_VIN_NUMBER, 2007
|
54
|
-
value :DETECTIVE_TYPE_PII_SERIAL_NUMBER, 2008
|
55
|
-
value :DETECTIVE_TYPE_PII_LOGIN, 2009
|
56
|
-
value :DETECTIVE_TYPE_PII_TAXPAYER_ID, 2010
|
57
|
-
value :DETECTIVE_TYPE_PII_ADDRESS, 2011
|
58
|
-
value :DETECTIVE_TYPE_PII_SIGNATURE, 2012
|
59
|
-
value :DETECTIVE_TYPE_PII_GEOLOCATION, 2013
|
60
|
-
value :DETECTIVE_TYPE_PII_EDUCATION, 2014
|
61
|
-
value :DETECTIVE_TYPE_PII_FINANCIAL, 2015
|
62
|
-
value :DETECTIVE_TYPE_PII_HEALTH, 2016
|
63
|
-
value :DETECTIVE_TYPE_PII_AWS_KEY_ID, 2017
|
64
|
-
value :DETECTIVE_TYPE_PII_RSA_KEY, 2018
|
65
|
-
value :DETECTIVE_TYPE_PII_TITLE, 2019
|
66
|
-
value :DETECTIVE_TYPE_PII_RELIGION, 2020
|
67
|
-
value :DETECTIVE_TYPE_PII_SLACK_TOKEN, 2021
|
68
|
-
value :DETECTIVE_TYPE_PII_STRIPE_KEY, 2022
|
69
|
-
value :DETECTIVE_TYPE_PII_IBAN, 2023
|
70
|
-
value :DETECTIVE_TYPE_PII_SWIFT_BIC, 2024
|
71
|
-
value :DETECTIVE_TYPE_PII_BANK_ROUTING_NUMBER, 2025
|
72
|
-
value :DETECTIVE_TYPE_PII_CRYPTO_ADDRESS, 2026
|
73
|
-
value :DETECTIVE_TYPE_PII_GITHUB_PAT, 2027
|
74
|
-
value :DETECTIVE_TYPE_PII_BRAINTREE_ACCESS_TOKEN, 2028
|
75
|
-
value :DETECTIVE_TYPE_PII_AWS_MWS_AUTH_TOKEN, 2029
|
76
|
-
value :DETECTIVE_TYPE_PII_DATABRICKS_PAT, 2030
|
77
|
-
value :DETECTIVE_TYPE_PII_SENDGRID_KEY, 2031
|
78
|
-
value :DETECTIVE_TYPE_PII_AZURE_SQL_CONN_STRING, 2032
|
79
|
-
value :DETECTIVE_TYPE_PII_JWT, 2033
|
80
|
-
value :DETECTIVE_TYPE_PII_DOCKER_SWARM_TOKEN, 2034
|
81
|
-
value :DETECTIVE_TYPE_PII_BEARER_TOKEN, 2035
|
82
|
-
value :DETECTIVE_TYPE_NUMERIC_EQUAL_TO, 3000
|
83
|
-
value :DETECTIVE_TYPE_NUMERIC_GREATER_THAN, 3001
|
84
|
-
value :DETECTIVE_TYPE_NUMERIC_GREATER_EQUAL, 3002
|
85
|
-
value :DETECTIVE_TYPE_NUMERIC_LESS_THAN, 3003
|
86
|
-
value :DETECTIVE_TYPE_NUMERIC_LESS_EQUAL, 3004
|
87
|
-
value :DETECTIVE_TYPE_NUMERIC_RANGE, 3005
|
88
|
-
value :DETECTIVE_TYPE_NUMERIC_MIN, 3006
|
89
|
-
value :DETECTIVE_TYPE_NUMERIC_MAX, 3007
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
|
-
module Streamdal
|
95
|
-
module Protos
|
96
|
-
DetectiveStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DetectiveStep").msgclass
|
97
|
-
DetectiveStepResultMatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DetectiveStepResultMatch").msgclass
|
98
|
-
DetectiveStepResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DetectiveStepResult").msgclass
|
99
|
-
DetectiveType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DetectiveType").enummodule
|
100
|
-
end
|
101
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: steps/sp_steps_encode.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_file("steps/sp_steps_encode.proto", :syntax => :proto3) do
|
8
|
-
add_message "protos.steps.EncodeStep" do
|
9
|
-
optional :id, :string, 1
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
module Streamdal
|
15
|
-
module Protos
|
16
|
-
EncodeStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.EncodeStep").msgclass
|
17
|
-
end
|
18
|
-
end
|
@@ -1,42 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: steps/sp_steps_httprequest.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_file("steps/sp_steps_httprequest.proto", :syntax => :proto3) do
|
8
|
-
add_message "protos.steps.HttpRequest" do
|
9
|
-
optional :method, :enum, 1, "protos.steps.HttpRequestMethod"
|
10
|
-
optional :url, :string, 2
|
11
|
-
optional :body, :bytes, 3
|
12
|
-
map :headers, :string, :string, 4
|
13
|
-
end
|
14
|
-
add_message "protos.steps.HttpResponse" do
|
15
|
-
optional :code, :int32, 1
|
16
|
-
optional :body, :bytes, 2
|
17
|
-
map :headers, :string, :string, 3
|
18
|
-
end
|
19
|
-
add_message "protos.steps.HttpRequestStep" do
|
20
|
-
optional :request, :message, 1, "protos.steps.HttpRequest"
|
21
|
-
end
|
22
|
-
add_enum "protos.steps.HttpRequestMethod" do
|
23
|
-
value :HTTP_REQUEST_METHOD_UNSET, 0
|
24
|
-
value :HTTP_REQUEST_METHOD_GET, 1
|
25
|
-
value :HTTP_REQUEST_METHOD_POST, 2
|
26
|
-
value :HTTP_REQUEST_METHOD_PUT, 3
|
27
|
-
value :HTTP_REQUEST_METHOD_DELETE, 4
|
28
|
-
value :HTTP_REQUEST_METHOD_PATCH, 5
|
29
|
-
value :HTTP_REQUEST_METHOD_HEAD, 6
|
30
|
-
value :HTTP_REQUEST_METHOD_OPTIONS, 7
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
module Streamdal
|
36
|
-
module Protos
|
37
|
-
HttpRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.HttpRequest").msgclass
|
38
|
-
HttpResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.HttpResponse").msgclass
|
39
|
-
HttpRequestStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.HttpRequestStep").msgclass
|
40
|
-
HttpRequestMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.HttpRequestMethod").enummodule
|
41
|
-
end
|
42
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: steps/sp_steps_inferschema.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_file("steps/sp_steps_inferschema.proto", :syntax => :proto3) do
|
8
|
-
add_message "protos.steps.InferSchemaStep" do
|
9
|
-
optional :current_schema, :bytes, 1
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
module Streamdal
|
15
|
-
module Protos
|
16
|
-
InferSchemaStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.InferSchemaStep").msgclass
|
17
|
-
end
|
18
|
-
end
|