Commit Graph

104 Commits

Author SHA1 Message Date
Stephen Marshall
6c72c894f7 add multi-instance Queue Managers (#307)
* Initial code to implement multi-instance queue manager

* alter default mqsc to prevent race between listeners on standby startup

* Updates to multi-instance queue manager code

* initial multi instance test

* Multi-instance code improvements

* Multi instance fixes and first test

* configure queue manager

* Add mirror log filtering for mult-instance QMs

* Add log message for multi-instance enabled

* Improvements to container runtime logging

* refactor test

* Test active standby switch

* Improve createQueueManager function

* Test multi instance race

* wait

* multi instance mount tests

* skip race test

* mount tests

* no mount test

* single instance split mount tests

* readiness check

* More updates for handling standby queue manager

* Improve standby checks

* Minor fixes to miqm

* Fix logging of JSON errors

* Update copyrights

* Fix log includes
2019-05-01 14:42:25 +01:00
Rob Parker
63af43f19d Expand redaction system to handle uncommon MQSC cases (#304)
* Expand redaction system to handle uncommon MQSC cases

* add invalidMQSC fixes

* address PR comments
2019-04-17 10:34:29 +01:00
Stephen Marshall
723fe2b998 Handle multiple-spaces when redacting MQSC output 2019-04-09 15:06:25 +01:00
Stephen Marshall
44d0e0a432 Redact sensitive MQSC logs 2019-04-08 08:49:06 +01:00
LPowlett
33defc0fc9 Handle large mqsc files (#295)
* buffer mqsc input to runmqsc

* imports

* error handling on runmqsc
2019-04-04 16:46:07 +01:00
Luke Powlett
f6231cd51c cert expiry 2019-03-21 16:15:31 +00:00
Robert Parker
f8e057a1d6 Fix test breaks from unused code 2019-03-08 11:37:45 +00:00
Robert Parker
efd550822d merge latest from master 2019-03-08 11:13:14 +00:00
Robert Parker
d4df05fd2a Add test fixes and fix mq-explorer build 2019-03-08 11:07:44 +00:00
LPowlett
194b04ac13 Revert MQSC error check (#283)
* Revert MQSC error check
2019-03-08 09:13:26 +00:00
Arthur Barr
13f620f21a Increase test timeouts 2019-03-05 15:08:07 +00:00
Arthur Barr
c441de7d26 Fixes for tests on RHEL and test log output 2019-02-27 15:32:34 +00:00
Arthur Barr
4f57d1bae2 Tidy up commented code 2019-02-27 15:32:34 +00:00
Arthur Barr
cc0f072908 Change for running as a non-root user (#276)
* Enable running container as mqm

* Fix merge problem

* Don't force root usage

* RHEL image runs as mqm instead of root

* Build on host with SELinux enabled

* Enable building on node in an OpenShift cluster

* Enable running container as mqm

* Fix merge problem

* Don't force root usage

* Merge lastest changes from master

* RHEL image runs as mqm instead of root

* Fix merge issues

* Test changes for non-root

* Make timeout properly, and more non-root test fixes

* Run tests with fewer/no capabilities

* Correct usage docs for non-root

* Add security docs

* Add temporary debug output

* Remove debug code

* Fixes for termination-log

* Allow init container to run as root

* Fixes for CentOS build

* Fixes for RHEL build

* Logging improvements

* Fix Dockerfile RHEL/CentOS build

* Fix bash error

* Make all builds specify UID

* Use redist client for Go SDK

* Inspect image before running tests

* New test for init container

* Log container runtime in runmqdevserver

* Add extra capabilities if using a RHEL image
2019-02-27 15:32:34 +00:00
LPowlett
43676049b7 RHEL Security Vulnerability Test (#270)
* check for security vulnerabilities on rhel

* import

* check host is red hat

* filepath join

* imports
2019-02-04 10:25:55 +00:00
LPowlett
df6ce917c2 endmqm -r try to reconnect (#268) 2019-01-28 11:03:54 +00:00
LPowlett
be11b3cda1 Dependancy upgrades (#264)
* dependancy upgrades

* revert dep to 0.4.1

* revert file changes
2019-01-10 14:55:22 +00:00
LPowlett
525ff82fe7 Error checking invalid mqsc commands (#261)
* testRepeatingMqsc

* testInvalidMqsc

* 9.1.1 Makefile

* testRepeatingMqsc

* testInvalidMqsc

* update copyright 2019

* update invalid mqsc error message

* update changelog to reflect MQSC changes
2019-01-10 13:41:43 +00:00
Stephen Marshall
822a073c4e Fix RTC ppcle_linux build (#211) 2018-09-21 09:30:53 +01:00
Robert Parker
1906896038 Fix TestDevSecure on RHEL 2018-08-24 09:32:41 +01:00
Robert Parker
e03ceff7c9 Fix dev image uid and build off rhel7 2018-08-23 10:16:14 +01:00
Robert Parker
b921bb82d3 Create RHEL test make targets 2018-08-21 15:40:32 +01:00
Robert Parker
0281e52b47 Test fixes for RHEL image 2018-08-21 11:49:56 +01:00
Arthur Barr
9b98555886 Enable only app user to do REST messaging 2018-08-07 15:15:45 +01:00
Arthur Barr
08299dd0d1 Enable admin and app users to do REST messaging 2018-08-07 15:15:45 +01:00
Rob Parker
7822c2c3bc Add basic versioning into main golang file (#151)
* Add basic versioning into main golang file

* Add versioning set test

* address Arthur's comments
2018-07-05 11:44:16 +01:00
Rob Parker
be0ce898d7 Allow building of latest versions 2018-07-03 10:36:30 +01:00
Stephen Marshall
854a0119de Disable metric system_ram_size_bytes 2018-06-26 13:40:56 +01:00
Stephen Marshall
5a63591b18 Remove watermark metrics 2018-06-25 12:13:11 +01:00
Stephen Marshall
74659dbf59 Change delta type metrics to counters 2018-06-20 14:49:09 +01:00
Stephen Marshall
2e0aad0318 Update metric names and allow skipping of specific metrics 2018-06-18 13:28:49 +01:00
Riccardo Biraghi
d4d5e09a02 Add waitForReady to TestCorrectLicense 2018-06-14 12:41:06 +01:00
Riccardo Biraghi
16e244427b Fix timing in execContainer 2018-06-14 11:55:15 +01:00
Rob Parker
f0faac6af7 Merge branch 'master' into master 2018-06-14 10:12:26 +01:00
Riccardo Biraghi
b887c1a277 Fix ExecContainer executing commands twice 2018-06-13 17:45:27 +01:00
Rob Parker
4660c0622c Merge branch 'master' into master 2018-06-13 16:52:57 +01:00
Rob Parker
b570a9f019 Add License test to verify correct license 2018-06-13 16:52:24 +01:00
Arthur Barr
63ce0b3377 Add timeout while waiting for ready in tests 2018-06-13 16:42:00 +01:00
Arthur Barr
dae2a65e8b change tests to use Maven instead of Gradle 2018-06-13 14:13:43 +01:00
Stephen Marshall
53fdfe55de Improvements to metrics code 2018-06-12 16:56:44 +01:00
Stephen Marshall
16abf50f9a Fix intermittent timing issue with metric values test 2018-06-08 16:22:32 +01:00
Stephen Marshall
c409179f4a Add docker test to check metric names 2018-06-08 10:06:34 +01:00
Rob Parker
2af6953b2b Add more metric tests for value testing (#104) 2018-06-04 14:56:18 +01:00
Rob Parker
0f4e79c0a6 Use correct url for non-x8664 platforms 2018-06-04 13:44:53 +01:00
Rob Parker
143649deb6 More metric tests and fix reconnect
* more metric test and fix reconnect

* remove build-devjmstest as dependency
2018-05-31 11:56:39 +01:00
Arthur Barr
6996f2b9b3 Make metrics tests use a host port (#94)
* Make metrics tests use a host port

* fix port forwarding in devconfig tests
2018-05-30 15:38:19 +01:00
Rob Parker
00a0b1574b Fix lint failures in mqmetric tests 2018-05-29 09:14:04 +01:00
Rob Parker
531f2710c7 Add Docker FV tests for metric gathering (#90)
* initial metric tests

* Add FV tests for metrics

* correct comment in test
2018-05-25 13:09:48 +01:00
Rob Parker
9b595a0e01 Check err when calling ImageInspectWithRaw 2018-05-16 13:41:18 +01:00
Riccardo Biraghi
6895097d36 Remove unused import 2018-04-24 16:31:21 +01:00