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

Report upload result via exit code #3

Closed
nithinphilips opened this issue Dec 15, 2014 · 2 comments
Closed

Report upload result via exit code #3

nithinphilips opened this issue Dec 15, 2014 · 2 comments

Comments

@nithinphilips
Copy link
Owner

If multiple uploads are chained together, one must succeed before the next one can proceed. To support this use case, Odel should report the upload status via exit code. Non-zero for failure.

Example: Hierarchical records, where parent must be successfully uploaded.

Implementation depends on the ability to uniquely identify the uploaded record created by Odel.

@nithinphilips
Copy link
Owner Author

Option 1:

  • Uploaded Date field is stored as a string. It may be set from Java code. Verify if the user locale (on Server and in TRIRIGA) affects this.

Option 2:

  • Add a random salt to the file name to be able to uniquely identify files.

@nithinphilips
Copy link
Owner Author

Current patch only works if there is only a single file with the uploaded name. It will give inconsistent results if there are multiple files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant