Commit 8b1048c8 authored by George Papathanail's avatar George Papathanail
Browse files

Merge branch 'fix/nef-coresim-gaps' into 'develop'

fix(ti): send service_specification_ref in TI activate command

See merge request !46
parents 9110ef9b d326e05c
Loading
Loading
Loading
Loading
Loading
+1 −0
Changes for .env.example: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
# CALLBACK_SETTINGS__SECRET_KEY=""
# QOD_SETTINGS__SERVICE_SPECIFICATION_ID="7608e902-b927-559f-b448-e7e9061dfa5c"
# LOCATION_RETRIEVAL_SETTINGS__SERVICE_SPECIFICATION_ID="0129e7ce-8e02-5dfd-bae1-0303bcc7676e"
# TI_SETTINGS__SERVICE_SPECIFICATION_ID="baba6a12-c7b6-507b-9805-5755d38131ee"

# KEYCLOAK_SETTINGS__* default to a deliberately-unreachable `.invalid` host so a
# misconfigured deployment fails loudly instead of silently trusting the wrong
+1 −1
Changes for pyproject.toml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "open-exposure-gateway"
version = "1.0.0"
version = "2.0.0"
description="Open Exposure Gateway microservice"
readme="README.md"
authors = [
+1 −0
Changes for src/open_exposure_gateway/adapters/database/repos/qod_sessions.py: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ class SqlQodSessionRepository(QodSessionRepository):
                    and_(
                        QodSessionRow.state == QodSessionState.UNAVAILABLE,
                        QodSessionRow.status_info == "NETWORK_TERMINATED",
                        QodSessionRow.started_at.is_not(None),
                    ),
                ),
                or_(*identifier_matches),
+1 −0
Changes for src/open_exposure_gateway/application/mappers/traffic_influence_mapper.py: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ def build_activate_command(

    target = NetworkCapabilityTarget(
        application_reference=NetworkCapabilityTargetApplicationReference(
            service_specification_ref=str(request.appId),
            external_app_id=str(request.appId),
        ),
    )
+2 −1
Changes for src/open_exposure_gateway/application/services/edge_application_management_service.py: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ from open_exposure_gateway.domain.edge_application_management import (
    SRMCompletedInstance,
    SRMOperationCompleted,
    Subject,
    completion_error,
)
from open_exposure_gateway.domain.errors import (
    CallbackCredentialExpiredError,
@@ -1125,7 +1126,7 @@ class EdgeApplicationManagementService:
        operation_update: dict[str, Any] = {
            "status": status,
            "result": result,
            "error": event.error,
            "error": completion_error(event),
        }
        if not partial_delivery:
            operation_update["completed_at"] = datetime.fromisoformat(event.completed_at)
Loading