You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2016/04/08 17:13:38 UTC

qpid-dispatch git commit: DISPATCH-267: Denial stats not incremented. These stats add no value and this commit deletes them.

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 090d0555b -> fd38b72b1


DISPATCH-267: Denial stats not incremented.
These stats add no value and this commit deletes them.


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

Branch: refs/heads/master
Commit: fd38b72b107d23bc2085b4a5fb2b8a14e823e60c
Parents: 090d055
Author: Chuck Rolke <cr...@redhat.com>
Authored: Fri Apr 8 11:08:52 2016 -0400
Committer: Chuck Rolke <cr...@redhat.com>
Committed: Fri Apr 8 11:08:52 2016 -0400

----------------------------------------------------------------------
 python/qpid_dispatch/management/qdrouter.json | 6 +-----
 src/policy.c                                  | 6 +-----
 src/policy.h                                  | 4 ----
 3 files changed, 2 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/fd38b72b/python/qpid_dispatch/management/qdrouter.json
----------------------------------------------------------------------
diff --git a/python/qpid_dispatch/management/qdrouter.json b/python/qpid_dispatch/management/qdrouter.json
index 371d23a..6cc9614 100644
--- a/python/qpid_dispatch/management/qdrouter.json
+++ b/python/qpid_dispatch/management/qdrouter.json
@@ -1367,11 +1367,7 @@
 
                 "sessionDenied": {"type": "integer", "graph": true},
                 "senderDenied": {"type": "integer", "graph": true},
-                "receiverDenied": {"type": "integer", "graph": true},
-                "dynamicSrcDenied": {"type": "integer", "graph": true},
-                "anonymousSenderDenied": {"type": "integer", "graph": true},
-                "linkSourceDenied": {"type": "integer", "graph": true},
-                "linkTargetDenied": {"type": "integer", "graph": true}
+                "receiverDenied": {"type": "integer", "graph": true}
             }
         },
 

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/fd38b72b/src/policy.c
----------------------------------------------------------------------
diff --git a/src/policy.c b/src/policy.c
index 8196ab4..bb35cf2 100644
--- a/src/policy.c
+++ b/src/policy.c
@@ -160,11 +160,7 @@ qd_error_t qd_policy_c_counts_refresh(long ccounts, qd_entity_t *entity)
     qd_policy_denial_counts_t *dc = (qd_policy_denial_counts_t*)ccounts;
     if (!qd_entity_set_long(entity, "sessionDenied", dc->sessionDenied) &&
         !qd_entity_set_long(entity, "senderDenied", dc->senderDenied) &&
-        !qd_entity_set_long(entity, "receiverDenied", dc->receiverDenied) &&
-        !qd_entity_set_long(entity, "dynamicSrcDenied", dc->dynamicSrcDenied) &&
-        !qd_entity_set_long(entity, "anonymousSenderDenied", dc->anonymousSenderDenied) &&
-        !qd_entity_set_long(entity, "linkSourceDenied", dc->linkSourceDenied) &&
-        !qd_entity_set_long(entity, "linkTargetDenied", dc->linkTargetDenied)
+        !qd_entity_set_long(entity, "receiverDenied", dc->receiverDenied)
     )
         return QD_ERROR_NONE;
     return qd_error_code();

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/fd38b72b/src/policy.h
----------------------------------------------------------------------
diff --git a/src/policy.h b/src/policy.h
index d4fc2b2..1bad99d 100644
--- a/src/policy.h
+++ b/src/policy.h
@@ -37,10 +37,6 @@ struct qd_policy_denial_counts_s {
     int sessionDenied;
     int senderDenied;
     int receiverDenied;
-    int dynamicSrcDenied;
-    int anonymousSenderDenied;
-    int linkSourceDenied;
-    int linkTargetDenied;
 };
 
 typedef struct qd_policy_t qd_policy_t;


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