Package ai.pipestream.api.annotation
Annotation Interface GrpcServiceRegistration
Annotation for automatic gRPC service registration with enhanced metadata support.
This is specifically for application services (not pipeline modules).
Services annotated with this will be automatically registered with the registration service on startup, including rich metadata, capabilities, and SVG icons.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Service capabilities - what this service can doHuman-readable description of the serviceWhether registration is enabled.Health check types to registerPath to SVG icon for UI display.String[]Additional metadata as key=value pairsService name for registration.Service type - distinguishes applications from pipeline modulesString[]Tags for service discoveryService version.
-
Element Details
-
serviceName
String serviceNameService name for registration. Defaults to the class simple name.- Default:
""
-
serviceType
GrpcServiceRegistration.ServiceType serviceTypeService type - distinguishes applications from pipeline modules- Default:
APPLICATION
-
description
String descriptionHuman-readable description of the service- Default:
""
-
version
String versionService version. Supports property placeholders like ${service.version:1.0.0}- Default:
"${service.version:1.0.0}"
-
iconPath
String iconPathPath to SVG icon for UI display. Supports: - classpath:/icons/service.svg (bundled resource) - /absolute/path/to/icon.svg (file system) - https://cdn.example.com/icon.svg (URL) - data:image/svg+xml;base64,... (inline base64)- Default:
""
-
capabilities
String[] capabilitiesService capabilities - what this service can do- Default:
{}
-
healthChecks
GrpcServiceRegistration.HealthCheckType[] healthChecksHealth check types to register- Default:
{HTTP, GRPC}
-
metadata
String[] metadataAdditional metadata as key=value pairs- Default:
{}
-
enabled
String enabledWhether registration is enabled. Supports property placeholders.- Default:
"${service.registration.enabled:true}"
-
tags
String[] tagsTags for service discovery- Default:
{}
-