WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View all threadsHi,
I'm having trouble finding information on the <ims-url> tag in "local-settings.xml". Can anybody tell me which kind of remote services are supported? (eg. full Collectionspace, Nuxeo only, Nuxeo DAM, other media storage)
Thanks,
Chris
Hi Chris,
This summary is my quick and thus not-well-informed look, so please
take this with some caveats (and corrections / comments by others are
welcomed):
This is borne out by Chris's comment on the Talk list on 2011-05-27:
ims-url is for the media and is for the UI to get the image from the App
Here is the URL in a sample <img src="..."> tag for a medium-sized
media thumbnail on a Media Handling page on qa.collectionspace.org,
which points to an Application layer URL to retrieve that image:
Note: there is an unresolved JIRA for allowing the UI to directly
retrieve resources, including digital media, from the Services layer,
bypassing the Application layer:
http://issues.collectionspace.org/browse/CSPACE-4248
From org.collectionspace.chain.csp.webui.mediablob.BlobRead:
private void get_blob(Storage s,UIRequest q,String
csid,String derivative) throws UIException {
try {
JSONObject out =
s.retrieveJSON("/blobs/"+csid+"/"+derivative,null);
...
This implies that it's the Services' Blob service that independently
determines the source(s) from which digital media might be obtained:
whether via local filesystem storage (Nuxeo-mediated or otherwise),
Nuxeo-based or external DAMs, or some other persistence.
The App layer's ims-url setting appears to have no involvement with
that; the value of that setting, at present, simply needs to be set to
the hostname or IP address of the host on which the App layer is
running, since the UI will always (at least until CSPACE-4248 is
resolved) be contacting the App layer to retrieve digital media.
Aron
On Tue, Feb 26, 2013 at 10:14 AM, Christopher Pott
Christopher.Pott@smk.dk wrote:
Hi,
I'm having trouble finding information on the <ims-url> tag in
”local-settings.xml”. Can anybody tell me which kind of remote services are
supported? (eg. full Collectionspace, Nuxeo only, Nuxeo DAM, other media
storage)
Thanks,
Chris
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
Thanks Aron for this great information, I guess we'd have to add to the Blob Service to deal with a new media storage interface. I was thinking we could simply configure a remote instance of Nuxeo dedicated to binaries but I can see now that this isn't what the <ims-url> tag is for.
In trying to understand the current media storage, I found that images saved in Collectionspace are stored on the local file system along a path which is built around the computed digest of the binary (starting at "$CSPACE_JEESERVER_HOME/nuxeo-server/binaries/data/"). For anyone else who didn't know this, I found the following page really useful in understanding how Nuxeo references these paths, including paths to the derivative versions of the files http://answers.nuxeo.com/questions/2761/thumbnail-paths .
Cheers,
Chris
-----Oprindelig meddelelse-----
Fra: aronroberts@gmail.com [mailto:aronroberts@gmail.com] På vegne af Aron Roberts
Sendt: 26. februar 2013 21:05
Til: Christopher Pott
Cc: talk@lists.collectionspace.org
Emne: Re: [Talk] storing media remotely
Hi Chris,
This summary is my quick and thus not-well-informed look, so please
take this with some caveats (and corrections / comments by others are
welcomed):
This is borne out by Chris's comment on the Talk list on 2011-05-27:
ims-url is for the media and is for the UI to get the image from the App
Here is the URL in a sample <img src="..."> tag for a medium-sized
media thumbnail on a Media Handling page on qa.collectionspace.org,
which points to an Application layer URL to retrieve that image:
Note: there is an unresolved JIRA for allowing the UI to directly
retrieve resources, including digital media, from the Services layer,
bypassing the Application layer:
http://issues.collectionspace.org/browse/CSPACE-4248
From org.collectionspace.chain.csp.webui.mediablob.BlobRead:
private void get_blob(Storage s,UIRequest q,String
csid,String derivative) throws UIException {
try {
JSONObject out =
s.retrieveJSON("/blobs/"+csid+"/"+derivative,null);
...
This implies that it's the Services' Blob service that independently
determines the source(s) from which digital media might be obtained:
whether via local filesystem storage (Nuxeo-mediated or otherwise),
Nuxeo-based or external DAMs, or some other persistence.
The App layer's ims-url setting appears to have no involvement with
that; the value of that setting, at present, simply needs to be set to
the hostname or IP address of the host on which the App layer is
running, since the UI will always (at least until CSPACE-4248 is
resolved) be contacting the App layer to retrieve digital media.
Aron
On Tue, Feb 26, 2013 at 10:14 AM, Christopher Pott
Christopher.Pott@smk.dk wrote:
Hi,
I'm having trouble finding information on the <ims-url> tag in
"local-settings.xml". Can anybody tell me which kind of remote services are
supported? (eg. full Collectionspace, Nuxeo only, Nuxeo DAM, other media
storage)
Thanks,
Chris
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org