diff --git a/doc/testing/postman/CAPIF.postman_collection.json b/doc/testing/postman/CAPIF.postman_collection.json index 606a4a0f91104039d813b4f10facfb98e64daf85..f74bdaf366def19cb6e629ee37c2f2fc5a62ff2b 100644 --- a/doc/testing/postman/CAPIF.postman_collection.json +++ b/doc/testing/postman/CAPIF.postman_collection.json @@ -121,7 +121,7 @@ "pm.environment.set('ACCESS_TOKEN', res.access_token);", "pm.environment.set('ONBOARDING_URL', res.ccf_api_onboarding_url);", "pm.environment.set('PUBLISH_URL', res.ccf_publish_url);", - "pm.environment.set('DISCOVER_URL', res.ccf_discover_url);", + "pm.environment.set('DISCOVER_URL', res.ccf_discover_url.split('?')[0]);", "pm.environment.set('SECURITY_URL', res.ccf_security_url);", "pm.environment.set('ONBOARDING_URL_INVOKER', res.ccf_onboarding_url);", "", @@ -362,7 +362,7 @@ ], "body": { "mode": "raw", - "raw": "\n{\n \"apiName\": \"hello_api_demo\",\n \"aefProfiles\": [\n {\n \"aefId\": \"{{AEF_ID}}\",\n \"versions\": [\n {\n \"apiVersion\": \"v1\",\n \"expiry\": \"2021-11-30T10:32:02.004Z\",\n \"resources\": [\n {\n \"resourceName\": \"hello-endpoint\",\n \"commType\": \"REQUEST_RESPONSE\",\n \"uri\": \"/hello\",\n \"custOpName\": \"string\",\n \"operations\": [\n \"POST\"\n ],\n \"description\": \"Endpoint to receive a welcome message\"\n }\n ],\n \"custOperations\": [\n {\n \"commType\": \"REQUEST_RESPONSE\",\n \"custOpName\": \"string\",\n \"operations\": [\n \"POST\"\n ],\n \"description\": \"string\"\n }\n ]\n }\n ],\n \"protocol\": \"HTTP_1_1\",\n \"dataFormat\": \"JSON\",\n \"securityMethods\": [\"OAUTH\"],\n \"interfaceDescriptions\": [\n {\n \"ipv4Addr\": \"localhost\",\n \"port\": 8088,\n \"securityMethods\": [\"OAUTH\"]\n }\n ]\n }\n ],\n \"description\": \"Hello api services\",\n \"supportedFeatures\": \"fffff\",\n \"shareableInfo\": {\n \"isShareable\": true,\n \"capifProvDoms\": [\n \"string\"\n ]\n },\n \"serviceAPICategory\": \"string\",\n \"apiSuppFeats\": \"fffff\",\n \"pubApiPath\": {\n \"ccfIds\": [\n \"string\"\n ]\n },\n \"ccfId\": \"string\",\n \"apiStatus\":{\n \"aefIds\": [\n \"{{AEF_ID}}\"\n ]\n }\n }", + "raw": "\n{\n \"apiName\": \"ss-lr\",\n \"aefProfiles\": [\n {\n \"aefId\": \"{{AEF_ID}}\",\n \"versions\": [\n {\n \"apiVersion\": \"v1\",\n \"expiry\": \"2025-11-30T10:32:02.004Z\",\n \"resources\": [\n {\n \"resourceName\": \"create-location-subscription\",\n \"commType\": \"SUBSCRIBE_NOTIFY\",\n \"uri\": \"/trigger-configurations\",\n \"operations\": [\n \"POST\"\n ],\n \"custOperations\":[\n {\n \"commType\": \"REQUEST_RESPONSE\",\n \"custOpName\": \"subscriptionId\",\n \"operations\": [\n \"GET\",\n \"DELETE\"\n ],\n \"description\": \"GET and DELETE request for trigger-configurations subscription.\"\n }\n ],\n \"description\": \"Endpoint to create a subscription to obtain the location of an UE.\"\n }\n ]\n }\n ],\n \"protocol\": \"HTTP_1_1\",\n \"dataFormat\": \"JSON\",\n \"securityMethods\": [\"Oauth\"],\n \"interfaceDescriptions\": [\n {\n \"ipv4Addr\": \"127.0.0.1\",\n \"port\": 8088,\n \"securityMethods\": [\"Oauth\"]\n }\n ]\n }\n ],\n \"description\": \"NAAS6G OpenSeal service\",\n \"supportedFeatures\": \"fff\",\n \"shareableInfo\": {\n \"isShareable\": true,\n \"capifProvDoms\": [\n \"string\"\n ]\n },\n \"serviceAPICategory\": \"string\",\n \"apiSuppFeats\": \"fffff\",\n \"pubApiPath\": {\n \"ccfIds\": [\n \"string\"\n ]\n },\n \"ccfId\": \"string\",\n \"apiProvName\": \"provname\",\n \"apiStatus\":{\n \"aefIds\":[\n \"{{AEF_ID}}\"\n ]\n }\n }", "options": { "raw": { "language": "json" @@ -441,7 +441,7 @@ } ], "protocolProfileBehavior": { - "strictSSL": true + "strictSSL": false }, "request": { "auth": { @@ -564,14 +564,20 @@ } }, "url": { - "raw": "https://{{CAPIF_HOSTNAME}}:{{CAPIF_PORT}}/{{DISCOVER_URL}}{{INVOKER_ID}}", + "raw": "https://{{CAPIF_HOSTNAME}}:{{CAPIF_PORT}}/{{DISCOVER_URL}}?api-invoker-id={{INVOKER_ID}}", "protocol": "https", "host": [ "{{CAPIF_HOSTNAME}}" ], "port": "{{CAPIF_PORT}}", "path": [ - "{{DISCOVER_URL}}{{INVOKER_ID}}" + "{{DISCOVER_URL}}" + ], + "query": [ + { + "key": "api-invoker-id", + "value": "{{INVOKER_ID}}" + } ] } }, diff --git a/doc/testing/postman/CAPIF_ENVIRONMENTS.postman_environment.json b/doc/testing/postman/CAPIF_ENVIRONMENTS.postman_environment.json index efc8bdf6def8bdf8fdf1019da6047d31ad6a0811..9c9f4a045e46c953b78b60eef93ef80e9df77bad 100644 --- a/doc/testing/postman/CAPIF_ENVIRONMENTS.postman_environment.json +++ b/doc/testing/postman/CAPIF_ENVIRONMENTS.postman_environment.json @@ -280,6 +280,6 @@ } ], "_postman_variable_scope": "environment", - "_postman_exported_at": "2024-11-13T10:34:19.421Z", - "_postman_exported_using": "Postman/11.14.1" + "_postman_exported_at": "2024-11-22T08:31:31.295Z", + "_postman_exported_using": "Postman/11.18.1" } \ No newline at end of file diff --git a/doc/testing/postman/Postman-Test.zip b/doc/testing/postman/Postman-Test.zip index 321d95cf5295f26cc7f0fbfb9ff35036e4b7742d..d6392d583b50a80ab8266951814120a95a223761 100644 Binary files a/doc/testing/postman/Postman-Test.zip and b/doc/testing/postman/Postman-Test.zip differ