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

Delta Between Two Patch Sets: app/store/env/fakebackend.js

Issue 8578043: Implemented add-relation for the fakebackend
Left Patch Set: Implemented add-relation for the fakebackend Created 11 years, 12 months ago
Right Patch Set: Implemented add-relation for the fakebackend Created 11 years, 12 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « [revision details] ('k') | app/store/env/sandbox.js » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 'use strict'; 1 'use strict';
2 2
3 /** 3 /**
4 An in-memory fake Juju backend and supporting elements. 4 An in-memory fake Juju backend and supporting elements.
5 5
6 @module env 6 @module env
7 @submodule env.fakebackend 7 @submodule env.fakebackend
8 */ 8 */
9 9
10 YUI.add('juju-env-fakebackend', function(Y) { 10 YUI.add('juju-env-fakebackend', function(Y) {
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 endpoints: [endpointA, endpointB], 721 endpoints: [endpointA, endpointB],
722 scope: cics.sharedScope || 'global', 722 scope: cics.sharedScope || 'global',
723 displayName: endpointData[0].type, 723 displayName: endpointData[0].type,
724 relation: relation 724 relation: relation
725 }; 725 };
726 } 726 }
727 727
728 // Fallback error If the relation was not able to be created 728 // Fallback error If the relation was not able to be created
729 // for any reason other than what has already been checked for. 729 // for any reason other than what has already been checked for.
730 return false; 730 return false;
731 } 731 },
732 732
733 // updateAnnotations: function() { 733 // updateAnnotations: function() {
734 734
735 // }, 735 // },
736 736
737 // getAnnotations: function() { 737 // getAnnotations: function() {
738 738
739 // }, 739 // },
740 740
741 // removeAnnotations: function() { 741 // removeAnnotations: function() {
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 969
970 Y.namespace('juju.environments').FakeBackend = FakeBackend; 970 Y.namespace('juju.environments').FakeBackend = FakeBackend;
971 971
972 }, '0.1.0', { 972 }, '0.1.0', {
973 requires: [ 973 requires: [
974 'base', 974 'base',
975 'js-yaml', 975 'js-yaml',
976 'juju-models' 976 'juju-models'
977 ] 977 ]
978 }); 978 });
LEFTRIGHT

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