Skip to main content

Microservice

The Microservice Registry is a lightweight catalog of services installed in your tSM Platform.
Because many parts of tSM are dynamic and pluggable, the registry provides a single place to:

  • see which microservices are present (and their display names),
  • record a backend URL used by UIs, jobs, or connectors,
  • organize services with tags and free-form config,

This registry holds installation metadata. Low-level deployment settings (replicas, resources, secrets, env vars, ingress) live in your Kubernetes manifests and are not configured here.


Typical Uses

  • Ops overview: list all services (DMS, Ticketing, Notifications, Integrations, …) installed in a given environment.
  • UI/service routing: store a backendUrl that frontends and admin tools can use to reach service endpoints (through gateway/reverse proxy).
  • Gradual enablement: use validityFrom / validityTo (and computed valid) to stage or phase out services without touching deployment YAMLs.
  • Scoped configuration: put small knobs into config (feature flags, UI hints) and use dataTags for filtering and dashboards.

For API discovery (endpoints, OpenAPI), rely on each service’s own docs/health endpoints or your API gateway catalogue. The registry itself is an inventory—not a full service mesh.


Reference

Microservice (attributes)

FieldTypeRequiredRead-onlyDescription / Notes
idUUIDIdentifier (not intended for end-user display).
codeStringYesUnique ASCII code (no spaces). Used by configs, routing, and admin tools.
nameStringYesHuman-readable name shown in admin UI.
descriptionStringOptional tooltip/long description.
validityFrom/ToDateOptional window during which the service is considered active.
validBoolYesComputed from validity; not stored.
backendUrlStringBase path/URL behind the gateway (e.g., tsm-user-management/api).
configMapFree-form configuration for UI/ops tooling (not a deployment substitute).
dataTagsListLabels for grouping/reporting (e.g., core, billing, external).
localizationDataObjectTranslations for name/description.
auditInfoObjectStandard audit metadata.

Good Practices

  • Keep code stable — it becomes a key in scripts, dashboards, and cross-service config.
  • Use gateway-relative backendUrl — avoid hardcoding hostnames; let environments swap gateways.
  • Minimal config — store only small cross-cutting flags or UI hints. Runtime secrets/URLs belong to Kubernetes.
  • Tag consistentlydataTags like core, integration, reporting, external make ops views and filters useful.
  • Leverage validity — toggle availability via validityFrom/To for staged rollouts without redeploying.
  • Document endpoints at the source — link to each service’s OpenAPI/health pages from your ops wiki or gateway UI.

See Also

  • System Settings – other platform catalogs and code tables
  • Notifications / Logs / Attachments – services that commonly appear in the registry
  • Kubernetes deployment – operational configuration, scaling, secrets, and networking