You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ted Ross (JIRA)" <qp...@incubator.apache.org> on 2008/01/07 16:17:33 UTC

[jira] Updated: (QPID-722) Management improvements for C++ Broker and Python CLI

     [ https://issues.apache.org/jira/browse/QPID-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross updated QPID-722:
--------------------------

    Attachment: qpid-patch15.diff

Patch file

> Management improvements for C++ Broker and Python CLI
> -----------------------------------------------------
>
>                 Key: QPID-722
>                 URL: https://issues.apache.org/jira/browse/QPID-722
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker, Python Client
>         Environment: all
>            Reporter: Ted Ross
>            Priority: Minor
>         Attachments: qpid-patch15.diff
>
>
> Two changes in this patch:
> 1) Management object IDs are now persistent for persistent (durable) objects.  This is required to provide continuity of historical management data across broker restarts.  The format of object IDs now indicates whether they are transient or persistent.  The upper bit (bit 63) is 0 for transient IDs and 1 for persistent IDs.
> 2) Changes have been made to the management code generator in preparation for allowing it to be used by outside projects that wish to use the broker Plugin API for management access.
> File-by-file notes:
> M  python/mgmt-cli/managementdata.py
>     Enhanced user-friendly display of 64-bit object IDs to
>     differentiate between persistent IDs and non-persistent IDs.
> M  cpp/src/Makefile.am
>     Changed command line format for call to the management code
>     generator.
> M  cpp/src/qpid/broker/Broker.cpp
> M  cpp/src/qpid/broker/Vhost.cpp
> M  cpp/src/qpid/broker/Queue.cpp
>     Updated calls to ManagementAgent::addObject to use the new support
>     for persistent IDs, ensuring that the management object IDs for
>     persistent objects are themselves persistent.
> M  cpp/src/qpid/management/ManagementAgent.h
> M  cpp/src/qpid/management/ManagementAgent.cpp
>     Added support (using defaulted arguments) to
>     ManagementAgent::addObject for persistent object IDs
> M  cpp/managementgen/generate.py
> M  cpp/managementgen/schema.py
> M  cpp/managementgen/main.py
>     Added the ability for templates to set variables to be used during
>     code generation.
>     Makefile fragment is now generated using a template rather than
>     hard-code.  This was done to help non-qpid code to use the code
>     generator for management-via-qpid support.
> M  cpp/managementgen/templates/Args.h
> M  cpp/managementgen/templates/Class.cpp
> M  cpp/managementgen/templates/Class.h
>     Use a generator variable to define the comment prefix.
> A  cpp/managementgen/templates/Makefile.mk
>     New template for the qpid makefile fragment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.