-
-
Notifications
You must be signed in to change notification settings - Fork 420
GAIA: update the authentication implementation to read the cookies sent by the new ESAC tap mechanism #3289
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
GAIA: update the authentication implementation to read the cookies sent by the new ESAC tap mechanism #3289
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3289 +/- ##
==========================================
+ Coverage 69.37% 69.48% +0.11%
==========================================
Files 232 232
Lines 19689 19703 +14
==========================================
+ Hits 13659 13691 +32
+ Misses 6030 6012 -18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
This all looks good. Given that it's very much an internal detail rather than user facing, I don't think it needs a changelog, but it's also OK to leave one in.
Unless you say otherwise I'll remove the one at release time.
def __find_column(columnName, columns): | ||
for c in (columns): | ||
if c.name == columnName: | ||
def __find_column(column_name, columns): | ||
for c in columns: | ||
if c.name == column_name: |
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.
Thanks for doing all this cleanup, too!
Dear astroquery team,
the ESAC team has released a new tap library (v10.1.0) that implements a new authentication mechanism: the cookies are associated to the key SESSION, while in previous versions of the library the JSESSIONID is used instead.
We have updated the implementation in astroquery/utils/tap/core.py, so the new key SESSION is read if it is present in the header. Note that this implementation is backward compatible.
cc @esdc-esac-esa-int
jira: GAIAPCR-1341