streamdal-protos 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b872ae06f624270fa282cc2ab1964055fbd84cb153c3c838ee407ef0dc6ac31
4
- data.tar.gz: f5e433189742ef4625e8c5ebcdc21c5cfeec21f894e7574fbd905451828f1fca
3
+ metadata.gz: 4810297e535a934e13ca65cf8baa87cbd5a06ff759b14df3226c21c486e1ece9
4
+ data.tar.gz: bbf71ad20316ee3442a801f30c7c7515b3dc9fbc21ce90cdc7f422c2a756b439
5
5
  SHA512:
6
- metadata.gz: d9ad99bcb759b6098e08f532a3d21447755dd1b9dabb5e13a772b9743db4fc7ca9502aa5beb9faf5a49fbcd3a97296c8ff33d9011064cc0a3c945722346d3c2d
7
- data.tar.gz: 22df083d7390b74bde53cbec9563325aa2f3d391d17202295074e73fd06f002f5c91f307c6b3c476843b4bf2b2993eb5729c53ca4b3883e666d58fe382c1aa9e
6
+ metadata.gz: 6e52df0952194d17d0236cfd7f523b8307957539f7b81b3e47c0f04df73e8aa1077c544be3363b50eba0ececf99ca628dd40bd7c4dc9deb3a7c693a39b10de2b
7
+ data.tar.gz: dbe27c2bbb024c02ab34ca15a780749ba6b58eb11d47338b02563fa106b02ad2b6084c80237d246ab7c41ce131f6490ac3103eeb6fa0da0794275d0b456ec6de
@@ -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,7 +1,7 @@
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.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Gregan
@@ -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: []