streamdal-protos 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shared/sp_shared_pb.rb +9 -0
- data/lib/sp_common_pb.rb +13 -0
- data/lib/sp_external_pb.rb +43 -0
- data/lib/sp_external_services_pb.rb +10 -1
- data/lib/sp_notify_pb.rb +1 -0
- data/lib/sp_pipeline_pb.rb +7 -0
- data/lib/sp_sdk_pb.rb +1 -5
- data/lib/steps/sp_steps_custom_pb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0aebe0d2c0212e9cea64f21c26dcfee83f6cab4e66b66b51120910f266e34548
|
4
|
+
data.tar.gz: e01529e9b96b16a7955c04c97d2de8e03e7633c93a8e440d70baabefeb6e91f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 220d3e0b3015cb9bb3729d908f0312b51c2526f06e5ecbd3de5357569877da0f8e7dfcbd99178769a75f9ac080f3b74463c506bf2d2db374013d8903d2082601
|
7
|
+
data.tar.gz: 8418c4233e507b595964aa6bd76f2055e11845a34dc25faf348bb8fb91eba189814b2aa3106b6cc9f253e2ec5450c719c6cbd15cfe59003a4fc68228342fd1be
|
data/lib/shared/sp_shared_pb.rb
CHANGED
@@ -9,6 +9,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
9
|
optional :id, :string, 1
|
10
10
|
optional :bytes, :bytes, 2
|
11
11
|
optional :function, :string, 3
|
12
|
+
optional :name, :string, 4
|
13
|
+
optional :_filename, :string, 5
|
14
|
+
optional :_bundled, :bool, 6
|
15
|
+
proto3_optional :description, :string, 101
|
16
|
+
proto3_optional :version, :string, 102
|
17
|
+
proto3_optional :url, :string, 103
|
18
|
+
proto3_optional :_created_at_unix_ts_ns_utc, :int64, 1000
|
19
|
+
proto3_optional :_updated_at_unix_ts_ns_utc, :int64, 1001
|
20
|
+
proto3_optional :_created_by, :string, 1002
|
12
21
|
end
|
13
22
|
add_enum "protos.shared.KVAction" do
|
14
23
|
value :KV_ACTION_UNSET, 0
|
data/lib/sp_common_pb.rb
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'shared/sp_shared_pb'
|
7
|
+
require 'sp_notify_pb'
|
8
|
+
require 'sp_pipeline_pb'
|
9
|
+
|
6
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
11
|
add_file("sp_common.proto", :syntax => :proto3) do
|
8
12
|
add_message "protos.StandardResponse" do
|
@@ -15,6 +19,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
15
19
|
optional :component_name, :string, 2
|
16
20
|
optional :operation_type, :enum, 3, "protos.OperationType"
|
17
21
|
optional :operation_name, :string, 4
|
22
|
+
proto3_optional :_created_by, :string, 1000
|
18
23
|
end
|
19
24
|
add_message "protos.Metric" do
|
20
25
|
optional :name, :string, 1
|
@@ -55,6 +60,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
55
60
|
optional :sample_rate, :uint32, 1
|
56
61
|
optional :sample_interval_seconds, :uint32, 2
|
57
62
|
end
|
63
|
+
add_message "protos.Config" do
|
64
|
+
repeated :audiences, :message, 1, "protos.Audience"
|
65
|
+
repeated :pipelines, :message, 2, "protos.Pipeline"
|
66
|
+
repeated :notifications, :message, 3, "protos.NotificationConfig"
|
67
|
+
repeated :wasm_modules, :message, 4, "protos.shared.WasmModule"
|
68
|
+
map :audience_mappings, :string, :message, 5, "protos.PipelineConfigs"
|
69
|
+
end
|
58
70
|
add_enum "protos.ResponseCode" do
|
59
71
|
value :RESPONSE_CODE_UNSET, 0
|
60
72
|
value :RESPONSE_CODE_OK, 1
|
@@ -93,6 +105,7 @@ module Streamdal
|
|
93
105
|
AudienceRate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AudienceRate").msgclass
|
94
106
|
Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Schema").msgclass
|
95
107
|
SampleOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SampleOptions").msgclass
|
108
|
+
Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Config").msgclass
|
96
109
|
ResponseCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ResponseCode").enummodule
|
97
110
|
OperationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.OperationType").enummodule
|
98
111
|
TailResponseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TailResponseType").enummodule
|
data/lib/sp_external_pb.rb
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'shared/sp_shared_pb'
|
6
7
|
require 'sp_common_pb'
|
7
8
|
require 'sp_info_pb'
|
8
9
|
require 'sp_notify_pb'
|
@@ -33,6 +34,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
33
34
|
end
|
34
35
|
add_message "protos.CreatePipelineRequest" do
|
35
36
|
optional :pipeline, :message, 1, "protos.Pipeline"
|
37
|
+
proto3_optional :pipeline_json, :bytes, 2
|
36
38
|
end
|
37
39
|
add_message "protos.CreatePipelineResponse" do
|
38
40
|
optional :message, :string, 1
|
@@ -40,6 +42,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
40
42
|
end
|
41
43
|
add_message "protos.UpdatePipelineRequest" do
|
42
44
|
optional :pipeline, :message, 1, "protos.Pipeline"
|
45
|
+
proto3_optional :pipeline_json, :bytes, 2
|
43
46
|
end
|
44
47
|
add_message "protos.DeletePipelineRequest" do
|
45
48
|
optional :pipeline_id, :string, 1
|
@@ -48,6 +51,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
48
51
|
add_message "protos.SetPipelinesRequest" do
|
49
52
|
repeated :pipeline_ids, :string, 1
|
50
53
|
optional :audience, :message, 2, "protos.Audience"
|
54
|
+
proto3_optional :_created_by, :string, 100
|
51
55
|
end
|
52
56
|
add_message "protos.PausePipelineRequest" do
|
53
57
|
optional :pipeline_id, :string, 1
|
@@ -147,12 +151,41 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
147
151
|
add_message "protos.ResumeTailRequest" do
|
148
152
|
optional :tail_id, :string, 1
|
149
153
|
end
|
154
|
+
add_message "protos.GetWasmRequest" do
|
155
|
+
optional :id, :string, 1
|
156
|
+
end
|
157
|
+
add_message "protos.GetWasmResponse" do
|
158
|
+
optional :wasm, :message, 1, "protos.shared.WasmModule"
|
159
|
+
end
|
160
|
+
add_message "protos.GetAllWasmRequest" do
|
161
|
+
end
|
162
|
+
add_message "protos.GetAllWasmResponse" do
|
163
|
+
repeated :wasm, :message, 1, "protos.shared.WasmModule"
|
164
|
+
end
|
165
|
+
add_message "protos.CreateWasmRequest" do
|
166
|
+
optional :wasm, :message, 1, "protos.shared.WasmModule"
|
167
|
+
end
|
168
|
+
add_message "protos.CreateWasmResponse" do
|
169
|
+
optional :message, :string, 1
|
170
|
+
optional :id, :string, 2
|
171
|
+
end
|
172
|
+
add_message "protos.UpdateWasmRequest" do
|
173
|
+
optional :wasm, :message, 1, "protos.shared.WasmModule"
|
174
|
+
end
|
175
|
+
add_message "protos.DeleteWasmRequest" do
|
176
|
+
repeated :ids, :string, 1
|
177
|
+
end
|
150
178
|
add_message "protos.TestRequest" do
|
151
179
|
optional :input, :string, 1
|
152
180
|
end
|
153
181
|
add_message "protos.TestResponse" do
|
154
182
|
optional :output, :string, 2
|
155
183
|
end
|
184
|
+
add_message "protos.GetConfigRequest" do
|
185
|
+
end
|
186
|
+
add_message "protos.GetConfigResponse" do
|
187
|
+
optional :config, :message, 1, "protos.Config"
|
188
|
+
end
|
156
189
|
end
|
157
190
|
end
|
158
191
|
|
@@ -198,7 +231,17 @@ module Streamdal
|
|
198
231
|
AppRegisterRejectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppRegisterRejectRequest").msgclass
|
199
232
|
PauseTailRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PauseTailRequest").msgclass
|
200
233
|
ResumeTailRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ResumeTailRequest").msgclass
|
234
|
+
GetWasmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetWasmRequest").msgclass
|
235
|
+
GetWasmResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetWasmResponse").msgclass
|
236
|
+
GetAllWasmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetAllWasmRequest").msgclass
|
237
|
+
GetAllWasmResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetAllWasmResponse").msgclass
|
238
|
+
CreateWasmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreateWasmRequest").msgclass
|
239
|
+
CreateWasmResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreateWasmResponse").msgclass
|
240
|
+
UpdateWasmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.UpdateWasmRequest").msgclass
|
241
|
+
DeleteWasmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeleteWasmRequest").msgclass
|
201
242
|
TestRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TestRequest").msgclass
|
202
243
|
TestResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TestResponse").msgclass
|
244
|
+
GetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetConfigRequest").msgclass
|
245
|
+
GetConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetConfigResponse").msgclass
|
203
246
|
end
|
204
247
|
end
|
@@ -17,6 +17,8 @@ module Streamdal
|
|
17
17
|
|
18
18
|
# Returns all data needed for UI; called on initial console load
|
19
19
|
rpc :GetAll, ::Streamdal::Protos::GetAllRequest, ::Streamdal::Protos::GetAllResponse
|
20
|
+
# Returns the current _full_ configuration of the server
|
21
|
+
rpc :GetConfig, ::Streamdal::Protos::GetConfigRequest, ::Streamdal::Protos::GetConfigResponse
|
20
22
|
# Used by console to stream updates to UI; called after initial GetAll()
|
21
23
|
rpc :GetAllStream, ::Streamdal::Protos::GetAllRequest, stream(::Streamdal::Protos::GetAllResponse)
|
22
24
|
# Returns pipelines (_wasm_bytes field is stripped)
|
@@ -48,7 +50,7 @@ module Streamdal
|
|
48
50
|
rpc :AttachNotification, ::Streamdal::Protos::AttachNotificationRequest, ::Streamdal::Protos::StandardResponse
|
49
51
|
# Detach a notification config from a pipeline
|
50
52
|
rpc :DetachNotification, ::Streamdal::Protos::DetachNotificationRequest, ::Streamdal::Protos::StandardResponse
|
51
|
-
# Create an audience. Used for terraform
|
53
|
+
# Create an audience. Used for automation tooling (terraform, k8s cr's)
|
52
54
|
rpc :CreateAudience, ::Streamdal::Protos::CreateAudienceRequest, ::Streamdal::Protos::StandardResponse
|
53
55
|
# Delete an audience
|
54
56
|
rpc :DeleteAudience, ::Streamdal::Protos::DeleteAudienceRequest, ::Streamdal::Protos::StandardResponse
|
@@ -65,6 +67,13 @@ module Streamdal
|
|
65
67
|
rpc :AppRegister, ::Streamdal::Protos::AppRegistrationRequest, ::Streamdal::Protos::StandardResponse
|
66
68
|
rpc :AppVerifyRegistration, ::Streamdal::Protos::AppVerifyRegistrationRequest, ::Streamdal::Protos::StandardResponse
|
67
69
|
rpc :AppRegisterReject, ::Streamdal::Protos::AppRegisterRejectRequest, ::Streamdal::Protos::StandardResponse
|
70
|
+
# BEGIN Wasm methods
|
71
|
+
rpc :GetWasm, ::Streamdal::Protos::GetWasmRequest, ::Streamdal::Protos::GetWasmResponse
|
72
|
+
rpc :GetAllWasm, ::Streamdal::Protos::GetAllWasmRequest, ::Streamdal::Protos::GetAllWasmResponse
|
73
|
+
rpc :CreateWasm, ::Streamdal::Protos::CreateWasmRequest, ::Streamdal::Protos::CreateWasmResponse
|
74
|
+
rpc :UpdateWasm, ::Streamdal::Protos::UpdateWasmRequest, ::Streamdal::Protos::StandardResponse
|
75
|
+
rpc :DeleteWasm, ::Streamdal::Protos::DeleteWasmRequest, ::Streamdal::Protos::StandardResponse
|
76
|
+
# END Wasm methods
|
68
77
|
# Test method
|
69
78
|
rpc :Test, ::Streamdal::Protos::TestRequest, ::Streamdal::Protos::TestResponse
|
70
79
|
end
|
data/lib/sp_notify_pb.rb
CHANGED
@@ -9,6 +9,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
9
|
proto3_optional :id, :string, 1
|
10
10
|
optional :name, :string, 2
|
11
11
|
optional :type, :enum, 3, "protos.NotificationType"
|
12
|
+
proto3_optional :_created_by, :string, 10000
|
12
13
|
oneof :config do
|
13
14
|
optional :slack, :message, 1000, "protos.NotificationSlack"
|
14
15
|
optional :email, :message, 1001, "protos.NotificationEmail"
|
data/lib/sp_pipeline_pb.rb
CHANGED
@@ -23,6 +23,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
23
23
|
repeated :steps, :message, 3, "protos.PipelineStep"
|
24
24
|
repeated :_notification_configs, :message, 4, "protos.NotificationConfig"
|
25
25
|
proto3_optional :_paused, :bool, 1000
|
26
|
+
proto3_optional :_description, :string, 1001
|
27
|
+
proto3_optional :_version, :string, 1002
|
28
|
+
proto3_optional :_url, :string, 1003
|
29
|
+
proto3_optional :_created_at_unix_ts_utc, :int64, 1004
|
30
|
+
proto3_optional :_updated_at_unix_ts_utc, :int64, 1005
|
31
|
+
proto3_optional :_created_by, :string, 1006
|
26
32
|
end
|
27
33
|
add_message "protos.PipelineStepConditions" do
|
28
34
|
optional :abort, :enum, 1, "protos.AbortCondition"
|
@@ -66,6 +72,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
66
72
|
add_message "protos.PipelineConfigs" do
|
67
73
|
repeated :configs, :message, 1, "protos.PipelineConfig"
|
68
74
|
proto3_optional :_is_empty, :bool, 1000
|
75
|
+
proto3_optional :_created_by, :string, 1001
|
69
76
|
end
|
70
77
|
add_message "protos.PipelineConfig" do
|
71
78
|
optional :id, :string, 1
|
data/lib/sp_sdk_pb.rb
CHANGED
@@ -7,11 +7,8 @@ require 'sp_pipeline_pb'
|
|
7
7
|
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("sp_sdk.proto", :syntax => :proto3) do
|
10
|
-
add_message "protos.Payload" do
|
11
|
-
optional :bytes, :bytes, 1
|
12
|
-
end
|
13
10
|
add_message "protos.SDKResponse" do
|
14
|
-
optional :data, :
|
11
|
+
optional :data, :bytes, 1
|
15
12
|
optional :status, :enum, 2, "protos.ExecStatus"
|
16
13
|
proto3_optional :status_message, :string, 3
|
17
14
|
repeated :pipeline_status, :message, 4, "protos.PipelineStatus"
|
@@ -39,7 +36,6 @@ end
|
|
39
36
|
|
40
37
|
module Streamdal
|
41
38
|
module Protos
|
42
|
-
Payload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Payload").msgclass
|
43
39
|
SDKResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SDKResponse").msgclass
|
44
40
|
PipelineStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStatus").msgclass
|
45
41
|
StepStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.StepStatus").msgclass
|
@@ -6,7 +6,7 @@ require 'google/protobuf'
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
7
|
add_file("steps/sp_steps_custom.proto", :syntax => :proto3) do
|
8
8
|
add_message "protos.steps.CustomStep" do
|
9
|
-
|
9
|
+
map :args, :string, :string, 1
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: streamdal-protos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Gregan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|