Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from May 10, 2017

Conversation

wallyworld
Copy link
Member

@wallyworld 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 Combine applicationoffers and remoteendpoints facades onto a single controller facade [WIP] Combine applicationoffers and remoteendpoints facades onto a single controller facade Apr 27, 2017
@babbageclunk
Copy link
Contributor

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

Copy link
Contributor

@babbageclunk babbageclunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good!

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

@babbageclunk babbageclunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@wallyworld
Copy link
Member Author

$$merge$$

@jujubot
Copy link
Collaborator

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants