Skip to main content
Version: 1.5.x

Service Registry 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

Requires ReadTrafficGroup, ReadSecurityGroup, ReadGatewayGroup, ReadIstioInternalGroup

Get all the groups that configure the given service in the registry.

Services

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.

FieldDescriptionValidation 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.

FieldDescriptionValidation 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.

FieldDescriptionValidation 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.

FieldDescriptionValidation Rule

services

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