qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gmur...@apache.org
Subject qpid-dispatch git commit: DISPATCH-900 - PR from gmurthy, remove references to unused management entity which was moved to the core agent. This closes #235
Date Fri, 16 Feb 2018 19:26:08 GMT
Repository: qpid-dispatch
Updated Branches:
  refs/heads/1.0.x 9fb1b6309 -> ce5270335


DISPATCH-900 - PR from gmurthy, remove references to unused management entity which was moved
to the core agent.
This closes #235

(cherry picked from commit 3bf8cfe9c326a74a076cb7e1e3ff0cee43137d10)


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

Branch: refs/heads/1.0.x
Commit: ce5270335630088c4c72f23b01b64a67e214b7ea
Parents: 9fb1b63
Author: Ted Ross <tross@redhat.com>
Authored: Thu Dec 21 10:14:39 2017 -0500
Committer: Ganesh Murthy <gmurthy@redhat.com>
Committed: Fri Feb 16 14:22:04 2018 -0500

----------------------------------------------------------------------
 python/qpid_dispatch_internal/management/agent.py | 8 --------
 src/server.c                                      | 3 ---
 2 files changed, 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/ce527033/python/qpid_dispatch_internal/management/agent.py
----------------------------------------------------------------------
diff --git a/python/qpid_dispatch_internal/management/agent.py b/python/qpid_dispatch_internal/management/agent.py
index cd5ec7d..1707703 100644
--- a/python/qpid_dispatch_internal/management/agent.py
+++ b/python/qpid_dispatch_internal/management/agent.py
@@ -467,14 +467,6 @@ class RouterAddressEntity(EntityAdapter):
         return super(RouterAddressEntity, self).__str__().replace("Entity(", "RouterAddressEntity(")
 
 
-class ConnectionEntity(EntityAdapter):
-    def _identifier(self):
-        return self.attributes.get('host') + ":" + str(self.attributes.get('identity'))
-
-    def __str__(self):
-        return super(ConnectionEntity, self).__str__().replace("Entity(", "ConnectionEntity(")
-
-
 class LogStatsEntity(EntityAdapter):
     def _identifier(self):
         return self.attributes.get('identity')

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/ce527033/src/server.c
----------------------------------------------------------------------
diff --git a/src/server.c b/src/server.c
index 3c2a97f..71e8b90 100644
--- a/src/server.c
+++ b/src/server.c
@@ -75,7 +75,6 @@ ALLOC_DEFINE(qd_connector_t);
 ALLOC_DEFINE(qd_deferred_call_t);
 ALLOC_DEFINE(qd_connection_t);
 
-const char *QD_CONNECTION_TYPE = "connection";
 const char *MECH_EXTERNAL = "EXTERNAL";
 
 //Allowed uidFormat fields.
@@ -738,8 +737,6 @@ static void qd_connection_free(qd_connection_t *ctx)
 {
     qd_server_t *qd_server = ctx->server;
 
-    qd_entity_cache_remove(QD_CONNECTION_TYPE, ctx); /* Removed management entity */
-
     // If this is a dispatch connector, schedule the re-connect timer
     if (ctx->connector) {
         long delay = ctx->connector->delay;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message