adobe / helix-importer-ui

Apache License 2.0
21 stars 28 forks source link

[Import Service] Initiate a bulk import using Spacecat service #398

Open arumsey opened 1 month ago

arumsey commented 1 month ago

Use the Spacecat import endpoint to initiate a bulk import operation.

blefebvre commented 1 month ago

Should there be a button to check / refresh the status? Or will the importer UI poll the service?

arumsey commented 1 month ago

Should there be a button to check / refresh the status? Or will the importer UI poll the service?

I think there should be a button to refresh the status. Polling could be explored as well.

Also, we should consider managing multiple import jobs and how each job can be tracked separately.

blefebvre commented 1 month ago

One import job per API key is a restriction we have in place currently to prevent abuse of the service.

atopper commented 1 month ago

I'd suggest a slow status poll (every 5 minutes?) with a refresh button. If it takes hours, we don't need constant updates.