[asterisk-scf-commits] asterisk-scf/integration/servicediscovery.git branch "publish-internals" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Mon Nov 21 07:59:26 CST 2011
branch "publish-internals" has been updated
via cefd0bd89623266ab062ea0698f29a0487d40e78 (commit)
from c72f2a9970dea78977f40adcdc2fa125159f0c63 (commit)
Summary of changes:
src/ServiceLocator.cpp | 4 ++--
test/TestServiceLocator.cpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit cefd0bd89623266ab062ea0698f29a0487d40e78
Author: Joshua Colp <jcolp at digium.com>
Date: Mon Nov 21 10:01:16 2011 -0400
Incorporate review feedback from Ken.
diff --git a/src/ServiceLocator.cpp b/src/ServiceLocator.cpp
index aba1714..55091d2 100644
--- a/src/ServiceLocator.cpp
+++ b/src/ServiceLocator.cpp
@@ -293,9 +293,9 @@ void ServiceLocatorApp::start(const string& appName, const Ice::CommunicatorPtr&
// we will replicate it.
if (mReplicaService->isActive() == true)
{
- ServiceManagementPrx icestormManagement = locatorServiceManagement->addService(topicManager, "IceStorm", Ice::Current());
+ ServiceManagementPrx icestormManagement = locatorServiceManagement->addService(topicManager, "TopicManager", Ice::Current());
ServiceLocatorParamsPtr params = new ServiceLocatorParams;
- params->category = CategoryIceStorm;
+ params->category = TopicManagerCategory;
params->service = "default";
icestormManagement->addLocatorParams(params, "");
}
diff --git a/test/TestServiceLocator.cpp b/test/TestServiceLocator.cpp
index 710ec88..595b1a2 100644
--- a/test/TestServiceLocator.cpp
+++ b/test/TestServiceLocator.cpp
@@ -243,7 +243,7 @@ BOOST_GLOBAL_FIXTURE(GlobalIceFixture);
*/
BOOST_AUTO_TEST_CASE(FindBuiltinIceStorm)
{
- bool found = testbed.findService(CategoryIceStorm, "default");
+ bool found = testbed.findService(TopicManagerCategory, "default");
BOOST_CHECK(found);
}
-----------------------------------------------------------------------
--
asterisk-scf/integration/servicediscovery.git
More information about the asterisk-scf-commits
mailing list