Update configuration properties
Description
Update an application's configuration properties in the AppServer.SessMgr.App_name section of the conf/openedge.properties file.
HTTP Operation
PUT
URI
//host_name:port/oemanager/applications/App_name/properties
Media type
application/vnd.progress+json
Response codes
200 Success
500 Unexpected Server Error
Command-line example
curl -X PUT -v http://localhost:16680/oemanager/applications/oepas1/properties
-d '{"agentLogThreshold":"1"}' -H "Content-Type: application/vnd.progress+json"
Request body example
{
"operation":"SET BROKER PROPERTIES",
"result":
{
"agentLogThreshold":"1",
"requestWaitTimeout":"15000",
"agentLogEntryTypes":"ASPlumbing,DB.Connects",
"idleAgentTimeout":"300000",
"idleConnectionTimeout":"300000",
"socketTimeout":"3000",
"agentListenerTimeout":"300000",
"applications":"oepas1",
"numInitialAgents":"1",
"agentLogFile":"\/scratch\/prmundra\/17Sept\/wrk\/pas1\/logs\/oepas1.agent.log",
"collectMetrics":"1",
"agentExecFile":"\/view\/rdl115_linuxx86_64\/vobs_prgs\/linuxx86_64\/dlc\/bin\/_mproapsv",
"idleResourceTimeout":"0",
"allowRuntimeUpdates":"0",
"connectionWaitTimeout":"3000",
"maxAgents":"10",
"publishDir":"\/scratch\/prmundra\/17Sept\/wrk",
"maxConnectionsPerAgent":"16",
"idleSessionTimeout":"300000",
"agentStartupParam":"-T \/scratch\/prmundra\/17Sept\/wrk\/pas1\/temp",
"statusEnabled":"1",
"maxABLSessionsPerAgent":"200",
"agentNumLogFiles":"3",
"agentLoggingLevel":"3",
"ipver":"IPv4"
},
"outcome":"SUCCESS",
"errmsg":"",
"versionStr":"PASOE 11.5.0",
"versionNo":1
}
Response body examples
On success:
{
"operation":"SET SESSION-MGR PROPERTIES",
"result":"NA",
"outcome":"SUCCESS",
"errmsg":"NA",
"versionStr":"PASOE 11.5.0",
"versionNo":1
}
On failure:
{
"Operation":"SET SESSION-MGR PROPERTIES",
"Outcome":"FAILURE",
"ErrorMsg":"Invalid property name: "InvalidPropName". (PRPMsg009)"
}