WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View all threadsHi Aron,
I'm trying to figure out what the proper form of the namespace is in
cspace refnames. Maybe you can help me here?
On the page
http://wiki.collectionspace.org/display/collectionspace/RefName the
example shows org.collectionspace.demo
On the page
http://wiki.collectionspace.org/display/collectionspace/Imports+Service+Home#ImportsServiceHome-SampleRequests
the example shows collectionspace.org
On the vocabularies currently in nightly the examples show
core.collectionspace.org
So which form is correct for a given collectionspace instance and tenant?
Thanks,
Susan
IIRC, the namespace must match the domain declared for the owning tenant.
-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
Susan Stone
Sent: Monday, November 07, 2011 2:50 PM
To: 'Aron D. Roberts'; talk@lists.collectionspace.org
Subject: [Talk] proper namespace in refnames
Hi Aron,
I'm trying to figure out what the proper form of the
namespace is in cspace refnames. Maybe you can help me here?
On the page
http://wiki.collectionspace.org/display/collectionspace/RefNam
e the example shows org.collectionspace.demo
On the page
http://wiki.collectionspace.org/display/collectionspace/Import
s+Service+Home#ImportsServiceHome-SampleRequests
the example shows collectionspace.org
On the vocabularies currently in nightly the examples show
core.collectionspace.org
So which form is correct for a given collectionspace instance
and tenant?
Thanks,
Susan
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
ollectionspace.org
I had heard that was going to be the case, and that is what the
application is doing, but I wanted to make sure. Thank you both.
Is that the desired use of the namespace:
If you load the Getty vocabularies in a local cspace instance, the
refname uses the local namespace, and all the default cspace controlled
lists have different namespaces in each cspace instance and aren't
distinguishable from local lists? It makes sense from the point of view
that you might actually have refnames that referred out.
Susan
On 11/07/2011 03:16 PM, Patrick Schmitz wrote:
IIRC, the namespace must match the domain declared for the owning tenant.
-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
Susan Stone
Sent: Monday, November 07, 2011 2:50 PM
To: 'Aron D. Roberts'; talk@lists.collectionspace.org
Subject: [Talk] proper namespace in refnames
Hi Aron,
I'm trying to figure out what the proper form of the
namespace is in cspace refnames. Maybe you can help me here?
On the page
http://wiki.collectionspace.org/display/collectionspace/RefNam
e the example shows org.collectionspace.demo
On the page
http://wiki.collectionspace.org/display/collectionspace/Import
s+Service+Home#ImportsServiceHome-SampleRequests
the example shows collectionspace.org
On the vocabularies currently in nightly the examples show
core.collectionspace.org
So which form is correct for a given collectionspace instance
and tenant?
Thanks,
Susan
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
ollectionspace.org
I just now realize I'd written Susan privately, but this discussion
was cc'd to the Talk list. Replying publicly ...
On Mon, Nov 7, 2011 at 3:16 PM, Patrick Schmitz pschmitz@berkeley.edu wrote:
IIRC, the namespace must match the domain declared for the owning tenant.
That's my recollection as well. If you create new authority terms
via CollectionSpace's services REST APIs, the refNames for your terms
will be created automatically. The namespace portion of those
refNames will be set to the Internet domain specified for your tenant.
If you are creating terms via the Imports service, you'll create the
refNames yourself, but you can follow that same convention.
You can find the domain specified for your tenant in the
tenant-bindings-delta.xml file in your tenant folder, as described
here:
http://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant
(see the "Services" section, and particularly step 4 of that section)
Susan also asked:
If you load the Getty vocabularies in a local cspace instance, the refname uses the local namespace, and all the default cspace controlled lists have different namespaces in each cspace instance and aren't distinguishable from local lists
I don't know if this is germane to your questions, Susan,, but:
For an imported vocabulary that should truly be identified under its
own namespace, such as one of the Getty vocabularies, you could
consider using an Internet domain appropriate to that vocabulary as
the namespace, in the refNames for those terms.
http://lists.collectionspace.org/pipermail/tech_lists.collectionspace.org/2010-February/000996.html
According to Patrick: "The Person service can support multiple
namespaces, to separate imported Person-authorities (like Getty's
ULAN) from one another and from a local list."
Aron
P.S. More background on refNames:
http://wiki.collectionspace.org/display/collectionspace/RefName
-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
Susan Stone
Sent: Monday, November 07, 2011 2:50 PM
To: 'Aron D. Roberts'; talk@lists.collectionspace.org
Subject: [Talk] proper namespace in refnames
Hi Aron,
I'm trying to figure out what the proper form of the
namespace is in cspace refnames. Maybe you can help me here?
On the page
http://wiki.collectionspace.org/display/collectionspace/RefNam
e the example shows org.collectionspace.demo
On the page
http://wiki.collectionspace.org/display/collectionspace/Import
s+Service+Home#ImportsServiceHome-SampleRequests
the example shows collectionspace.org
On the vocabularies currently in nightly the examples show
core.collectionspace.org
So which form is correct for a given collectionspace instance
and tenant?
Thanks,
Susan
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
ollectionspace.org
Does Susan already know about the library you built, and that the CARET
folks were also using?
Patrick
-----Original Message-----
From: aronroberts@gmail.com [mailto:aronroberts@gmail.com] On
Behalf Of Aron Roberts
Sent: Monday, November 07, 2011 3:46 PM
To: Patrick Schmitz; Susan Stone
Cc: talk@lists.collectionspace.org
Subject: Re: [Talk] proper namespace in refnames
I just now realize I'd written Susan privately, but this
discussion was cc'd to the Talk list. Replying publicly ...
On Mon, Nov 7, 2011 at 3:16 PM, Patrick Schmitz
pschmitz@berkeley.edu wrote:
IIRC, the namespace must match the domain declared for the
owning tenant.
That's my recollection as well. If you create new
authority terms via CollectionSpace's services REST APIs, the
refNames for your terms will be created automatically. The
namespace portion of those refNames will be set to the
Internet domain specified for your tenant.
If you are creating terms via the Imports service, you'll
create the refNames yourself, but you can follow that same convention.
You can find the domain specified for your tenant in the
tenant-bindings-delta.xml file in your tenant folder, as described
here:
http://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant
(see the "Services" section, and particularly step 4 of
that section)
Susan also asked:
If you load the Getty vocabularies in a local cspace instance, the
refname uses the local namespace, and all the default cspace
controlled lists have different namespaces in each cspace
instance and
aren't distinguishable from local lists
I don't know if this is germane to your questions, Susan,, but:
For an imported vocabulary that should truly be identified
under its own namespace, such as one of the Getty
vocabularies, you could consider using an Internet domain
appropriate to that vocabulary as the namespace, in the
refNames for those terms.
http://lists.collectionspace.org/pipermail/tech_lists.collecti
onspace.org/2010-February/000996.html
According to Patrick: "The Person service can support
multiple namespaces, to separate imported Person-authorities
(like Getty's
ULAN) from one another and from a local list."
Aron
P.S. More background on refNames:
http://wiki.collectionspace.org/display/collectionspace/RefName
-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of Susan
Stone
Sent: Monday, November 07, 2011 2:50 PM
To: 'Aron D. Roberts'; talk@lists.collectionspace.org
Subject: [Talk] proper namespace in refnames
Hi Aron,
I'm trying to figure out what the proper form of the
namespace is in
cspace refnames. Maybe you can help me here?
On the page
http://wiki.collectionspace.org/display/collectionspace/RefNam
e the example shows org.collectionspace.demo
On the page
http://wiki.collectionspace.org/display/collectionspace/Import
s+Service+Home#ImportsServiceHome-SampleRequests
the example shows collectionspace.org
On the vocabularies currently in nightly the examples show
core.collectionspace.org
So which form is correct for a given collectionspace instance and
tenant?
Thanks,
Susan
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
ollectionspace.org
On Mon, Nov 7, 2011 at 4:08 PM, Patrick Schmitz pschmitz@berkeley.edu wrote:
Does Susan already know about the library you built, and that the CARET
folks were also using?
Patrick might be referring here to the common-api library, built
by another CollectionSpace services developer, Laramie Crockett. It
consists of a set of Java routines that can be called from both
CollectionSpace's services and application layers, as well as by any
other developer working in Java or another environment that can access
Java code. This is a standalone module, and does not have any
dependencies on any other part of the CollectionSpace source code.
You can find this library here:
https://source.collectionspace.org/collection-space/src/services/trunk/services/common-api/
(top level project module)
http://wiki.collectionspace.org/display/collectionspace/ServicesCommonAPI
(overview documentation)
The goal of the common-api library is to provide utility routines
for commonly-encountered tasks. Included in that library are routines
to parse and generate refNames. By calling these routines, rather
than writing your own, you're insulated from future changes to the
underlying refName data format, which is a Good Thing.
Aron
Patrick
-----Original Message-----
From: aronroberts@gmail.com [mailto:aronroberts@gmail.com] On
Behalf Of Aron Roberts
Sent: Monday, November 07, 2011 3:46 PM
To: Patrick Schmitz; Susan Stone
Cc: talk@lists.collectionspace.org
Subject: Re: [Talk] proper namespace in refnames
I just now realize I'd written Susan privately, but this
discussion was cc'd to the Talk list. Replying publicly ...
On Mon, Nov 7, 2011 at 3:16 PM, Patrick Schmitz
pschmitz@berkeley.edu wrote:
IIRC, the namespace must match the domain declared for the
owning tenant.
That's my recollection as well. If you create new
authority terms via CollectionSpace's services REST APIs, the
refNames for your terms will be created automatically. The
namespace portion of those refNames will be set to the
Internet domain specified for your tenant.
If you are creating terms via the Imports service, you'll
create the refNames yourself, but you can follow that same convention.
You can find the domain specified for your tenant in the
tenant-bindings-delta.xml file in your tenant folder, as described
here:
http://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant
(see the "Services" section, and particularly step 4 of
that section)
Susan also asked:
If you load the Getty vocabularies in a local cspace instance, the
refname uses the local namespace, and all the default cspace
controlled lists have different namespaces in each cspace
instance and
aren't distinguishable from local lists
I don't know if this is germane to your questions, Susan,, but:
For an imported vocabulary that should truly be identified
under its own namespace, such as one of the Getty
vocabularies, you could consider using an Internet domain
appropriate to that vocabulary as the namespace, in the
refNames for those terms.
http://lists.collectionspace.org/pipermail/tech_lists.collecti
onspace.org/2010-February/000996.html
According to Patrick: "The Person service can support
multiple namespaces, to separate imported Person-authorities
(like Getty's
ULAN) from one another and from a local list."
Aron
P.S. More background on refNames:
http://wiki.collectionspace.org/display/collectionspace/RefName
-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of Susan
Stone
Sent: Monday, November 07, 2011 2:50 PM
To: 'Aron D. Roberts'; talk@lists.collectionspace.org
Subject: [Talk] proper namespace in refnames
Hi Aron,
I'm trying to figure out what the proper form of the
namespace is in
cspace refnames. Maybe you can help me here?
On the page
http://wiki.collectionspace.org/display/collectionspace/RefNam
e the example shows org.collectionspace.demo
On the page
http://wiki.collectionspace.org/display/collectionspace/Import
s+Service+Home#ImportsServiceHome-SampleRequests
the example shows collectionspace.org
On the vocabularies currently in nightly the examples show
core.collectionspace.org
So which form is correct for a given collectionspace instance and
tenant?
Thanks,
Susan
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
ollectionspace.org