-
Notifications
You must be signed in to change notification settings - Fork 0
/
meshConfig.json.all.marshalled
58 lines (58 loc) · 1.56 KB
/
meshConfig.json.all.marshalled
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"meshConfig": {
"sources": [
{
"name": "Venia",
"handler": {
"graphql": {
"endpoint": "https://venia.magento.com/graphql"
}
}
},
{
"name": "DiscountsAPI",
"handler": {
"JsonSchema": {
"baseUrl": "https://adobeioruntime.net/apis/283976-140beigesilkworm-stage/adl/demotest1",
"operations": [
{
"type": "Query",
"field": "discounts",
"path": "/",
"method": "GET",
"responseSample": "https://adobeioruntime.net/apis/283976-140beigesilkworm-stage/adl/demotest1"
}
]
}
}
},
{
"name": "Pricing",
"handler": {
"JsonSchema": {
"baseUrl": "https://adobeioruntime.net/api/v1/web/283976-319tealcat-stage/default",
"operations": [
{
"type": "Query",
"field": "demo",
"path": "/demo?skus={args.skus}",
"method": "GET",
"argTypeMap": {
"skus": {
"type": "string"
}
},
"responseSample": "./schemaSamples/pricing.json"
}
]
}
}
}
],
"additionalTypeDefs": "extend type ConfigurableProduct {\n demoDetails: query_demo_products_items \n}\n",
"additionalResolvers": [
"./resolvers/discounts.js",
"./resolvers/pricing.js"
]
}
}