Lookup Service
Lookup
The Lookup API allows resolving the groups that configure a particular service in the registry. It allows lookups given a service, but also reverse lookups to get all the services in the registry that are configured by a particular workspace or group.
Groups
rpc Groups (tetrateio.api.tsb.registry.v2.GroupLookupRequest) returns (tetrateio.api.tsb.registry.v2.GroupLookupResponse)
Requires ReadTrafficGroup, ReadSecurityGroup, ReadGatewayGroup
Get all the groups that configure the given service in the registry.
Services
rpc Services (tetrateio.api.tsb.registry.v2.ServiceLookupRequest) returns (tetrateio.api.tsb.registry.v2.ServiceLookupResponse)
Requires ReadRegisteredService
Get all the services in the registry that are part of the given selector. This method can be used to resolve the registered services that are part of a workspace or group. This method can be also used to figure out how applying a selector could affect the platform and have an understanding of which of the existing services would be included in the selection.
GroupLookupRequest
Request to lookup the groups that configure a particular registered service.
Field | Description | Validation Rule |
fqn | string | string = { |
GroupLookupResponse
List of groups that configure the requested service.
Field | Description | Validation Rule |
trafficGroups | List of tetrateio.api.tsb.traffic.v2.Group | – |
securityGroups | List of tetrateio.api.tsb.security.v2.Group | – |
gatewayGroups | List of tetrateio.api.tsb.gateway.v2.Group | – |
ServiceLookupRequest
Request for all the services in the registry that are part of the given selector.
Field | Description | Validation Rule |
selector | tetrateio.api.tsb.types.v2.NamespaceSelector | – |
parent | string | string = { |
ServiceLookupResponse
List of services that are included in the provided namespace selector.
Field | Description | Validation Rule |
services | List of tetrateio.api.tsb.registry.v2.RegisteredService | – |