discount code importer is not working
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, node.js
調査の方向性
まず、生成した割引コードファイルを使って、ドキュメント化された sphere import コマンドと DiscountCodeImport の例を再現します。Importer モジュールと generator モジュールを追跡して、失敗が報告されなくなる箇所を見つけます。割引コードが正常にインポートされ、エラーが確認でき、要求された並行性の動作が検証できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Support reference number
https://jira.commercetools.com/servicedesk/customer/portal/1/SUPPORT-9100
Description
I am trying the following doc to import and export coupons from CT, and it is not connecting to CT.
for Importer module, tried the following :
sphere import -t discountCode -f ./R3G2F_Coupons.json --authProtocol https --authHost https://auth.att.us-east-1.aws.commercetools.com --protocol https --host https://api.att.us-east-1.aws.commercetools.com --accessToken 5mZcYvXQ2kq7NYlfr9Hb7DNncoKxuEFV
Code :
const discountCodeImport = new DiscountCodeImport(options);
discountCodeImport.run(codes)
.then(() => {
discountCodeImport.summaryReport();
// handle successful import
})
.catch((error) => {
// handle error
});
Expected Behavior
It should be creating coupons by reading from the files generated by generator module.
Current Behavior
It is not importing discount codes and not even showing any errors on why its failing.
Context
We are trying to create a million discount codes using this feature, but its not working.
Possible Solution
Please fix the importer module, so that it can import the generated discount codes with 500 concurrent streams.
- 主要言語
- JavaScript
- スター
- 77
- フォーク
- 70
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
commercetools/nodejs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
commercetools/nodejs#1901 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
commercetools/nodejs#1895 · コメント 1 件 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 55/100
commercetools/nodejs#1891 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
commercetools/nodejs#1889 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
commercetools/nodejs#1884 · リアクション 4 件 ·
commercetools/nodejs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
solana-foundation/solana-com#2202 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
yegor256/copyrights-action#216 ·
-
[BUG] onScroll never refreshes the window container's height after a vertical-only viewport resizeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
juliangarnier/anime#1192 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
PedestrianDynamics/pyFDS-Evac#226 ·
メンテナーはふだん 1 日以内に返信