Commit d4338fa3 authored by Pelayo Torres's avatar Pelayo Torres
Browse files

Fix Discover request url

parent 105a50e6
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -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}}"
						}
					]
				}
			},
+2 −2
Original line number Diff line number Diff line
@@ -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
+103 B (12.4 KiB)

File changed.

No diff preview for this file type.