Skip to content

Commit ac7a5b7

Browse files
committed
making sure collections and environments are up-to-date
1 parent f47fbe7 commit ac7a5b7

12 files changed

+203
-68
lines changed

Auth.postman_collection.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"info": {
3+
"_postman_id": "bac093ba-56a3-4d30-88fc-812c758eaa94",
4+
"name": "Auth",
5+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6+
},
7+
"item": [
8+
{
9+
"name": "Delete Game By ID",
10+
"request": {
11+
"method": "DELETE",
12+
"header": [],
13+
"url": {
14+
"raw": "{{baseurl}}/Game/28",
15+
"host": [
16+
"{{baseurl}}"
17+
],
18+
"path": [
19+
"Game",
20+
"28"
21+
]
22+
}
23+
},
24+
"response": []
25+
}
26+
],
27+
"protocolProfileBehavior": {}
28+
}

Echo.postman_collection.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
"info": {
33
"_postman_id": "7b8463af-1235-40b0-8be4-d4396ee2a56a",
44
"name": "Echo",
5+
"description": "# Markdown Works Here Too!\n\n![alt tag](https://upload.wikimedia.org/wikipedia/commons/a/ae/Tic_Tac_Toe.gif \"a stamp\")\n\n \"Tic Tac Toe.gif\", by [SilverSpoon](https://commons.wikimedia.org/wiki/User:Silver_Spoon), is licensed under [GNU Free Documentation License](https://en.wikipedia.org/wiki/en:GNU_Free_Documentation_License)",
56
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
67
},
78
"item": [
89
{
910
"name": "echo",
1011
"request": {
12+
"auth": {
13+
"type": "noauth"
14+
},
1115
"method": "POST",
1216
"header": [
1317
{
@@ -156,7 +160,7 @@
156160
"Echo"
157161
]
158162
},
159-
"description": "Demonstrates Postman's random data fields."
163+
"description": "# Demonstrates Postman's random data fields.\n\n**Postman has a number pre-build random data generators:**\n1. Random Integers\n2. City\n3. Color\n4. Names\n5. and much more...\n\n*And even random image links!*\n\n![alt text](http://lorempixel.com/320/240/animals \"Random Business Image\")"
160164
},
161165
"response": [
162166
{
@@ -338,5 +342,27 @@
338342
]
339343
}
340344
],
345+
"event": [
346+
{
347+
"listen": "prerequest",
348+
"script": {
349+
"id": "cbca3298-c472-4adf-94ea-9f3f93ca56ed",
350+
"type": "text/javascript",
351+
"exec": [
352+
""
353+
]
354+
}
355+
},
356+
{
357+
"listen": "test",
358+
"script": {
359+
"id": "ae244563-9b83-4ab6-ac72-1f68959c6d7d",
360+
"type": "text/javascript",
361+
"exec": [
362+
""
363+
]
364+
}
365+
}
366+
],
341367
"protocolProfileBehavior": {}
342368
}

