summaryrefslogtreecommitdiffstats
path: root/docs/xacml/tutorial/tutorial-decision-response.json
blob: 7a87b4cc669b285033d0a631b5493e0dc95a9480 (plain)
1
2
3
{
    "status":"Permit"
}
300' href='#n300'>300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345
{
	"variables": [],
	"info": {
		"name": "04_Onboard_VSP_part3",
		"_postman_id": "7530fcb9-b083-dd18-980c-a42984b5db46",
		"description": "",
		"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
	},
	"item": [
		{
			"name": "Process VSP zip file",
			"event": [
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;"
						]
					}
				}
			],
			"request": {
				"url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/orchestration-template-candidate/process",
				"method": "PUT",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json",
						"description": ""
					},
					{
						"key": "Accept",
						"value": "application/json",
						"description": ""
					},
					{
						"key": "X-TransactionId",
						"value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
						"description": ""
					},
					{
						"key": "USER_ID",
						"value": "cs0008",
						"description": ""
					},
					{
						"key": "X-FromAppId",
						"value": "robot-ete",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{}"
				},
				"description": ""
			},
			"response": [
				{
					"id": "32ef77d5-fdb3-45d3-ae12-1e9a75be08bc",
					"name": "Checkin VSP",
					"originalRequest": {
						"url": "",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"description": ""
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"_postman_previewtype": "text",
					"header": [
						{
							"name": "access-control-allow-credentials",
							"key": "access-control-allow-credentials",
							"value": "true",
							"description": "Indicates whether or not the response to the request can be exposed when the credentials flag is true. When used as part of a response to a preflight request, this indicates whether or not the actual request can be made using credentials."
						},
						{
							"name": "access-control-allow-origin",
							"key": "access-control-allow-origin",
							"value": "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop",
							"description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."
						},
						{
							"name": "access-control-expose-headers",
							"key": "access-control-expose-headers",
							"value": "",
							"description": "Lets a server whitelist headers that browsers are allowed to access."
						},
						{
							"name": "content-type",
							"key": "content-type",
							"value": "application/json",
							"description": "The mime type of this content"
						},
						{
							"name": "date",
							"key": "date",
							"value": "Wed, 06 Jun 2018 16:14:24 GMT",
							"description": "The date and time that the message was sent"
						},
						{
							"name": "server",
							"key": "server",
							"value": "Jetty(9.3.21.v20170918)",
							"description": "A name for the server"
						},
						{
							"name": "transfer-encoding",
							"key": "transfer-encoding",
							"value": "chunked",
							"description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."
						}
					],
					"cookie": [],
					"responseTime": 68,
					"body": "{}"
				}
			]
		},
		{
			"name": "Commit VSP",
			"event": [
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;"
						]
					}
				}
			],
			"request": {
				"url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/items/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/actions",
				"method": "PUT",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json",
						"description": ""
					},
					{
						"key": "Accept",
						"value": "application/json",
						"description": ""
					},
					{
						"key": "X-TransactionId",
						"value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
						"description": ""
					},
					{
						"key": "USER_ID",
						"value": "cs0008",
						"description": ""
					},
					{
						"key": "X-FromAppId",
						"value": "robot-ete",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\"action\":\"Commit\",\"commitRequest\":{\"message\":\"ok\"}}"
				},
				"description": ""
			},
			"response": [
				{
					"id": "ed777560-450d-4f6c-8226-b3a7b9f8d297",
					"name": "Checkin VSP",
					"originalRequest": {
						"url": "",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"description": ""
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"_postman_previewtype": "text",
					"header": [
						{
							"name": "access-control-allow-credentials",
							"key": "access-control-allow-credentials",
							"value": "true",
							"description": "Indicates whether or not the response to the request can be exposed when the credentials flag is true. When used as part of a response to a preflight request, this indicates whether or not the actual request can be made using credentials."
						},
						{
							"name": "access-control-allow-origin",
							"key": "access-control-allow-origin",
							"value": "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop",
							"description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."
						},
						{
							"name": "access-control-expose-headers",
							"key": "access-control-expose-headers",
							"value": "",
							"description": "Lets a server whitelist headers that browsers are allowed to access."
						},
						{
							"name": "content-type",
							"key": "content-type",
							"value": "application/json",
							"description": "The mime type of this content"
						},
						{
							"name": "date",
							"key": "date",
							"value": "Wed, 06 Jun 2018 16:14:24 GMT",
							"description": "The date and time that the message was sent"
						},
						{
							"name": "server",
							"key": "server",
							"value": "Jetty(9.3.21.v20170918)",
							"description": "A name for the server"
						},
						{
							"name": "transfer-encoding",
							"key": "transfer-encoding",
							"value": "chunked",
							"description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."
						}
					],
					"cookie": [],
					"responseTime": 68,
					"body": "{}"
				}
			]
		},
		{
			"name": "Submit VSP",
			"event": [
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;"
						]
					}
				}
			],
			"request": {
				"url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/actions",
				"method": "PUT",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json",
						"description": ""
					},
					{
						"key": "Accept",
						"value": "application/json",
						"description": ""
					},
					{
						"key": "X-TransactionId",
						"value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
						"description": ""
					},
					{
						"key": "USER_ID",
						"value": "cs0008",
						"description": ""
					},
					{
						"key": "X-FromAppId",
						"value": "robot-ete",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\"action\": \"Submit\"}"
				},
				"description": ""
			},
			"response": []
		},
		{
			"name": "CSAR VSP",
			"event": [
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;"
						]
					}
				}
			],
			"request": {
				"url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/actions",
				"method": "PUT",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json",
						"description": ""
					},
					{
						"key": "Accept",
						"value": "application/json",
						"description": ""
					},
					{
						"key": "X-TransactionId",
						"value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
						"description": ""
					},
					{
						"key": "USER_ID",
						"value": "cs0008",
						"description": ""
					},
					{
						"key": "X-FromAppId",
						"value": "robot-ete",
						"description": ""
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\"action\": \"Create_Package\"}"
				},
				"description": ""
			},
			"response": []
		}
	]
}