Service Registry Lookup Service

Service to map registered services to configuration groups.

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, ReadIstioInternalGroup

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
REQUIRED
The FQN of the registered service to lookup.

string = {
  min_len: 1
}

GroupLookupResponse

List of groups that configure the requested service.

Field Description Validation Rule

trafficGroups

List of tetrateio.api.tsb.traffic.v2.Group
The traffic groups that configure the given registered service.

securityGroups

List of tetrateio.api.tsb.security.v2.Group
The security groups that configure the given registered service.

gatewayGroups

List of tetrateio.api.tsb.gateway.v2.Group
The gateway groups that configure the given registered service.

istioInternalGroups

List of tetrateio.api.tsb.istiointernal.v2.Group
The istio internal groups that configure the given registered service.

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
REQUIRED
Selector used to filter services.

parent

string
REQUIRED
The FQN of the parent object where services will be looked up

string = {
  min_len: 1
}

ServiceLookupResponse

List of services that are included in the provided namespace selector.

Field Description Validation Rule

services

List of tetrateio.api.tsb.registry.v2.Service
The affected services