[aeri] [server] [client] Download aeri (client) configuration from server [message #1704892] |
Mon, 10 August 2015 09:06 |
Eclipse User |
|
|
|
So far, all urls and settings were hardcoded on the client. With SR1 the client will fetch the server configuration on first startup and refresh it after some TTL as specified in the server config.
The server configuration offers various configuration options now. Some options + sample values are given below
{
"title": "Eclipse.org Error Reporting Server",
"description": "Automated Error Reporting for eclipse.org",
"ttl": // some time value
"connectTimeout": 10, // in seconds
"socketTimeout": 10, // in seconds
"submitUrl": // were should reports be sent to?
"maxReportSize": // informs the client about the max error report size. Reports bigger than that won't be send
"problemsUrl": // where the error reports database can be downloaded from?
"problemsTtl": // when should it be refreshed?
"queryUrl": // experiemental: an url where clients can ask for the particular status of an error report - either by id or fingerprint.
"acceptedProducts": [
"org.eclipse.*" // for which eclipse products does this server accept error reports?
],
"acceptedPlugins": [ // which plugin ids are accepted?
"org.eclipse.*",
"org.apache.log4j.*"
],
"acceptedPackages": [ // which packages are considered as application packages and will not be anonymized?
"org.eclipse.*",
"org.apache.*",
"java.*",
"javax.*",
"javafx.*",
"sun.*",
"com.sun.*",
"com.google.*",
"org.osgi.*",
"ch.qos.*",
"org.slf4j.*"
],
"acceptOtherPackages": true, // does this server accept error reports even if they contain other, 3rd party packages in the stacktrace?
"acceptUiFreezes": true, // does this server UI freezes?
"ignoredStatuses": [ // status filtering options. A wildcard triple "<plugin-id>:<exception-type>:<message>". Every status that matches one of these will be discarded
"org.eclipse.equinox.p2.*::",
"org.eclipse.epp.mpc.ui:java.io.IOException:",
"org.eclipse.epp.mpc.ui:java.net.SocketTimeoutException:",
"org.eclipse.oomph.setup.core:$org.apache.http.ConnectionClosedException:",
"org.eclipse.ui::Conflicting handlers for*",
"org.eclipse.jface:java.io.IOException:Unable to resolve plug-in*",
"org.eclipse.core.runtime::Invalid input url*",
"org.eclipse.core.filesystem::Could not move*",
"org.eclipse.core.filesystem::Could not delete*",
"org.eclipse.pde.core::The current target platform contains errors*"
]
}
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=474211 for further details.
[Updated on: Mon, 10 August 2015 09:06] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03260 seconds