Skip to content

Commit

Permalink
chore: commiting old work
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
  • Loading branch information
lbroudoux committed Jan 26, 2024
1 parent b5d3519 commit 91bcb81
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"info": {
"_postman_id": "3bed6990-dd80-4009-9743-880bd8a4d806",
"_postman_id": "949dc025-9619-4ebb-b9c6-c004f2e0fdde",
"name": "Pastry Graph API",
"description": "version=1.0 - A Graph API for querying pastries",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
Expand Down Expand Up @@ -35,7 +35,13 @@
"name": "Millefeuille",
"originalRequest": {
"method": "POST",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "graphql",
"graphql": {
Expand Down Expand Up @@ -69,7 +75,13 @@
"name": "Eclair Chocolat",
"originalRequest": {
"method": "POST",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "graphql",
"graphql": {
Expand Down Expand Up @@ -126,7 +138,13 @@
"name": "pastries_m",
"originalRequest": {
"method": "POST",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "graphql",
"graphql": {
Expand Down Expand Up @@ -154,13 +172,19 @@
}
],
"cookie": [],
"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}"
"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}"
},
{
"name": "pastries_s",
"originalRequest": {
"method": "POST",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "graphql",
"graphql": {
Expand Down Expand Up @@ -194,7 +218,13 @@
"name": "pastries_l",
"originalRequest": {
"method": "POST",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "graphql",
"graphql": {
Expand Down Expand Up @@ -251,7 +281,13 @@
"name": "allPastries",
"originalRequest": {
"method": "POST",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "graphql",
"graphql": {
Expand Down Expand Up @@ -313,7 +349,13 @@
"name": "Awesome Baba Rhum",
"originalRequest": {
"method": "POST",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "graphql",
"graphql": {
Expand Down Expand Up @@ -347,7 +389,13 @@
"name": "Delicious Tartelette",
"originalRequest": {
"method": "POST",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "graphql",
"graphql": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ operations:
"operator": "equals",
"cases": {
"Baba Rhum": "Awesome Baba Rhum",
"Tartelette Fraise": "Delicious Tartelette Fraise",
"Tartelette Fraise": "Delicious Tartelette",
"default": "Awesome Baba Rhum"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ var root = {
allPastries: (req) => {
console.log("In allPastries handler");
return {
count: pastries.length,
//count: pastries.length,
pastries: pastries
}
},
Expand Down
2 changes: 1 addition & 1 deletion shift-left-demo/quarkus-order-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<quarkus.platform.version>3.2.3.Final</quarkus.platform.version>
<skipITs>true</skipITs>
<surefire-plugin.version>3.0.0</surefire-plugin.version>
<quarkus-microcks.version>0.1.3</quarkus-microcks.version>
<quarkus-microcks.version>0.2.0-SNAPSHOT</quarkus-microcks.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down

0 comments on commit 91bcb81

Please sign in to comment.