Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (24 sloc) 5.16 KB
#
# k2htpdtor for K2HASH TRANSACTION PLUGIN.
#
# Copyright 2015 Yahoo Japan Corporation.
#
# K2HASH TRANSACTION PLUGIN is programmable I/F for processing
# transaction data from modifying K2HASH data.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
#
# AUTHOR: Takeshi Nakatani
# CREATE: Thu Nor 17 2016
# REVISION:
#
DTOR_TEST_SERVER_JSON={ 'GLOBAL': { 'FILEVERSION': '3', 'DATE': 'Wed, 19 Aug 2015 17:06:32 +0900', 'GROUP': 'DTORTEST', 'MODE': 'SERVER', 'DELIVERMODE': 'random', 'MAXCHMPX': '2', 'REPLICA': '0', 'MAXMQSERVER': '2', 'MAXMQCLIENT': '2', 'MQPERATTACH': '1', 'MAXQPERSERVERMQ': '1', 'MAXQPERCLIENTMQ': '1', 'MAXMQPERCLIENT': '2', 'MAXHISTLOG': '1000', 'PORT': '8020', 'CTLPORT': '8021', 'SELFCTLPORT': '8021', 'RWTIMEOUT': '100', 'RETRYCNT': '1000', 'CONTIMEOUT': '500000', 'MQRWTIMEOUT': '50', 'MQRETRYCNT': '20000', 'DOMERGE': 'on', 'SSL': 'no', 'K2HFULLMAP': 'on', 'K2HMASKBIT': '4', 'K2HCMASKBIT': '4', 'K2HMAXELE': '2' }, 'SVRNODE': [ { 'NAME': 'localhost', 'SSL': 'no' } ], 'SLVNODE': [ { 'NAME': '[.]*', 'CTLPORT': '8022' } ], 'K2HTPDTORSVR': { 'OUTPUTFILE': '/tmp/k2hftdtorsvr_archive.log', 'PLUGIN': '/tmp/k2htpdtorsvr_plugin.sh /tmp/k2hftdtorsvr_plugin.log', 'K2HTYPE': 'file', 'K2HFILE': '/tmp/k2hftdtorsvr.k2h', 'K2HDTORSVR_TRANS': '{ ''GLOBAL'': { ''FILEVERSION'': ''1'', ''DATE'': ''Wed, 04 Nov 2015 11:22:13 +0900'', ''GROUP'': ''DTORTESTTRANS'', ''MODE'': ''SLAVE'', ''DELIVERMODE'': ''random'', ''MAXCHMPX'': ''2'', ''REPLICA'': ''0'', ''MAXMQSERVER'': ''1'', ''MAXMQCLIENT'': ''1'', ''MQPERATTACH'': ''1'', ''MAXQPERSERVERMQ'': ''1'', ''MAXQPERCLIENTMQ'': ''1'', ''MAXMQPERCLIENT'': ''1'', ''MAXHISTLOG'': ''1000'', ''PORT'': ''8030'', ''CTLPORT'': ''8032'', ''SELFCTLPORT'': ''8032'', ''RWTIMEOUT'': ''100'', ''RETRYCNT'': ''1000'', ''CONTIMEOUT'': ''500000'', ''MQRWTIMEOUT'': ''50'', ''MQRETRYCNT'': ''20000'', ''DOMERGE'': ''on'', ''SSL'': ''no'', ''K2HFULLMAP'': ''on'', ''K2HMASKBIT'': ''4'', ''K2HCMASKBIT'': ''4'', ''K2HMAXELE'': ''2'' }, ''SVRNODE'': [ { ''NAME'': ''localhost'', ''PORT'': ''8030'', ''CTLPORT'': ''8031'', ''SSL'': ''no'' } ], ''SLVNODE'': [ { ''NAME'': ''[.]*'', ''CTLPORT'': ''8032'' } ], ''K2HTPDTOR'': { ''K2HTPDTOR_BROADCAST'': ''yes'', ''K2HTPDTOR_EXCEPT_KEY'': ''test_fill_-'', ''K2HTPDTOR_FILE'': ''/tmp/dtor_test_trans_slave_archive.log'' } }', 'DTORTHREADCNT': '1' } }
DTOR_TEST_SLAVE_JSON={ 'GLOBAL': { 'FILEVERSION': '3', 'DATE': 'Wed, 19 Aug 2015 17:06:32 +0900', 'GROUP': 'DTORTEST', 'MODE': 'SLAVE', 'DELIVERMODE': 'random', 'MAXCHMPX': '2', 'REPLICA': '0', 'MAXMQSERVER': '2', 'MAXMQCLIENT': '2', 'MQPERATTACH': '1', 'MAXQPERSERVERMQ': '1', 'MAXQPERCLIENTMQ': '1', 'MAXMQPERCLIENT': '2', 'MAXHISTLOG': '1000', 'PORT': '8020', 'CTLPORT': '8022', 'SELFCTLPORT': '8022', 'RWTIMEOUT': '100', 'RETRYCNT': '1000', 'CONTIMEOUT': '500000', 'MQRWTIMEOUT': '50', 'MQRETRYCNT': '20000', 'DOMERGE': 'on', 'SSL': 'no', 'K2HFULLMAP': 'on', 'K2HMASKBIT': '4', 'K2HCMASKBIT': '4', 'K2HMAXELE': '2' }, 'SVRNODE': [ { 'NAME': 'localhost', 'PORT': '8020', 'CTLPORT': '8021', 'SSL': 'no' } ], 'SLVNODE': [ { 'NAME': '[.]*', 'CTLPORT': '8022' } ], 'K2HTPDTOR': { 'K2HTPDTOR_BROADCAST': 'yes', 'K2HTPDTOR_EXCEPT_KEY': 'test_fill_-', 'K2HTPDTOR_FILE': '/tmp/dtor_test_slave_archive.log' } }
DTOR_TEST_TRANS_SERVER_JSON={ 'GLOBAL': { 'FILEVERSION': '1', 'DATE': 'Thu, 17 Nov 2016 10:00:51 +0900', 'GROUP': 'DTORTESTTRANS', 'MODE': 'SERVER', 'DELIVERMODE': 'random', 'MAXCHMPX': '2', 'REPLICA': '0', 'MAXMQSERVER': '2', 'MAXMQCLIENT': '2', 'MQPERATTACH': '1', 'MAXQPERSERVERMQ': '1', 'MAXQPERCLIENTMQ': '1', 'MAXMQPERCLIENT': '2', 'MAXHISTLOG': '1000', 'PORT': '8030', 'CTLPORT': '8031', 'SELFCTLPORT': '8031', 'RWTIMEOUT': '100', 'RETRYCNT': '1000', 'CONTIMEOUT': '500000', 'MQRWTIMEOUT': '50', 'MQRETRYCNT': '20000', 'DOMERGE': 'on', 'SSL': 'no', 'K2HFULLMAP': 'on', 'K2HMASKBIT': '4', 'K2HCMASKBIT': '4', 'K2HMAXELE': '2' }, 'SVRNODE': [ { 'NAME': 'localhost', 'PORT': '8030', 'CTLPORT': '8031', 'SSL': 'no' } ], 'SLVNODE': [ { 'NAME': '[.]*', 'CTLPORT': '8032' } ], 'K2HTPDTORSVR': { 'OUTPUTFILE': '/tmp/k2hftdtorsvr_trans_archive.log', 'PLUGIN': '/tmp/k2htpdtorsvr_plugin.sh /tmp/k2hftdtorsvr_trans_plugin.log', 'K2HTYPE': 'file', 'K2HFILE': '/tmp/k2hftdtorsvr_trans.k2h' } }
DTOR_TEST_TRANS_SLAVE_JSON={ 'GLOBAL': { 'FILEVERSION': '1', 'DATE': 'Wed, 04 Nov 2015 11:22:13 +0900', 'GROUP': 'DTORTESTTRANS', 'MODE': 'SLAVE', 'DELIVERMODE': 'random', 'MAXCHMPX': '2', 'REPLICA': '0', 'MAXMQSERVER': '2', 'MAXMQCLIENT': '2', 'MQPERATTACH': '1', 'MAXQPERSERVERMQ': '1', 'MAXQPERCLIENTMQ': '1', 'MAXMQPERCLIENT': '2', 'MAXHISTLOG': '1000', 'PORT': '8030', 'CTLPORT': '8032', 'SELFCTLPORT': '8032', 'RWTIMEOUT': '100', 'RETRYCNT': '1000', 'CONTIMEOUT': '500000', 'MQRWTIMEOUT': '50', 'MQRETRYCNT': '20000', 'DOMERGE': 'on', 'SSL': 'no', 'K2HFULLMAP': 'on', 'K2HMASKBIT': '4', 'K2HCMASKBIT': '4', 'K2HMAXELE': '2' }, 'SVRNODE': [ { 'NAME': 'localhost', 'PORT': '8030', 'CTLPORT': '8031', 'SSL': 'no' } ], 'SLVNODE': [ { 'NAME': '[.]*', 'CTLPORT': '8032' } ], 'K2HTPDTOR': { 'K2HTPDTOR_BROADCAST': 'yes', 'K2HTPDTOR_EXCEPT_KEY': 'test_fill_-', 'K2HTPDTOR_FILE': '/tmp/dtor_test_trans_slave_archive.log' } }
#
# VIM modelines
#
# vim:set ts=4 fenc=utf-8:
#