-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconnect.yaml
138 lines (138 loc) · 5.74 KB
/
connect.yaml
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
deployAs:
- name: service
applicationType: service
endpoint: /service
scripts:
postDeploy: npm install && npm run build && npm run connector:post-deploy
preUndeploy: npm install && npm run build && npm run connector:pre-undeploy
configuration:
standardConfiguration:
- key: CTP_REGION
description: commercetools Composable Commerce API region
required: true
- key: CUSTOM_LINE_ITEM_CUSTOM_TYPE_KEY
description: Custom type key for custom line item
required: true
default: 'avalara-connector-custom-line-item'
- key: CUSTOM_LINE_ITEM_CUSTOM_TYPE_NAME
description: Custom type name for custom line item
required: true
default: 'Additional field to store Avalara Tax codes for custom line items'
- key: CATEGORY_CUSTOM_TYPE_KEY
description: Custom type key for category
required: true
default: 'avalara-connector-category'
- key: CATEGORY_CUSTOM_TYPE_NAME
description: Custom type name for category
required: true
default: 'Additional field to store Avalara Tax codes for categories'
- key: SHIPPING_METHOD_CUSTOM_TYPE_KEY
description: Custom type key for shipping method
required: true
default: 'avalara-connector-shipping-method'
- key: SHIPPING_METHOD_CUSTOM_TYPE_NAME
description: Custom type name for shipping method
required: true
default: 'Additional field to store Avalara Tax codes for shipping methods'
- key: CUSTOMER_CUSTOM_TYPE_KEY
description: Custom type key for customer
required: true
default: 'avalara-connector-customer'
- key: CUSTOMER_CUSTOM_TYPE_NAME
description: Custom type name for customer
required: true
default: 'Additional field to store Avalara Entity Use (Exemption) codes for customers'
- key: ORDER_CUSTOM_TYPE_KEY
description: Custom type key for order
required: true
default: 'avalara-connector-order'
- key: ORDER_CUSTOM_TYPE_NAME
description: Custom type name for order
required: true
default: 'Additional field to store cart hash'
- key: AVATAX_PRODUCT_ATTRIBUTE_NAME
description: Product attribute name to store Avalara Tax codes
required: false
default: 'avatax-code'
securedConfiguration:
- key: CTP_PROJECT_KEY
description: commercetools Composable Commerce project key
required: true
- key: CTP_CLIENT_ID
description: commercetools Composable Commerce client ID
required: true
- key: CTP_CLIENT_SECRET
description: commercetools Composable Commerce client secret
required: true
- key: CTP_SCOPE
description: commercetools Composable Commerce client scope
required: true
- key: AVALARA_USERNAME
description: Avalara Backoffice Account Number
required: true
- key: AVALARA_PASSWORD
description: Avalara Backoffice License Key
required: true
- key: AVALARA_COMPANY_CODE
description: Avalara Backoffice Company Code
required: true
- key: AVALARA_ENV
description: Avalara Backoffice Environment
required: true
- key: FRONTEND_API_KEY
description: Frontend API Key for address validation tool
required: false
- name: event
applicationType: event
endpoint: /event
scripts:
postDeploy: npm install && npm run build && npm run connector:post-deploy
preUndeploy: npm install && npm run build && npm run connector:pre-undeploy
configuration:
standardConfiguration:
- key: CTP_REGION
description: commercetools Composable Commerce API region
required: true
- key: AVATAX_PRODUCT_ATTRIBUTE_NAME
description: Product attribute name to store Avalara Tax codes
required: false
default: 'avatax-code'
securedConfiguration:
- key: CTP_PROJECT_KEY
description: commercetools Composable Commerce project key
required: true
- key: CTP_CLIENT_ID
description: commercetools Composable Commerce client ID
required: true
- key: CTP_CLIENT_SECRET
description: commercetools Composable Commerce client secret
required: true
- key: CTP_SCOPE
description: commercetools Composable Commerce client scope
required: true
- key: AVALARA_USERNAME
description: Avalara Backoffice Account Number
required: true
- key: AVALARA_PASSWORD
description: Avalara Backoffice License Key
required: true
- key: AVALARA_COMPANY_CODE
description: Avalara Backoffice Company Code
required: true
- key: AVALARA_ENV
description: Avalara Backoffice Environment
required: true
- name: mc-app
applicationType: merchant-center-custom-application
configuration:
standardConfiguration:
- key: CUSTOM_APPLICATION_ID
description: The Custom Application ID is provided when you add a Custom Application in the Merchant Center
required: true
- key: CLOUD_IDENTIFIER
description: The identifier of the cloud Region that the Custom Application uses to connect to Composable Commerce. The values map to the actual Merchant Center API URL for that Region
required: true
default: gcp-eu
- key: ENTRY_POINT_URI_PATH
description: The URI path that the Custom Application uses to connect to Composable Commerce
required: true