lp:~axwalk/juju-core/api-push-env-secrets

Created by Andrew Wilkins and last modified
Get this branch:
bzr branch lp:~axwalk/juju-core/api-push-env-secrets
Only Andrew Wilkins can upload to this branch. If you are Andrew Wilkins please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andrew Wilkins
Project:
juju-core
Status:
Development

Recent revisions

2032. By Andrew Wilkins

Add tests for PushEnvironmentSecrets (and reenable code)

Also, fix a bug in state.State.SetEnvironmentConfig,
so deleted attributes are removed from Mongo. Also,
modify the dummy provider to not set defaults in config
when calling SecretAttrs.

Fixes lp:1248809

2031. By Andrew Wilkins

Push environment secrets after connecting API

This change introduces a new client API,
PushEnvironmentSecrets. The api.Open function
is modified to call it directly after a
successful Login if given a non-empty set of
secrets to pass to the server. The
juju/NewAPI* functions have been modified to
pass secrets to api.Open. Non-client callers
of api.Open (i.e. machine agents) will not
invoke PushEnvironmentSecrets.

A follow-up CL will modify Login to return
a flag indicating that secrets have not
previously been sent, and should now be.
The api.Open function will then be modified
to check this flag, and conditionally make
the PushEnvironmentSecrets call.

2030. By Andrew Wilkins

[r=axwalk],[bug=1246983] cmd/juju: use API for expose/unexpose

Partially fixes #1246983

https://codereview.appspot.com/18600045/

2029. By Andrew Wilkins

[r=axwalk],[bug=1246983] cmd/juju: use API for resolved

Partially fixes #1246983

https://codereview.appspot.com/20670044/

2028. By Andrew Wilkins

[r=axwalk],[bug=1233924],[bug=1247730] environs/simplestreams: fix GetMetadata

GetMetadata was dropping out if a datasource
returned no matching product IDs, without an
error. I've changed it to check that a non-
empty list of products is returned before
bailing out.

Fixes #1233924

https://codereview.appspot.com/14218044/

2027. By Ian Booth

[r=wallyworld] Migrate add/destroy relation cli to use api

The add-realtion and destroy-relation commands are migrated
to use the api.

https://codereview.appspot.com/21800043/

2026. By Ian Booth

[r=wallyworld] Migrate get/set constraints cli to use api

The juju get-constraints and set-constraints commands
now use the api.

https://codereview.appspot.com/21390045/

2025. By Ian Booth

[r=wallyworld] Migrate destroy-unit cli to use api

The destroy-unit command is migrate to use the api.

https://codereview.appspot.com/21610046/

2024. By Ian Booth

[r=wallyworld] Add simplestreams doc

Add simplestreams-metadata.txt to describe
how juju uses simplestreams image and tools
metadata

https://codereview.appspot.com/20730043/

2023. By Tim Penhey

[r=thumper] Fix the Instances logic in the MAAS provider.

https://codereview.appspot.com/14439060/

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~go-bot/juju-core/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers