Support add_relation in GUI Go env
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-gui |
Fix Released
|
High
|
Nicola Larosa |
Bug Description
/**
* Add a relation between two services.
*
* @method add_relation
* @param {Object} endpointA An array of [service, interface] representing
the first endpoint to connect.
* @param {Object} endpointB An array of [service, interface] representing
the second endpoint to connect.
* @param {Function} callback A callable that must be called once the
operation is performed.
* @return {undefined} Sends a message to the server only.
*/
add_relation: function(endpointA, endpointB, callback) {
this.
'op': 'add_relation',
},
Related branches
- Juju GUI Hackers: Pending requested
-
Diff: 424 lines (+265/-39)4 files modifiedapp/store/env/go.js (+72/-3)
app/views/topology/relation.js (+3/-2)
test/test_env_go.js (+99/-26)
test/test_env_python.js (+91/-8)
Changed in juju-gui: | |
assignee: | nobody → Nicola Larosa (teknico) |
summary: |
- support add_relation in juju-core env + Support add_relation in GUI Go env |
Changed in juju-gui: | |
milestone: | none → 0.2.2 |
status: | Triaged → In Progress |
Changed in juju-gui: | |
status: | In Progress → Fix Released |