greptilian logo

IRC log for #rest, 2016-01-12

https://trygvis.io/rest-wiki/

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

All times shown according to UTC.

Time S Nick Message
00:31 shadowrunner joined #rest
00:47 rxo joined #rest
04:44 quimrstorres joined #rest
05:30 _ollie joined #rest
05:45 quimrstorres joined #rest
07:34 _ollie joined #rest
07:47 quimrstorres joined #rest
08:49 _ollie joined #rest
09:00 adaro joined #rest
09:16 graste joined #rest
09:19 quimrstorres joined #rest
09:27 quimrsto_ joined #rest
09:40 quimrstorres joined #rest
09:51 quimrstorres joined #rest
10:02 quimrstorres joined #rest
10:13 quimrstorres joined #rest
10:23 quimrstorres joined #rest
10:34 quimrsto_ joined #rest
10:47 quimrstorres joined #rest
11:00 quimrstorres joined #rest
11:11 quimrstorres joined #rest
11:22 quimrstorres joined #rest
11:30 quimrsto_ joined #rest
11:31 `0660 joined #rest
11:32 quimrsto_ joined #rest
11:40 adaro joined #rest
11:43 quimrstorres joined #rest
11:55 quimrstorres joined #rest
11:59 mezod joined #rest
12:05 quimrsto_ joined #rest
12:19 quimrstorres joined #rest
12:32 _ollie joined #rest
12:35 rosstuck joined #rest
12:41 quimrstorres joined #rest
12:51 quimrstorres joined #rest
13:02 quimrstorres joined #rest
13:10 quimrstorres joined #rest
13:13 quimrstorres joined #rest
13:18 interop_madness joined #rest
13:24 quimrstorres joined #rest
13:35 quimrstorres joined #rest
14:06 quimrstorres joined #rest
14:08 quimrstorres joined #rest
14:18 quimrstorres joined #rest
14:29 quimrstorres joined #rest
14:40 quimrstorres joined #rest
14:48 quimrstorres joined #rest
15:18 shadowrunner joined #rest
15:20 quimrsto_ joined #rest
15:30 _ollie joined #rest
15:31 quimrstorres joined #rest
15:43 quimrstorres joined #rest
15:54 quimrstorres joined #rest
15:55 _ollie joined #rest
15:56 _ollie joined #rest
16:03 _ollie joined #rest
16:04 quimrstorres joined #rest
16:09 adaro joined #rest
16:16 quimrstorres joined #rest
16:23 mezod joined #rest
16:27 quimrstorres joined #rest
16:38 _ollie joined #rest
16:58 quimrstorres joined #rest
17:09 quimrstorres joined #rest
17:13 quimrsto_ joined #rest
17:24 quimrstorres joined #rest
17:38 quimrstorres joined #rest
17:49 quimrstorres joined #rest
17:52 mezod joined #rest
17:59 quimrstorres joined #rest
18:09 quimrstorres joined #rest
18:23 quimrstorres joined #rest
18:33 quimrstorres joined #rest
18:34 Devastator joined #rest
18:44 quimrstorres joined #rest
18:55 quimrstorres joined #rest
19:04 quimrstorres joined #rest
19:13 pdurbin How can I get a count of all these Jersey/JAX-RS methods? http://i.imgur.com/jT1MwhL.png
19:30 anth0ny joined #rest
19:45 quimrstorres joined #rest
19:54 quimrstorres joined #rest
19:58 whartung I dunno pdurbin, grep … | wc -l ?
19:58 pdurbin whartung: well, netbeans is able expose it nicely somehow... I'd rather not resort to grep.
19:59 whartung yea but nb has the full java tree to mess with
19:59 whartung you could probably load the class up and reflect on it based on annotations
20:00 pdurbin Yeah. I was hoping a tool for this already exists. Maybe one that's geared toward documenting all the methods?
20:01 whartung javadoc is extensible
20:01 whartung annotation processor is extensible
20:02 whartung remember, the early annotation process was butchered java doc
20:03 whartung there's also that tool, who's name I forget, that does stuff like automatically add setters/getters to your code and other things, kind of neat -- that uses standard jdk lifecycles and workflows to do it's magic, I'm not even sure if it even creates bytecode
20:03 whartung the annotation process might be your easier path, frankly, but I've never written one
20:04 quimrstorres joined #rest
20:04 pdurbin you might be thinking of https://projectlombok.org
20:26 quimrstorres joined #rest
20:39 quimrstorres joined #rest
20:50 quimrsto_ joined #rest
20:57 quimrstorres joined #rest
21:08 quimrsto_ joined #rest
21:20 quimrstorres joined #rest
21:35 lemur joined #rest
21:36 pdurbin anyone else? use grep or reflection is what I'm thinking. or give up :)
21:37 pdurbin the purpose is to figure out what percentage of our API endpoints (HTTP methods in that Netbeans screenshot) get exercised at least once by our integration tests
21:48 quimrstorres joined #rest
21:59 quimrstorres joined #rest
22:04 quimrstorres joined #rest
23:06 quimrstorres joined #rest
23:55 Devastator joined #rest
23:56 Devastator good evening, I'm trying to learn REST and I'm thinking which http status code should I use for login failed, for login successful is 200 the recommended one?
23:57 pdurbin Devastator: 401 Unauthorized
23:58 Devastator pdurbin thank you!
23:58 Devastator pdurbin is 200 correct for login successful?
23:58 pdurbin sure
23:59 Devastator thank you again! I hope not to ask too many dumb questions hehe

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

https://trygvis.io/rest-wiki/