-
Notifications
You must be signed in to change notification settings - Fork 10
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
Need to provide support for different "instances" of DANDI archive #76
Comments
Thanks @yarikoptic. This would also be helpful for our LINC staging and production instances. cc @aaronkanzer |
@satra @kabilar @aaronkanzer we better attack this one asap. I think there should be allowance for an arbitrarily long list of |
Thank you, Yarik. Agree that this is an important issue. Is this a blocker for something you are working on? Trying to decide if we should change our current priority list and bump down an active target or the targets in the queue (i.e. improving the user sign up flow, and DOI handling). |
@yarikoptic - perhaps we can start with pulling out a config system (there are already pieces of this through environment variables, but even those variables need to be configurable based on prefix). this part should not be hard. the harder part is how we do systems like identifiers.org which only have one prefix. for this second part we can consider another config system on related services based on the initial config. a production instance may interact with different sets of services compared to a test or sandbox instance. that flexibility will also allow us to evaluate new services and interactions. since @aaronkanzer did a lot of work in developing the linc instance and noting components that were similar or different, i think one of the priorities that the engineering core could consider after audit is in place is the white-label infrastructure. in the meantime, abstracting the config object in dandi-schema would be a good thing to do. |
ATM
on both staging instance AND on deployed for completely disconnected dandisets. I have committed a "crime" and with my glorious admin powers uploaded some test file to the main deployment instance instead of the staging (not a bigger -- this dandiset is empty on deployment) since forgot to add instance I want to upload to.
I think:
DANDI-STAGING
so any new dandiset created on staging would get that new identifierdandischema
model for the *Dandiset should gain somesameAs
or alike to provide alternativeidentifier
s (if notid
s) to allow for mappingdandi-cli
should default to the instance to interact with corresponding prefix, and allowed to be overridden -- but then consult thesameAs
for possible mapping to another "identifier" on the other instancedandi-api
instance should be provided prefix to be used (soDANDI
for deployment,DANDI-STAGING
for staging)This might become also relevant for orchestrating data interactions for embargoed datasets, if we would allow for some kind of a hybrid, where some prior versions might be made public and subsequent embargoed/private and we have separate DANDI archives for public/private.
The text was updated successfully, but these errors were encountered: