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

Issue 7398044: Implement environment info API call.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by frankban
Modified:
11 years, 2 months ago
Reviewers:
dimitern, mp+149886, fwereade
Visibility:
Public.

Description

Implement environment info API call. The Juju GUI needs an API call to retrieve some details about the Juju environment: provider type and default series. This branch includes this functionality. https://code.launchpad.net/~frankban/juju-core/environment-info/+merge/149886 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Implement environment info API call. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -0 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M state/api/api_test.go View 1 chunk +8 lines, -0 lines 0 comments Download
M state/api/apiclient.go View 1 chunk +16 lines, -0 lines 0 comments Download
M state/api/apiserver.go View 1 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 5
frankban
Please take a look.
11 years, 2 months ago (2013-02-21 17:27:42 UTC) #1
dimitern
LGTM with a minor suggestion. https://codereview.appspot.com/7398044/diff/1/state/api/apiserver.go File state/api/apiserver.go (right): https://codereview.appspot.com/7398044/diff/1/state/api/apiserver.go#newcode184 state/api/apiserver.go:184: // EnvironmentInfo retrieves details ...
11 years, 2 months ago (2013-02-21 17:58:04 UTC) #2
fwereade
LGTM
11 years, 2 months ago (2013-02-22 09:19:22 UTC) #3
frankban
*** Submitted: Implement environment info API call. The Juju GUI needs an API call to ...
11 years, 2 months ago (2013-02-22 09:35:34 UTC) #4
frankban
11 years, 2 months ago (2013-02-22 09:38:04 UTC) #5
Hi Dimiter and William,

thanks for the reviews.

https://codereview.appspot.com/7398044/diff/1/state/api/apiserver.go
File state/api/apiserver.go (right):

https://codereview.appspot.com/7398044/diff/1/state/api/apiserver.go#newcode184
state/api/apiserver.go:184: // EnvironmentInfo retrieves details (default series
and type) on the current
On 2013/02/21 17:58:04, dimitern wrote:
> // EnvironmentInfo returns information about the current environment (default
> series and type). ?

Done.
Sign in to reply to this message.

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