Commit Graph

320 Commits

Author SHA1 Message Date
d16e4fe134 Added an option for optimization of wildcard grants to individual grants. The default behavior now checks first for specific grants to a database the wildcard grants. 2015-04-15 06:51:52 +03:00
89ca0f420a Added a rule parsing tool for the dbfwfilter. The tool can be build with the -DBUILD_TOOLS=Y flag for CMake. 2015-04-03 10:37:21 +03:00
5fb9353b47 Added session idle time and user name the client is connecting with to the dprintSession and dprintAllSessions functions. Also changed last_read from time_t to unsigned long to match the hkheartbeat. 2015-03-13 08:49:34 +02:00
90875c1164 Cleaned up unused variables. 2015-03-11 18:12:18 +02:00
63d83cd85d Monitor API 2.0.0 implemented. 2015-03-11 15:18:55 +02:00
9209c812ba Updates to refactoring of the monitors. 2015-03-11 10:40:53 +02:00
8d8b91d1a5 Merge branch 'develop' into monitor_refactoring 2015-03-11 07:13:01 +02:00
2c31666efa Added a configurable frequecy for the feedback task. 2015-03-11 06:51:55 +02:00
e937947f01 Added test_utils.h header which contains a testing environment initialization function. 2015-03-10 15:16:52 +02:00
479a2c3a74 stdint.h added to config.h
stdint.h added to config.h
2015-03-10 12:03:01 +01:00
c0d2a12990 First step to refactoring monitors. 2015-03-10 12:24:23 +02:00
7af2843bcb Notification Service integration added
Notification Service integration added
2015-03-09 18:06:16 +01:00
02e742f29e Added unit test for feedback service. 2015-03-09 14:17:40 +02:00
e1a6b1de08 Added _NOTIFICATION_REPORT_ROW_LEN
Added _NOTIFICATION_REPORT_ROW_LEN for gwbuf_alloc based on know row
numbers
2015-03-09 09:59:43 +01:00
6a64457255 Fix compiler warning
Fix compiler warning
2015-03-09 09:21:59 +01:00
5471d35524 Merge branch 'develop' into MAX-324
Conflicts:
	server/include/modutil.h
2015-03-09 10:18:59 +02:00
8490f52dd0 Merge branch 'develop' into MAX-348 2015-03-09 09:07:30 +01:00
22849f7c90 Added support for multiple result sets. 2015-03-06 22:40:10 +02:00
2aaa367c37 Merge branch 'develop' into tee_fixes 2015-03-06 18:27:41 +02:00
5bbd9a66fc Added show feedbackreport
Added show feedbackreport
2015-03-06 11:15:06 +01:00
698af9d3b7 Send modules list into to Notification server
Send modules list into to Notification server

TODO: remove fprintf  in module_feedback_send and use log manager
instead
2015-03-05 13:20:22 +01:00
d98dd6e15f Fixing errors caused by the merge with develop. 2015-03-05 11:14:12 +02:00
880adca73e Merge branch 'develop' into MAX-324 2015-03-05 10:45:48 +02:00
0dd63ceaf1 Added release version string function to config.c 2015-03-04 18:48:38 +02:00
bc5dfe82c2 merge from develop
merge from develop
2015-03-04 17:02:04 +01:00
1b0fd4576a Merge branch 'maxinfo' into develop
Conflicts:
	server/core/service.c
	server/core/session.c
	server/include/session.h
2015-03-04 11:33:00 +02:00
3b76ed43c4 Added tee filter multi-statement support. 2015-03-04 04:20:46 +02:00
692dd79235 Added binary protocol COM_STMT_PREPARE to modutil_get_SQL. 2015-03-03 14:42:55 +02:00
efda82cbf3 Header file update
Header file update
2015-03-02 17:50:29 +01:00
64c0b7b041 Notification service support
Notification service support
2015-03-02 17:15:31 +01:00
193fe22ef0 Addition of module_feedback_send
Addition of module_feedback_send.
Every 30 second data is sent to 127.0.0.1
Missing routines for configuration parameters and blocking the send
after successful completion
2015-02-26 17:47:01 +01:00
9e7afeb302 Merge branch 'develop' into MAX-324
Conflicts:
	macros.cmake
	server/core/config.c
	server/core/service.c
	server/modules/routing/CMakeLists.txt
2015-02-24 06:26:55 +02:00
aa4932bf2d Moved the housekeeper heartbeat to a separate header for ease of integration.
This keeps the behavior the same but allows the heartbeat to be used as a crude timer
without including everything the housekeeper.h header includes.

Moved the protocol level updates on the DCBs last_read value into dcb_read.
This keeps the implementation nice and compact.
2015-02-24 05:00:16 +02:00
c47d2f3791 Added session timeouts.
The parameter 'connection_timeout' for services takes a value as seconds.
All sessions that have been idle for longer than this will be disconnected.
2015-02-20 22:16:43 +02:00
fc969acc73 Added optional stripping of escape characters from database names when laoding users. 2015-02-20 21:07:12 +02:00
a022775342 Addition of show eventtimes and /events/times URL to maxinfo 2015-02-20 11:53:47 +00:00
8eb14235d1 Addition of DCB and Poll statistics in show status output 2015-02-20 10:05:50 +00:00
ea55572ab8 Merge branch 'develop' into MAX-324 2015-02-20 04:45:48 +02:00
c2cd3f4c3d Merge pull request #73 from tanji/serversjson
Output server list in JSON format
2015-02-19 16:56:02 +02:00
11e65f02f0 Addition of maxinfo show modules and show monitors commands 2015-02-19 13:32:48 +00:00
2f218cba3a Addition of maxinfo commands
show sessions
	show clients
	show listeners
	show services
	show servers
2015-02-19 12:55:39 +00:00
3898a995ad Addition of show services command 2015-02-19 11:07:24 +00:00
e0e5652f5e Fixed bug in resultset_make_row
Addition of resultset_stream_json
2015-02-19 11:06:31 +00:00
72eb89a787 Add forgotten include of JSON function 2015-02-19 11:22:17 +01:00
8e941f7523 Addition of the MaxInfo filter and the generic MaxScale resultset 2015-02-18 17:25:13 +00:00
65e2572ad0 Made config_truth_value non-static. 2015-02-18 13:16:06 +02:00
03456b931b Added "yes" and "no" to the config truth value check and added the function to the header. 2015-02-18 11:45:01 +02:00
da029140cd dcb_call_foreach now only calls the callbacks for those DCBs that are connected to the server. 2015-02-18 05:36:39 +02:00
46ec9abe29 Added optional parameters for services that allow all servers to be used when building the list of users. 2015-02-09 07:19:13 +02:00
0d4761ade8 Merge branch 'develop' into MAX-324 2015-02-06 23:27:59 +02:00