Commit 276586ec authored by Dimitrios Gogos's avatar Dimitrios Gogos
Browse files

fix: update kubernetesClusterRef and control_path_binding_id in app instance...

fix: update kubernetesClusterRef and control_path_binding_id in app instance flow and interface contract documentation
parent b0343048
Loading
Loading
Loading
Loading
+1 −1
Changes for oeg/app-instance-flow.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -599,7 +599,7 @@ response. Returns an empty array when nothing matches.
| `appProvider` | `capability_instance.app_provider_id` | via SRM proxy — JWT-derived, not persisted locally on `app_instances` to avoid duplicating SRM-owned data |
| `status` | `service_instance.state` | mapped to CAMARA status |
| `componentEndpointInfo` | `capability_instance.result_summary.endpoints[]` (across the instance's capabilities) | srm.result/v1 |
| `kubernetesClusterRef` | `capability_instance.control_path_ref_snapshot` | SRM-assigned |
| `kubernetesClusterRef` | `capability_instance.control_path_binding_id` | SRM-assigned UUID; the internal-only `control_path_ref_snapshot` slug never crosses to CAMARA (ADR-0028) |
| `edgeCloudZoneId` | `service_instance.zone_id` | realized zone UUID (= CAMARA `EdgeCloudZoneId`, ADR-0013) |

## Response 3 — GET /appinstances?appInstanceId=... (200 — Single-instance read)
+5 −3
Changes for srm/interface-contract.md: 5 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -396,9 +396,11 @@ diagnostics, trusted catalog/admin, and synchronous query/data only.
  returns `service_instance_id`, `service_specification_id`, `state`, `app_provider_id`,
  `zone_id`, `ref`, `metadata`, optional `resource_summary` (opaque summary object; not a
  persistence column), and `capability_instances` (list of `capability_instance_id`, `kind`,
  `external_ref`, `result_summary`) — all direct projections of existing `service_instance` /
  `capability_instance` columns (Persistence §B.3), no derived fields; tenant-scoped; RFC 7807
  on 404.
  `external_ref`, `control_path_binding_id`, `result_summary`) — all direct projections of
  existing `service_instance` / `capability_instance` columns (Persistence §B.3), no derived
  fields; tenant-scoped; RFC 7807 on 404. `control_path_binding_id` is the UUID FK, safe to
  cross the OEG boundary (ADR-0028); the human-readable `control_path_ref_snapshot` is not
  projected here and never crosses to an external consumer.
  Because `appInstanceId == service_instance_id` (ADR-0005), OEG uses this endpoint directly to
  resolve the target of `DELETE /appinstances/{appInstanceId}` before publishing
  `command.srm.service.terminate` — no separate by-`external_ref` lookup is needed.