talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

problem adding extensions in version 2.0

CP
Christopher Pott
Thu, Jan 26, 2012 2:18 PM

Hi,

I'm trying to implement a shared domain schema extension (fine arts)
plus a local schema extension (smk) on top of collectionobject, both to
a newly created tenant (smk). The new tenant seems to work ok. I've
followed the instructions at these resources, in this order...

  1. http://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant

http://wiki.collectionspace.org/display/DOC/How+to+Configure+a+Shared+Sc
hema+Extension

http://wiki.collectionspace.org/display/DOC/How+to+Configure+Multiple+Lo
cal+or+Shared+Schema+Extensions+for+a+Tenant

Building, deploying and installing according to the instructions above
shows no errors, and new target files are generated. However, the two
new schemas just don't show up in the response when I use curl to GET a
newly created collectionobject (even when created with data in one of
the extensions).

Does anyone have any advice on where should I look for errors?

Thanks,

Chris

IT Developer

Statens Museum for Kunst

Hi, I'm trying to implement a shared domain schema extension (fine arts) plus a local schema extension (smk) on top of collectionobject, both to a newly created tenant (smk). The new tenant seems to work ok. I've followed the instructions at these resources, in this order... 1. http://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant 2. http://wiki.collectionspace.org/display/DOC/How+to+Configure+a+Shared+Sc hema+Extension 3. http://wiki.collectionspace.org/display/DOC/How+to+Configure+Multiple+Lo cal+or+Shared+Schema+Extensions+for+a+Tenant Building, deploying and installing according to the instructions above shows no errors, and new target files are generated. However, the two new schemas just don't show up in the response when I use curl to GET a newly created collectionobject (even when created with data in one of the extensions). Does anyone have any advice on where should I look for errors? Thanks, Chris IT Developer Statens Museum for Kunst
JM
Jesse Martinez
Thu, Jan 26, 2012 3:22 PM

Hi Chris,

Here are some tips I would follow:

Can you verify that the new extension fields exist in the postsql db?

If they do, could you check to see if your tenant-binding.delta file
is correct and feeding into the .merged.xml file?

Thanks,

  • Jesse

p.s. I've not built using a local and domain schema upon the same
tenant so my experience in that regard is limited.

On Thu, Jan 26, 2012 at 9:18 AM, Christopher Pott
Christopher.Pott@smk.dk wrote:

Hi,

I’m trying to implement a shared domain schema extension (fine arts) plus a
local schema extension (smk) on top of collectionobject, both to a newly
created tenant (smk). The new tenant seems to work ok. I’ve followed the
instructions at these resources, in this order…

  1. http://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant

http://wiki.collectionspace.org/display/DOC/How+to+Configure+a+Shared+Schema+Extension

http://wiki.collectionspace.org/display/DOC/How+to+Configure+Multiple+Local+or+Shared+Schema+Extensions+for+a+Tenant

Building, deploying and installing according to the instructions above shows
no errors, and new target files are generated. However, the two new schemas
just don’t show up in the response when I use curl to GET a newly created
collectionobject (even when created with data in one of the extensions).

Does anyone have any advice on where should I look for errors?

Thanks,

Chris

IT Developer

Statens Museum for Kunst


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi Chris, Here are some tips I would follow: Can you verify that the new extension fields exist in the postsql db? If they do, could you check to see if your tenant-binding.delta file is correct and feeding into the .merged.xml file? Thanks, - Jesse p.s. I've not built using a local and domain schema upon the same tenant so my experience in that regard is limited. On Thu, Jan 26, 2012 at 9:18 AM, Christopher Pott <Christopher.Pott@smk.dk> wrote: > Hi, > > > > I’m trying to implement a shared domain schema extension (fine arts) plus a > local schema extension (smk) on top of collectionobject, both to a newly > created tenant (smk). The new tenant seems to work ok. I’ve followed the > instructions at these resources, in this order… > > > > 1. http://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant > > 2. > http://wiki.collectionspace.org/display/DOC/How+to+Configure+a+Shared+Schema+Extension > > 3. > http://wiki.collectionspace.org/display/DOC/How+to+Configure+Multiple+Local+or+Shared+Schema+Extensions+for+a+Tenant > > > > Building, deploying and installing according to the instructions above shows > no errors, and new target files are generated. However, the two new schemas > just don’t show up in the response when I use curl to GET a newly created > collectionobject (even when created with data in one of the extensions). > > > > Does anyone have any advice on where should I look for errors? > > > > Thanks, > > Chris > > > > IT Developer > > Statens Museum for Kunst > > > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >
AR
Aron Roberts
Thu, Jan 26, 2012 4:23 PM

