Add api facade for relation status watcher #40

Merged
merged 1 commit into from Jul 31, 2017

Conversation

Projects
None yet
2 participants
Owner

wallyworld commented Jul 28, 2017

Description of change

There's a new relation status watcher - this PR adds the facade infrastructure to expose it.
There's the core watcher facade plus the hooks into the cross model relations facade so it can be used by the remote relation worker.

QA steps

None yet.

LGTM, just one naming thing.

apiserver/params/status.go
@@ -268,3 +269,11 @@ const (
Dying Life = "dying"
Dead Life = "dead"
)
+
+// RelationStatusParam describes the status of a relation ("active" or "revoked").
@axw

axw Jul 28, 2017

Collaborator

It's not a parameter, so drop the Param.

axw approved these changes Jul 28, 2017

@wallyworld wallyworld merged commit 5e55c09 into relation-status-watcher Jul 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment