streamdal-protos 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b872ae06f624270fa282cc2ab1964055fbd84cb153c3c838ee407ef0dc6ac31
4
- data.tar.gz: f5e433189742ef4625e8c5ebcdc21c5cfeec21f894e7574fbd905451828f1fca
3
+ metadata.gz: 97e69134319516b700530ec44e8fa3ba5b46600ba6981ddf3bdba9243ae03c8a
4
+ data.tar.gz: 1edea806797efdd130f36180a45e2be2572dca71ad1c834da67175fd9aa20596
5
5
  SHA512:
6
- metadata.gz: d9ad99bcb759b6098e08f532a3d21447755dd1b9dabb5e13a772b9743db4fc7ca9502aa5beb9faf5a49fbcd3a97296c8ff33d9011064cc0a3c945722346d3c2d
7
- data.tar.gz: 22df083d7390b74bde53cbec9563325aa2f3d391d17202295074e73fd06f002f5c91f307c6b3c476843b4bf2b2993eb5729c53ca4b3883e666d58fe382c1aa9e
6
+ metadata.gz: 5f58b4f89ddf7b3ec37fa7f5f0f7a61e0fd75a601a497391b90eecca6f72b33479c9728ac3850f553eb64679054d648970f82d6fdb906c124bd98440a9a4e652
7
+ data.tar.gz: f0e6c958a3c2375e136f0ae7e6ffe66a57262b71e587cdb7ea1b157af3973c449abe7dd946239b78428317468a9902171488337fa349aa6c6f52584ad58cbd7d
@@ -0,0 +1,75 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: sp_external.proto for package 'Streamdal.Protos'
3
+
4
+ require 'grpc'
5
+ require 'sp_external_pb'
6
+
7
+ module Streamdal
8
+ module Protos
9
+ module External
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.External'
17
+
18
+ # Returns all data needed for UI; called on initial console load
19
+ rpc :GetAll, ::Streamdal::Protos::GetAllRequest, ::Streamdal::Protos::GetAllResponse
20
+ # Used by console to stream updates to UI; called after initial GetAll()
21
+ rpc :GetAllStream, ::Streamdal::Protos::GetAllRequest, stream(::Streamdal::Protos::GetAllResponse)
22
+ # Returns pipelines (_wasm_bytes field is stripped)
23
+ rpc :GetPipelines, ::Streamdal::Protos::GetPipelinesRequest, ::Streamdal::Protos::GetPipelinesResponse
24
+ # Returns a single pipeline (_wasm_bytes field is stripped)
25
+ rpc :GetPipeline, ::Streamdal::Protos::GetPipelineRequest, ::Streamdal::Protos::GetPipelineResponse
26
+ # Create a new pipeline; id must be left empty on create
27
+ rpc :CreatePipeline, ::Streamdal::Protos::CreatePipelineRequest, ::Streamdal::Protos::CreatePipelineResponse
28
+ # Update an existing pipeline; id must be set
29
+ rpc :UpdatePipeline, ::Streamdal::Protos::UpdatePipelineRequest, ::Streamdal::Protos::StandardResponse
30
+ # Delete a pipeline
31
+ rpc :DeletePipeline, ::Streamdal::Protos::DeletePipelineRequest, ::Streamdal::Protos::StandardResponse
32
+ rpc :SetPipelines, ::Streamdal::Protos::SetPipelinesRequest, ::Streamdal::Protos::StandardResponse
33
+ # Pause a pipeline; noop if pipeline is already paused
34
+ rpc :PausePipeline, ::Streamdal::Protos::PausePipelineRequest, ::Streamdal::Protos::StandardResponse
35
+ # Resume a pipeline; noop if pipeline is not paused
36
+ rpc :ResumePipeline, ::Streamdal::Protos::ResumePipelineRequest, ::Streamdal::Protos::StandardResponse
37
+ # Create a new notification config
38
+ rpc :CreateNotification, ::Streamdal::Protos::CreateNotificationRequest, ::Streamdal::Protos::CreateNotificationResponse
39
+ # Update an existing notification config
40
+ rpc :UpdateNotification, ::Streamdal::Protos::UpdateNotificationRequest, ::Streamdal::Protos::StandardResponse
41
+ # Delete a notification config
42
+ rpc :DeleteNotification, ::Streamdal::Protos::DeleteNotificationRequest, ::Streamdal::Protos::StandardResponse
43
+ # Returns all notification configs
44
+ rpc :GetNotifications, ::Streamdal::Protos::GetNotificationsRequest, ::Streamdal::Protos::GetNotificationsResponse
45
+ # Returns a single notification config
46
+ rpc :GetNotification, ::Streamdal::Protos::GetNotificationRequest, ::Streamdal::Protos::GetNotificationResponse
47
+ # Attach a notification config to a pipeline
48
+ rpc :AttachNotification, ::Streamdal::Protos::AttachNotificationRequest, ::Streamdal::Protos::StandardResponse
49
+ # Detach a notification config from a pipeline
50
+ rpc :DetachNotification, ::Streamdal::Protos::DetachNotificationRequest, ::Streamdal::Protos::StandardResponse
51
+ # Create an audience. Used for terraform purposes
52
+ rpc :CreateAudience, ::Streamdal::Protos::CreateAudienceRequest, ::Streamdal::Protos::StandardResponse
53
+ # Delete an audience
54
+ rpc :DeleteAudience, ::Streamdal::Protos::DeleteAudienceRequest, ::Streamdal::Protos::StandardResponse
55
+ # Delete a service and all associated audiences
56
+ rpc :DeleteService, ::Streamdal::Protos::DeleteServiceRequest, ::Streamdal::Protos::StandardResponse
57
+ # Returns all metric counters
58
+ rpc :GetMetrics, ::Streamdal::Protos::GetMetricsRequest, stream(::Streamdal::Protos::GetMetricsResponse)
59
+ rpc :Tail, ::Streamdal::Protos::TailRequest, stream(::Streamdal::Protos::TailResponse)
60
+ rpc :PauseTail, ::Streamdal::Protos::PauseTailRequest, ::Streamdal::Protos::StandardResponse
61
+ rpc :ResumeTail, ::Streamdal::Protos::ResumeTailRequest, ::Streamdal::Protos::StandardResponse
62
+ rpc :GetAudienceRates, ::Streamdal::Protos::GetAudienceRatesRequest, stream(::Streamdal::Protos::GetAudienceRatesResponse)
63
+ rpc :GetSchema, ::Streamdal::Protos::GetSchemaRequest, ::Streamdal::Protos::GetSchemaResponse
64
+ rpc :AppRegistrationStatus, ::Streamdal::Protos::AppRegistrationStatusRequest, ::Streamdal::Protos::AppRegistrationStatusResponse
65
+ rpc :AppRegister, ::Streamdal::Protos::AppRegistrationRequest, ::Streamdal::Protos::StandardResponse
66
+ rpc :AppVerifyRegistration, ::Streamdal::Protos::AppVerifyRegistrationRequest, ::Streamdal::Protos::StandardResponse
67
+ rpc :AppRegisterReject, ::Streamdal::Protos::AppRegisterRejectRequest, ::Streamdal::Protos::StandardResponse
68
+ # Test method
69
+ rpc :Test, ::Streamdal::Protos::TestRequest, ::Streamdal::Protos::TestResponse
70
+ end
71
+
72
+ Stub = Service.rpc_stub_class
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,47 @@
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
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.1
4
+ version: 0.0.3
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-03-25 00:00:00.000000000 Z
11
+ date: 2024-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '3.15'
33
+ version: '4.26'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '3.15'
40
+ version: '4.26'
41
41
  description:
42
42
  email: mark@streamdal.com
43
43
  executables: []
@@ -49,8 +49,10 @@ files:
49
49
  - lib/sp_command_pb.rb
50
50
  - lib/sp_common_pb.rb
51
51
  - lib/sp_external_pb.rb
52
+ - lib/sp_external_services_pb.rb
52
53
  - lib/sp_info_pb.rb
53
54
  - lib/sp_internal_pb.rb
55
+ - lib/sp_internal_services_pb.rb
54
56
  - lib/sp_kv_pb.rb
55
57
  - lib/sp_notify_pb.rb
56
58
  - lib/sp_pipeline_pb.rb
@@ -88,5 +90,5 @@ requirements: []
88
90
  rubygems_version: 3.5.4
89
91
  signing_key:
90
92
  specification_version: 4
91
- summary: Streamdal SDK
93
+ summary: Streamdal SDK Protocol Buffers
92
94
  test_files: []