Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Routing SPI: Send notifications on rollbacks - #6058

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
Miciah:bug-1186036-routing-spi-send-notifications-on-rollbacks
Feb 7, 2015
Merged

Routing SPI: Send notifications on rollbacks#6058
openshift-bot merged 1 commit into
openshift:masterfrom
Miciah:bug-1186036-routing-spi-send-notifications-on-rollbacks

Conversation

@Miciah

@Miciah Miciah commented Jan 26, 2015

Copy link
Copy Markdown
Contributor

Add rollback methods to NotifyAliasAddOp, NotifyAppCreateOp, and NotifySslCertAddOp. These rollback methods invoke the notify_remove_alias, notify_delete_application, and notify_ssl_cert_remove methods, respectively, of the routing service.

This change causes the ActiveMQ routing plug-in to send :remove_alias, :delete_application, and :remove_ssl notifications when an application creation fails so that anything listening for these notifications (such as the OpenShift routing daemon) can properly clean up any configuration that it may have done in response to the earlier corresponding :add_alias, :create_application, and :add_ssl notifications during the application's creation.

This commit fixes bug 1186036.

Add rollback methods to NotifyAliasAddOp, NotifyAppCreateOp, and
NotifySslCertAddOp.  These rollback methods invoke the notify_remove_alias,
notify_delete_application, and notify_ssl_cert_remove methods,
respectively, of the routing service.

This change causes the ActiveMQ routing plug-in to send :remove_alias,
:delete_application, and :remove_ssl notifications when an application
creation fails so that anything listening for these notifications (such as
the OpenShift routing daemon) can properly clean up any configuration that
it may have done in response to the earlier corresponding :add_alias,
:create_application, and :add_ssl notifications during the application's
creation.

This commit fixes bug 1186036.
@Miciah

Miciah commented Jan 26, 2015

Copy link
Copy Markdown
Contributor Author

[test]

@openshift-bot

Copy link
Copy Markdown

@calfonso

Copy link
Copy Markdown
Contributor

LGTM

@Miciah

Miciah commented Jan 26, 2015

Copy link
Copy Markdown
Contributor Author

[merge]

@openshift-bot

Copy link
Copy Markdown

Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/test_pull_requests/8631/) (Image: devenv_5423)

@openshift-bot

Copy link
Copy Markdown

Evaluated for online up to 51dbfed

openshift-bot pushed a commit that referenced this pull request Feb 7, 2015
…ifications-on-rollbacks

Merged by openshift-bot
@openshift-bot
openshift-bot merged commit 12e0128 into openshift:master Feb 7, 2015
@Miciah

Miciah commented Feb 7, 2015

Copy link
Copy Markdown
Contributor Author

Wow, that took a while. Thanks, openshift-bot!

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.

3 participants