Skip to content

Commit

Permalink
feat: update postman collection
Browse files Browse the repository at this point in the history
  • Loading branch information
unior1234 committed Nov 14, 2023
1 parent 429208e commit c37eaca
Showing 1 changed file with 282 additions and 3 deletions.
285 changes: 282 additions & 3 deletions postman/Ullage Report Serivce.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,35 @@
"name": "Cargo",
"item": [
{
"name": "Cargo Add",
"name": "Cargo add crude with Dens and TempC",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"LSC\",\r\n \"type\": \"CRUDE\",\r\n \"api\": {\r\n \"api\": 61.4\r\n },\r\n \"temperature\": {\r\n \"celsius\" : 43\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:9090/cargo",
"protocol": "http",
"host": [
"localhost"
],
"port": "9090",
"path": [
"cargo"
]
}
},
"response": []
},
{
"name": "Cargo add fuel with Dens and TempC Copy",
"request": {
"method": "POST",
"header": [],
Expand Down Expand Up @@ -89,14 +117,62 @@
}
},
"response": []
},
{
"name": "Cargo get with type CRUDE",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/cargo/all?type=CRUDE",
"host": [
"{{baseUrl}}"
],
"path": [
"cargo",
"all"
],
"query": [
{
"key": "type",
"value": "CRUDE"
}
]
}
},
"response": []
},
{
"name": "Cargo get with type FUEL",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/cargo/all?type=FUEL",
"host": [
"{{baseUrl}}"
],
"path": [
"cargo",
"all"
],
"query": [
{
"key": "type",
"value": "FUEL"
}
]
}
},
"response": []
}
]
},
{
"name": "Ullage Report",
"item": [
{
"name": "Get Report COT 3P, 3S, 4P, 4S, 6P, 6S",
"name": "Get Report COT 1P, 5P",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
Expand Down Expand Up @@ -134,6 +210,209 @@
"response": []
}
]
},
{
"name": "Utils",
"item": [
{
"name": "Vcf",
"item": [
{
"name": "Get Vcf 6A; API - 33.5, Temp - 110F",
"request": {
"method": "GET",
"header": [
{
"key": "Is-Api",
"value": "true",
"type": "text"
},
{
"key": "Is-Celsius",
"value": "false",
"type": "text"
}
],
"url": {
"raw": "http://localhost:9090/utils/vcf?table=Table6A&api=33.5&temp=110",
"protocol": "http",
"host": [
"localhost"
],
"port": "9090",
"path": [
"utils",
"vcf"
],
"query": [
{
"key": "table",
"value": "Table6A"
},
{
"key": "api",
"value": "33.5"
},
{
"key": "temp",
"value": "110"
}
]
}
},
"response": []
},
{
"name": "Get Vcf 6A; Density - 0.8571, Temp - 43.3 C",
"request": {
"method": "GET",
"header": [
{
"key": "Is-Api",
"value": "false",
"type": "text"
},
{
"key": "Is-Celsius",
"value": "true",
"type": "text"
}
],
"url": {
"raw": "http://localhost:9090/utils/vcf?table=Table6A&api=0.8571&temp=43.3",
"protocol": "http",
"host": [
"localhost"
],
"port": "9090",
"path": [
"utils",
"vcf"
],
"query": [
{
"key": "table",
"value": "Table6A"
},
{
"key": "api",
"value": "0.8571"
},
{
"key": "temp",
"value": "43.3"
}
]
}
},
"response": []
},
{
"name": "Get Vcf 54A; API - 33.5, Temp - 110F",
"request": {
"method": "GET",
"header": [
{
"key": "Is-Api",
"value": "true",
"type": "text"
},
{
"key": "Is-Celsius",
"value": "false",
"type": "text"
}
],
"url": {
"raw": "http://localhost:9090/utils/vcf?table=Table54A&api=33.5&temp=110",
"protocol": "http",
"host": [
"localhost"
],
"port": "9090",
"path": [
"utils",
"vcf"
],
"query": [
{
"key": "table",
"value": "Table54A"
},
{
"key": "api",
"value": "33.5"
},
{
"key": "temp",
"value": "110"
}
]
}
},
"response": []
},
{
"name": "Get Vcf 54A; Dens - 0.8571, Temp - 43.3 C",
"request": {
"method": "GET",
"header": [
{
"key": "Is-Api",
"value": "false",
"type": "text"
},
{
"key": "Is-Celsius",
"value": "true",
"type": "text"
}
],
"url": {
"raw": "http://localhost:9090/utils/vcf?table=Table54A&api=0.8571&temp=43.3",
"protocol": "http",
"host": [
"localhost"
],
"port": "9090",
"path": [
"utils",
"vcf"
],
"query": [
{
"key": "table",
"value": "Table54A"
},
{
"key": "api",
"value": "0.8571"
},
{
"key": "temp",
"value": "43.3"
}
]
}
},
"response": []
}
]
},
{
"name": "Wcf",
"item": [
{
"name": "Get Wcf for API=33.5",
"request": {
"method": "GET",
"header": []
},
"response": []
}
]
}
]
}
],
"event": [
Expand All @@ -159,7 +438,7 @@
"variable": [
{
"key": "baseUrl",
"value": "http://localhost:9090"
"value": "http://localhost:8080"
}
]
}

0 comments on commit c37eaca

Please sign in to comment.