API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

API Connect: More sample policies for the API Gateway!

By Thomas Burke posted Wed August 14, 2024 03:14 PM

  

Hi All,
This follow-up to the post API Connect: Sample policies for the API Gateway, so if you haven't seen that post I encourage you to take a look!

We've added even more policies to the samples repo, and API Connect customers have good reason to get excited because these policies use a new capability that was added to the GatewayScript multistep module in DataPower firmware version 10.6.0.0 This capability makes it easier than ever before to wrap new or existing capabilities, represented by a DataPower processing rule, for use as a policy in the DataPower API Gateway.

For more details on how to use this new capability, take a look at the Multistep Call Rule Wrapper documentation or see it "in action" in one of the following policies:
kerberos-token-validation
pkcs7-policies
saml-assertion-validation
soap-encrypt-decrypt
Note that the pkcs directory represents 4 policies (encrypt/decrypt/sign/verify), and the soap directory contains 2 (encrypt/decrypt), to there's a total of 8 new policies ready for you to try out. 

But wait, there's more! If you want a trivial Call Rule Wrapper example to start with, just to get an idea of how it works, please take a look at the hello-world sample:
hello-world

Like I said before, we will continue to add policies as they come available, so drop in occasionally to see what's new!
https://github.com/ibm-apiconnect/policy-apigw/tree/master/user-defined-policies

If you have an idea for a general purpose policy that would be good to add to this repo, please let us know.

Thanks to Steve Linn for contributing these policies.

0 comments
24 views

Permalink