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

Add error handling for Start Time and End Time in Get New... trigger #24

Open
2 tasks
stas-fomenko opened this issue Mar 22, 2021 · 0 comments
Open
2 tasks
Labels
enhancement New feature or request

Comments

@stas-fomenko
Copy link
Contributor

Description:

  • 1. Trigger suppose to support following min and max values (see readme):
**Start Time** - Start datetime of polling. Default min date: `-271821-04-20T00:00:00.000Z`.
* **End Time** - End datetime of polling. Default max date: `+275760-09-13T00:00:00.000Z`.

So in case when expected values are violated by actulal values - error is expected

  • 2. Error is also expected when End Time < Start Time

STR for case 1:

  1. Input
    image
  2. Retrieve sample

AR: all files specified by path are retrieved

ER: error regarding invalid input values thrown


STR for case 2.

  1. Input
    image

  2. Retrieve sample

AR: all files specified by path are retrieved

ER: error thrown that End Time must not be less then Start Time

@stas-fomenko stas-fomenko added the enhancement New feature or request label Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant