[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Handle-info] Running Standalone Handle Server for Developement of Restful interface
Email hdladmin@cnri.reston.va.us, saying that you would like to register a prefix for development. Mention that you already have a production prefix, and what it is. You can in fact go ahead and send your development server's siteinfo.bin.
Best,
Robert
On 2010-05-19, at 15:18, Nathan Stevens wrote:
> Yes I think your idea of registering a prefix for development is a more
> useful approach in the long run. How do we go about doing this?
>
> Thanks
>
> On 05/19/2010 03:05 PM, Robert Tupelo-Schneck wrote:
>> Re-check section 11.2 of the Handle Technical Manual. You'll need to home the prefix directly into your dev server's database using the DBTool. The Admin Tool will look up your prefix in the Global Handle Registry where it does not exist. You'll also need to create an admin handle that is not on the global, i.e. not a 0.NA/... handle.
>>
>> You might find it easier and possibly more useful to register a prefix just for development (something like 1234.dev, perhaps).
>>
>> Best,
>> Robert
>>
>> On 2010-05-18, at 13:59, Nathan Stevens wrote:
>>
>>
>>> 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
>>>>> ns96@nyu.edu
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>> Nathan Stevens
>>> Programmer/Analyst
>>> Digital Library Technology Services
>>> New York University
>>> 1212-998-2653
>>> ns96@nyu.edu
>>>
>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> Handle-Info mailing list
>> Handle-Info@cnri.reston.va.us
>> http://www.handle.net/mailman/listinfo/handle-info
>>
>
_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info