Just noticed, the GCS Java client in 1) should be added to 
[dspace-source]/dspace-api/pom.xml instead 
of [dspace-source]/dspace/pom.xml as originally mentioned.

segunda-feira, 19 de Dezembro de 2016 às 11:46:10 UTC-1, Pedro Amorim 
escreveu:
>
> Hello everyone,
>
> I'd like to store DSpace bitstreams in a GCS bucket, much like the way the 
> S3BitStore is implemented.
> Before I start tinkering and testing, I'd much appreciate some input on 
> the matter from more experienced Java programmers, namely DSpace 
> programmers.
>
> So, from what I've gathered so far, I need to:
>
> 1) Add Google Cloud Storage Java libraries in 
> [dspace-source]/dspace/pom.xml and perform a rebuild. This will be needed 
> for step 2). These libraries are as provided here:
>
> https://cloud.google.com/storage/docs/reference/libraries#client-libraries-install-java
>
> 2) Create and implement a new GCSBitStoreService.java based on the one 
> created for S3:
>
> https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/storage/bitstore/S3BitStoreService.java
>
> 3) Add new BitStore in bitstore.xml:
>
> https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/bitstore.xml
>
> 4) Activate the new BitStore in bitstore.xml as documented here:
>
> https://wiki.duraspace.org/display/DSDOC6x/Storage+Layer#StorageLayer-ConfiguringAmazonS3Storage
>
> And that's about it?
>
> Thanks as always,
>
> Pedro Amorim
>

-- 
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.

Reply via email to