Skip to content

API Gateway components for implementing filters and advanced scripting

License

Notifications You must be signed in to change notification settings

Axway-API-Management-Plus/filter-devkit

Repository files navigation

Filter Development Kit

This project contains a set of libraries for implementing API Gateway Filters and making advanced scripts.

Prerequisites

To build this artefact, you need the following items:

  • JDK 11
  • API Gateway and Policy Studio 7.7.20240228

Code base is actually stable and has been tested from 20220530 (JDK 8) to 20240228 (JDK 11). Even if jars compiled using another release should work, it is recommended to use artifacts produced for a particular release using the branch specific the the API Gateway version you're targeting (some bytecode changes can trigger a MethodNotFoundException). If no branch already exists please open an issue for it or make a Pull Request for this new branch.

A playground Dockerfile is provided. It provides an on-premise API Gateway, Policy Studio, In-Browser GUI and IDE with the FDK pre-installed.

The Filter Devkit can be installed in two ways :

Basic Features

Developer Feature

Using without modifying the EntityStore

It's possible to use the Filter DevKit without importing the base typeset. In this case the following feature are available

  • Script context for groovies (bring resource binding to default script filter)
  • Script extensions load mechanism within script context creation (limited to groovy scripts)
  • Static only reflection of extension context within script context creation.

Additionally, generated filters are independent base extensions. So it is safe to import and use generated filters without importing and using the Filter DevKit typeset.

Building and Installing

A QuickStart procedure is provided by a Docker Image Otherwise, you can follow the Build and Install instructions.

YAML Entity Store is actually not supported.

Happy testing !

About

API Gateway components for implementing filters and advanced scripting

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages