This repository was archived by the owner on Nov 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathserverless.yml
More file actions
55 lines (55 loc) · 1.5 KB
/
serverless.yml
File metadata and controls
55 lines (55 loc) · 1.5 KB
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
service: commercetools-graphql
package:
individually: true
exclude:
- ./**
provider:
name: openwhisk
runtime: nodejs:default
ignore_certs: true
service: commercetools-graphql
plugins:
- serverless-openwhisk
- serverless-webpack
resources:
packages:
commercetools-graphql:
parameters:
functions:
dispatcher:
name: commercetools-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
customer:
order: 10
action: commercetools-graphql/customer
cart:
order: 20
action: commercetools-graphql/cart
category:
order: 30
action: commercetools-graphql/category
customer:
name: commercetools-graphql/customer
handler: cif/customer/src/resolvers/customerResolver.main
concurrency: 200
cart:
name: commercetools-graphql/cart
handler: cif/cart/src/resolvers/cartResolver.main
concurrency: 200
category:
name: commercetools-graphql/category
handler: cif/category/src/resolvers/categoryResolver.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: commercetools-graphql/cif-schema
handler: cif/documentation/introspection.main
concurrency: 200
annotations:
web-export: true