f4d97c3fbf
MXS-1277: Improve maxadmin error messages
...
Maxadmin now reports if the default socket was found and suggests actions
to take.
2017-05-30 15:42:09 +03:00
d516fa21fa
Bring galera template to the replication template
...
The only difference in the galera template is now in the monitor
definition and in the server address values. This fixes the unexpected
responses that some of the galera mysqltest cases suffer from.
2017-05-30 15:42:09 +03:00
313be69281
Disable MXS-781 test for 2.0
...
The bug is fixed in 2.1.
2017-05-30 15:42:09 +03:00
a3cfabf37b
MXS-1271: Remove redundant JSON parsing
...
As the cdc.py script outputs newline delimited JSON, there's no need to
parse the JSON in the cdc_kafka_producer.py script.
2017-05-30 15:42:09 +03:00
ddc7b0fb09
Fix more galera test configurations
...
Some tests used galera options that aren't in 2.0 which caused the tests
to fail.
Also added an upper limit to some tests to reduce excessive execution
times.
2017-05-30 15:42:09 +03:00
20f31428ac
Add missing CLI interface to configs
...
The regexfilter test was missing the CLI definition which slows down the
test.
2017-05-30 15:42:09 +03:00
a4802cdbd1
Disable parts of tests that don't work in 2.0
...
The configuration checking functionality doesn't detect bad router options
in 2.0.
2017-05-30 15:42:08 +03:00
ae444c214b
Fix fwf_prepared_stmt expectations
...
The test should expect all prepared statements to fail. This needs to be
changed for 2.1 and newer versions.
2017-05-30 15:42:08 +03:00
45aa82b4eb
Disable testing of features found in 2.1 and up
...
The tests can't pass as the functionality hasn't been implemented.
2017-05-30 15:42:07 +03:00
a57b9cf0b0
Disable tee tests for 2.0
...
The tee filter does not work correctly in 2.0.
2017-05-30 15:42:07 +03:00
819a0296ab
Fix 2.0 tests
...
Altered some of the tests to look for less specific log entries. Removed
new options from galera configurations. Reduced log output of some tests.
2017-05-30 15:42:06 +03:00
42c85eb110
Download MariaDB Connector-J for testing
...
Instead of bundling the connector with the tests, it should be downloaded
at configuration time.
2017-05-30 15:42:05 +03:00
ab8592a006
fix rpm build deps
2017-05-30 14:59:31 +03:00
b1c75f77a3
Build scripts ( #133 )
...
* add cmake installation to build scripts
* fix install script
* add wget installation
* fix cmake instalation
* fix package names for Jessie and suse
* try to install libgcrypt11 and libgcrypt20
* add check for apt-get result for libgnutls
2017-05-30 00:09:05 +03:00
3faad022ba
working version of build scripts
2017-05-30 00:08:14 +03:00
577650eb03
Merge branch 'develop' of github.com:mariadb-corporation/MaxScale into develop
2017-05-30 00:06:44 +03:00
3722144b53
working version of build scripts
2017-05-30 00:06:23 +03:00
28d8c29f47
Fix Travis builds
...
Fixed GNUTLS version.
2017-05-29 21:50:29 +03:00
f9c1c799cf
Update Building-MaxScale-from-Source-Code.md
...
Fix CentOS dependencies.
2017-05-29 21:50:29 +03:00
429eeba1a7
Update Building-MaxScale-from-Source-Code.md
...
Moved distribution specific commands to a new quickstart section, added a
copy-and-paste section for the generic commands. This should make it easier
to do a generic installation of MaxScale on a supported system.
2017-05-29 21:50:29 +03:00
7baa52b763
Make modulecmd_argtype_to_str return values constant
...
The function needlessly allocated memory for the type strings.
2017-05-29 19:27:45 +03:00
948a059004
MXS-1220: Add module commands to /maxscale/modules
...
The module commands are now exposed as an additional sub-resource for the
module type.
2017-05-29 19:27:45 +03:00
4c2560b5a6
MXS-1220: Pretty-print by default
...
The REST API now pretty-prints by default. This is done to make it easier
to use the API with browsers that don't have an integrated REST API
client.
2017-05-29 19:27:45 +03:00
88bf361e61
Add MXS_MODULE_PARAM_QUOTEDSTRING configuration value type
...
A quoted string is a string enclosed in '"':s. This makes it clear
where the string begins and ends, avoiding ambiguity with whitespace.
After the config file has been loaded, the '"':s at the beginning
and at the end of the string are erased. Querying the config value
with config_get_string() will return this de-quoted value.
For example, if the config file reads 'my_string="test""', the actual
string will be 'test"'.
2017-05-29 16:15:49 +03:00
f66623c382
MXS-1266: files are saved in GTID repo at creation time
...
Files are saved in GTID repo at creation time: this allows to show
files without transactions via SHOW [FULL] BINARY LOGS
The FULL keywords add domain_id and server id to the output as file
prefix: 0/10122/mysql-bin.000080
2017-05-29 10:58:02 +02:00
a6e4ff1c10
Merge branch 'develop' into MXS-1266
2017-05-29 10:36:54 +02:00
ea82e6632d
MXS-1266: SELECT @@server_id, @@read_only and SHOW ALL SLAVES STATUS are now handled
...
SELECT @@server_id, @@read_only and SHOW ALL SLAVES STATUS are now
handled: this means binlog server can be monitored by MaxScale mysql_mon
2017-05-29 10:35:58 +02:00
90961f585c
Merge branch '2.1' into develop
2017-05-26 15:41:19 +03:00
b2e2136079
Merge branch '2.0' into 2.1
2017-05-26 15:41:10 +03:00
d7d4ec29bb
Add tests from develop
...
Added tests from develop. The test results need to be modified for 2.0.
2017-05-26 15:40:40 +03:00
92b6caa334
Merge branch '2.1' into develop
2017-05-26 15:25:04 +03:00
b5d1504e6a
Merge branch '2.0' into 2.1
2017-05-26 15:22:43 +03:00
957b50c811
Remove trailing whitespace
...
Removed trailing whitespace in tests and build scripts.
2017-05-26 14:29:28 +03:00
5c512a3945
Fix atomic code for pre-4.7 GCC versions
...
The CAS operation used the wrong function and the atomic_store operations
compiled into inadequate assembly on x86 and ARMv7.
2017-05-26 09:57:01 +03:00
b6b108c8d5
MXS-1220: Fix possible crash on NULL option value
...
When a request option without a value is given, microhttpd exposes this as
key with a NULL value.
2017-05-26 08:52:38 +03:00
607bdf3a1b
Remove RocksDB storage tests for cache filter
...
The RocksDB based storage library is no longer built so the test do not
need to be built either.
2017-05-26 08:52:38 +03:00
2724af60d8
Merge branch 'develop' into MXS-1266
2017-05-25 08:43:10 +02:00
dfb6fc02c7
Update dbfwfilter documentation
...
Added examples to each rule.
2017-05-25 09:39:46 +03:00
61d67ee539
MXS-1220: Update build script dependencies
...
Removed libmicrohttpd dependency, added gnutls and gcrypt dependencies.
2017-05-24 16:21:35 +03:00
c98f8369f2
MXS-1220: Remove redundant parameter documentation
...
As all requests support the only parameter `pretty`, there's no point in
documenting it separately for each resource.
2017-05-24 16:21:34 +03:00
43386333b3
MXS-1220: Add monitor POST documentation
...
The POST documentation for creation monitors was missing.
2017-05-24 16:21:34 +03:00
0e5bbbd625
Update Configuration-Guide.md
...
Renamed `passwd` to `password`. Added an anchor for the old `passwd` name.
2017-05-24 16:21:26 +03:00
830e47bc8b
MXS-1220: Update service resource documentation
...
Updated service resource documentation. Fixed a few minor typos also in
the server resource documentation.
2017-05-24 15:05:11 +03:00
9ccb54c107
MXS-1220: Update links in REST API documentation
...
Added missing v1 prefixes to links.
2017-05-24 15:05:11 +03:00
c54710cfaa
MXS-1220: Update users resource documentation
...
Updated the users resource documentation.
2017-05-24 15:05:11 +03:00
6b8b19b439
MXS-1220: Add PUT support for /maxscale/ resource
...
The /maxscale/ resource now supports PUT requests which modify core
parameters. As not all parameters can be changed at runtime, only
modifications to parameters that support runtime configuration are
allowed.
2017-05-24 15:05:11 +03:00
3fd82ebae6
MXS-1220: Add alter maxscale
MaxAdmin command
...
A set of the core MaxScale parameters can now be altered at runtime. This
set consists of the authentication timeouts and the admin interface
authentication. Other parameters either can't be modified due to internal
limitations or aren't sensible to modify at runtime.
2017-05-24 15:05:11 +03:00
69be4d263f
MXS-1220: Add admin interface parameters to /maxscale/ resource
...
The admin interface parameters are now a part of the /maxscale/ resource.
2017-05-24 15:05:11 +03:00
e6f79953b9
Add missing dependencies to Travis builds
...
The gnutls and gcrypt packages were missing.
2017-05-24 15:05:11 +03:00
1067fd352c
MXS-1220: Add creation and deletion of admin users
...
Admin users can now be created via the REST API. This allows remote
management of the administrative interface itself.
2017-05-24 15:05:11 +03:00