summaryrefslogtreecommitdiff
path: root/cpp/managementgen
Commit message (Collapse)AuthorAgeFilesLines
* Merged the changes from the qmf-devel0.7a branch back to the trunk.Ted Ross2010-03-319-68/+552
| | | | | | | | | | | | | | | | | This is a checkpoint along the QMFv2 development path. This update introduces portions of QMFv2 into the code: - The C++ agent (qpid/agent) uses QMFv2 for data and method transfer o The APIs no longer use qpid::framing::* o Consequently, boost is no longer referenced from the API headers. o Agents and Objects are now referenced by strings, not numbers. o Schema transfer still uses the QMFv1 format. - The broker-resident agent can use QMFv1 or QMFv2 based on the command line options. It defaults to QMFv1 for compatibility. - The pure-python QMF console (qmf.console) can concurrently interact with both QMFv1 and QMFv2 agents. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929716 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2436: Drop the vhost prefix in QMF V2keys.Alan Conway2010-03-081-7/+8
| | | | | | | | | - The prefix makes the keys extremely long and unreadable. - In a standalone broker it adds nothing since its the same for every object. - In a cluster you need a consistent ID for shadow connections on all brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@920413 13f79535-47bb-0310-9956-ffa450edef68
* Added encode/decode/encodedSize methods for management objects.Ted Ross2010-02-044-35/+61
| | | | | | | Made methods on generated code public. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906573 13f79535-47bb-0310-9956-ffa450edef68
* Changes to management code generation:Ted Ross2010-02-034-29/+85
| | | | | | | | | | 1) Added readProperties(Buffer) method to ManagementObject to help in the serialization and unserialization of data for cluster replication. 2) Added hooks to ManagementObject and ObjectId to prepare for QMFv2 object naming. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906038 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2245 QMF protocol changes will make 0.6 incompatible with 0.5Ted Ross2009-12-112-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889619 13f79535-47bb-0310-9956-ffa450edef68
* Removed the Visual Studio solution/project files, as these are now generated ↵Stephen D. Huston2009-11-201-1/+1
| | | | | | by CMake. Added CMakeLists.txt files to Makefile.am, and all other needed support files so that the 'make dist' supplies all needed items for building a release kit on Windows. Fixes QPID-2134 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882373 13f79535-47bb-0310-9956-ffa450edef68
* Added more install-related content to the CMake structure.Stephen D. Huston2009-10-071-15/+4
| | | | | | Adds changes requested in QPID-2123, modified somewhat. Also adds Windows-specific installer content in cpp/packaging. Other specific packaging things can be added there as well. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@822965 13f79535-47bb-0310-9956-ffa450edef68
* Separate generated public header files from non-public headers, generated ↵Alan Conway2009-07-271-2/+2
| | | | | | | | | | | | | | | | | | | | code re-organization. The gen/ directory has been removed, code is now generated into: $(builddir)/src - all .cpp files and non-public .h files. $(builddir)/include - all public .h files. The gen/ directory was originally intended to separate generated code from hand-written code. However both automake and cmake allow you to direct all build output, including generated code, into a separate build directory. In fact both recommend you build this way. Keeping the gen/ directory meant there would have been a total of 8 places to look for header files, all the combinations of builddir/srcdir, src/include and gen/no-gen. This was a mess, 4 is bad enough. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@798291 13f79535-47bb-0310-9956-ffa450edef68
* Fix make build to generate code into the build treeAndrew Stitcher2009-07-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790465 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1786 - Committed qmf patches from Bryan KearneyTed Ross2009-06-113-1/+3
| | | | | | | | Additionally updated existing qmf and Qman to be compatible. The magic number for qmf messages has been incremented. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783818 13f79535-47bb-0310-9956-ffa450edef68
* Fix managementgen so to avoid trying to move files cross fsAndrew Stitcher2009-05-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777146 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1843 - Cleaned up the interface to the broker's internal management agent.Ted Ross2009-05-117-17/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773570 13f79535-47bb-0310-9956-ffa450edef68
* Fixed to allow use of cmake 2.4Andrew Stitcher2009-04-281-1/+1
| | | | | | | Fixes to allow cmake to build all the plugin modules as before git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@769559 13f79535-47bb-0310-9956-ffa450edef68
* Merge in initial changes to allow building with CMake; rubygen and ↵Stephen D. Huston2009-04-234-4/+175
| | | | | | managementgen can now generate either .mk files or .cmake files as needed; CONF_FILE and MODULE_DIR macros now have broker/client counterparts QPIDD_CONF_FILE, QPIDD_MODULE_DIR, QPIDC_CONF_FILE, QPIDC_MODULE_DIR configurable by cmake git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@768085 13f79535-47bb-0310-9956-ffa450edef68
* Removed duplicate license textTed Ross2009-01-151-21/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734686 13f79535-47bb-0310-9956-ffa450edef68
* Added ASF licensing headers to the following filesRajith Muditha Attapattu2008-12-191-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@728091 13f79535-47bb-0310-9956-ffa450edef68
* Added ASF license to makefilesGordon Sim2008-12-151-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@726710 13f79535-47bb-0310-9956-ffa450edef68
* Minor correction to included ASF licenseGordon Sim2008-12-153-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@726685 13f79535-47bb-0310-9956-ffa450edef68
* Management optimization: don't send (empty) statistic updates for objectTed Ross2008-12-081-15/+16
| | | | | | | classes that don't have statistics. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@724356 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a performance regression caused by the management code.Ted Ross2008-12-011-4/+0
| | | | | | | | | | The current/last-change timestamp is now set on management objects when they are published, not when they actually change. Also, the timestamp is updated only if modifications were made to the object in the last publish interval. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722120 13f79535-47bb-0310-9956-ffa450edef68
* Bug fixes for QMF:Ted Ross2008-11-261-4/+4
| | | | | | | | | | | | ManagementAgentImpl - don't send messages if broker is not connected. ManagementBroker - agents could be assigned the same agentBank - don't send console-attached for attached agents - handle multiple qmf messages in an AMQP body schema.py - Don't use the FieldTable copy-constructor, use .clear() git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720973 13f79535-47bb-0310-9956-ffa450edef68
* Fixed several problems related to qmf update timestamps:Ted Ross2008-11-211-0/+4
| | | | | | | | | | | | | - Timestamps were set at update send time regardless of whether the object's contents were actually changed. Now timestamps are set at the time of the change. - Agent heartbeat messages are now being sent after periodic updates, not before. Cleaned up the Agent object in qmf.console. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719699 13f79535-47bb-0310-9956-ffa450edef68
* Renamed the python package for the qmf code generation as it conflictsTed Ross2008-11-2114-19/+19
| | | | | | | with the package for the qmf apis. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719671 13f79535-47bb-0310-9956-ffa450edef68
* Generalized the creation of makefile fragments in qmf code generation.Ted Ross2008-11-123-15/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@713476 13f79535-47bb-0310-9956-ffa450edef68
* Rename schema names OPTIONAL and INDEX to IS_OPTIONAL and IS_INDEX to avoid ↵Stephen D. Huston2008-10-282-4/+4
| | | | | | name clashes in Windows header files; fixes QPID-1408 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708704 13f79535-47bb-0310-9956-ffa450edef68
* Fix to build needed directory tree on Windows; fixes QPID-1407Stephen D. Huston2008-10-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708703 13f79535-47bb-0310-9956-ffa450edef68
* Use a str16 instead of str8 for qmf method response textTed Ross2008-10-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707653 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1360 - Scaling improvements for QMFTed Ross2008-10-151-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@704944 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1327 - Added optional severity override in the eventRaise methodTed Ross2008-10-092-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703164 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1327 - Added severity field to events, cleaned up routing key usageTed Ross2008-10-081-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702977 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a couple of distribution bugsTed Ross2008-10-081-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702880 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1327 - Event support for ManagementTed Ross2008-10-078-111/+315
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702651 13f79535-47bb-0310-9956-ffa450edef68
* Add initialization for properties not in the constructor argumentsTed Ross2008-09-222-3/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697961 13f79535-47bb-0310-9956-ffa450edef68
* Added needed includes for generated Arg*.h filesTed Ross2008-09-221-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697877 13f79535-47bb-0310-9956-ffa450edef68
* Backed out makefile-dependency changes. They break vpath buildsTed Ross2008-09-172-12/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696314 13f79535-47bb-0310-9956-ffa450edef68
* Removed some dead codeTed Ross2008-09-171-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696283 13f79535-47bb-0310-9956-ffa450edef68
* Added missing Makefile dependencies for ACL and Cluster schema filesTed Ross2008-09-172-8/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696280 13f79535-47bb-0310-9956-ffa450edef68
* An improved way of dealing with installed headersTed Ross2008-09-152-5/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@695646 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug affecting 'make install' for generated qmf headersTed Ross2008-09-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@695580 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1274 - Changed C++ namespace for generated management code. Improved ↵Ted Ross2008-09-159-69/+126
| | | | | | efficiency of generated functions to use const references for non-simple types. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@695511 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1279 Implementations of management methods can now return error strings ↵Ted Ross2008-09-102-4/+5
| | | | | | along with its own error codes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693933 13f79535-47bb-0310-9956-ffa450edef68
* Removed @staticmethod decorator which is unsupported by older Python versionsTed Ross2008-09-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693548 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1274 - qmf-gen can now generate code from multiple schema files. Uses ↵Ted Ross2008-09-093-31/+27
| | | | | | __file__ as a better way to locate data files. Added code generation for ACL schema. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693523 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1274 - Made qmf-gen smarter about finding its data filesTed Ross2008-09-051-2/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@692508 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1274 - Moved management-gen data files into the qmf subdirectory to fix ↵Ted Ross2008-09-0510-16/+14
| | | | | | an install problem git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@692475 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1274 - Improved packaging for management agent and code generation toolTed Ross2008-09-056-38/+86
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@692450 13f79535-47bb-0310-9956-ffa450edef68
* Disambiguated a mask-and-compare for the Fedora-9 compilerTed Ross2008-09-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691755 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1174 Updates to the management frameworkTed Ross2008-09-033-66/+196
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691700 13f79535-47bb-0310-9956-ffa450edef68
* Make md5-hash of table recursively include data from referenced groupsTed Ross2008-08-011-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@681709 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1174 - Management updates for remote agentsTed Ross2008-07-312-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@681362 13f79535-47bb-0310-9956-ffa450edef68