[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Handle-info] Running Standalone Handle Server for Developement of Restful interface



Hi Mark,

Thanks for the quick response. I already looked at openhandle, but we want to be be able to both create, update, and get handles. Currently it doesn't seem to do those things in a Restful manner.  Take a look at the specification at the url below for a more detail explanation about what we want to do.

http://v1.home.nyu.edu/svn/dlib/pr/pid-manager/trunk/doc/task.txt

As for getting my dev server, the issue I ran into was with "Homing Naming Authority" step using the "Handle Admin Tool". I get the error "HANDLE NOT FOUND" even though I followed the instructions for setting Handle system behind firewall. Below is the contents from my config.dct file.

{
"hdl_http_config" = {
"bind_address" = "128.122.58.198"
"num_threads" = "15"
"bind_port" = "8000"
"backlog" = "5"
"log_accesses" = "no"
}

"server_type" = "server"
"hdl_udp_config" = {
"bind_address" = "128.122.58.198"
"num_threads" = "15"
"bind_port" = "2641"
"log_accesses" = "no"
}

"hdl_tcp_config" = {
"bind_address" = "128.122.58.198"
"num_threads" = "15"
"bind_port" = "2641"
"backlog" = "5"
"log_accesses" = "no"
}

"no_udp_resolution" = "y"
"interfaces" = (
"hdl_udp"
"hdl_tcp"
"hdl_http"
)

"server_config" = {
"server_admins" = (
"300:0.NA/111222"
)

"replication_admins" = (
"300:0.NA/111222"
)

"max_session_time" = "86400000"
"this_server_id" = "1"
"max_auth_time" = "60000"
"backup_admins" = (
"300:0.NA/111222"
)

"server_admin_full_access" = "y"

"allow_na_admins" = "no"

"case_sensitive" = "no"
}

}


On May 18, 2010, at 1:38 PM, Mark Donoghue wrote:

Hi Nathan,

You can take a look at OpenHandle (http://code.google.com/p/openhandle/) to see if it does what you want re: RESTful interaction with Handle.

Can you describe the issues you've had with getting the dev server to work? 

-Mark




On May 18, 2010, at 12:56 PM, Nathan Stevens wrote:

Hi,

We are in the process of developing a RESTful interface for the our Handle server at NYU, and want to know is it possible to run the Handle server in a stand alone mode for development purposes since we don't want to develop against our production system. I tried the directions in the manual for setting up a standalone system behind a firewall but couldn't get it to work.  

Better yet, does anyone know whether a RESTful interface exists already or is being worked on?


Thanks, Nathan Stevens
Programmer/Analyst
Digital Library Technology Services 
New York University
1212-998-2653






Nathan Stevens
Programmer/Analyst
Digital Library Technology Services 
New York University
1212-998-2653