From issues-return-27690-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Sat Apr 21 02:46:07 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A1E3C18077A for ; Sat, 21 Apr 2018 02:46:06 +0200 (CEST) Received: (qmail 61765 invoked by uid 500); 21 Apr 2018 00:46:05 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 61756 invoked by uid 99); 21 Apr 2018 00:46:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Apr 2018 00:46:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id DDFC3C00D5 for ; Sat, 21 Apr 2018 00:46:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id r19UQdGQiH1U for ; Sat, 21 Apr 2018 00:46:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id B6D535FAE4 for ; Sat, 21 Apr 2018 00:46:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 50CF9E0EAE for ; Sat, 21 Apr 2018 00:46:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 552BB241CC for ; Sat, 21 Apr 2018 00:46:01 +0000 (UTC) Date: Sat, 21 Apr 2018 00:46:01 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARTEMIS-1819) Missing fields on listAllConsumersAsJSON, listConsumersAsJSON and listConnectionsAsJSON MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ARTEMIS-1819?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 446543#comment-16446543 ]=20 ASF GitHub Bot commented on ARTEMIS-1819: ----------------------------------------- Github user michaelandrepearce commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/2035#discussion_r183194= 331 =20 --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core= /management/impl/ActiveMQServerControlImpl.java --- @@ -1873,7 +1886,9 @@ public String listAllSessionsAsJSON() throws Exce= ption { try { Set sessions =3D server.getSessions(); for (ServerSession sess : sessions) { - JsonObjectBuilder obj =3D JsonLoader.createObjectBuilder()= .add("sessionID", sess.getName()).add("creationTime", sess.getCreationTime(= )).add("consumerCount", sess.getServerConsumers().size()); + JsonObjectBuilder obj =3D JsonLoader.createObjectBuilder()= .add("sessionID", sess.getName()) + .add("creationTime", sess.getCreationTime()) --- End diff -- =20 Please avoid reformatting like this, there's no code change here=20 > Missing fields on listAllConsumersAsJSON, listConsumersAsJSON and listCon= nectionsAsJSON > -------------------------------------------------------------------------= -------------- > > Key: ARTEMIS-1819 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1819 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker > Affects Versions: 2.5.0 > Reporter: Ingo Weiss > Priority: Minor > Labels: regresion > > This is a regression against 1.5.5. Some fields are missing. On=C2=A0 > listConsumersAsJSON and=C2=A0listAllConsumersAsJSON the fields are destin= ationName, destinationType and durable.=C2=A0listConnectionsAsJSON is missi= ng clientID. -- This message was sent by Atlassian JIRA (v7.6.3#76005)