Skip to content

Commit 46f64a2

Browse files
authored
Merge pull request #68 from ibm-messaging/MQ9.1.1
Mq9.1.1
2 parents 67a70ac + 9323280 commit 46f64a2

35 files changed

+27756
-9986
lines changed

CHANGELOG.md

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
11
# Changelog
22

3-
=======
4-
### November 2018
3+
## November 2018 - v3.2.0
4+
* Added GetPlatform to mqmetric so it can be used as a label/tag in collectors
5+
* Added sample programs demonstrating specific operations such as put/get of message
6+
* Fixed conversion of some C strings into Go strings
7+
* Update MQI header files for MQ V9.1.1 and give more platform variations
8+
* Add support for MQSTAT and MQSUBRQ functions
9+
* Add support and sample for Message Property functions
10+
* Add InqMap as alternative (simpler) MQINQ operation. Inq() should be considered deprecated
11+
* Add support for MQSET function
12+
* Add discovery of translated versions of the mqmetric descriptions
13+
14+
## November 2018 - v3.1.0
515
* Added functions to mqmetric to issue DISPLAY QSTATUS for additional stats
616
* Added z/OS capability for minimal status
717

8-
### October 2018
18+
## October 2018
919
* Allow compilation against MQ v8
1020

1121
## October 2018 - v3.0.0
@@ -20,7 +30,6 @@
2030
* Updated build comments
2131

2232
## July 2018 - v2.0.0
23-
2433
* Corrected package imports
2534
* Formatted go code with `go fmt`
2635
* Rearranged this file
@@ -30,58 +39,47 @@
3039
* Added unit tests for `ibmmq` and `mqmetric` packages
3140

3241
## March 2018 - v1.0.0
33-
3442
* Added V9.0.5 constant definitions
3543
* Changed #cgo directives for Windows now the compiler supports standard path names
3644
* Added mechanism to set MQ userid and password for Prometheus monitor
3745
* Released v1.0.0 of this repository for use with golang dependency management tools
3846

3947
## October 2017
40-
4148
* Added V9.0.4 constant definitions - now generated from original MQ source code
4249
* Added MQSC script to show how to redefine event queues for pub/sub
4350
* Prometheus collector has new parameter to override the first component of the metric name
4451
* Prometheus collector can now process channel-level statistics
4552

4653
## 18 May 2017
47-
4854
* Added the V9.0.3 constant definitions.
4955
* Reinstated 64-bit structure "length" fields in cmqc.go after fixing a bug in the base product C source code generator.
5056

5157
## 25 Mar 2017
52-
5358
* Added the metaPrefix option to the Prometheus monitor. This allows selection of non-default resources such as the MQ Bridge for Salesforce included in MQ 9.0.2.
5459

5560
## 15 Feb 2017
56-
5761
* API BREAKING CHANGE: The MQI verbs have been changed to return a single error indicator instead of two separate values. See mqitest.go for examples of how MQRC/MQCC codes can now be tested and extracted. This change makes the MQI implementation a bit more natural for Go environments.
5862

5963
## 10 Jan 2017
60-
6164
* Added support for the MQCD and MQSCO structures to allow programmable client connectivity, without requiring a CCDT. See the clientconn sample program for an example of using the MQCD.
6265
* Moved sample programs into subdirectory
6366

6467
## 14 Dec 2016
65-
6668
* Minor updates to this README for formatting
6769
* Removed xxx_CURRENT_LENGTH definitions from cmqc
6870

6971
## 07 Nov 2016
70-
7172
* Added a collector that prints metrics in a simple JSON format. See the [README](cmd/mq_json/README.md) for more details.
7273
* Fixed bug where freespace metrics were showing as non-integer bytes, not percentages
7374

7475
## 17 Oct 2016
75-
7676
* Added some Windows support. An example batch file is included in the mq_influx directory; changes would be needed to the MQSC script to call it. The other monitor programs can be supported with similar modifications.
7777
* Added a "getting started" section to this README.
7878

7979
## 23 Aug 2016
80-
8180
* Added a collector for Amazon AWS CloudWatch monitoring. See the [README](cmd/mq_aws/README.md) for more details.
8281

8382
## 12 Aug 2016
84-
8583
* Added a OpenTSDB monitor. See the [README](cmd/mq_opentsdb/README.md) for more details.
8684
* Added a Collectd monitor. See the [README](cmd/mq_coll/README.md) for more details.
8785
* Added MQI MQCNO/MQCSP structures to support client connections and password authentication with MQCONNX.
@@ -90,17 +88,14 @@
9088
* Changed database password mechanism so that "exec" maintains the PID for MQ services
9189

9290
## 04 Aug 2016
93-
9491
* Added a monitor command for exporting MQ data to InfluxDB. See the [README](cmd/mq_influx/README.md) for more details
9592
* Restructured the monitoring code to put common material in the mqmetric package, called from the Influx and Prometheus monitors.
9693

9794
## 25 Jul 2016
98-
9995
* Added functions to handle basic PCF creation and parsing
10096
* Added a monitor command for exporting MQ V9 queue manager data to Prometheus. See the [README](cmd/mq_prometheus/README.md) for more details
10197

10298
## 18 Jul 2016
103-
10499
* Changed structures so that most applications will not need to use cgo to imbed the MQ C headers
105100
* Go programs will now use int32 where C programs use MQLONG
106101
* Use of message handles, distribution lists require cgo for now
@@ -112,5 +107,4 @@
112107
* Added MQItoString function for some maps of values to constant names
113108

114109
## 08 Jul 2016
115-
116110
* Initial release

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ as MQCHAR48 are represented by the native Go string type. Conversion between the
2828
types is handled within the ibmmq package itself, removing the need for Go programmers
2929
to know about it.
3030

31-
A short program in the samples/mqitest directory gives an example of using this interface,
32-
to put and get messages and to subscribe to a topic.
31+
Sample programs are provided to demonstrate various features of using the MQI. See the
32+
README in the `samples` directory for more information about those programs.
3333

3434
The mqmetric directory contains functions to help monitoring programs access MQ status and
3535
statistics. This package is not needed for general application programs.
@@ -118,17 +118,15 @@ for the C compiler to recognise those directories. For example,
118118

119119
`go build -o bin/mqitest ./src/github.com/ibm-messaging/mq-golang/samples/mqitest/*.go`
120120

121-
At this point, you should have a compiled copy of the program in `$GOPATH/bin`.
121+
At this point, you should have a compiled copy of the program in `$GOPATH/bin`. See the
122+
`samples` directory for more sample programs.
122123

123124
## Limitations
124125

125-
Not all of the MQI verbs are available through the `ibmmq` package. This
126-
implementation concentrates on the core API calls needed to put and get messages.
126+
Almost all of the MQI verbs are now available through the `ibmmq` package.
127127
Currently unavailable verbs include:
128128

129-
* MQSET
130-
* All of the message property manipulators
131-
* MQCB
129+
* MQCB/MQCTL
132130

133131
There are also no structure handlers for message headers such as MQRFH2 or MQDLH.
134132

0 commit comments

Comments
 (0)