-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: Remove automate in main #95
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's almost there @gretelliz, asked minor changes.
Also, when locally exploring it, make sure that you've seen the @retry
decorator work at least once. The easiest way you can keep a local code change raising one of the retried exceptions like raise Timeout(...)
and observing. Finally, please, add a unit test simulating a side effect raising http 424, and then ensuring that /traces
and /trace
will return the expected response.
@gretelliz nicely done, looks good to me. Did you run a local exploratory test to see the retry decorator working at least once? It looks good, but waiting for this confirmation before approving. Also, unfortunately you'll need to solve some git conflicts since |
@viniarck, I temporarily modified
I had to change
Note that I merged master and PR#94 is considered.
Do you have any ideas? |
@gretelliz, overall looks good. Do you have the rest of error content? It's coming from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done @gretelliz.
It turns out the mentioned error wasn't related to this PR, it was the order that the NApp was loading, so running a touch kytos.json
solved it.
Thank you, @viniarck |
Closes #77
Summary
According to
main.py
, as well asTRIGGER_SCHEDULE_TRACES
,TRIGGER_IMPORTANT_CIRCUITS
andFIND_CIRCUITS_IN_FLOWS
set to False,automate.py
does not seem to be needed. So, this is to remove the dependency ofmain.py
toautomate.py
.Then,
automate.py
won't be used anymore and issue #39 is not needed.Instead, a timeout has been added to the requests from
stored_flows
toflow_manager
.Local Tests
Everything seems to continue working well.
/traces
call example:End-to-End Tests
N/A