Completely concur with Jesse's suggestions.

The merged tenant bindings file - the one on the server, generated
from your delta file, that matters for services schema extensions -
can be found here:

$CSPACE_JEESERVER_HOME/cspace/config/services/tenants/{your_tenant_name}/tenant-bindings.merged.xml

On Thu, Jan 26, 2012 at 7:22 AM, Jesse Martinez
jmartinez@movingimage.us wrote:

Hi Chris,

Here are some tips I would follow:

Can you verify that the new extension fields exist in the postsql db?

If they do, could you check to see if your tenant-binding.delta file
is correct and feeding into the .merged.xml file?

Thanks,

 - Jesse

p.s. I've not built using a local and domain schema upon the same
tenant so my experience in that regard is limited.

On Thu, Jan 26, 2012 at 9:18 AM, Christopher Pott
Christopher.Pott@smk.dk wrote:

Hi,

I’m trying to implement a shared domain schema extension (fine arts) plus a
local schema extension (smk) on top of collectionobject, both to a newly
created tenant (smk). The new tenant seems to work ok. I’ve followed the
instructions at these resources, in this order…

  1. http://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant

http://wiki.collectionspace.org/display/DOC/How+to+Configure+a+Shared+Schema+Extension

http://wiki.collectionspace.org/display/DOC/How+to+Configure+Multiple+Local+or+Shared+Schema+Extensions+for+a+Tenant

Building, deploying and installing according to the instructions above shows
no errors, and new target files are generated. However, the two new schemas
just don’t show up in the response when I use curl to GET a newly created
collectionobject (even when created with data in one of the extensions).

Does anyone have any advice on where should I look for errors?

Thanks,

Chris

IT Developer

Statens Museum for Kunst


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Completely concur with Jesse's suggestions. The merged tenant bindings file - the one on the server, generated from your delta file, that matters for services schema extensions - can be found here: $CSPACE_JEESERVER_HOME/cspace/config/services/tenants/{your_tenant_name}/tenant-bindings.merged.xml On Thu, Jan 26, 2012 at 7:22 AM, Jesse Martinez <jmartinez@movingimage.us> wrote: > Hi Chris, > > Here are some tips I would follow: > > Can you verify that the new extension fields exist in the postsql db? > > If they do, could you check to see if your tenant-binding.delta file > is correct and feeding into the .merged.xml file? > > Thanks, > >  - Jesse > > p.s. I've not built using a local and domain schema upon the same > tenant so my experience in that regard is limited. > > On Thu, Jan 26, 2012 at 9:18 AM, Christopher Pott > <Christopher.Pott@smk.dk> wrote: >> Hi, >> >> >> >> I’m trying to implement a shared domain schema extension (fine arts) plus a >> local schema extension (smk) on top of collectionobject, both to a newly >> created tenant (smk). The new tenant seems to work ok. I’ve followed the >> instructions at these resources, in this order… >> >> >> >> 1. http://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant >> >> 2. >> http://wiki.collectionspace.org/display/DOC/How+to+Configure+a+Shared+Schema+Extension >> >> 3. >> http://wiki.collectionspace.org/display/DOC/How+to+Configure+Multiple+Local+or+Shared+Schema+Extensions+for+a+Tenant >> >> >> >> Building, deploying and installing according to the instructions above shows >> no errors, and new target files are generated. However, the two new schemas >> just don’t show up in the response when I use curl to GET a newly created >> collectionobject (even when created with data in one of the extensions). >> >> >> >> Does anyone have any advice on where should I look for errors? >> >> >> >> Thanks, >> >> Chris >> >> >> >> IT Developer >> >> Statens Museum for Kunst >> >> >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >> > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org