You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ra...@apache.org on 2016/09/14 15:54:51 UTC

[1/2] git commit: updated refs/heads/master to 87ef813

Repository: cloudstack
Updated Branches:
  refs/heads/master f21477a17 -> 87ef81375


Export UUID for zone creation event completion.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fb7f5dfa
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fb7f5dfa
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fb7f5dfa

Branch: refs/heads/master
Commit: fb7f5dfa37d76de66de52b0d8a10470b436fdf1a
Parents: 3149705
Author: jeff <je...@greenqloud.com>
Authored: Wed Aug 24 16:19:16 2016 +0000
Committer: jeff <je...@greenqloud.com>
Committed: Wed Aug 24 16:19:16 2016 +0000

----------------------------------------------------------------------
 server/src/com/cloud/configuration/ConfigurationManagerImpl.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fb7f5dfa/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/configuration/ConfigurationManagerImpl.java b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
index f8a1fac..2dd590c 100644
--- a/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
+++ b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
@@ -1770,6 +1770,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
             @Override
             public DataCenterVO doInTransaction(final TransactionStatus status) {
                 final DataCenterVO zone = _zoneDao.persist(zoneFinal);
+                CallContext.current().putContextParameter(DataCenter.class, zone.getUuid());
                 if (domainId != null) {
                     // zone is explicitly dedicated to this domain
                     // create affinity group associated and dedicate the zone.


[2/2] git commit: updated refs/heads/master to 87ef813

Posted by ra...@apache.org.
Merge pull request #1661 from greenqloud/pr-zone-ids-action-events

Export UUID for zone creation event completion.Action events have support for exporting their "first class entities" over the event bus, if it's turned on. This works mostly for BaseAsyncCmds and any synchronous command that operates on already-existing entities. They are populated by the ApiServer and found by ActionEventUtils.

Where it tends to falter is when dealing with synchronous creation commands. This commit makes createZone export the zone UUID over the event bus once the zone has been created.

* pr/1661:
  Export UUID for zone creation event completion.

Signed-off-by: Rajani Karuturi <ra...@accelerite.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/87ef8137
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/87ef8137
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/87ef8137

Branch: refs/heads/master
Commit: 87ef8137534fa798101f65c6691fcf71513ac978
Parents: f21477a fb7f5df
Author: Rajani Karuturi <ra...@accelerite.com>
Authored: Wed Sep 14 21:24:33 2016 +0530
Committer: Rajani Karuturi <ra...@accelerite.com>
Committed: Wed Sep 14 21:24:33 2016 +0530

----------------------------------------------------------------------
 server/src/com/cloud/configuration/ConfigurationManagerImpl.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------