This video demo, how to develop Custom Policy using Flex Gateway Policy Development Kit (PDK). This video demo in following in detail:
Create Custom Policy project
Define custom configuration parameters in Schema Definition gcl.yaml
Add dependencies in Cargo.toml
Rest Code in lib.rs
Source code update in config.rs
Compilation the WebAssembly binary of the policy
Publish Custom Policy to Exchange
Apply Custom Policy in API Manager