Combine applicationoffers and remoteendpoints facades onto a single controller facade #7286

Merged
merged 1 commit into from May 10, 2017

Conversation

Projects
None yet
3 participants
Owner

wallyworld commented Apr 27, 2017

Description of change

Most of this is literally cut and paste, plus tweaks to make the list-offers and offer commands controller commands and not model commands. The cut and paste is copying code from the remoteendpoints api and apiserver packages into the corresponding applicationoffer packages.

The APIs on the remoteendpoints and applicationoffers facades are consolidated to the one facade, which is made a controller facade. Common apiserver code which was used by both previous facades is moved into the same package as the single, remaining facade.

This change is to allow offers to be correctly managed across controllers and (eventually) in JAAS.

QA steps

bootstrap and run a CMR scenario, checking that the various CLI commands work as expected.

@wallyworld wallyworld changed the title from Combine applicationoffers and remoteendpoints facades onto a single controller facade to [WIP] Combine applicationoffers and remoteendpoints facades onto a single controller facade Apr 27, 2017

Member

babbageclunk commented Apr 27, 2017

It's probably worth explaining why you've done it as well.

This looks good!

@wallyworld wallyworld changed the title from [WIP] Combine applicationoffers and remoteendpoints facades onto a single controller facade to Combine applicationoffers and remoteendpoints facades onto a single controller facade May 10, 2017

Looks nice - the grant/revoke changes were much simpler than I expected.

Owner

wallyworld commented May 10, 2017

$$merge$$

Contributor

jujubot commented May 10, 2017

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit d84b809 into juju:develop May 10, 2017

1 check failed

github-check-merge-juju Built PR, ran unit tests, and tested LXD deploy. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment