-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update Thredds to supported version #413
Changes from 20 commits
d0cbc3d
cf56f8c
32cef56
9996a3c
938ac18
229256d
e1c5b27
897f972
7c72500
a4ea349
f3264ac
bb2d0c4
014576a
70b5fe0
8df5da1
439789f
e6e4512
f231535
3bde344
154caf5
e2ec935
bafcafc
936a8ee
43646c5
ba4d044
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ providers: | |
dodsC, | ||
wcs, | ||
wms, | ||
ncss, | ||
ncss/grid, | ||
ncss/point, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did you test if this works? I do not know if Magpie/Twitcher handles this properly. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seemed to be fine but I didn't rigorously test by trying to read the two options with different directory permissions I guess. I'll look into that. BUT... if these prefixes can't handle a <service name="ncssGrid" serviceType="NetcdfSubset" base="${TWITCHER_PROTECTED_PATH}/thredds/ncss-grid/" />
<service name="ncssPoint" serviceType="NetcdfSubset" base="${TWITCHER_PROTECTED_PATH}/thredds/ncss-point/" /> or similar and that way we don't have to worry about that at all There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok maybe we can't change the path... the URL construction docs for this service look like point or grid needs to be a subpath under ncss: https://docs.unidata.ucar.edu/tds/current/userguide/netcdf_subset_service_ref.html#url-construction There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yup magpie splits it up (see here) so our only option at this point is to keep the magpie config as it is and treat That's going to cause other confusion though... Right now we have URL paths like:
So if we want to set specific permissions on the But if we instead have:
Then we would need to set the same permission rule on Please let me know if I'm interpreting this correctly @fmigneault If I'm right then I think we need to update Magpie to handle this use case. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm going to revert my changes for now until we figure something out. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
@fmigneault I am still lost. What case are you talking about? Just to be clear, in the current state, with Misha's proposed Magpie config change rollback, do we have any problems? Been running some Jenkins on the new Thredds and I am having some weird errors. Not sure if it's my test system or the code. So if you foresee some problem, please let me know. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The i.e.: A file accessed by Therefore, the same
and those (read) need to be duplicated for every user/group/dir/file combination applicable There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
@fmigneault I am surprised. If we "Deny or Allow" everything under Under There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tlvu With the current implementation of THREDDS that checks the service [accses-mode] (dodC, ncss, etc.) between Twitcher-proxy-path and the rest of the dir/file path, those resources would be at different "level" for the same file reference from the point of view of Magpie. So you would need to duplicate your 'allows'/'denies' across [accses-mode].
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Oh OK !!! Now I understand, thanks ! Top-level Allow or Deny will work. But adding an exception under the top-level will not. |
||
${THREDDS_MAGPIE_EXTRA_DATA_PREFIXES} | ||
] |
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.
Leave the old location.
THREDDS_VERSION
can be overridden, so a server could still employ the older variant.Given that, that will most probably cause a conflict in the
data_type
resolution order if all 3 are defined, so maybe alternate paths or a dynamic variable resolution will be needed here.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.
ugh... you're right. Ok I'll figure something out.