-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adjust application to work with Commercetools Connect platform: - add connect.yaml config file - add `post-deploy` and `pre-undeploy` scripts - support `CONNECT_SERVICE_URL` environment variable as alternative for `APP_URL` Fixes: - fix `api-extension-*` cli scripts - use `VOUCHERIFY_APP_ID` environment variable inside `VoucherifyConnectorService` * update depends * adjust application structure to be compliant with commercetools Connect platform * in progress * added some tests * in progress * another tests * few more tests * some tests * Update getSimpleMetadataForOrder.ts * minor changes * Delete cart-paid-actions.spec.ts * npm packages * fix for new commander * in progress * Update cart-service.factory.ts * in progress * making functions simpler * added some tests * some tests * some tests * some tests * another test * requested changes * fixes for some tests * commercetools tests * some tests * some new tests * removed * Create .gitignore * Update order-paid-actions.ts * fixes * Update fixedPrice.ts * Update integration.service.ts * some test fixes * Update package.json * Update connect.yaml * Add support for partial redeem * Fix api extension registration for Commercetools Connect - remove traling slash from APP_URL and CONNECT_SERVICE_URL environment variables - update "endpoint" attribute in connect.yaml file * test fix * Update integration.service.ts * Update integration.service.ts * paths fix * fix, displaying `apply` info * Update setCustomFields.ts * Update couponsOperationFunctions.ts * package and package lock * refactoring * moving files around, package json * removing test result files * Update .gitignore * Update .gitignore * coverage folder * moved mocks * dictionary * getOrderMetadata test * Update getOrderMetadata.spec.ts * Update package-lock.json * Update voucherify-connector.service.ts * Update package.json * Update product-import.service.ts * requested changes * changelog and version ---------
- Loading branch information
1 parent
76f0473
commit 85e150e
Showing
217 changed files
with
27,616 additions
and
22,272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,2 @@ | ||
# compiled output | ||
/dist | ||
/node_modules | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
pnpm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
|
||
# json requests / responses | ||
json | ||
|
||
# OS | ||
.idea/* | ||
.DS_Store | ||
|
||
# Tests | ||
/coverage | ||
/.nyc_output | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
|
||
# configuration | ||
.env | ||
.env-local | ||
*.icloud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
deployAs: | ||
- name: voucherify-service | ||
applicationType: service | ||
endpoint: / | ||
scripts: | ||
postDeploy: npm install && npm run ct-connect-post-deploy | ||
preUndeploy: npm install && npm run ct-connect-pre-undeploy | ||
configuration: | ||
standardConfiguration: | ||
- key: COMMERCE_TOOLS_ID | ||
description: CommerceTools Id | ||
- key: COMMERCE_TOOLS_AUTH_URL | ||
description: CommerceTools authentication URL | ||
- key: COMMERCE_TOOLS_API_URL | ||
description: CommerceTools API URL | ||
- key: COMMERCE_TOOLS_PROJECT_KEY | ||
description: CommerceTools Project Key | ||
- key: VOUCHERIFY_APP_ID | ||
description: Voucherify App Id | ||
- key: VOUCHERIFY_API_URL | ||
description: Voucherify API URL | ||
- key: APPLY_CART_DISCOUNT_AS_CT_DIRECT_DISCOUNT | ||
description: Apply cart discount as CommerceTools direct discount | ||
securedConfiguration: | ||
- key: COMMERCE_TOOLS_SECRET | ||
description: CommerceTools secret | ||
- key: VOUCHERIFY_SECRET_KEY | ||
description: Voucherify secret key | ||
- key: API_EXTENSION_BASIC_AUTH_PASSWORD | ||
description: CommerceTools API extension basic auth password |
Oops, something went wrong.