Releases: kendarorg/the-protocol-master
[1.3.1] Added replacement queries to fake incompatible dbs
Replace Queries
Specify a file containing "replacement queries" this is specially useful when running ... the runner
as postgres and contacting a different kind of database. Here can be inserted the replacements.
SPACE ARE IMPORTANT INSIDE THE QUERY. THEY MUST MATCH THE REAL ONE.
AND NO ";" SHOULD BE ADDED AT THE END OF QUERIES
This first example replaces "SELECT 1 AS TEST" directly with "SELECT 2 AS TEST".
#find SELECT 1 AS TEST #replace SELECT 2 AS TEST
This second example replaces "SELECT anynumber AS TEST" with "SELECT anynumber+1 AS TEST"
So if you send a "SELECT 10 AS TEST" the resultset will contain a 12.
Please notice the usage of the $1 in the capture group.
#regexfind SELECT ([0-9]+) AS TEST #replace SELECT $1+2 AS TEST
This third example replaces "SELECT anynumber AS TEST" directly with "SELECT 2 AS TEST".
In this case the capture group is not used and the whole query will be ALWAYS be replaced
#regexfind SELECT ([0-9]+) AS TEST #replace SELECT 2 AS TEST
[1.2.1] Fixed missing sqlcode on postgres errors
Fixed missing SQL Status Code on Postgres errors
[1.1.0] AMQP/RabbitMQ implementation
- Added support for basic AMQP 0.9.1 operations (e.g. RabbitMQ) like queues, publish and consume
- Logging with logback
- Custom exceptions
- New state machine with fluent protocol description
- Asynchronous operation (like cancel Postgres queries)
[1.0.0] Record, Log & Replay Postgres, MySQL and MongoDB
Record, Log & Replay
- Postgres
- MySQL
- MongoDB