Commit 68633280 authored by Dimitris Fragkos's avatar Dimitris Fragkos
Browse files

update suppFeatures to enable slice based exposure

parent 1dcd1b22
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for services/TS29222_CAPIF_Auditing_API/logs/core/auditoperations.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ from .responses import (bad_request_error, internal_server_error,
                        make_response, not_found_error)

TOTAL_FEATURES = 2
SUPPORTED_FEATURES_HEX = "1"
SUPPORTED_FEATURES_HEX = "3"

def return_negotiated_supp_feat_dict(supp_feat):
    final_supp_feat = bin(int(supp_feat, 16) & int(SUPPORTED_FEATURES_HEX, 16))[2:].zfill(TOTAL_FEATURES)[::-1]
+1 −1
Changes for services/TS29222_CAPIF_Discover_Service_API/service_apis/core/discoveredapis.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ from ..vendor_specific import (filter_apis_with_vendor_specific_params,
from ..encoder import CustomJSONEncoder

TOTAL_FEATURES = 4
SUPPORTED_FEATURES_HEX = "2"
SUPPORTED_FEATURES_HEX = "A"


class NetSliceInfoValidationError(Exception):
+1 −1
Changes for services/TS29222_CAPIF_Logging_API_Invocation_API/api_invocation_logs/core/invocationlogs.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ from .responses import (internal_server_error, make_response, not_found_error,
                        unauthorized_error)

TOTAL_FEATURES = 1
SUPPORTED_FEATURES_HEX = "0"
SUPPORTED_FEATURES_HEX = "1"

def return_negotiated_supp_feat_dict(supp_feat):

+1 −1
Changes for services/TS29222_CAPIF_Publish_Service_API/published_apis/core/serviceapidescriptions.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ import json
import encoder

TOTAL_FEATURES = 10
SUPPORTED_FEATURES_HEX = "120"
SUPPORTED_FEATURES_HEX = "320"

# Seconds allowed for a single request towards a peer CCF
INTERCONNECTION_TIMEOUT = 30