Postman Delivers.postman_globals.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,20 @@
55
"key": "game_visualizer",
66
"value": "(function () {\n\n build_moves = function (moves) {\n\n let game = [];\n\n let previous_move = { \"one\": \" \", \"two\": \" \", \"three\": \" \", \"four\": \" \", \"five\": \" \", \"six\": \" \", \"seven\": \" \", \"eight\": \" \", \"nine\": \" \" };\n\n for (let i = 0; i < moves.length; i++) {\n\n let player = moves[i].player === 1 ? 'X' : 'O';\n\n let this_move = {\n \"one\": moves[i].square === 0 ? player : previous_move.one,\n \"two\": moves[i].square === 1 ? player : previous_move.two,\n \"three\": moves[i].square === 2 ? player : previous_move.three,\n \"four\": moves[i].square === 3 ? player : previous_move.four,\n \"five\": moves[i].square === 4 ? player : previous_move.five,\n \"six\": moves[i].square === 5 ? player : previous_move.six,\n \"seven\": moves[i].square === 6 ? player : previous_move.seven,\n \"eight\": moves[i].square === 7 ? player : previous_move.eight,\n \"nine\": moves[i].square === 8 ? player : previous_move.nine\n };\n previous_move = this_move;\n game.push(this_move);\n }\n\n return game;\n };\n\n let tmplt = `\n <style>\n td.btm-rt {\n border-right: 2px solid blue;\n border-bottom: 2px solid blue;\n }\n td.btm {\n border-bottom: 2px solid blue;\n }\n td.lf-rt {\n border-right: 2px solid blue;\n border-left: 2px solid blue;\n }\n td {\n padding: 10px; \n width: 2em; \n height: 2em;\n font-size:2em;\n text-align:center;\n vertical-align: center;\n }\n </style>\n {{#each response}}\n <table>\n <tr><td class=\"btm-rt\">{{one}}</td><td class=\"btm-rt\">{{two}}</td><td class=\"btm\">{{three}}</td></tr>\n <tr><td class=\"btm-rt\">{{four}}</td><td class=\"btm-rt\">{{five}}</td><td class=\"btm\">{{six}}</td></tr>\n <tr><td>{{seven}}</td><td class=\"lf-rt\">{{eight}}</td><td>{{nine}}</td></tr>\n </table>\n <br />\n {{/each}}`;\n\n return { BuildMoves: build_moves, Template: tmplt };\n\n})();",
77
"enabled": true
8+
},
9+
{
10+
"key": "azure_ad_client_id",
11+
"value": "",
12+
"enabled": true
13+
},
14+
{
15+
"key": "azure_ad_auth_url",
16+
"value": "",
17+
"enabled": true
818
}
919
],
1020
"name": "Postman Delivers Globals",
1121
"_postman_variable_scope": "globals",
12-
"_postman_exported_at": "2019-10-09T00:13:36.571Z",
13-
"_postman_exported_using": "Postman/7.8.0"
22+
"_postman_exported_at": "2019-12-28T19:23:38.242Z",
23+
"_postman_exported_using": "Postman/7.14.0"
1424
}

PostmanDelivers.API/Controllers/ValuesController.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
using System;
1+
using Microsoft.AspNetCore.Mvc;
22
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
5-
using Microsoft.AspNetCore.Mvc;
63

74
namespace PostmanDelivers.API.Controllers
85
{

PostmanDelivers.sln

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@ EndProject
1010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C2E67A42-FE57-4B29-831D-376F569A87E8}"
1111
ProjectSection(SolutionItems) = preProject
1212
.gitignore = .gitignore
13+
Auth.postman_collection.json = Auth.postman_collection.json
1314
CustomScript.js = CustomScript.js
1415
data.json = data.json
1516
Database.sql = Database.sql
1617
Echo.postman_collection.json = Echo.postman_collection.json
1718
newman_script.txt = newman_script.txt
1819
Postman Delivers.postman_globals.json = Postman Delivers.postman_globals.json
1920
PostmandDelivers Azure.postman_environment.json = PostmandDelivers Azure.postman_environment.json
20-
PostmandDelivers HTTPS.postman_environment.json = PostmandDelivers HTTPS.postman_environment.json
21+
PostmandDelivers Debug VS.postman_environment.json = PostmandDelivers Debug VS.postman_environment.json
22+
PostmandDelivers Local.postman_environment.json = PostmandDelivers Local.postman_environment.json
23+
PostmandDelivers Prod.postman_environment.json = PostmandDelivers Prod.postman_environment.json
2124
Script Order.postman_collection.json = Script Order.postman_collection.json
2225
X Wins Manual.postman_collection.json = X Wins Manual.postman_collection.json
2326
X Wins With Tests.postman_collection.json = X Wins With Tests.postman_collection.json

