Skip to content
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

Bulk upload models with review points. #147

Merged

Conversation

nagavijays
Copy link

Bulk upload models with review points implemented.
Closes #68

Signed-off-by: Nagavijay Sivakumar <nagavijay.sivakumar@bosch-si.com>

Bulk upload error handling and improvements. Closes eclipse-vorto#68

Signed-off-by: Nagavijay Sivakumar <nagavijay.sivakumar@bosch-si.com>
* @param fileName
* @return result about information of the uploaded content and the upload handle.
*/
List<UploadModelResult> uploadMultipleModels(String fileName);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't we re-use the existing upload(byte[] content, String fileName) ?
I would assume that the method implementation could use 2 different handle strategies based on the fileName type ,one for zip with multiple files and one for a single model file.

Copy link
Author

@nagavijays nagavijays Apr 21, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. The existing single file upload validations criteria are different which is not suitable for multiple model upload and also to avoid multiple conditional checks for single and multiple upload files.

Currently the Toolset editor doesn't have multiple upload UI and maybe in future if we have plan to support in toolset editor then we could merge those interfaces into one.

Nagavijay Sivakumar added 3 commits April 29, 2016 19:49
Signed-off-by: Nagavijay Sivakumar <nagavijay.sivakumar@bosch-si.com>

Bulk upload error handling and improvements. Closes eclipse-vorto#68

Signed-off-by: Nagavijay Sivakumar <nagavijay.sivakumar@bosch-si.com>

Checkin Button moved to top and error message changes.

Signed-off-by: Nagavijay Sivakumar <nagavijay.sivakumar@bosch-si.com>
https://github.com/bsinno/vorto.git into feature/bulk_upload_models

Conflicts:
	server/repo/repo-ui/src/main/resources/static/js/app.js
	server/repo/repo-ui/src/main/resources/static/js/controllers.js
	server/repo/repo-ui/src/main/resources/static/partials/upload-template.html
Signed-off-by: Nagavijay Sivakumar <nagavijay.sivakumar@bosch-si.com>
@aedelmann aedelmann added the CQ label Apr 30, 2016
@aedelmann aedelmann merged commit ba1fcbc into eclipse-vorto:development May 3, 2016
@aedelmann aedelmann deleted the feature/bulk_upload_models branch May 3, 2016 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants