Commit eba50f12 authored by Yann Garcia's avatar Yann Garcia
Browse files

Replace sandbox-mec by try-mec

parent 15fec188
Loading
Loading
Loading
Loading
+24 −24
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ The Terminal application demo4-ue provide a simply HHTP REST APIs for MEC-016 in
The requets `GET /info/application` provides a description of the demo4-ue application.
```sh
$ curl "http://mec-platform.etsi.org:31111/info/application" -H "accept: application/json"
{"config":"app_instance.yaml","ip":"http://demo4-ue1:80","id":"ce454f4c-16f8-4542-83d8-c8afd45bcfea","mecReady":true,"subscriptions":{"AppTerminationSubscription":{"subId":"sub-LzNr62ED50GbZL_S"},"SerAvailabilitySubscription:":{"subId":"sub-Ec2tT-tKAe_qLxI7"}},"offeredService":{"serName":"demo4","id":"2ad0e566-2054-4550-ba97-1fe1f100fff0","state":"ACTIVE","scopeOfLocality":"MEC_SYSTEM","consumedLocalOnly":true},"discoveredServices":[{"serName":"meep-dai","serInstanceId":"70bb83a5-7ec7-4ab4-b889-ca7033a5be2b","consumedLocalOnly":true,"link":"http://mec-platform.etsi.org/yannsb/dev_app/v1/","version":"2.0"},{"serName":"meep-rnis","serInstanceId":"3e72aa67-ff20-4e7e-bf21-aea928a1743b","consumedLocalOnly":true,"link":"http://mec-platform.etsi.org/yannsb/rni/v2/","version":"2.0"},{"serName":"meep-ams","serInstanceId":"99e8a85d-5f87-48ed-be5e-1302c18e4664","consumedLocalOnly":true,"link":"http://mec-platform.etsi.org/yannsb/amsi/v1/","version":"2.0"},{"serName":"meep-loc-serv","serInstanceId":"85ddf74d-d5e7-4d6f-beb5-25e97f8b57c9","consumedLocalOnly":true,"link":"http://mec-platform.etsi.org/yannsb/location/v2/","version":"2.0"},{"serName":"meep-vis","serInstanceId":"3e23a210-8b1a-4a01-bc0c-1df7d1ad6be3","consumedLocalOnly":true,"link":"http://mec-platform.etsi.org/yannsb/vis/v2/","version":"2.0"},{"serName":"meep-wais","serInstanceId":"a22f614e-a5c1-4902-84d3-4361ac9e3425","consumedLocalOnly":true,"link":"http://mec-platform.etsi.org/yannsb/wai/v2/","version":"2.0"}]}
{"config":"app_instance.yaml","ip":"http://demo4-ue1:80","id":"ce454f4c-16f8-4542-83d8-c8afd45bcfea","mecReady":true,"subscriptions":{"AppTerminationSubscription":{"subId":"sub-LzNr62ED50GbZL_S"},"SerAvailabilitySubscription:":{"subId":"sub-Ec2tT-tKAe_qLxI7"}},"offeredService":{"serName":"demo4","id":"2ad0e566-2054-4550-ba97-1fe1f100fff0","state":"ACTIVE","scopeOfLocality":"MEC_SYSTEM","consumedLocalOnly":true},"discoveredServices":[{"serName":"meep-dai","serInstanceId":"70bb83a5-7ec7-4ab4-b889-ca7033a5be2b","consumedLocalOnly":true,"link":"http://mec-platform.etsi.org/usersb/dev_app/v1/","version":"2.0"},{"serName":"meep-rnis","serInstanceId":"3e72aa67-ff20-4e7e-bf21-aea928a1743b","consumedLocalOnly":true,"link":"http://mec-platform.etsi.org/usersb/rni/v2/","version":"2.0"},{"serName":"meep-ams","serInstanceId":"99e8a85d-5f87-48ed-be5e-1302c18e4664","consumedLocalOnly":true,"link":"http://mec-platform.etsi.org/usersb/amsi/v1/","version":"2.0"},{"serName":"meep-loc-serv","serInstanceId":"85ddf74d-d5e7-4d6f-beb5-25e97f8b57c9","consumedLocalOnly":true,"link":"http://mec-platform.etsi.org/usersb/location/v2/","version":"2.0"},{"serName":"meep-vis","serInstanceId":"3e23a210-8b1a-4a01-bc0c-1df7d1ad6be3","consumedLocalOnly":true,"link":"http://mec-platform.etsi.org/usersb/vis/v2/","version":"2.0"},{"serName":"meep-wais","serInstanceId":"a22f614e-a5c1-4902-84d3-4361ac9e3425","consumedLocalOnly":true,"link":"http://mec-platform.etsi.org/usersb/wai/v2/","version":"2.0"}]}
```

The requets `GET /info/logs` provides some executon logs for the demo4-ue application.
@@ -94,7 +94,7 @@ $ curl "http://mec-platform.etsi.org:31111/dai/apps" -H "accept: application/jso
The requets `POST /dai/instantiate` is used to create a new AppContext and instantiate the specified onboarded MEC application.
```sh
$ curl -X POST "http://mec-platform.etsi.org:31111/dai/instantiate" -H "accept: application/json"
{"appAutoInstantiation":true,"appInfo":{"appDId":"onboarded-demo4","appDVersion":"v0.1.0","appDescription":"Basic HTTP Ping Pong","appName":"onboarded-demo4","appProvider":"ETSI","appSoftVersion":"v0.1.0","appPackageSource":"appPackageSource1","userAppInstanceInfo":[{"appInstanceId":"20","appLocation":{"countryCode":"33"},"referenceURI":"https://mec-platform.etsi.org/yannsb/onboarded-demo4"}]},"appLocationUpdates":true,"associateDevAppId":"04e71585-87c7-4d2e-b913-538cf1ef","callbackReference":"http://demo4-ue1:80","contextId":"20"}
{"appAutoInstantiation":true,"appInfo":{"appDId":"onboarded-demo4","appDVersion":"v0.1.0","appDescription":"Basic HTTP Ping Pong","appName":"onboarded-demo4","appProvider":"ETSI","appSoftVersion":"v0.1.0","appPackageSource":"appPackageSource1","userAppInstanceInfo":[{"appInstanceId":"20","appLocation":{"countryCode":"33"},"referenceURI":"https://mec-platform.etsi.org/usersb/onboarded-demo4"}]},"appLocationUpdates":true,"associateDevAppId":"04e71585-87c7-4d2e-b913-538cf1ef","callbackReference":"http://demo4-ue1:80","contextId":"20"}
```

