Skip to main content
Version: 1.5.x

Status

ConfigResource

ConfigResource represents a configuration object (group, ingress gateway, etc) that is related to an Application or API.

FieldDescriptionValidation Rule

fqn

string
OUTPUT_ONLY
The FQN of the resource this status is computed for.

expectedEtag

string
OUTPUT_ONLY
The expected etag field is used to check the if the configuration resource contents have changed. This might not be relevant for all configuration resources, so this field may not be set. If it is not set, the status will only report the presence or absence of the configuration resource, but not differences in its contents.

When this field is present, the status will also reflect changes in the contents of the configuration resource, and report it as DIRTY if there are differences.

exclusivelyOwned

bool
OUTPUT_ONLY
The exclusively owned flag indicates if the referenced configuration resource is exclusively owned by the object. Configuration resources that are exclusively owned by an object will be deleted when the object is deleted.

ResourceStatus

The ResourceStatus object provides information about the status of the configuration related to an Application or an API object.

Applications and APIs are translated into configuration objects (config groups, ingress gateways, etc). This status object reflects the status of the Application and APIs with regard to the generated configuration, and exposes any configuration mismatch. This status only reflects the status of the configuration objects in Service Bridge. It does not provide information about the status of the generated configuration in the final clusters.

FieldDescriptionValidation Rule

status

tetrateio.api.tsb.application.v2.Status
OUTPUT_ONLY
The aggregated configuration status for the Application/API. In the case of applications, the status will also reflect the aggregated status of the APIs attached to the application; if any of the APIs is missing / dirty, the application status will reflect that.

resources

List of tetrateio.api.tsb.application.v2.ResourceStatus.ConfigResourceStatus
OUTPUT_ONLY
List of the individual configuration resource statuses.

ConfigResourceStatus

Individual status for a configuration resource related to the Application/API.

FieldDescriptionValidation Rule

status

tetrateio.api.tsb.application.v2.Status
OUTPUT_ONLY
The configuration status for the individual configuration resource.

resource

tetrateio.api.tsb.application.v2.ConfigResource
OUTPUT_ONLY
The resource for which the status has been computed.

Status

The computed configuration status for the Application or API.

NameNumberDescription

UNKNOWN

0

Unknown indicates that the status has not been computed.

MISSING

1

The missing status indicates that the configuration resource for the Applications or APIs do not exist.

DIRTY

2

Dirty Applications and APIs are those that have the corresponding configuration objects (config groups, ingress gateways, etc), but those objects have been directly modified or they current configuration does not match the one specified in the corresponding Application/API.

CONFIGURED

3

Configured Applications and APIs are those that have the corresponding configuration resources (config groups, ingress gateways, etc) and their configurations match the ones defined in the Application/API objects.