From e0b86f5f6bd2753380913a20945c19c2fef16f00 Mon Sep 17 00:00:00 2001 From: JorgeEcheva26 <jorge.echevarriauribarri.practicas@telefonica.es> Date: Tue, 24 Sep 2024 11:38:02 +0200 Subject: [PATCH] Changes in configuration file --- config/config.json | 2 +- doc/sdk-configuration.md | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/config/config.json b/config/config.json index b36a3ee..98b2a1a 100644 --- a/config/config.json +++ b/config/config.json @@ -38,5 +38,5 @@ "publisher_apf_id":"APFd7feeefab02e127ec6817e7cda9ac7", "publisher_aefs_ids":["AEFb1f5ab26a98e3c24d5dfad26507a28","AEFb0fa4e048bea75f0f335cfa8b2a0aa"] }, - "api_description_path":"" + "api_description_path":"/Users/IDB0128/git_repos/pesp_capif_sdk/samples/provider_api_description_sample.json" } \ No newline at end of file diff --git a/doc/sdk-configuration.md b/doc/sdk-configuration.md index d0c0086..f30c02e 100644 --- a/doc/sdk-configuration.md +++ b/doc/sdk-configuration.md @@ -37,6 +37,11 @@ This file could also be fullfilled by [enviroment variables](../samples/envirome - debug_mode: Boolean | If you want to recieve logs from SDK Example:True/False +- [discover_filter](#2configuration-via-discover_filterjson) + +- [publish_req](#3-configuration-via-publishjson) + +- api_description_path : The path to the [ServiceAPIDescription](https://github.com/jdegre/5GC_APIs/blob/Rel-18/TS29222_CAPIF_Publish_Service_API.yaml) json Mandatory fields no matter the target role to be onboarded, either invoker or provider: @@ -67,6 +72,8 @@ Mandatory field for using [CAPIF Publish API specification](https://github.com/j - [publish_req](#3-configuration-via-publishjson) +- api_description_path + ## **Configuration of discover_filter** This file follows the parameters schema from the GET petition of [Discover Services API](https://github.com/jdegre/5GC_APIs/blob/Rel-18/TS29222_CAPIF_Discover_Service_API.yaml) @@ -84,7 +91,7 @@ This configuration fields is only mandatory if we want to use the [CAPIF_Publish - publisher_apf_id: APF id we chose to use Example : "APFa165364a379035d14311deadc04332" - publisher_aefs_ids: Array of strings filled out of AEFs ids we want to use Example: ["AEFfa38f0e855bffb420e4994ecbc8fb9","AEFe8bfa711f4f0c95ba0b382508e6382"] -For using the Publish Api function or the Update function the provider_api_description_sample.json **must** have been modified with the Publish API that is wanted to share following the standard schema for [ServiceAPIDescription](https://github.com/jdegre/5GC_APIs/blob/Rel-18/TS29222_CAPIF_Publish_Service_API.yaml) +For using the Publish Api function or the Update function the api_description_path **must** have been modified with the path to the Publish API that is wanted to share following the standard schema for [ServiceAPIDescription](https://github.com/jdegre/5GC_APIs/blob/Rel-18/TS29222_CAPIF_Publish_Service_API.yaml) **AefIds fields won't need to fill out the from aefProfiles** array because you would already be configurating this fields by completing publisherAEFsids parameter -- GitLab