Note that, in the response:
@@ -105,7 +105,7 @@ Note that, in the response:

The requets `GET /onboarded-demo4/ping/{appcontextid}` is the ping/pong request to send to the instance of the onboarded MEC application [onboarded-demo4](#onboarded-demo4).
```sh
$ curl "http://mec-platform.etsi.org/yannsb/onboarded-demo4/ping/20" -H "accept: application/json"
$ curl "http://mec-platform.etsi.org/usersb/onboarded-demo4/ping/20" -H "accept: application/json"
"pong"
```

@@ -156,9 +156,9 @@ The code below is the the Postman workspace equivalent to the cUrl requests abov
					}
				],
				"url": {
					"raw": "sandbox-mec.etsi.org:31111/info/application",
					"raw": "try-mec.etsi.org:31111/info/application",
					"host": [
						"sandbox-mec",
						"try-mec",
						"etsi",
						"org"
					],
@@ -195,9 +195,9 @@ The code below is the the Postman workspace equivalent to the cUrl requests abov
					}
				],
				"url": {
					"raw": "sandbox-mec.etsi.org:31111/info/logs",
					"raw": "try-mec.etsi.org:31111/info/logs",
					"host": [
						"sandbox-mec",
						"try-mec",
						"etsi",
						"org"
					],
@@ -234,9 +234,9 @@ The code below is the the Postman workspace equivalent to the cUrl requests abov
					}
				],
				"url": {
					"raw": "sandbox-mec.etsi.org:31111/dai/apps",
					"raw": "try-mec.etsi.org:31111/dai/apps",
					"host": [
						"sandbox-mec",
						"try-mec",
						"etsi",
						"org"
					],
@@ -273,9 +273,9 @@ The code below is the the Postman workspace equivalent to the cUrl requests abov
					}
				],
				"url": {
					"raw": "sandbox-mec.etsi.org:31111/dai/instantiate",
					"raw": "try-mec.etsi.org:31111/dai/instantiate",
					"host": [
						"sandbox-mec",
						"try-mec",
						"etsi",
						"org"
					],
@@ -289,7 +289,7 @@ The code below is the the Postman workspace equivalent to the cUrl requests abov
			"response": []
		},
		{
			"name": "/yannsb/onboarded-demo4/ping",
			"name": "/usersb/onboarded-demo4/ping",
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
@@ -305,7 +305,7 @@ The code below is the the Postman workspace equivalent to the cUrl requests abov
					}
				],
				"url": {
					"raw": "https://195.238.226.94/yannsb/onboarded-demo4/ping",
					"raw": "https://195.238.226.94/usersb/onboarded-demo4/ping",
					"protocol": "https",
					"host": [
						"195",
@@ -314,7 +314,7 @@ The code below is the the Postman workspace equivalent to the cUrl requests abov
						"94"
					],
					"path": [
						"yannsb",
						"usersb",
						"onboarded-demo4",
						"ping"
					]
@@ -323,7 +323,7 @@ The code below is the the Postman workspace equivalent to the cUrl requests abov
			"response": []
		},
		{
			"name": "/yannsb/onboarded-demo4/terminate",
			"name": "/usersb/onboarded-demo4/terminate",
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
@@ -339,15 +339,15 @@ The code below is the the Postman workspace equivalent to the cUrl requests abov
					}
				],
				"url": {
					"raw": "https://sandbox-mec.etsi.org/yannsb/onboarded-demo4/ping",
					"raw": "https://try-mec.etsi.org/usersb/onboarded-demo4/ping",
					"protocol": "https",
					"host": [
						"sandbox-mec",
						"try-mec",
						"etsi",
						"org"
					],
					"path": [
						"yannsb",
						"usersb",
						"onboarded-demo4",
						"ping"
					]
@@ -372,9 +372,9 @@ The code below is the the Postman workspace equivalent to the cUrl requests abov
					}
				],
				"url": {
					"raw": "sandbox-mec.etsi.org:31111/dai/doping/25",
					"raw": "try-mec.etsi.org:31111/dai/doping/25",
					"host": [
						"sandbox-mec",
						"try-mec",
						"etsi",
						"org"
					],
@@ -405,9 +405,9 @@ The code below is the the Postman workspace equivalent to the cUrl requests abov
					}
				],
				"url": {
					"raw": "sandbox-mec.etsi.org:31111/dai/delete/25",
					"raw": "try-mec.etsi.org:31111/dai/delete/25",
					"host": [
						"sandbox-mec",
						"try-mec",
						"etsi",
						"org"
					],
@@ -438,9 +438,9 @@ The code below is the the Postman workspace equivalent to the cUrl requests abov
					}
				],
				"url": {
					"raw": "sandbox-mec.etsi.org:31111/dai/availability/25",
					"raw": "try-mec.etsi.org:31111/dai/availability/25",
					"host": [
						"sandbox-mec",
						"try-mec",
						"etsi",
						"org"
					],