Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
296 changes: 296 additions & 0 deletions .NET Microservices.postman_collection.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,296 @@
{
"info": {
"_postman_id": "ee354e59-5eaa-4b1d-a8b9-2a1365f39fff",
"name": ".NET Microservices",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "11229835"
},
"item": [
{
"name": "Platform Service",
"item": [
{
"name": "Ingress Nginx",
"item": [
{
"name": "Get Platforms",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://acme.com/api/platforms",
"protocol": "http",
"host": [
"acme",
"com"
],
"path": [
"api",
"platforms"
]
}
},
"response": []
},
{
"name": "Get Platform By Id",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://acme.com/api/platforms/:id",
"protocol": "http",
"host": [
"acme",
"com"
],
"path": [
"api",
"platforms",
":id"
],
"variable": [
{
"key": "id",
"value": "5"
}
]
}
},
"response": []
},
{
"name": "Create Platform",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"Consul\",\r\n \"publisher\": \"Hashicrop\",\r\n \"cost\": \"Free\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://acme.com/api/platforms",
"protocol": "http",
"host": [
"acme",
"com"
],
"path": [
"api",
"platforms"
]
}
},
"response": []
}
]
},
{
"name": "Node Port",
"item": [
{
"name": "Get Platforms",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:30232/api/platforms",
"protocol": "http",
"host": [
"localhost"
],
"port": "30232",
"path": [
"api",
"platforms"
]
}
},
"response": []
},
{
"name": "Get Platform By Id",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:30232/api/platforms/:id",
"protocol": "http",
"host": [
"localhost"
],
"port": "30232",
"path": [
"api",
"platforms",
":id"
],
"variable": [
{
"key": "id",
"value": "1"
}
]
}
},
"response": []
},
{
"name": "Create Platform",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"Vagrant\",\r\n \"publisher\": \"Hashicrop\",\r\n \"cost\": \"Free\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:30232/api/platforms",
"protocol": "http",
"host": [
"localhost"
],
"port": "30232",
"path": [
"api",
"platforms"
]
}
},
"response": []
}
]
}
]
},
{
"name": "Command Service",
"item": [
{
"name": "Ingress Nginx",
"item": [
{
"name": "Get Platforms",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://acme.com/api/c/platforms",
"protocol": "http",
"host": [
"acme",
"com"
],
"path": [
"api",
"c",
"platforms"
]
}
},
"response": []
},
{
"name": "Get Commands for Platform",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://acme.com/api/c/platforms/:platformId/commands",
"protocol": "http",
"host": [
"acme",
"com"
],
"path": [
"api",
"c",
"platforms",
":platformId",
"commands"
],
"variable": [
{
"key": "platformId",
"value": ""
}
]
}
},
"response": []
},
{
"name": "Create Command for Platform",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"HowTo\": \"This is the how-to\",\r\n \"CommandLine\": \"This is the command line\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://acme.com/api/c/platforms/:platformId/commands",
"protocol": "http",
"host": [
"acme",
"com"
],
"path": [
"api",
"c",
"platforms",
":platformId",
"commands"
],
"variable": [
{
"key": "platformId",
"value": "5"
}
]
}
},
"response": []
},
{
"name": "Create Platform",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "http://acme.com/api/c/platforms",
"protocol": "http",
"host": [
"acme",
"com"
],
"path": [
"api",
"c",
"platforms"
]
}
},
"response": []
}
]
}
]
}
]
}
3 changes: 3 additions & 0 deletions CommandsService/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Dockerfile
[b|B]in
[O|o]bj
Loading