IQSS logo

IRC log for #dataverse, 2015-01-07

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:27 axfelix joined #dataverse
00:42 garnett joined #dataverse
10:43 bencomp joined #dataverse
10:46 bencomp pdurbin: I see the new "final" milestone is Feb 2 - that was my first question :)
10:48 bencomp about making the API docs nicer: add Javadoc to the endpoint methods and let Swagger or Enunciate or … do the formatting
11:43 pdurbin yeah, I figured
11:53 pdurbin bencomp: I couldn't get swagger to execute a call to https://apitest.dataverse.org/api/search?q=*
11:53 pdurbin there was no response body or something
11:53 pdurbin do you think you can get it working?
11:54 bencomp pdurbin: I vaguely remember that swagger needs to run on the same host or have CORS enabled
11:54 bencomp hence I couldn't for dataverse
11:55 bencomp but in www.ehri-project.eu we use enunciate via Maven
11:55 pdurbin hmm. we have a ticket about CORS: API: Consitently use CORS (Cross-Origin Resource Sharing) headers such a "Access-Control-Allow-Origin" · Issue #1136 · IQSS/dataverse - https://github.com/IQSS/dataverse/issues/1136
11:56 bencomp this is what Jenkins made Maven made Enunciate produce: http://ehridev.dans.knaw.nl/jenkins/job/ehri-rest-bugs/site/ehri-extension/wsdocs/index.html
12:12 pdurbin looks very nice. and as we've discussed I should be writing more javadoc anyway :)
12:13 pdurbin it's really neat how you can execute a search query from swagger though
12:13 pdurbin once I fix the CORS issue
14:56 pdurbin bencomp: ok, you're right, if I put swagger on the server itself, it seem to work: http://shibtest.dataverse.org/guides/api/index.html
14:56 pdurbin thanks!
15:10 pdurbin this is really neat
15:12 bencomp pdurbin: it is neat
15:12 bencomp :)
15:13 pdurbin bencomp: talking about it here too: http://irclog.greptilian.com/rest/2015-01-07
15:15 bencomp pdurbin: did you change any code before compiling and deploy to the shibtest server? where do the implementation notes come from?
15:15 pdurbin bencomp: I'm manually hacking on a JSON file: http://shibtest.dataverse.org/guides/api/swagger.json
15:16 pdurbin bencomp: but I see at http://irclog.iq.harvard.edu/dataverse/2014-09-24#i_13012 you mentioned https://github.com/kongchen/swagger-maven-plugin
15:17 bencomp good :) I think in-code documentation for APIs is easier to manage
15:17 pdurbin absolutely
15:18 bencomp speaking of shib: is there any news on the session mixup issue?
15:22 pdurbin bencomp: I just left a comment at https://github.com/IQSS/dataverse/issues/647#issuecomment-69036235
15:22 bencomp thanks
15:22 pdurbin sure. hope it helps
15:23 bencomp did the logs show any sign of problems?
15:23 pdurbin I also continue to chat with edburns in #glassfish from time to time. He works at Oracle on Glassfish.
15:24 pdurbin I haven't yet been able to figure out the cause from the logs.
15:24 bencomp but could you observe when a mixup occurs/occurred from the logs?
15:32 pdurbin I feel like the best information has come from tcpdump.
15:32 pdurbin tcpdump -s 0 -A -i lo dst port 8009
15:32 pdurbin but it's a lot to wade through
15:32 pdurbin bencomp: maybe I can convince you to install Dataverse 4.0 to see if you see the bug.
15:36 bencomp pdurbin: what's your offer? :P
15:37 pdurbin being co-coordinator of http://community.dataverse.org/community-groups/auth.html :)
15:45 bencomp pdurbin: hmm, that sounds like an offer I can hardly refuse
15:45 bencomp :P
15:46 pdurbin heh. we'll have fun
15:46 axfelix joined #dataverse
15:46 bencomp at the community meeting I'll have to leave early :( because of a friend's wedding :)
15:47 pdurbin ah
15:47 pdurbin nice that you're coming though!
15:47 bencomp indeed, looking forward to it! :)
16:02 bencomp instead of an alias for my dataverse, I am asked to provide an URL. that doesn't make sense to me
16:06 pdurbin bencomp: can you please send that to us by clicking Feedback at http://dataverse-demo.iq.harvard.edu ?
16:06 bencomp sure
16:06 bencomp right after I create a new role in my dataverse :)
16:13 pdurbin +1
16:15 bencomp yay, I can be admin and "FO" (my new role) in my own dataverse
16:15 bencomp and it's time to go home :)
16:15 pdurbin bye!
17:43 metamattj joined #dataverse
18:30 axfelix joined #dataverse
19:55 metamattj joined #dataverse
20:59 pdurbin woo! New Dataverse Project Site + Dataverse Community Meeting | Data Science - http://datascience.iq.harvard.edu/blog/new-dataverse-project-site-save-date-dataverse-community-meeting
21:28 axfelix joined #dataverse
21:31 mjturk yay!
21:34 pdurbin :)
21:49 pdurbin Law #4: Return it in UTC http://apiux.com/2013/03/20/5-laws-api-dates-and-times/ ... makes sense to me
22:04 shauna joined #dataverse
22:13 garnett joined #dataverse
23:33 razor-home joined #dataverse

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.