Skip to content

Commit 91bcb81

Browse files
committed
chore: commiting old work
Signed-off-by: Laurent Broudoux <[email protected]>
1 parent b5d3519 commit 91bcb81

File tree

4 files changed

+61
-13
lines changed

4 files changed

+61
-13
lines changed

api-pastry-demo/api-implementations/node-graphql-api-pastry/api-pastry-collection.json

Lines changed: 58 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"info": {
3-
"_postman_id": "3bed6990-dd80-4009-9743-880bd8a4d806",
3+
"_postman_id": "949dc025-9619-4ebb-b9c6-c004f2e0fdde",
44
"name": "Pastry Graph API",
55
"description": "version=1.0 - A Graph API for querying pastries",
66
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
@@ -35,7 +35,13 @@
3535
"name": "Millefeuille",
3636
"originalRequest": {
3737
"method": "POST",
38-
"header": [],
38+
"header": [
39+
{
40+
"key": "Content-Type",
41+
"value": "application/json",
42+
"type": "text"
43+
}
44+
],
3945
"body": {
4046
"mode": "graphql",
4147
"graphql": {
@@ -69,7 +75,13 @@
6975
"name": "Eclair Chocolat",
7076
"originalRequest": {
7177
"method": "POST",
72-
"header": [],
78+
"header": [
79+
{
80+
"key": "Content-Type",
81+
"value": "application/json",
82+
"type": "text"
83+
}
84+
],
7385
"body": {
7486
"mode": "graphql",
7587
"graphql": {
@@ -126,7 +138,13 @@
126138
"name": "pastries_m",
127139
"originalRequest": {
128140
"method": "POST",
129-
"header": [],
141+
"header": [
142+
{
143+
"key": "Content-Type",
144+
"value": "application/json",
145+
"type": "text"
146+
}
147+
],
130148
"body": {
131149
"mode": "graphql",
132150
"graphql": {
@@ -154,13 +172,19 @@
154172
}
155173
],
156174
"cookie": [],
157-
"body": "{\n \"data\": {\n \"pastries\": {\n \"pastries\": [\n {\n \"name\": \"Eclair Cafe\",\n \"description\": \"Delicieux Eclair au Cafe pas calorique du tout\",\n \"size\": \"M\",\n \"price\": 2.5,\n \"status\": \"available\",\n \"rating\": 4.2,\n \"reviews\": 405\n },\n {\n \"name\": \"Eclair Chocolat\",\n \"description\": \"Delicieux Eclair au Chocolat pas calorique du tout\",\n \"size\": \"M\",\n \"price\": 2.4,\n \"status\": \"unknown\",\n \"rating\": 4.4,\n \"reviews\": 302\n },\n {\n \"name\": \"Divorces\",\n \"description\": \"Delicieux Divorces pas calorique du tout\",\n \"size\": \"M\",\n \"price\": 2.8,\n \"status\": \"available\",\n \"rating\": 3.2,\n \"reviews\": 36\n }\n ],\n \"count\": 3\n }\n }\n}"
175+
"body": "{\n \"data\": {\n \"pastries\": {\n \"pastries\": [\n {\n \"name\": \"Eclair Cafe\",\n \"description\": \"Delicieux Eclair au Cafe pas calorique du tout {{guid()}}\",\n \"size\": \"{{request.body/variables/size}}\",\n \"price\": 2.5,\n \"status\": \"available\",\n \"rating\": 4.2,\n \"reviews\": 405\n },\n {\n \"name\": \"Eclair Chocolat\",\n \"description\": \"Delicieux Eclair au Chocolat pas calorique du tout\",\n \"size\": \"M\",\n \"price\": 2.4,\n \"status\": \"unknown\",\n \"rating\": 4.4,\n \"reviews\": 302\n },\n {\n \"name\": \"Divorces\",\n \"description\": \"Delicieux Divorces pas calorique du tout\",\n \"size\": \"M\",\n \"price\": 2.8,\n \"status\": \"available\",\n \"rating\": 3.2,\n \"reviews\": 36\n }\n ],\n \"count\": 3\n }\n }\n}"
158176
},
159177
{
160178
"name": "pastries_s",
161179
"originalRequest": {
162180
"method": "POST",
163-
"header": [],
181+
"header": [
182+
{
183+
"key": "Content-Type",
184+
"value": "application/json",
185+
"type": "text"
186+
}
187+
],
164188
"body": {
165189
"mode": "graphql",
166190
"graphql": {
@@ -194,7 +218,13 @@
194218
"name": "pastries_l",
195219
"originalRequest": {
196220
"method": "POST",
197-
"header": [],
221+
"header": [
222+
{
223+
"key": "Content-Type",
224+
"value": "application/json",
225+
"type": "text"
226+
}
227+
],
198228
"body": {
199229
"mode": "graphql",
200230
"graphql": {
@@ -251,7 +281,13 @@
251281
"name": "allPastries",
252282
"originalRequest": {
253283
"method": "POST",
254-
"header": [],
284+
"header": [
285+
{
286+
"key": "Content-Type",
287+
"value": "application/json",
288+
"type": "text"
289+
}
290+
],
255291
"body": {
256292
"mode": "graphql",
257293
"graphql": {
@@ -313,7 +349,13 @@
313349
"name": "Awesome Baba Rhum",
314350
"originalRequest": {
315351
"method": "POST",
316-
"header": [],
352+
"header": [
353+
{
354+
"key": "Content-Type",
355+
"value": "application/json",
356+
"type": "text"
357+
}
358+
],
317359
"body": {
318360
"mode": "graphql",
319361
"graphql": {
@@ -347,7 +389,13 @@
347389
"name": "Delicious Tartelette",
348390
"originalRequest": {
349391
"method": "POST",
350-
"header": [],
392+
"header": [
393+
{
394+
"key": "Content-Type",
395+
"value": "application/json",
396+
"type": "text"
397+
}
398+
],
351399
"body": {
352400
"mode": "graphql",
353401
"graphql": {

api-pastry-demo/api-implementations/node-graphql-api-pastry/api-pastry-metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ operations:
1616
"operator": "equals",
1717
"cases": {
1818
"Baba Rhum": "Awesome Baba Rhum",
19-
"Tartelette Fraise": "Delicious Tartelette Fraise",
19+
"Tartelette Fraise": "Delicious Tartelette",
2020
"default": "Awesome Baba Rhum"
2121
}
2222
}

api-pastry-demo/api-implementations/node-graphql-api-pastry/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ var root = {
8585
allPastries: (req) => {
8686
console.log("In allPastries handler");
8787
return {
88-
count: pastries.length,
88+
//count: pastries.length,
8989
pastries: pastries
9090
}
9191
},

shift-left-demo/quarkus-order-service/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<quarkus.platform.version>3.2.3.Final</quarkus.platform.version>
1919
<skipITs>true</skipITs>
2020
<surefire-plugin.version>3.0.0</surefire-plugin.version>
21-
<quarkus-microcks.version>0.1.3</quarkus-microcks.version>
21+
<quarkus-microcks.version>0.2.0-SNAPSHOT</quarkus-microcks.version>
2222
</properties>
2323
<dependencyManagement>
2424
<dependencies>

0 commit comments

Comments
 (0)