Tim: Thank you for the quick response. One more question. In my current production setup in DSpace, I have 5 assetstores (these have accumulated over the years). In the old dspace.cfg, I defined where the newest bitstreams should go. I'm unclear how to set that in bitstore.xml. George Kozak Cornell University
On Tue, Dec 13, 2016 at 1:05 PM, Tim Donohue <[email protected]> wrote: > Hi George, > > In DSpace 6, all Spring configs (XMLs under [dspace]/config/spring/) can > read/use configs specified in local.cfg and/or dspace.cfg (or other *.cfg > files). There's an example in that bitstore.xml by default that already > uses "dspace.dir" as defined (in local.cfg or dspace.cfg): > > https://github.com/DSpace/DSpace/blob/master/dspace/ > config/spring/api/bitstore.xml#L17 > > So, if you want to store assetstore configs in your local.cfg, you can > actually just create new (custom named) settings for those, place them in > your local.cfg, and then reference them from your bitstore.xml file. For > example, say you wanted a new Amazon S3 store, and to specify your > "awsRegionName" in your local.cfg. Then you could create a new setting like > this in your local.cfg: > > # This can be named whatever you want, just don't create a name conflict > with an existing DSpace setting > aws.region_name = us-east-1 > > Then, reference that new config from your bitstore.xml where you want it > used, e.g.: > > <property name="awsRegionName" value="${aws.region_name}"/> > > Hopefully that gives you an idea of the power of the new 6.0 Configuration > system > > - Tim > > On 12/13/2016 11:42 AM, George Kozak wrote: > > Hi, > I just started working on our DSpace 6.0 upgrade. I have a question about > defining the asset store. In previous releases this was done in the > dspace.cfg file, but now it is in <path>/dspace/config/spring/ > api/bitstore.xml. > > My question is this: how do I define that changes that I need in local.cfg > for the assetstore since bitstore.xml is an XML file and local.cfg is not? > > -- > *************************** > George Kozak > Digital Library Specialist > Cornell University Library - IT > 218 Olin Library > Cornell University > Ithaca, NY 14853 > 607-255-8924 <(607)%20255-8924> > [email protected] > -- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > > > -- > Tim Donohue > Technical Lead for DSpace & DSpaceDirect > DuraSpace.org | DSpace.org | DSpaceDirect.org > > -- *************************** George Kozak Digital Library Specialist Cornell University Library - IT 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 [email protected] -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
