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

Restoring an archived governance ruleset in API Connect
Guest Post 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

`apic draft-apis:create` Fails on Re-Run: Name+Version Uniqueness from Drafts to Catalogs
Guest Post 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
Guest Post 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.


Subscribe