Traffic Parrot 5.67.0 is out. Here are the four things worth knowing about it, and the full release notes carry the rest.
gRPC passthrough: the calls no mapping matches can go to the real service
Name the real service in trafficparrot.virtualservice.grpc.passthrough.targets, and Traffic Parrot forwards the unary, server-streaming and client-streaming calls no gRPC mapping matches and returns the real answer, so you can mock part of a service. Bidirectional streaming calls are not forwarded. The gRPC > Requests page marks a forwarded call Proxied. The property ships empty, so nothing changes until you set it. See Passthrough.
CICS bridge: choose copybooks and check a reply in the web user interface
With the CICS bridge on, the IBM® MQ Add/Edit page has a CICS copybooks button. Its window adds, changes and removes the entries of copybooks/programs.json, so the file need not be edited by hand. Each response body has a Check CICS reply button, which shows what the bridge would send for a reply that is not a template: the MQCIH fields a reply can set and the COMMAREA as the program's reply copybook decodes it, or the problem that would reach the client as a bridge error. See Editing the index in the web user interface and Checking a reply in the web user interface.
Passwords can stay out of connection files, so the files can be committed to git
A password in jms-connections.json, ibm-mq-connections.json, database-connections.json or root-directories.json, or an HTTPS key store password in a virtual service's service.properties, can name an environment variable, as ${env:NAME}, or a file, as ${file:PATH}. Traffic Parrot reads the secret when it connects and never writes it back. See Passwords on the new Mappings in git page, which says what to commit and how to keep diffs small.
JMS replay at startup on the internal ActiveMQ broker, so a container needs no broker of its own
With trafficparrot.jms.start.queue.replay.on.startup on, either connection ID property can be USE-TRAFFIC-PARROT-INTERNAL-BROKER: Traffic Parrot then starts its internal broker and queue replay as it starts, with no page visit or API call. trafficparrot.activemq.broker.bind.address lets every internal broker listen on all interfaces, which a published container port needs. See Start the internal broker at startup.
Also in this release
- A file message response transformer can answer with a file, copied without being read into memory.
- File message recording now records a large response, as a body file in
__files. - An HTTP or gRPC export keeps each mapping file as it is, comments and key order included, and an import writes it back.
- The Help page links the upgrade notes for every release after the one you are running.
- A Send feedback link in Help, the mapping editors and the mapping explorer opens a chat with us.
- A new page works through virtualising a managed file gateway over SFTP and Connect:Direct.
The release notes list every feature, change and fix in 5.67.0. To try it, start a trial.

No comments:
Post a Comment