Contact Us 1-800-596-4880

Anypoint Flex Gateway Policy Development Kit (PDK) Release Notes

1.2.0

August 28, 2024

What’s New

  • PDK now provides a CORS library to help create policies that process cross-origin requests.

  • The PDK integration testing framework is improved for easier test configuration.

  • Incorrect conditional parameter schema configurations are now rejected when the policy is compiled instead of when the policy is deployed.

  • Conditional parameters can now depend on boolean and integer parameters.

Compatibility

Policies created with PDK might be compatible with Flex Gateway versions that aren’t compatible with PDK’s integration testing framework. The Flex Gateway version used for testing doesn’t affect the functionality of the policy when deployed to a different Flex Gateway version. See the following table to ensure your Flex Gateway’s compatibility:

Component Minimum Flex Gateway Version Maximum Flex Gateway Version

Policies

1.6.1

Latest

Testing Framework

1.6.1

Latest

1.1.0

May 13, 2024

What’s New

Known Issues

  • Due to publication issues, in order to correctly install the Anypoint CLI PDK Plugin version for this release, the installation command must include the version: anypoint-cli-v4 plugins:install anypoint-cli-pdk-plugin@1.1.0

Compatibility

Policies created with PDK might be compatible with Flex Gateway versions that aren’t compatible with PDK’s integration testing framework. The Flex Gateway version used for testing doesn’t affect the functionality of the policy when deployed to a different Flex Gateway version. See the following table to ensure your Flex Gateway’s compatibility:

Component Minimum Flex Gateway Version Maximum Flex Gateway Version

Policies

1.6.1

Latest

Testing Framework

1.6.1

Latest

1.0.1

March 14, 2024

What’s New

  • While processing requests, PDK no longer throws a panic if a request to an HTTP service times out.

  • Request filters can now return Flows with non-unit types when no response filter is configured.

  • The isEmpty() function is now enabled for DataWeave expressions. Expressions such as dw::core::Strings::substringAfter now return empty strings instead of null.

Compatibility

Policies created with PDK might be compatible with Flex Gateway versions that aren’t compatible with PDK’s integration testing framework. The Flex Gateway version used for testing doesn’t affect the functionality of the policy when deployed to a different Flex Gateway version. See the following table to ensure your Flex Gateway’s compatibility:

Component Minimum Flex Gateway Version Maximum Flex Gateway Version

Policies

1.6.1

Latest

Testing Framework

1.6.1

1.6.1

1.0.0

January 31, 2024

MuleSoft announces the release of Anypoint Flex Gateway Policy Development Kit (PDK) 1.0.0.

PDK is a software development kit that enables you to develop Flex Gateway custom policies with ease.

PDK provides instructions to guide you through the policy development lifecycle, from implementing your Rust source code to releasing your policy on Exchange. Like included policies, you can apply custom policies to Flex Gateway running in Connected Mode by using API Manager or to Flex Gateway running in Local Mode by using YAML configuration files.

PDK also provides example policies to help you get started with policy development.

Compatibility

Policies created with PDK might be compatible with Flex Gateway versions that aren’t compatible with PDK’s integration testing framework. The Flex Gateway version used for testing doesn’t affect the functionality of the policy when deployed to a different Flex Gateway version. See the following table to ensure your Flex Gateway’s compatibility:

Component Minimum Flex Gateway Version Maximum Flex Gateway Version

Policies

1.6.1

Latest

Testing Framework

1.6.1

1.6.1