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

Issue 8735043: Implement the fakebackend add_relation method

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

Description

Implement the fakebackend add_relation method The add_relation functionality has now been implemented in the fakebackend and pyJuju sandbox. It allows all of the current functionality currently required by the GUI but also implements the ability to handle inferred relationships. https://code.launchpad.net/~hatch/juju-gui/ar-inferred/+merge/158732 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Implement the fakebackend add_relation method #

Total comments: 9

Patch Set 3 : Implement the fakebackend add_relation method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+560 lines, -265 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/store/env/fakebackend.js View 1 3 chunks +116 lines, -91 lines 0 comments Download
M app/store/env/sandbox.js View 1 2 3 chunks +7 lines, -64 lines 0 comments Download
A test/data/hadoop-charmdata.json View 1 chunk +127 lines, -0 lines 0 comments Download
A test/data/mediawiki-charmdata.json View 1 chunk +66 lines, -0 lines 0 comments Download
M test/test_fakebackend.js View 1 2 chunks +218 lines, -42 lines 0 comments Download
M test/test_sandbox.js View 1 7 chunks +22 lines, -67 lines 0 comments Download
M test/utils.js View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 5
jeff.pihach
Please take a look.
11 years, 11 months ago (2013-04-13 00:20:19 UTC) #1
jeff.pihach
Please take a look.
11 years, 11 months ago (2013-04-15 22:17:11 UTC) #2
bcsaller
LGTM You really reworked this since I last looked at it. Much better. Easier to ...
11 years, 11 months ago (2013-04-15 22:36:58 UTC) #3
jeff.pihach
Thanks for the review! https://codereview.appspot.com/8735043/diff/3001/app/store/env/sandbox.js File app/store/env/sandbox.js (right): https://codereview.appspot.com/8735043/diff/3001/app/store/env/sandbox.js#newcode574 app/store/env/sandbox.js:574: epA[relation.endpoints[0][0]] = relation.endpoints[0][1]; On 2013/04/15 ...
11 years, 11 months ago (2013-04-15 22:48:16 UTC) #4
jeff.pihach
11 years, 11 months ago (2013-04-15 22:53:48 UTC) #5
*** Submitted:

Implement the fakebackend add_relation method

The add_relation functionality has now been implemented
in the fakebackend and pyJuju sandbox. It allows all of the
current functionality currently required by the GUI but also
implements the ability to handle inferred relationships.

R=bcsaller
CC=
https://codereview.appspot.com/8735043
Sign in to reply to this message.

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