Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(162)

Issue 86070043: testservice: version/network/details support (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by vladislav.klyachin
Modified:
10 years ago
Reviewers:
rvb, mp+214961, dimitern
Visibility:
Public.

Description

testservice: version/network/details support These changes are for juju-core project testing. They include new API endpoints: - /version/ return capabilities, currently only networks-management - /network/<name>/?op=list_connected_macs returns list of MAC addresses connected to a network - /nodes/<system_id>/?op=details returns lshw XML as application/bson, the XML data should be added before with AddNodeDetails(systemId, xml) function Now for API endpoint: /networks?node=system_id TestService returns empty list if node is not found or no networks are connected to the node. It panicked before. https://code.launchpad.net/~klyachin/gomaasapi/101-testserver-extensions/+merge/214961 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 20

Patch Set 2 : testservice: version/network/details support #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -10 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M testservice.go View 1 10 chunks +135 lines, -10 lines 0 comments Download
M testservice_test.go View 1 2 chunks +153 lines, -0 lines 0 comments Download

Messages

Total messages: 7
vladislav.klyachin
Please take a look.
10 years ago (2014-04-09 15:02:31 UTC) #1
rvb
LGTM with a couple of remarks. https://codereview.appspot.com/86070043/diff/1/testservice.go File testservice.go (right): https://codereview.appspot.com/86070043/diff/1/testservice.go#newcode482 testservice.go:482: // AddNodeDetails srores ...
10 years ago (2014-04-09 15:19:48 UTC) #2
dimitern
Looks almost there, but I have a few suggestions below: https://codereview.appspot.com/86070043/diff/1/testservice.go File testservice.go (right): https://codereview.appspot.com/86070043/diff/1/testservice.go#newcode279 ...
10 years ago (2014-04-09 15:58:23 UTC) #3
vladislav.klyachin
Please take a look.
10 years ago (2014-04-09 17:04:19 UTC) #4
vladislav.klyachin
On 2014/04/09 15:19:48, rvb wrote: > LGTM with a couple of remarks. > > https://codereview.appspot.com/86070043/diff/1/testservice.go ...
10 years ago (2014-04-09 17:09:19 UTC) #5
vladislav.klyachin
On 2014/04/09 15:58:23, dimitern wrote: > Looks almost there, but I have a few suggestions ...
10 years ago (2014-04-09 17:10:23 UTC) #6
dimitern
10 years ago (2014-04-10 08:13:45 UTC) #7
On 2014/04/09 17:10:23, vladislav.klyachin wrote:
> On 2014/04/09 15:58:23, dimitern wrote:
> > Looks almost there, but I have a few suggestions below:
> > 
> Thanks for the review, dimitern. All changes suggested were made.

Thanks, LGTM!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b