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

Issue 13251052: juju: NewAPIClientFromName connection

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by rog
Modified:
10 years, 7 months ago
Reviewers:
gz, fwereade, mp+186303
Visibility:
Public.

Description

juju: NewAPIClientFromName connection We change it so it connects to cached API endpoint info if available, falling back to information from the environment configuration if that fails or takes a while. https://code.launchpad.net/~rogpeppe/juju-core/396-newclientfromname/+merge/186303 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : juju: NewAPIClientFromName connection #

Patch Set 3 : juju: NewAPIClientFromName connection #

Total comments: 3

Patch Set 4 : juju: NewAPIClientFromName connection #

Patch Set 5 : juju: NewAPIClientFromName connection #

Total comments: 9

Patch Set 6 : juju: NewAPIClientFromName connection #

Patch Set 7 : juju: NewAPIClientFromName connection #

Patch Set 8 : juju: NewAPIClientFromName connection #

Total comments: 8

Patch Set 9 : juju: NewAPIClientFromName connection #

Unified diffs Side-by-side diffs Delta from patch set Stats (+529 lines, -33 lines) Patch
A [revision details] View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M environs/configstore/disk.go View 1 2 3 2 chunks +12 lines, -4 lines 0 comments Download
M environs/configstore/disk_test.go View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M environs/info.go View 1 1 chunk +1 line, -1 line 0 comments Download
M juju/api.go View 1 2 3 4 5 6 3 chunks +197 lines, -12 lines 0 comments Download
M juju/apiconn_test.go View 1 2 3 4 5 6 7 8 6 chunks +304 lines, -10 lines 0 comments Download
A juju/export_test.go View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 12
rog
Please take a look.
10 years, 7 months ago (2013-09-18 12:38:32 UTC) #1
gz
LGTM, but this is pretty complicated and I had to think hard about several of ...
10 years, 7 months ago (2013-09-18 13:23:59 UTC) #2
rog
> being able to quickly diagnose what exactly in > their setup is borked from ...
10 years, 7 months ago (2013-09-18 13:56:28 UTC) #3
rog
Please take a look.
10 years, 7 months ago (2013-09-18 14:06:32 UTC) #4
rog
Please take a look.
10 years, 7 months ago (2013-09-18 14:14:15 UTC) #5
fwereade
Nearly there, a few thoughts. https://codereview.appspot.com/13251052/diff/4001/juju/api.go File juju/api.go (right): https://codereview.appspot.com/13251052/diff/4001/juju/api.go#newcode84 juju/api.go:84: envName = envs.Default This ...
10 years, 7 months ago (2013-09-18 15:33:18 UTC) #6
rog
Please take a look. https://codereview.appspot.com/13251052/diff/4001/juju/api.go File juju/api.go (right): https://codereview.appspot.com/13251052/diff/4001/juju/api.go#newcode84 juju/api.go:84: envName = envs.Default On 2013/09/18 ...
10 years, 7 months ago (2013-09-18 17:39:26 UTC) #7
gz
Changes LGTM.
10 years, 7 months ago (2013-09-18 17:43:37 UTC) #8
rog
Please take a look.
10 years, 7 months ago (2013-09-19 06:36:33 UTC) #9
fwereade
LGTM, thanks, unless you think I'll be alarmed by the answers to the questions below ...
10 years, 7 months ago (2013-09-19 08:09:48 UTC) #10
rog
https://codereview.appspot.com/13251052/diff/24001/juju/api.go File juju/api.go (right): https://codereview.appspot.com/13251052/diff/24001/juju/api.go#newcode88 juju/api.go:88: envName = envs.Default On 2013/09/19 08:09:48, fwereade wrote: > ...
10 years, 7 months ago (2013-09-19 14:25:11 UTC) #11
rog
10 years, 7 months ago (2013-09-19 15:24:13 UTC) #12
Please take a look.
Sign in to reply to this message.

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