Hi,
I try to add simple gatewayscript to my REST proxy in API Connect Free 30 - day trail:
swagger: '2.0'
info:
version: 1.0.0
title: my great farm stall proxy
x-ibm-name: my-great-farm-stall-proxy
basePath: /xxx
x-ibm-configuration:
properties:
target-url:
value: https://farmstall.designapis.com/v1/reviews
description: URL of the proxy policy
encoded: false
cors:
enabled: true
gateway: datapower-api-gateway
type: rest
phase: realized
enforced: true
testable: true
assembly:
execute:
- gatewayscript:
title: add headers
version: 1.0.0
source: >
// fetch header from recent request
I get error:
The OpenAPI definition (...) requires the policy 'gatewayscript:1.0.0' that is not configured on the gateway service 'apic-gw-v6-t-001 (DataPower API Gateway Trial 001)'.
Is it possible to configure this policy in trail api gateway
Can I download its definition from somewhere an upload to gateway policies?
Thanks,
Grzegorz
------------------------------
Grzegorz Wilanowski
------------------------------