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

Issue 8275043: Track endpoints as state.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by bac
Modified:
11 years ago
Reviewers:
bcsaller, mp+156661, jeff.pihach
Visibility:
Public.

Description

Track endpoints as state. Remove the get_endpoints calls in the environment and the API. Instead keep the endpoints map up-to-date when services are added, deleted, and changed. https://code.launchpad.net/~bac/juju-gui/get-endpoints/+merge/156661 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Track endpoints as state. #

Total comments: 21

Patch Set 3 : Track endpoints as state. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+467 lines, -199 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/app.js View 1 6 chunks +9 lines, -48 lines 0 comments Download
M app/models/endpoints.js View 1 2 2 chunks +122 lines, -1 line 0 comments Download
M app/models/models.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M app/store/env/fakebackend.js View 1 chunk +0 lines, -4 lines 0 comments Download
M app/store/env/go.js View 1 chunk +0 lines, -18 lines 0 comments Download
M app/store/env/python.js View 1 chunk +0 lines, -17 lines 0 comments Download
M app/store/env/sandbox.js View 1 chunk +0 lines, -7 lines 0 comments Download
M app/views/environment.js View 1 chunk +0 lines, -1 line 0 comments Download
M app/views/topology/relation.js View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M test/test_app.js View 9 chunks +20 lines, -37 lines 0 comments Download
M test/test_browser_charm_details.js View 2 chunks +1 line, -2 lines 0 comments Download
M test/test_endpoints.js View 1 2 1 chunk +255 lines, -0 lines 0 comments Download
M test/test_env_python.js View 2 chunks +0 lines, -11 lines 0 comments Download
M test/test_environment_view.js View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M test/test_notifications.js View 6 chunks +51 lines, -45 lines 0 comments Download

Messages

Total messages: 7
bac
Please take a look.
11 years ago (2013-04-02 19:21:47 UTC) #1
jeff.pihach
This is looking great Thanks for all this work! It really cleans up a lot ...
11 years ago (2013-04-02 19:56:43 UTC) #2
bcsaller
This is looking good but I do ask a structural change below. I hope I ...
11 years ago (2013-04-02 20:39:56 UTC) #3
jeff.pihach
LGTM with Ben's changes and those instances in the tests destroyed. Thanks again, Great work!
11 years ago (2013-04-02 20:57:05 UTC) #4
bcsaller
LGTM as discussed online the changes I suggested will be pushed to another branch (and ...
11 years ago (2013-04-02 21:02:45 UTC) #5
bac
Thanks for the reviews and the great suggestions. Since none of them are show stoppers ...
11 years ago (2013-04-02 21:31:09 UTC) #6
bac
11 years ago (2013-04-02 21:38:20 UTC) #7
*** Submitted:

Track endpoints as state.

Remove the get_endpoints calls in the environment and the API.  Instead
keep the endpoints map up-to-date when services are added,
deleted, and changed.

R=jeff.pihach, bcsaller
CC=
https://codereview.appspot.com/8275043
Sign in to reply to this message.

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