Ticket #14632: 2-logout-in_rating.txt

File 2-logout-in_rating.txt, 7.3 KB (added by humdinger, 6 years ago)

success after logout/in

Line 
1jrpc; will make request to [https://depot.haiku-os.org/__api/v1/user]
2jrpc request; {"jsonrpc":"2.0","id":5,"method":"authenticateUser","params":[{"nickname":"humdinger","passwordClear":"my-redacted-password"}]}
3jrpc: Resolving https://depot.haiku-os.org/__api/v1/user
4jrpc: Hostname resolved to: 94.130.128.252:443
5jrpc: Connection to depot.haiku-os.org on port 443.
6jrpc: Connection opened, sending request.
7jrpc: Host: depot.haiku-os.org
8jrpc: Accept: */*
9jrpc: Accept-Encoding: gzip
10jrpc: Connection: close
11jrpc: User-Agent: HaikuDepot/0.0.2
12jrpc: Content-Length: 141
13jrpc: Content-Type: application/json
14jrpc: Request sent.
15jrpc: Status line received: Code 200 (OK)
16jrpc: Content-Length: 216
17jrpc: Content-Type: application/json
18jrpc: Date: Fri, 12 Oct 2018 05:44:02 GMT
19jrpc: Server: Jetty(9.4.11.v20180605)
20jrpc: Connection: close
21jrpc: 5 headers and 0 bytes of data remaining
22jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/user]
23jrpc response; {"jsonrpc":"2.0","id":5,"result":{"token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodW1kaW5nZXJ-redacted-IjoiaGFpa3VpbmMuaGRzIiwiZXhwIjoxNTM5MzIzMzQyLCJpYXQiOjE1MzkzMjMwNDJ9.NI5iaEVwG9gMvbdsDEQHJUGdjTArOjWm1Nc13Ql60bY"}}
24
25jrpc; will make request to [https://depot.haiku-os.org/__api/v1/userrating]
26jrpc request; {"jsonrpc":"2.0","id":6,"method":"getUserRatingByUserAndPkgVersion","params":[{"userNickname":"humdinger","pkgName":"2048","pkgVersionArchitectureCode":"x86_gcc2","repositoryCode":"haikuports","pkgVersionMajor":"1","pkgVersionMinor":"0","pkgVersionMicro":"0","pkgVersionRevision":3}]}
27jrpc: Resolving https://depot.haiku-os.org/__api/v1/userrating
28jrpc: Hostname resolved to: 94.130.128.252:443
29jrpc: Connection to depot.haiku-os.org on port 443.
30jrpc: Connection opened, sending request.
31jrpc: Host: depot.haiku-os.org
32jrpc: Accept: */*
33jrpc: Accept-Encoding: gzip
34jrpc: Connection: close
35jrpc: User-Agent: HaikuDepot/0.0.2
36jrpc: Content-Length: 284
37jrpc: Content-Type: application/json
38jrpc: Request sent.
39jrpc: Status line received: Code 200 (OK)
40jrpc: Content-Length: 512
41jrpc: Content-Type: application/json
42jrpc: Date: Fri, 12 Oct 2018 05:44:09 GMT
43jrpc: Server: Jetty(9.4.11.v20180605)
44jrpc: Connection: close
45jrpc: 5 headers and 0 bytes of data remaining
46jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/userrating]
47jrpc response; {"jsonrpc":"2.0","id":6,"result":{"code":"09e88653-cff3-4d8e-aa85-f70d090e065b","naturalLanguageCode":"en","user":{"nickname":"humdinger"},"userRatingStabilityCode":"stable","active":true,"comment":"Nice little game! Gets 5 stars when tile moving animation is added. :)","modifyTimestamp":1539276012774,"createTimestamp":1539195674356,"rating":4,"pkgVersion":{"repositoryCode":"haikuports","architectureCode":"x86_gcc2","major":"1","minor":"0","micro":"0","preRelease":null,"revision":3,"pkg":{"name":"2048"}}}}
48
49will update the existing user rating [09e88653-cff3-4d8e-aa85-f70d090e065b]
50jrpc; will make request to [https://depot.haiku-os.org/__api/v1/userrating]
51jrpc request; {"jsonrpc":"2.0","id":7,"method":"updateUserRating","params":[{"code":"09e88653-cff3-4d8e-aa85-f70d090e065b","naturalLanguageCode":"en","active":true,"filter":["ACTIVE","NATURALLANGUAGE","USERRATINGSTABILITY","COMMENT","RATING"],"rating":4,"userRatingStabilityCode":"stable","comment":"Nice little game! Gets 5 stars when tile moving animation is added... :)"}]}
52jrpc: Resolving https://depot.haiku-os.org/__api/v1/userrating
53jrpc: Hostname resolved to: 94.130.128.252:443
54jrpc: Connection to depot.haiku-os.org on port 443.
55jrpc: Connection opened, sending request.
56jrpc: Host: depot.haiku-os.org
57jrpc: Accept: */*
58jrpc: Accept-Encoding: gzip
59jrpc: Connection: close
60jrpc: User-Agent: HaikuDepot/0.0.2
61jrpc: Authorization: Basic aHVtZGluZ2VyOmJfdHJhbnNsYXRlKCJXZWxjaGVzIE9TPyIpO09FMTAx
62jrpc: Content-Length: 362
63jrpc: Content-Type: application/json
64jrpc: Request sent.
65jrpc: Status line received: Code 200 (OK)
66jrpc: Content-Length: 37
67jrpc: Content-Type: application/json
68jrpc: Date: Fri, 12 Oct 2018 05:44:14 GMT
69jrpc: Server: Jetty(9.4.11.v20180605)
70jrpc: Connection: close
71jrpc: 5 headers and 0 bytes of data remaining
72jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/userrating]
73jrpc response; {"jsonrpc":"2.0","id":7,"result":{}}
74
75pkg [2048] will be updated from the server.
76jrpc; will make request to [https://depot.haiku-os.org/__api/v1/pkg]
77jrpc request; {"jsonrpc":"2.0","id":8,"method":"getPkgChangelog","params":[{"pkgName":"2048"}]}
78jrpc: Resolving https://depot.haiku-os.org/__api/v1/pkg
79jrpc: Hostname resolved to: 94.130.128.252:443
80jrpc: Connection to depot.haiku-os.org on port 443.
81jrpc: Connection opened, sending request.
82jrpc: Host: depot.haiku-os.org
83jrpc: Accept: */*
84jrpc: Accept-Encoding: gzip
85jrpc: Connection: close
86jrpc: User-Agent: HaikuDepot/0.0.2
87jrpc: Content-Length: 81
88jrpc: Content-Type: application/json
89jrpc: Request sent.
90jrpc: Status line received: Code 200 (OK)
91jrpc: Content-Length: 51
92jrpc: Content-Type: application/json
93jrpc: Date: Fri, 12 Oct 2018 05:44:17 GMT
94jrpc: Server: Jetty(9.4.11.v20180605)
95jrpc: Connection: close
96jrpc: 5 headers and 0 bytes of data remaining
97jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/pkg]
98jrpc response; {"jsonrpc":"2.0","id":8,"result":{"content":null}}
99
100no changelog present for [2048]
101jrpc; will make request to [https://depot.haiku-os.org/__api/v1/userrating]
102jrpc request; {"jsonrpc":"2.0","id":9,"method":"searchUserRatings","params":[{"pkgName":"2048","pkgVersionArchitectureCode":"x86_gcc2","offset":0,"limit":50}]}
103jrpc: Resolving https://depot.haiku-os.org/__api/v1/userrating
104jrpc: Hostname resolved to: 94.130.128.252:443
105jrpc: Connection to depot.haiku-os.org on port 443.
106jrpc: Connection opened, sending request.
107jrpc: Host: depot.haiku-os.org
108jrpc: Accept: */*
109jrpc: Accept-Encoding: gzip
110jrpc: Connection: close
111jrpc: User-Agent: HaikuDepot/0.0.2
112jrpc: Content-Length: 145
113jrpc: Content-Type: application/json
114jrpc: Request sent.
115jrpc: Status line received: Code 200 (OK)
116jrpc: Content-Length: 942
117jrpc: Content-Type: application/json
118jrpc: Date: Fri, 12 Oct 2018 05:44:17 GMT
119jrpc: Server: Jetty(9.4.11.v20180605)
120jrpc: Connection: close
121jrpc: 5 headers and 0 bytes of data remaining
122jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/userrating]
123jrpc response; {"jsonrpc":"2.0","id":9,"result":{"items":[{"code":"09e88653-cff3-4d8e-aa85-f70d090e065b","naturalLanguageCode":"en","user":{"nickname":"humdinger"},"userRatingStabilityCode":"stable","active":true,"comment":"Nice little game! Gets 5 stars when tile moving animation is added... :)","modifyTimestamp":1539323054713,"createTimestamp":1539195674356,"rating":4,"pkgVersion":{"repositoryCode":"haikuports","architectureCode":"x86_gcc2","major":"1","minor":"0","micro":"0","preRelease":null,"revision":3,"pkg":{"name":"2048"}}},{"code":"4b5e8fcf-6011-4575-a739-c4df1dac6a69","naturalLanguageCode":"en","user":{"nickname":"emrys"},"userRatingStabilityCode":"stable","active":true,"comment":null,"modifyTimestamp":1515114934844,"createTimestamp":1515114934844,"rating":4,"pkgVersion":{"repositoryCode":"haikuports","architectureCode":"x86_gcc2","major":"1","minor":"0","micro":"0","preRelease":null,"revision":3,"pkg":{"name":"2048"}}}],"total":2}}
124
125rating [09e88653-cff3-4d8e-aa85-f70d090e065b] retrieved from server
126rating [4b5e8fcf-6011-4575-a739-c4df1dac6a69] retrieved from server
127did retrieve 2 user ratings for [2048]
128populating package [2048]
129