APAR status
Closed as program error.
Error description
Gatewayscript policy contains context.set() converted via AMU successfully is automatically added require(?apim?) with a message ?GWS05: Added `require(?apim?)` function to `gatewayscript` policy to conform to the API Gateway specification.?.
Local fix
n/a
Problem summary
Sometimes the --optimize-gws flag when used with port-to-apigw will remove apim.* references. In this case, the var require=('apim') module is not needed.
Problem conclusion
This fix removes unnecessary var apim statements in gateway script.
Temporary fix
Comments
APAR Information
APAR number
LI81839
Reported component name
API CONNECT ENT
Reported component ID
5725Z2201
Reported release
A0X
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-11-11
Closed date
2020-12-10
Last modified date
2020-12-10
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
API CONNECT ENT
Fixed component ID
5725Z2201
Applicable component levels
RA0X PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A0X","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
29 September 2021