Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

fix CreateChannelCommand #389

Merged
merged 3 commits into from
Jan 26, 2022

Conversation

bacongobbler
Copy link
Contributor

@bacongobbler bacongobbler commented Jan 25, 2022

The API should be accepting a Certificate ID rather than a concrete object type.

I also refactored some of the DomainEvents such that the code remains a little more DRY.

This was discovered while integrating hippo-openapi into hippo-cli via deislabs/hippo-cli#99. This is a breaking change to the API and will require the clients to be regenerated.

Signed-off-by: Matthew Fisher matt.fisher@fermyon.com

The API should be accepting a Certificate ID rather than a concrete
object type.

Signed-off-by: Matthew Fisher <matt.fisher@fermyon.com>
Now the logic is less strict. A CertificateBindEvent will emit when the
value is not null. A CertificateUnbindEvent will emit when the current
value is changing to a different value.

Signed-off-by: Matthew Fisher <matt.fisher@fermyon.com>
Signed-off-by: Matthew Fisher <matt.fisher@fermyon.com>
@bacongobbler bacongobbler merged commit 91b04f9 into deislabs:main Jan 26, 2022
@bacongobbler bacongobbler deleted the fix-create-channel-command branch January 26, 2022 16:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant