Project

General

Profile

Bug #4333

KeplerLSID AuthNamespace web service

Added by Aaron Aaron almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
core
Target version:
Start date:
08/26/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4333

Description

Currently Kepler is pinging my desktop machine to get a unique authority and namespace. We should create a more robust service and put it on a maintained server before the 2.0 release.

This is the current service that a new installation of Kepler connects to:
http://gamma.msi.ucsb.edu/OpenAuth/

This is the code that is currently running (which does not handle collisions well). It has a description of the input and output parameters of the service:
http://code.kepler-project.org/code/kepler-docs/trunk/teams-and-wg/2-infr-teams/framework/AuthNamespace_WebService_Spec/

This is the KeplerLSID spec:
https://kepler-project.org/developers/teams/framework/kepler-life-science-identifiers-keplerlsid/


Related issues

Blocked by Kepler - Bug #2393: Need ability to disable 'add port' to actors where not supportedNew04/03/2006

History

#1 Updated by Chad Berkley almost 10 years ago

This should be installed and maintained as part of the kepler repository. This functionality should be added to that system and maintained there.

#2 Updated by Aaron Aaron over 9 years ago

So
kepler-project.org
is the plone site, and metacat is on
library.kepler-project.org

If we drop the jsp page into the library.kepler-project.org metacat server then LSIDs for kepler will look like this:

urn:lsid:library.kepler-project.org/ns/:10:2:1

Another option is to port the JSP page to python and drop it into the plone server...

#3 Updated by Michael Daigle over 9 years ago

Added the namespace number generator jsp to the kepler skin in metacat at:
/style/skins/kepler/keplerAuthNamespace.jsp

This is now active on the production kepler website.

#4 Updated by Aaron Aaron over 9 years ago

I've added
https://kepler-project.org/ns/
and
http://library.kepler-project.org/ns/

to the Kepler configuration in trunk

unfortunately neither of them work yet,
kepler-project.org/ns/ is returning just the integer and not the
formatted string "namespace=<integer>"
so it fails.

And the library.kepler-project.org/ns/ is returning an error about incorrect username, I have a feeling this is a problem with the redirect and how the client code is working...

it is still using gamma.msi.ucsb.edu as the third attempt

to test
close Kepler
clean the cache
delete KeplerData\modules\core\AuthorizedNamespace
start Kepler

#5 Updated by Aaron Aaron over 9 years ago

Alright https://kepler-project.org/ns/
now works.

http://library.kepler-project.org/ns/
is still returning an error about incorrect username when Kepler pings it programmatically... :(
it's as if the username and password are not making it through the redirect to the actual script at
http://library.kepler-project.org/kepler/style/skins/kepler/keplerAuthNameSpace.jsp

But we have one service running on a production server which was the goal so closing this bug.

#6 Updated by Shaun Walbridge over 9 years ago

(In reply to comment #5)

Alright https://kepler-project.org/ns/
now works.

http://library.kepler-project.org/ns/
is still returning an error about incorrect username when Kepler pings it
programmatically... :(
it's as if the username and password are not making it through the redirect to
the actual script at
http://library.kepler-project.org/kepler/style/skins/kepler/keplerAuthNameSpace.jsp

But we have one service running on a production server which was the goal so
closing this bug.

Added the code used on the Plone site to the Kepler policy product:

https://code.kepler-project.org/code/kepler-web/trunk/src/kepler.policy/kepler/policy/skins/kepler_policy_scripts/

#7 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4333

Also available in: Atom PDF