Happy Goat for Life! Chris Phillips' Blog - API, Integration and Governance SME and Enthusiast
API CONNECT

The Lua Script policy in API Studio for the DataPower Nano Gateway: worked examples
by Chris Phillips IBM Bob

This post runs eight Lua scripts against a real DataPower Nano Gateway, with the YAML from API Studio code view and the response that came back.

The nano-luascript flow in API Studio: ExtractIdentity, Authenticate, Authorize, then an OperationSwitch with a Parse and LuaScript policy per operation


API CONNECT

JSONata in API Studio for the DataPower Nano Gateway: worked examples
by Chris Phillips IBM Bob

This post runs eleven JSONata patterns on the DataPower Nano Gateway, with the YAML from API Studio code view and the response the gateway returned.


DATAPOWER

Using ms.callRuleWrapper() in DataPower GatewayScript
by Chris Phillips

When building a User Defined Policy in API Connect, you often need to call a DataPower processing rule from GatewayScript — passing in the request body, getting back a response, and handling errors cleanly. ms.callRuleWrapper() does exactly that, with a single options object controlling input/output marshalling, body type coercion, header propagation, and callbacks.


API CONNECT

Building an API Development Factory: Scaling API Delivery with Governance, Automation, and Reusable Patterns
by Chris Phillips Ricky Moorhouse

Every successful API programme eventually hits the same wall, and it is not a technology wall. The delivery model that produced the first fifty APIs — a project team, a bespoke design, a careful manual deployment — cannot produce the next five hundred. Demand outgrows the central team, quality varies with whoever built each API, and governance turns into a queue. The programme praised for agility is now criticised for bottlenecks.

The organisations that get through this wall do not work harder at the old model. They change the model. This article is about that change: the API development factory, the operating models that implement it, and the trade-offs between them.


API CONNECT

Restoring an archived governance ruleset in API Connect
by Chris Phillips IBM Bob

A governance ruleset that disappears from the Cloud Manager is almost always archived, not deleted. Archived rulesets are hidden from the table by default, and the filter that controls that is easy to miss.

This article covers the ruleset lifecycle, how to make archived rulesets visible, and how to restore one.


API CONNECT

API Governance: Enabling Scale Without Slowing Innovation
by Chris Phillips

Every successful API programme eventually meets the same problem: the thing that made it successful. APIs spread because they work — a team exposes a service, another team consumes it, and integration that used to take months takes days. Then one day leadership asks four reasonable questions. How many APIs do we have? Who owns them? Who is consuming them? What is our exposure if one of them is compromised? — and nobody can answer.

That moment is not a failure of the teams. It is the predictable result of scaling an API estate without scaling the model that governs it. This article is about fixing that, and about why governance — properly understood — is what lets an API programme go faster, not slower.


API CONNECT

`apic draft-apis:create` Fails on Re-Run: Name+Version Uniqueness from Drafts to Catalogs
by Chris Phillips IBM Bob

I have been driving this toolkit for the better part of a decade, and it took re-running a create step against an environment that was not clean to remind me that apic draft-apis:create is not idempotent — and that the rule behind that failure is not a draft quirk. It is the identity model for every API and product in the system.


DATAPOWER

Scripting `oc attach` into DataPower gateway pods: fixing the no-TTY 500
by Chris Phillips IBM Bob

IBM DataPower support asks for the usual collection when a gateway is pegged at 100% CPU: run a script which pipes a command file into the pod seven times, five minutes apart, via ssh. On a current gateway pod that script dies immediately:

$ oc attach -i gwv6-0 -n apic-nonha -c datapower < cli.txt
Unable to use a TTY - input is not a terminal or the right kind of file
Error from server:

An empty error message from the server and nothing collected.



webMethods API Gateway: Enable the Tracer and Set the Trace Timeout
by Chris Phillips Chris Gilroy IBM Bob

An API call is failing and you cannot see why. The tracer in webMethods API Gateway shows each policy that ran, how long it took, and the request and response at every hop.

This post is based on the IBM webMethods API Gateway (SaaS) 11.1.0 documentation.



Logitech G Hub Not Working on macOS — The Fix
by Chris Phillips

After installing Logitech G Hub for the G502X, nothing worked. Weeks of frustration until a Reddit thread had the answer.

Logitech G Hub Privacy settings on macOS


Subscribe