Skip to content

Commit b349c31

Browse files
committed
Update for MQ 9.3.4
- ibmmq - Support for new CSP JWT Token field
1 parent c685772 commit b349c31

25 files changed

+441
-153
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
# Changelog
22
Newest updates are at the top of this file.
33

4+
## Oct 19 2023 - v5.5.1
5+
- Update for MQ 9.3.4
6+
- ibmmq - Support for new CSP JWT Token field
7+
- mqmetric - metrics.txt now includes the published resource metrics, automatically generated
8+
from product documentation
9+
- Refresh links to IBM documentation
10+
411
## Jun 21 2023 - v5.5.0
512
- Update for MQ 9.3.3
613
- mqmetric - Configurable timeout for status queries (ibm-messaging/mq-metric-samples#227)
14+
- Add linux_arm64 definitions
715

816
## Feb 17 2023 - v5.4.0
917
- Update for MQ 9.3.2

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RUN mkdir -p $GOPATH/src $GOPATH/bin $GOPATH/pkg \
6060
# Location of the downloadable MQ client package \
6161
ENV RDURL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist" \
6262
RDTAR="IBM-MQC-Redist-Linux${MQARCH}.tar.gz" \
63-
VRMF=9.3.3.0
63+
VRMF=9.3.4.0
6464

6565
# Install the MQ client from the Redistributable package. This also contains the
6666
# header files we need to compile against. Setup the subset of the package
@@ -76,8 +76,8 @@ RUN cd /opt/mqm \
7676
&& bin/genmqpkg.sh -b /opt/mqm
7777

7878
# Insert the script that will do the build
79-
COPY buildInDocker.sh $GOPATH
80-
RUN chmod 777 $GOPATH/buildInDocker.sh
79+
COPY --chmod=777 buildInDocker.sh $GOPATH
80+
# RUN chmod 777 $GOPATH/buildInDocker.sh
8181

8282
# Copy the rest of the source tree from this directory into the container
8383
# And make sure it's readable by the id that will run the compiles (not just root)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ let me know, via an issue, if you have another project that might be suitable fo
178178
|[ibm-messaging/mq-metric-samples](https://github.com/ibm-messaging/mq-metric-samples)| Extracts metrics for use in Prometheus, Influx<br>JSON consumers etc.|
179179
|[ibm-messaging/mq-golang-jms20](https://github.com/ibm-messaging/mq-golang-jms20) | JMS-style messaging interface for Go applications|
180180
|[ibm-messaging/mq-container](https://github.com/ibm-messaging/mq-container) | Building MQ into containers. Uses features from this package<br>for configuration and monitoring |
181-
|[felix-lessoer/qbeat](https://github.com/felix-lessoer/qbeat) | Extract monitoring and statstics from MQ for use in Elasticsearch|
181+
|[felix-lessoer/qbeat](https://github.com/felix-lessoer/qbeat) | Extract monitoring and statistics from MQ for use in Elasticsearch|
182182
|[ibm-messaging/mq-mqi-nodejs](https://github.com/ibm-messaging/mq-mqi-nodejs) | A similar MQI interface for Node.js applications|
183183

184184
## Limitations

ibmmq/cmqc_aix.go

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ package ibmmq
3030
****************************************************************
3131
*
3232
* <BEGIN_BUILDINFO>
33-
* Generated on: 5/31/23 12:58 PM
34-
* Build Level: p933-L230531
33+
* Generated on: 9/27/23 11:53 AM
34+
* Build Level: p934-L230927
3535
* Build Type: Production
3636
* <END_BUILDINFO>
3737
*/
@@ -1032,7 +1032,7 @@ const (
10321032
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
10331033
MQCMDI_SEC_TIMER_ZERO int32 = 14
10341034
MQCMDI_SEC_UPPERCASE int32 = 21
1035-
MQCMDL_CURRENT_LEVEL int32 = 933
1035+
MQCMDL_CURRENT_LEVEL int32 = 934
10361036
MQCMDL_LEVEL_1 int32 = 100
10371037
MQCMDL_LEVEL_101 int32 = 101
10381038
MQCMDL_LEVEL_110 int32 = 110
@@ -1083,6 +1083,7 @@ const (
10831083
MQCMDL_LEVEL_931 int32 = 931
10841084
MQCMDL_LEVEL_932 int32 = 932
10851085
MQCMDL_LEVEL_933 int32 = 933
1086+
MQCMDL_LEVEL_934 int32 = 934
10861087
MQCMD_ACCOUNTING_MQI int32 = 167
10871088
MQCMD_ACCOUNTING_Q int32 = 168
10881089
MQCMD_ACTIVITY_MSG int32 = 69
@@ -1370,14 +1371,17 @@ const (
13701371
MQCRC_PROGRAM_NOT_AVAILABLE int32 = 7
13711372
MQCRC_SECURITY_ERROR int32 = 6
13721373
MQCRC_TRANSID_NOT_AVAILABLE int32 = 9
1374+
MQCSP_AUTH_ID_TOKEN int32 = 2
13731375
MQCSP_AUTH_NONE int32 = 0
13741376
MQCSP_AUTH_USER_ID_AND_PWD int32 = 1
1375-
MQCSP_CURRENT_LENGTH int32 = 80
1376-
MQCSP_CURRENT_VERSION int32 = 2
1377+
MQCSP_CURRENT_LENGTH int32 = 104
1378+
MQCSP_CURRENT_VERSION int32 = 3
13771379
MQCSP_LENGTH_1 int32 = 56
13781380
MQCSP_LENGTH_2 int32 = 80
1381+
MQCSP_LENGTH_3 int32 = 104
13791382
MQCSP_VERSION_1 int32 = 1
13801383
MQCSP_VERSION_2 int32 = 2
1384+
MQCSP_VERSION_3 int32 = 3
13811385
MQCSRV_CONVERT_NO int32 = 0
13821386
MQCSRV_CONVERT_YES int32 = 1
13831387
MQCSRV_DLQ_NO int32 = 0
@@ -4135,6 +4139,7 @@ const (
41354139
MQRC_TERMINATION_FAILED int32 = 2287
41364140
MQRC_TMC_ERROR int32 = 2191
41374141
MQRC_TM_ERROR int32 = 2265
4142+
MQRC_TOKEN_TIMESTAMP_NOT_VALID int32 = 2064
41384143
MQRC_TOPIC_NOT_ALTERABLE int32 = 2510
41394144
MQRC_TOPIC_STRING_ERROR int32 = 2425
41404145
MQRC_TRIGGER_CONTROL_ERROR int32 = 2075
@@ -4991,6 +4996,7 @@ const (
49914996
MQ_CREATION_DATE_LENGTH int32 = 12
49924997
MQ_CREATION_TIME_LENGTH int32 = 8
49934998
MQ_CSP_PASSWORD_LENGTH int32 = 256
4999+
MQ_CSP_TOKEN_LENGTH int32 = 8192
49945000
MQ_CUSTOM_LENGTH int32 = 128
49955001
MQ_DATA_SET_NAME_LENGTH int32 = 44
49965002
MQ_DATE_LENGTH int32 = 12

ibmmq/cmqc_darwin.go

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ package ibmmq
3030
****************************************************************
3131
*
3232
* <BEGIN_BUILDINFO>
33-
* Generated on: 5/31/23 12:58 PM
34-
* Build Level: p933-L230531
33+
* Generated on: 9/27/23 11:53 AM
34+
* Build Level: p934-L230927
3535
* Build Type: Production
3636
* <END_BUILDINFO>
3737
*/
@@ -1032,7 +1032,7 @@ const (
10321032
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
10331033
MQCMDI_SEC_TIMER_ZERO int32 = 14
10341034
MQCMDI_SEC_UPPERCASE int32 = 21
1035-
MQCMDL_CURRENT_LEVEL int32 = 933
1035+
MQCMDL_CURRENT_LEVEL int32 = 934
10361036
MQCMDL_LEVEL_1 int32 = 100
10371037
MQCMDL_LEVEL_101 int32 = 101
10381038
MQCMDL_LEVEL_110 int32 = 110
@@ -1083,6 +1083,7 @@ const (
10831083
MQCMDL_LEVEL_931 int32 = 931
10841084
MQCMDL_LEVEL_932 int32 = 932
10851085
MQCMDL_LEVEL_933 int32 = 933
1086+
MQCMDL_LEVEL_934 int32 = 934
10861087
MQCMD_ACCOUNTING_MQI int32 = 167
10871088
MQCMD_ACCOUNTING_Q int32 = 168
10881089
MQCMD_ACTIVITY_MSG int32 = 69
@@ -1370,14 +1371,17 @@ const (
13701371
MQCRC_PROGRAM_NOT_AVAILABLE int32 = 7
13711372
MQCRC_SECURITY_ERROR int32 = 6
13721373
MQCRC_TRANSID_NOT_AVAILABLE int32 = 9
1374+
MQCSP_AUTH_ID_TOKEN int32 = 2
13731375
MQCSP_AUTH_NONE int32 = 0
13741376
MQCSP_AUTH_USER_ID_AND_PWD int32 = 1
1375-
MQCSP_CURRENT_LENGTH int32 = 80
1376-
MQCSP_CURRENT_VERSION int32 = 2
1377+
MQCSP_CURRENT_LENGTH int32 = 104
1378+
MQCSP_CURRENT_VERSION int32 = 3
13771379
MQCSP_LENGTH_1 int32 = 56
13781380
MQCSP_LENGTH_2 int32 = 80
1381+
MQCSP_LENGTH_3 int32 = 104
13791382
MQCSP_VERSION_1 int32 = 1
13801383
MQCSP_VERSION_2 int32 = 2
1384+
MQCSP_VERSION_3 int32 = 3
13811385
MQCSRV_CONVERT_NO int32 = 0
13821386
MQCSRV_CONVERT_YES int32 = 1
13831387
MQCSRV_DLQ_NO int32 = 0
@@ -4135,6 +4139,7 @@ const (
41354139
MQRC_TERMINATION_FAILED int32 = 2287
41364140
MQRC_TMC_ERROR int32 = 2191
41374141
MQRC_TM_ERROR int32 = 2265
4142+
MQRC_TOKEN_TIMESTAMP_NOT_VALID int32 = 2064
41384143
MQRC_TOPIC_NOT_ALTERABLE int32 = 2510
41394144
MQRC_TOPIC_STRING_ERROR int32 = 2425
41404145
MQRC_TRIGGER_CONTROL_ERROR int32 = 2075
@@ -4991,6 +4996,7 @@ const (
49914996
MQ_CREATION_DATE_LENGTH int32 = 12
49924997
MQ_CREATION_TIME_LENGTH int32 = 8
49934998
MQ_CSP_PASSWORD_LENGTH int32 = 256
4999+
MQ_CSP_TOKEN_LENGTH int32 = 8192
49945000
MQ_CUSTOM_LENGTH int32 = 128
49955001
MQ_DATA_SET_NAME_LENGTH int32 = 44
49965002
MQ_DATE_LENGTH int32 = 12

ibmmq/cmqc_linux_amd64.go

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ package ibmmq
3030
****************************************************************
3131
*
3232
* <BEGIN_BUILDINFO>
33-
* Generated on: 5/31/23 12:58 PM
34-
* Build Level: p933-L230531
33+
* Generated on: 9/27/23 11:53 AM
34+
* Build Level: p934-L230927
3535
* Build Type: Production
3636
* <END_BUILDINFO>
3737
*/
@@ -1032,7 +1032,7 @@ const (
10321032
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
10331033
MQCMDI_SEC_TIMER_ZERO int32 = 14
10341034
MQCMDI_SEC_UPPERCASE int32 = 21
1035-
MQCMDL_CURRENT_LEVEL int32 = 933
1035+
MQCMDL_CURRENT_LEVEL int32 = 934
10361036
MQCMDL_LEVEL_1 int32 = 100
10371037
MQCMDL_LEVEL_101 int32 = 101
10381038
MQCMDL_LEVEL_110 int32 = 110
@@ -1083,6 +1083,7 @@ const (
10831083
MQCMDL_LEVEL_931 int32 = 931
10841084
MQCMDL_LEVEL_932 int32 = 932
10851085
MQCMDL_LEVEL_933 int32 = 933
1086+
MQCMDL_LEVEL_934 int32 = 934
10861087
MQCMD_ACCOUNTING_MQI int32 = 167
10871088
MQCMD_ACCOUNTING_Q int32 = 168
10881089
MQCMD_ACTIVITY_MSG int32 = 69
@@ -1370,14 +1371,17 @@ const (
13701371
MQCRC_PROGRAM_NOT_AVAILABLE int32 = 7
13711372
MQCRC_SECURITY_ERROR int32 = 6
13721373
MQCRC_TRANSID_NOT_AVAILABLE int32 = 9
1374+
MQCSP_AUTH_ID_TOKEN int32 = 2
13731375
MQCSP_AUTH_NONE int32 = 0
13741376
MQCSP_AUTH_USER_ID_AND_PWD int32 = 1
1375-
MQCSP_CURRENT_LENGTH int32 = 80
1376-
MQCSP_CURRENT_VERSION int32 = 2
1377+
MQCSP_CURRENT_LENGTH int32 = 104
1378+
MQCSP_CURRENT_VERSION int32 = 3
13771379
MQCSP_LENGTH_1 int32 = 56
13781380
MQCSP_LENGTH_2 int32 = 80
1381+
MQCSP_LENGTH_3 int32 = 104
13791382
MQCSP_VERSION_1 int32 = 1
13801383
MQCSP_VERSION_2 int32 = 2
1384+
MQCSP_VERSION_3 int32 = 3
13811385
MQCSRV_CONVERT_NO int32 = 0
13821386
MQCSRV_CONVERT_YES int32 = 1
13831387
MQCSRV_DLQ_NO int32 = 0
@@ -4135,6 +4139,7 @@ const (
41354139
MQRC_TERMINATION_FAILED int32 = 2287
41364140
MQRC_TMC_ERROR int32 = 2191
41374141
MQRC_TM_ERROR int32 = 2265
4142+
MQRC_TOKEN_TIMESTAMP_NOT_VALID int32 = 2064
41384143
MQRC_TOPIC_NOT_ALTERABLE int32 = 2510
41394144
MQRC_TOPIC_STRING_ERROR int32 = 2425
41404145
MQRC_TRIGGER_CONTROL_ERROR int32 = 2075
@@ -4991,6 +4996,7 @@ const (
49914996
MQ_CREATION_DATE_LENGTH int32 = 12
49924997
MQ_CREATION_TIME_LENGTH int32 = 8
49934998
MQ_CSP_PASSWORD_LENGTH int32 = 256
4999+
MQ_CSP_TOKEN_LENGTH int32 = 8192
49945000
MQ_CUSTOM_LENGTH int32 = 128
49955001
MQ_DATA_SET_NAME_LENGTH int32 = 44
49965002
MQ_DATE_LENGTH int32 = 12

ibmmq/cmqc_linux_arm64.go

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ package ibmmq
3030
****************************************************************
3131
*
3232
* <BEGIN_BUILDINFO>
33-
* Generated on: 5/31/23 12:58 PM
34-
* Build Level: p933-L230531
33+
* Generated on: 9/27/23 11:53 AM
34+
* Build Level: p934-L230927
3535
* Build Type: Production
3636
* <END_BUILDINFO>
3737
*/
@@ -1032,7 +1032,7 @@ const (
10321032
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
10331033
MQCMDI_SEC_TIMER_ZERO int32 = 14
10341034
MQCMDI_SEC_UPPERCASE int32 = 21
1035-
MQCMDL_CURRENT_LEVEL int32 = 933
1035+
MQCMDL_CURRENT_LEVEL int32 = 934
10361036
MQCMDL_LEVEL_1 int32 = 100
10371037
MQCMDL_LEVEL_101 int32 = 101
10381038
MQCMDL_LEVEL_110 int32 = 110
@@ -1083,6 +1083,7 @@ const (
10831083
MQCMDL_LEVEL_931 int32 = 931
10841084
MQCMDL_LEVEL_932 int32 = 932
10851085
MQCMDL_LEVEL_933 int32 = 933
1086+
MQCMDL_LEVEL_934 int32 = 934
10861087
MQCMD_ACCOUNTING_MQI int32 = 167
10871088
MQCMD_ACCOUNTING_Q int32 = 168
10881089
MQCMD_ACTIVITY_MSG int32 = 69
@@ -1370,14 +1371,17 @@ const (
13701371
MQCRC_PROGRAM_NOT_AVAILABLE int32 = 7
13711372
MQCRC_SECURITY_ERROR int32 = 6
13721373
MQCRC_TRANSID_NOT_AVAILABLE int32 = 9
1374+
MQCSP_AUTH_ID_TOKEN int32 = 2
13731375
MQCSP_AUTH_NONE int32 = 0
13741376
MQCSP_AUTH_USER_ID_AND_PWD int32 = 1
1375-
MQCSP_CURRENT_LENGTH int32 = 80
1376-
MQCSP_CURRENT_VERSION int32 = 2
1377+
MQCSP_CURRENT_LENGTH int32 = 104
1378+
MQCSP_CURRENT_VERSION int32 = 3
13771379
MQCSP_LENGTH_1 int32 = 56
13781380
MQCSP_LENGTH_2 int32 = 80
1381+
MQCSP_LENGTH_3 int32 = 104
13791382
MQCSP_VERSION_1 int32 = 1
13801383
MQCSP_VERSION_2 int32 = 2
1384+
MQCSP_VERSION_3 int32 = 3
13811385
MQCSRV_CONVERT_NO int32 = 0
13821386
MQCSRV_CONVERT_YES int32 = 1
13831387
MQCSRV_DLQ_NO int32 = 0
@@ -4135,6 +4139,7 @@ const (
41354139
MQRC_TERMINATION_FAILED int32 = 2287
41364140
MQRC_TMC_ERROR int32 = 2191
41374141
MQRC_TM_ERROR int32 = 2265
4142+
MQRC_TOKEN_TIMESTAMP_NOT_VALID int32 = 2064
41384143
MQRC_TOPIC_NOT_ALTERABLE int32 = 2510
41394144
MQRC_TOPIC_STRING_ERROR int32 = 2425
41404145
MQRC_TRIGGER_CONTROL_ERROR int32 = 2075
@@ -4991,6 +4996,7 @@ const (
49914996
MQ_CREATION_DATE_LENGTH int32 = 12
49924997
MQ_CREATION_TIME_LENGTH int32 = 8
49934998
MQ_CSP_PASSWORD_LENGTH int32 = 256
4999+
MQ_CSP_TOKEN_LENGTH int32 = 8192
49945000
MQ_CUSTOM_LENGTH int32 = 128
49955001
MQ_DATA_SET_NAME_LENGTH int32 = 44
49965002
MQ_DATE_LENGTH int32 = 12

ibmmq/cmqc_linux_ppc64le.go

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ package ibmmq
3030
****************************************************************
3131
*
3232
* <BEGIN_BUILDINFO>
33-
* Generated on: 5/31/23 12:58 PM
34-
* Build Level: p933-L230531
33+
* Generated on: 9/27/23 11:53 AM
34+
* Build Level: p934-L230927
3535
* Build Type: Production
3636
* <END_BUILDINFO>
3737
*/
@@ -1032,7 +1032,7 @@ const (
10321032
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
10331033
MQCMDI_SEC_TIMER_ZERO int32 = 14
10341034
MQCMDI_SEC_UPPERCASE int32 = 21
1035-
MQCMDL_CURRENT_LEVEL int32 = 933
1035+
MQCMDL_CURRENT_LEVEL int32 = 934
10361036
MQCMDL_LEVEL_1 int32 = 100
10371037
MQCMDL_LEVEL_101 int32 = 101
10381038
MQCMDL_LEVEL_110 int32 = 110
@@ -1083,6 +1083,7 @@ const (
10831083
MQCMDL_LEVEL_931 int32 = 931
10841084
MQCMDL_LEVEL_932 int32 = 932
10851085
MQCMDL_LEVEL_933 int32 = 933
1086+
MQCMDL_LEVEL_934 int32 = 934
10861087
MQCMD_ACCOUNTING_MQI int32 = 167
10871088
MQCMD_ACCOUNTING_Q int32 = 168
10881089
MQCMD_ACTIVITY_MSG int32 = 69
@@ -1370,14 +1371,17 @@ const (
13701371
MQCRC_PROGRAM_NOT_AVAILABLE int32 = 7
13711372
MQCRC_SECURITY_ERROR int32 = 6
13721373
MQCRC_TRANSID_NOT_AVAILABLE int32 = 9
1374+
MQCSP_AUTH_ID_TOKEN int32 = 2
13731375
MQCSP_AUTH_NONE int32 = 0
13741376
MQCSP_AUTH_USER_ID_AND_PWD int32 = 1
1375-
MQCSP_CURRENT_LENGTH int32 = 80
1376-
MQCSP_CURRENT_VERSION int32 = 2
1377+
MQCSP_CURRENT_LENGTH int32 = 104
1378+
MQCSP_CURRENT_VERSION int32 = 3
13771379
MQCSP_LENGTH_1 int32 = 56
13781380
MQCSP_LENGTH_2 int32 = 80
1381+
MQCSP_LENGTH_3 int32 = 104
13791382
MQCSP_VERSION_1 int32 = 1
13801383
MQCSP_VERSION_2 int32 = 2
1384+
MQCSP_VERSION_3 int32 = 3
13811385
MQCSRV_CONVERT_NO int32 = 0
13821386
MQCSRV_CONVERT_YES int32 = 1
13831387
MQCSRV_DLQ_NO int32 = 0
@@ -4135,6 +4139,7 @@ const (
41354139
MQRC_TERMINATION_FAILED int32 = 2287
41364140
MQRC_TMC_ERROR int32 = 2191
41374141
MQRC_TM_ERROR int32 = 2265
4142+
MQRC_TOKEN_TIMESTAMP_NOT_VALID int32 = 2064
41384143
MQRC_TOPIC_NOT_ALTERABLE int32 = 2510
41394144
MQRC_TOPIC_STRING_ERROR int32 = 2425
41404145
MQRC_TRIGGER_CONTROL_ERROR int32 = 2075
@@ -4991,6 +4996,7 @@ const (
49914996
MQ_CREATION_DATE_LENGTH int32 = 12
49924997
MQ_CREATION_TIME_LENGTH int32 = 8
49934998
MQ_CSP_PASSWORD_LENGTH int32 = 256
4999+
MQ_CSP_TOKEN_LENGTH int32 = 8192
49945000
MQ_CUSTOM_LENGTH int32 = 128
49955001
MQ_DATA_SET_NAME_LENGTH int32 = 44
49965002
MQ_DATE_LENGTH int32 = 12

0 commit comments

Comments
 (0)