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

Merge cross model relations feature branch #6473

Merged
merged 227 commits into from Oct 20, 2016
Merged

Conversation

wallyworld
Copy link
Member

This PR merges the cross model relations feature branch. The vast majority of the work has been reviewed previously for landing into the feature branch.

The main commit to look at is:
dbf2140

The above commit adds the cross model feature flag to hide the cross model relations features - CLI, facades, and database collections.

As a side effect, the work in the feature branch also fixes:
https://bugs.launchpad.net/juju/+bug/1621754

QA:
bootstrap and use a 2.0.0 GA client to deploy and relate services
bootstrap and ensure cross model stuff works with feature flag

wallyworld and others added 30 commits October 29, 2015 18:53
Offer command.

Initial cross model relations offer cli, api and apiserver placeholder.
For now, until state is done, apiserver holds needed info in-memory.

(Review request: http://reviews.vapour.ws/r/3038/)
[WIP] Add initial state model for remote services

Define the state model and associated methods for remote services.
There are methods to allow local services to be related to remote services.
The relevant relation infrastructure has been adapted to support report services, including deleting the remote service entry when the last relation has been removed. We also add an IsRemote flag to Endpoint to record if the endpoint is from a remote service or not.


(Review request: http://reviews.vapour.ws/r/3022/)
Add state model for service directory

Add state model for a remote service directory. This is used to store offered endpoints for environments within the host controller.

(Review request: http://reviews.vapour.ws/r/3046/)
wallyworld and others added 18 commits January 4, 2016 11:41
Add remote service info to status

Modify juju status so that it displays remote service information.
yaml, tabular, summary formats are updated

(Review request: http://reviews.vapour.ws/r/3447/)
Add find-endpoints command

Two major changes:

1. juju find-endpoints which allows the user to see what services have been offered
Includes:
- CLI command
- api and apiserver components
- feature tests

TODO - we still don't filter on endpoint name or interface

2. fix issues with juju show-endpoint command
- description column too narrow
- words in description were omitted

(Review request: http://reviews.vapour.ws/r/3446/)
Cross-model relations: merge master



(Review request: http://reviews.vapour.ws/r/3454/)
Merge develop branch

Merge develop branch in preparation for merging feature branch back into develop.
Add cross-model feature flag to hide cross model relations functionality until it is ready. This includes CLI, API facades, and database collections.
Add cross-model feature flag checks to more places to avoid trying to invoke missing functionality when the flag is not set.
@wallyworld
Copy link
Member Author

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Oct 20, 2016

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

@jujubot
Copy link
Collaborator

jujubot commented Oct 20, 2016

Build failed: Tests failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/9536

@wallyworld
Copy link
Member Author

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Oct 20, 2016

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

@jujubot jujubot merged commit 6bb1eb5 into develop Oct 20, 2016
@sinzui sinzui deleted the cross-model-relations branch November 15, 2016 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants