Y client: Fix URI scheme to move credentials out of query
- Move ca/cert/key out of query part into credentials part of URL - As a consequence move cluster name out of credentials part into path part - Allow both neo:// and neos:// schemes to be used. neo:// means alwasy without SSL and neos:// means always with SSL. Even if neos:// URL comes without credentials embedded into it - they can be obtained from elsewhere. I need this change in wendelin.core 2 which needs to take a zurl and compute a mountpoint patch that corresponds to it, so that multiple several zopes that use the same NEO storage, could be associated with the same single WCFS instance.
-
mentioned in commit wendelin.core@7f8fa32a
-
Even if neos:// URL comes without credentials embedded into it - they can be obtained from elsewhere.
Can you clarify this ? (for the moment, I don't see the need of
neos
)I need this change in wendelin.core 2 which needs to take a zurl and compute a mountpoint patch that corresponds to it, so that multiple several zopes that use the same NEO storage, could be associated with the same single WCFS instance.
I don't understand how moving credentials out of query helps to do that. I even say it's the contrary, for example because paths to SSL files can differ. Anyway, ip:port of masters are enough to identify a NEO db.
-
(maybe I missed some place where credentials are automatically removed from the URL before some specific uses)
-
Maintainer
Thanks for feedback. I've created merge-request for this change (hereby patch + 8c974485) and follow up with replies there: nexedi/neoppod!18 (closed).
-
mentioned in merge request nexedi/neoppod!18 (closed)
-
mentioned in merge request nexedi/wendelin.core!13 (closed)