Class PlatformRegistrationServiceClient
java.lang.Object
ai.pipestream.platform.registration.v1.PlatformRegistrationServiceClient
- All Implemented Interfaces:
PlatformRegistrationService,io.quarkus.grpc.MutinyClient<MutinyPlatformRegistrationServiceGrpc.MutinyPlatformRegistrationServiceStub>,io.quarkus.grpc.MutinyService
@Generated(value="by Mutiny Grpc generator",
comments="Source: ai/pipestream/platform/registration/v1/platform_registration.proto")
public class PlatformRegistrationServiceClient
extends Object
implements PlatformRegistrationService, io.quarkus.grpc.MutinyClient<MutinyPlatformRegistrationServiceGrpc.MutinyPlatformRegistrationServiceStub>
-
Constructor Summary
ConstructorsConstructorDescriptionPlatformRegistrationServiceClient(String name, io.grpc.Channel channel, BiFunction<String, MutinyPlatformRegistrationServiceGrpc.MutinyPlatformRegistrationServiceStub, MutinyPlatformRegistrationServiceGrpc.MutinyPlatformRegistrationServiceStub> stubConfigurator) -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<GetModuleResponse> getModule(GetModuleRequest request) Get specific module details by name or Consul service ID.io.smallrye.mutiny.Uni<GetModuleSchemaResponse> getModuleSchema(GetModuleSchemaRequest request) Get module schema from Apicurio Registry.io.smallrye.mutiny.Uni<GetModuleSchemaVersionsResponse> List all available schema versions for a module.io.smallrye.mutiny.Uni<GetServiceResponse> getService(GetServiceRequest request) Get specific service details by name or Consul service ID.getStub()io.smallrye.mutiny.Uni<ListModulesResponse> listModules(ListModulesRequest request) List all registered modules with schema and capability information.io.smallrye.mutiny.Uni<ListServicesResponse> listServices(ListServicesRequest request) List all registered services with health status and metadata.newInstanceWithStub(MutinyPlatformRegistrationServiceGrpc.MutinyPlatformRegistrationServiceStub stub) io.smallrye.mutiny.Multi<RegisterModuleResponse> registerModule(RegisterModuleRequest request) Register a module (document processor) with streaming status updates.io.smallrye.mutiny.Multi<RegisterServiceResponse> registerService(RegisterServiceRequest request) Register a service with streaming status updates.io.smallrye.mutiny.Uni<ResolveServiceResponse> resolveService(ResolveServiceRequest request) Resolve service endpoint for dynamic routing.io.smallrye.mutiny.Uni<UnregisterModuleResponse> unregisterModule(UnregisterModuleRequest request) Unregister a module from Consul and the platform registry.io.smallrye.mutiny.Uni<UnregisterServiceResponse> Unregister a service from Consul and the platform registry.io.smallrye.mutiny.Multi<WatchModulesResponse> watchModules(WatchModulesRequest request) Watch for real-time updates to the list of all registered modules.io.smallrye.mutiny.Multi<WatchServicesResponse> watchServices(WatchServicesRequest request) Watch for real-time updates to the list of all healthy services.
-
Constructor Details
-
PlatformRegistrationServiceClient
public PlatformRegistrationServiceClient(String name, io.grpc.Channel channel, BiFunction<String, MutinyPlatformRegistrationServiceGrpc.MutinyPlatformRegistrationServiceStub, MutinyPlatformRegistrationServiceGrpc.MutinyPlatformRegistrationServiceStub> stubConfigurator)
-
-
Method Details
-
newInstanceWithStub
public PlatformRegistrationServiceClient newInstanceWithStub(MutinyPlatformRegistrationServiceGrpc.MutinyPlatformRegistrationServiceStub stub) - Specified by:
newInstanceWithStubin interfaceio.quarkus.grpc.MutinyClient<MutinyPlatformRegistrationServiceGrpc.MutinyPlatformRegistrationServiceStub>
-
getStub
- Specified by:
getStubin interfaceio.quarkus.grpc.MutinyClient<MutinyPlatformRegistrationServiceGrpc.MutinyPlatformRegistrationServiceStub>
-
unregisterService
public io.smallrye.mutiny.Uni<UnregisterServiceResponse> unregisterService(UnregisterServiceRequest request) Description copied from interface:PlatformRegistrationServiceUnregister a service from Consul and the platform registry.
- Specified by:
unregisterServicein interfacePlatformRegistrationService
-
unregisterModule
public io.smallrye.mutiny.Uni<UnregisterModuleResponse> unregisterModule(UnregisterModuleRequest request) Description copied from interface:PlatformRegistrationServiceUnregister a module from Consul and the platform registry.
- Specified by:
unregisterModulein interfacePlatformRegistrationService
-
listServices
Description copied from interface:PlatformRegistrationServiceList all registered services with health status and metadata.
- Specified by:
listServicesin interfacePlatformRegistrationService
-
listModules
Description copied from interface:PlatformRegistrationServiceList all registered modules with schema and capability information.
- Specified by:
listModulesin interfacePlatformRegistrationService
-
getService
Description copied from interface:PlatformRegistrationServiceGet specific service details by name or Consul service ID.
- Specified by:
getServicein interfacePlatformRegistrationService
-
getModule
Description copied from interface:PlatformRegistrationServiceGet specific module details by name or Consul service ID.
- Specified by:
getModulein interfacePlatformRegistrationService
-
resolveService
Description copied from interface:PlatformRegistrationServiceResolve service endpoint for dynamic routing. Returns the best available instance of a service based on health and load. Supports preference criteria like local instances or required capabilities.
- Specified by:
resolveServicein interfacePlatformRegistrationService
-
getModuleSchema
public io.smallrye.mutiny.Uni<GetModuleSchemaResponse> getModuleSchema(GetModuleSchemaRequest request) Description copied from interface:PlatformRegistrationServiceGet module schema from Apicurio Registry. Retrieves either a specific version or the latest schema for a module. Returns JSON Schema used for validating module configuration.
- Specified by:
getModuleSchemain interfacePlatformRegistrationService
-
getModuleSchemaVersions
public io.smallrye.mutiny.Uni<GetModuleSchemaVersionsResponse> getModuleSchemaVersions(GetModuleSchemaVersionsRequest request) Description copied from interface:PlatformRegistrationServiceList all available schema versions for a module. Provides detailed version metadata from Apicurio Registry including creation timestamps and version-specific descriptions.
- Specified by:
getModuleSchemaVersionsin interfacePlatformRegistrationService
-
registerService
public io.smallrye.mutiny.Multi<RegisterServiceResponse> registerService(RegisterServiceRequest request) Description copied from interface:PlatformRegistrationServiceRegister a service with streaming status updates. Returns a stream of RegistrationEvent messages tracking progress through validation, Consul registration, health check configuration, and completion.
- Specified by:
registerServicein interfacePlatformRegistrationService
-
registerModule
public io.smallrye.mutiny.Multi<RegisterModuleResponse> registerModule(RegisterModuleRequest request) Description copied from interface:PlatformRegistrationServiceRegister a module (document processor) with streaming status updates. Extends service registration by adding schema validation, Apicurio registration, and module-specific metadata handling.
- Specified by:
registerModulein interfacePlatformRegistrationService
-
watchServices
Description copied from interface:PlatformRegistrationServiceWatch for real-time updates to the list of all healthy services. The server will send an initial list, and then send a new full list whenever any service is registered, unregistered, or changes its health status.
- Specified by:
watchServicesin interfacePlatformRegistrationService
-
watchModules
Description copied from interface:PlatformRegistrationServiceWatch for real-time updates to the list of all registered modules. The server will send an initial list, and then send a new full list whenever any module is registered, unregistered, or changes its health status.
- Specified by:
watchModulesin interfacePlatformRegistrationService
-