-
Notifications
You must be signed in to change notification settings - Fork 59
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
Repair OLIAPI #1512
base: main
Are you sure you want to change the base?
Repair OLIAPI #1512
Conversation
…solver iterations; also replacing aeration tank on bsm2-p instead of cstr_injection with flowsheet level vars and constraints
…eys; revisit this change
… BSM2-P solver iterations; also replacing aeration tank on bsm2-p instead of cstr_injection with flowsheet level vars and constraints" This reverts commit bd2caa8.
…ing files; fix issue related to session dbs file deletion on exit
…credentials used; bring tests back
The OLI API CI failures are not entirely reproducible. @adam-a-a will reach out to OLI to investigate this. |
… to troubleshoot errors after switch to sequential test deployment
…hange would break them again to identify what the solution was
…d bring back a change that I ultimately want to remove but think might have been part of prob
…erted for oliapi_instance, along with point to last session dbs file in test_flash; now will set refresh=True on oliapi_instance in conftest
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1512 +/- ##
==========================================
+ Coverage 93.56% 94.26% +0.70%
==========================================
Files 281 283 +2
Lines 30111 30920 +809
==========================================
+ Hits 28173 29148 +975
+ Misses 1938 1772 -166 ☔ View full report in Codecov by Sentry. |
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.
LGTM
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.
LGTM, but CodeCov is failing mostly as a result of the new logger and error messages being untested
@@ -102,6 +103,7 @@ def __init__( | |||
:param access_keys: list of access keys generated by user | |||
:param test: bool switch for automation during tests | |||
:param interactive_mode: bool to switch level of logging display from info to debug only | |||
:param refresh: bool to use refresh token in login method |
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.
What does this refresh actually do?
Fixes/Resolves:
OLI API stopped working.
Summary/Motivation:
Users were no longer able to get back OLI calculations. We were able to log in, generate a DBS file, and that was about it. The issue came down to an additional forward slash used in one of the URLs, which previously worked.
EDIT: Subsequently, CI checks were failing as well, while local tests were passing. This PR also addresses those issues.
Changes proposed in this PR:
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: