Hello Nrusingha,
to add a permanent Connection Policy (comparable to User Agents) at an API Gateway on a Datapower you have to create a Config File (.cfg) which you should include into a gateway extension as described here: Extending the Gateway server behavior - IBM Documentation
The Config File should inculde some commands which are run each time the API Gateway configuration is refreshed by API Connect. To configure your Connection Policy the config file should contain something like the following:
top; configure terminal
apigw "<Your API Gateway name>"
no proxy
proxy <API Endpoint> <Proxy-Host> <Proxy-Port>
...
exit
and your manifest.json File should include the following lines:
{
"extension": {
"properties": {
....
},
"files": [
{
"filename": "<Your name of the zipped .cfg-File>.zip",
"deploy": "immediate",
"type": "extension"
},
...
]
}
}
------------------------------
Lars Ottawa
------------------------------
Original Message:
Sent: Thu June 29, 2023 12:25 AM
From: Nrusingha Sahoo
Subject: User Agents are removed automatically in API Gateway for IBM API Connect v10, how can we resolve this?
In IBM API Gateway, the user agents are automatically deleted frequently, Please suggest how can we resolve this? We are using IBM API Gateway v10.
------------------------------
Nrusingha
------------------------------