PostmandDelivers Azure.postman_environment.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
}
3535
],
3636
"_postman_variable_scope": "environment",
37-
"_postman_exported_at": "2019-11-03T13:00:09.823Z",
38-
"_postman_exported_using": "Postman/7.10.0"
37+
"_postman_exported_at": "2019-12-28T19:22:47.598Z",
38+
"_postman_exported_using": "Postman/7.14.0"
3939
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"id": "c17f35a3-c932-4d37-b7eb-3cf2724e2ce9",
3+
"name": "PostmandDelivers Debug VS",
4+
"values": [
5+
{
6+
"key": "baseurl",
7+
"value": "",
8+
"enabled": true
9+
},
10+
{
11+
"key": "happy_path_game_id",
12+
"value": "",
13+
"enabled": true
14+
},
15+
{
16+
"key": "happy_path_playero_id",
17+
"value": "",
18+
"enabled": true
19+
},
20+
{
21+
"key": "happy_path_playero_name",
22+
"value": "",
23+
"enabled": true
24+
},
25+
{
26+
"key": "happy_path_playerx_id",
27+
"value": "",
28+
"enabled": true
29+
},
30+
{
31+
"key": "happy_path_playerx_name",
32+
"value": "",
33+
"enabled": true
34+
}
35+
],
36+
"_postman_variable_scope": "environment",
37+
"_postman_exported_at": "2019-12-28T19:22:53.638Z",
38+
"_postman_exported_using": "Postman/7.14.0"
39+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"id": "e902407c-6cce-4860-bd13-3860e93e6459",
3+
"name": "PostmandDelivers Local",
4+
"values": [
5+
{
6+
"key": "baseurl",
7+
"value": "",
8+
"enabled": true
9+
},
10+
{
11+
"key": "happy_path_game_id",
12+
"value": "",
13+
"enabled": true
14+
},
15+
{
16+
"key": "happy_path_playero_id",
17+
"value": "",
18+
"enabled": true
19+
},
20+
{
21+
"key": "happy_path_playero_name",
22+
"value": "",
23+
"enabled": true
24+
},
25+
{
26+
"key": "happy_path_playerx_id",
27+
"value": "",
28+
"enabled": true
29+
},
30+
{
31+
"key": "happy_path_playerx_name",
32+
"value": "",
33+
"enabled": true
34+
}
35+
],
36+
"_postman_variable_scope": "environment",
37+
"_postman_exported_at": "2019-12-28T19:22:58.332Z",
38+
"_postman_exported_using": "Postman/7.14.0"
39+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"id": "f3c1560d-e9b7-4f17-be71-a278c012fdf8",
3+
"name": "PostmandDelivers Prod",
4+
"values": [
5+
{
6+
"key": "baseurl",
7+
"value": "http://localhost:5003/api",
8+
"enabled": true
9+
},
10+
{
11+
"key": "happy_path_game_id",
12+
"value": "",
13+
"enabled": true
14+
},
15+
{
16+
"key": "happy_path_playero_id",
17+
"value": "",
18+
"enabled": true
19+
},
20+
{
21+
"key": "happy_path_playero_name",
22+
"value": "",
23+
"enabled": true
24+
},
25+
{
26+
"key": "happy_path_playerx_id",
27+
"value": "",
28+
"enabled": true
29+
},
30+
{
31+
"key": "happy_path_playerx_name",
32+
"value": "",
33+
"enabled": true
34+
}
35+
],
36+
"_postman_variable_scope": "environment",
37+
"_postman_exported_at": "2019-12-28T19:23:02.568Z",
38+
"_postman_exported_using": "Postman/7.14.0"
39+
}

Script Order.postman_collection.json

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,12 @@
3636
"method": "GET",
3737
"header": [],
3838
"url": {
39-
"raw": "{{baseurl}}/Values?order=1",
39+
"raw": "{{baseurl}}/Values",
4040
"host": [
4141
"{{baseurl}}"
4242
],
4343
"path": [
4444
"Values"
45-
],
46-
"query": [
47-
{
48-
"key": "order",
49-
"value": "1"
50-
}
5145
]
5246
}
5347
},
@@ -81,18 +75,12 @@
8175
"method": "GET",
8276
"header": [],
8377
"url": {
84-
"raw": "{{baseurl}}/Values?order=2",
78+
"raw": "{{baseurl}}/Values",
8579
"host": [
8680
"{{baseurl}}"
8781
],
8882
"path": [
8983
"Values"
90-
],
91-
"query": [
92-
{
93-
"key": "order",
94-
"value": "2"
95-
}
9684
]
9785
}
9886
},
@@ -151,18 +139,12 @@
151139
"method": "GET",
152140
"header": [],
153141
"url": {
154-
"raw": "{{baseurl}}/Values?order=2",
142+
"raw": "{{baseurl}}/Values",
155143
"host": [
156144
"{{baseurl}}"
157145
],
158146
"path": [
159147
"Values"
160-
],
161-
"query": [
162-
{
163-
"key": "order",
164-
"value": "2"
165-
}
166148
]
167149
}
168150
},
@@ -196,18 +178,12 @@
196178
"method": "GET",
197179
"header": [],
198180
"url": {
199-
"raw": "{{baseurl}}/Values?order=3",
181+
"raw": "{{baseurl}}/Values",
200182
"host": [
201183
"{{baseurl}}"
202184
],
203185
"path": [
204186
"Values"
205-
],
206-
"query": [
207-
{
208-
"key": "order",
209-
"value": "3"
210-
}
211187
]
212188
}
213189
},

0 commit comments

Comments
 (0)