Is your feature request related to a problem? Please describe.
If the user uploads new records and there are usable attributes before the user uploads the records, the import would fail because the attribute calculation is not executed for the newly uploaded records.
Describe the solution you'd like
Start the attribute calculation for the newly uploaded records for all usable attributes. If the attribute calculation fails, the state of that attribute should be set to failed. If there is at least one attribute running, the button 'Upload records' should be disabled. If there are multiple usable attributes, the tokenization should be executed in the end.
Disable button for upload records if there is at least one running attribute (15min)
Change the routing 'add' to 'upload-records' (15min)
BE:
Getting familiar with the code and analyzing current issue (2h)
Implement queue that will execute the attribute calculation one after another (3h)
Set state to failed if the attribute calculation fails (2h)
Testing:
Feature and general application behavior (30min)
Review:
Fixing comments on the PRs (2h-3h)
Acceptance Tests:
User uploads records, calculate new usable attribute, uploads new records --> the new attribute should be calculated for the new records too
User uploads records, calculates two usable attribute, uploads new records --> the new attributes should be calculated for the new records too
User uploads records, calculate new usable attribute, uploads new records but the calculation of the attribute fails --> the attribute should have state failed
Is your feature request related to a problem? Please describe. If the user uploads new records and there are usable attributes before the user uploads the records, the import would fail because the attribute calculation is not executed for the newly uploaded records.
Describe the solution you'd like Start the attribute calculation for the newly uploaded records for all usable attributes. If the attribute calculation fails, the state of that attribute should be set to failed. If there is at least one attribute running, the button 'Upload records' should be disabled. If there are multiple usable attributes, the tokenization should be executed in the end.