-
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
Mongo client for Lutz's custom sample database #13
Comments
The issue is that they are setting up additional connections to mongo by extracting the host from databroker. profile_collection/startup/37-database.py Lines 7 to 10 in 7c5b549
profile_collection/startup/37-database2.py Lines 7 to 10 in 7c5b549
(not sure why it is being done twice though) We should either just embed their mongo host in the start up file or update thing to extract this information from the new databroker. I think the first option is better because we may want to migrate their databroker mongo but not touch their beamline specific stuff. |
Thanks for investigating this, @tacaswell. Won't the first option override the settings we want in |
databroker will still look at the yaml file we will still respect that. It is the CHX-specific stuff that will ignore the yml. Another option is that we could read the yaml here (but then they will have to cope with any changes we make to its schema). |
Sounds good. We need a volunteer to implement that :) |
cli = pymongo.MongoClient("xf11id-ca") |
That's easy. I wonder if we can still get it consistently from |
I asked @danielballan and the short answer is "no". |
We ended up rely on private API ( |
This is the issue I observed while tried to run
bsui
with the new environment for this cycle:The text was updated successfully, but these errors were encountered: