{
	"info": {
		"_postman_id": "3d7cb3b3-a3f6-43b9-a537-a66088165dcd",
		"name": "security-c4po-reporting",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "5225213"
	},
	"item": [
		{
			"name": "keycloak",
			"item": [
				{
					"name": "getKeycloakConfiguration",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "http://localhost:8080/auth/realms/c4po_realm_local/.well-known/openid-configuration",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8080",
							"path": [
								"auth",
								"realms",
								"c4po_realm_local",
								".well-known",
								"openid-configuration"
							]
						}
					},
					"response": []
				},
				{
					"name": "postKeycloakToken",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "client_id",
									"value": "c4po_local",
									"type": "text"
								},
								{
									"key": "username",
									"value": "ttt",
									"type": "text"
								},
								{
									"key": "password",
									"value": "Test1234!",
									"type": "text"
								},
								{
									"key": "grant_type",
									"value": "password",
									"type": "text"
								},
								{
									"key": "token",
									"value": "",
									"type": "text",
									"disabled": true
								},
								{
									"key": "client_secret",
									"value": "secret",
									"type": "text",
									"disabled": true
								}
							]
						},
						"url": {
							"raw": "http://localhost:8080/auth/realms/c4po_realm_local/protocol/openid-connect/token",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8080",
							"path": [
								"auth",
								"realms",
								"c4po_realm_local",
								"protocol",
								"openid-connect",
								"token"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "reports",
			"item": [
				{
					"name": "getReportPDFforProjectById",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICItdG1lbEV0ZHhGTnRSMW9aNXlRdE5jaFFpX0RVN2VNeV9YcU44aXY0S3hzIn0.eyJleHAiOjE2NzgyNjg2NTksImlhdCI6MTY3ODI2ODM1OSwianRpI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ux4kQ4X82cn_iPGRa869jZEWbVHKnhZaHufsA0444qgw45mBJu1ycG7_4VzKmoeprSV5RSH_DxMMZaDCUb0_Xf1QZ58VVEpjW1WRNvvAip5uVNnyduQe2SJ7TlZqNy5DzDyzBko8d4LnWjE_-qdo4JmwztApkOww",
									"type": "string"
								},
								{
									"key": "undefined",
									"type": "any"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/pdf",
								"type": "text"
							}
						],
						"url": {
							"raw": "http://localhost:8444/reports/575dd9d4-cb3c-4df3-981e-8a18bf8dc1d2/pdf",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8444",
							"path": [
								"reports",
								"575dd9d4-cb3c-4df3-981e-8a18bf8dc1d2",
								"pdf"
							]
						}
					},
					"response": []
				},
				{
					"name": "getReportCSVforProjectById",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"value": "text/html",
								"type": "text"
							}
						],
						"url": {
							"raw": "http://localhost:8444/reports/195809ed-9722-4ad5-a84b-0099a9a01652/csv",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8444",
							"path": [
								"reports",
								"195809ed-9722-4ad5-a84b-0099a9a01652",
								"csv"
							]
						}
					},
					"response": []
				},
				{
					"name": "getReportHTMLforProjectById",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"value": "text/csv",
								"type": "text"
							}
						],
						"url": {
							"raw": "http://localhost:8444/reports/195809ed-9722-4ad5-a84b-0099a9a01652/html",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8444",
							"path": [
								"reports",
								"195809ed-9722-4ad5-a84b-0099a9a01652",
								"html"
							]
						}
					},
					"response": []
				}
			]
		}
	]
}