This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathserverless.yml
91 lines (83 loc) · 2.26 KB
/
serverless.yml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
service: hybris-graphql
package:
individually: true
exclude:
- ./**
provider:
name: openwhisk
runtime: nodejs:default
ignore_certs: true
service: hybris-graphql
plugins:
- serverless-openwhisk
- serverless-webpack
resources:
packages:
hybris-graphql:
parameters:
functions:
dispatcher:
name: hybris-graphql/dispatcher
handler: cif/common/dispatcher.main
concurrency: 200
annotations:
web-export: true
parameters:
remoteSchemas: # Action with smaller order has "merge priority" in schema conflicts
product:
order: 10
action: hybris-graphql/product
categoryList:
order: 20
action: hybris-graphql/categoryList
customAttributeMetadata:
order: 30
action: hybris-graphql/customAttributeMetadata
cart:
order: 40
action: hybris-graphql/cart
countries:
order: 50
action: hybris-graphql/countries
customer:
order: 60
action: hybris-graphql/customer
orders:
order: 70
action: hybris-graphql/orders
product:
name: hybris-graphql/product
handler: cif/product/src/productResolver.main
concurrency: 200
categoryList:
name: hybris-graphql/categoryList
handler: cif/category/src/categoryResolver.main
concurrency: 200
customAttributeMetadata:
name: hybris-graphql/customAttributeMetadata
handler: cif/product/src/customAttributeMetadataResolver.main
concurrency: 200
cart:
name: hybris-graphql/cart
handler: cif/cart/src/cartResolver.main
concurrency: 200
countries:
name: hybris-graphql/countries
handler: cif/customer/src/countriesResolver.main
concurrency: 200
customer:
name: hybris-graphql/customer
handler: cif/customer/src/customerResolver.main
concurrency: 200
orders:
name: hybris-graphql/orders
handler: cif/order/src/orderResolver.main
concurrency: 200
# This deploys a GraphQL introspection endpoint that includes all the Magento types and fields
# used by the AEM/Magento integration.
cif-schema:
name: hybris-graphql/cif-schema
handler: cif/documentation/introspection.main
concurrency: 200
annotations:
web-export: true