185 lines
3.7 KiB
JSON
185 lines
3.7 KiB
JSON
{
|
|
"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": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/pdf",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "http://localhost:8444/reports/195809ed-9722-4ad5-a84b-0099a9a01652/pdf",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "8444",
|
|
"path": [
|
|
"reports",
|
|
"195809ed-9722-4ad5-a84b-0099a9a01652",
|
|
"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": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |