-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement ProductImportStrategy
#1265
Comments
DoD
// pre-confirmation.json
[
{ operation: "create", type: "product", data: { .... },
{ operation: "create", type: "product-variant", data: { ... }
]
// ON CONFIRM
await Promise.all(preconfirmops.map((op) => {
switch(op.operation)
case "create":
productService.create(op.data)
break
case "update":
productVariantService.update(op.existing_id, op.data)
}))
View more from the discussion here The required fields for a new product are:
The required fields for a new product variant are:
|
ghost
mentioned this issue
Apr 22, 2022
olivermrbl
changed the title
Implement
Implement May 9, 2022
ProductImportHandler
ProductImportStrategy
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add
ProductImportStrategy
class for processing products batch import which implements the common batch job strategy interfacedepends on: Interface for BatchJob strategies #1264
DoD
dry_run: true
ProductImportStrategy should first move BatchJob to anawaiting_confirmation
state before importing data.create_count: 32, update_count: 13, error_count: 2
which should be kept in the BatchJobresult
until completion.View more from the discussion here
The required fields for a new product are:
The required fields for a new product variant are:
Fixes CORE-413
The text was updated successfully, but these errors were encountered: