Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "sap-cloud-sdk"
version = "0.58.0"
version = "0.58.1"
description = "SAP Cloud SDK for Python"
readme = "README.md"
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions src/sap_cloud_sdk/agentgateway/_fragments.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class ConnectedSystem(TypedDict):
# Label keys for integration metadata stored on system fragments
_LABEL_GTID = "sap-managed-runtime-gtid"
_LABEL_ORD_ID = "sap-managed-runtime-ordid"
_LABEL_SYSTEM_TYPE = "sap-managed-runtime-system-type"
_LABEL_SYSTEM_TYPE = "sap-managed-runtime-assigned-application-namespace"

_DESTINATION_INSTANCE = "default"

Expand Down Expand Up @@ -168,7 +168,7 @@ def _list_active_integrations(tenant_subdomain: str) -> list[ConnectedSystem]:

Retrieves integration metadata from fragment labels:
- sap-managed-runtime-gtid: GTID of the connected partner system.
- sap-managed-runtime-system-type: Application namespace (e.g. "sap.pce").
- sap-managed-runtime-assigned-application-namespace: Application namespace (e.g. "sap.pce").
- sap-managed-runtime-ordid: Sanitized ORD ID of the integration dependency.

Args:
Expand Down
2 changes: 1 addition & 1 deletion tests/agentgateway/unit/test_fragments.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def _label(key: str, value: str) -> Label:
def _full_labels(gtid: str, system_type: str, ord_id: str) -> list[Label]:
return [
_label("sap-managed-runtime-gtid", gtid),
_label("sap-managed-runtime-system-type", system_type),
_label("sap-managed-runtime-assigned-application-namespace", system_type),
_label("sap-managed-runtime-ordid", ord_id),
_label("sap-managed-runtime-type", "agw.mcp.server"),
]
Expand Down
Loading
Loading