IBM
Configuring Revenium Metering for IBM DataPower
Last updated
Configuring Revenium Metering for IBM DataPower
Last updated
© Revenium - www.revenium.io
APIs being proxied by IBM DataPower instances can be metered by Revenium using a simple GatewayScript configured in a Multi-Protocol Gateway Service as part of a Processing Policy.
A TLS Client Profile must be configured for the GatewayScript to communicate with the Revenium Platform API. Start by navigating to Objects -> Crypto Configuration -> Configure TLS Client Profile and create a Client Profile called "revenium-metering":
Navigate to Multi-Protocol Gateway and either create or select an existing Multi-Protocol Gateway:
Select an existing or create a new Processing Policy.
Add a GatewayScript Action as a new Rule and set the Rule Direction to "Both Directions"
Edit the following GatewayScript and replace the "sourceId" with the ID of the Revenium Source that will be metered with DataPower. Also replace the "x-api-key" field with the Revenium Metering Beacon API Key. Please contact the Revenium Customer Success team if you require an API key.
The sourceId will become an optional field in an upcoming release
Finally, upload the script and apply the Policy. Once this is done, this API is successfully set up for Revenium metering.