/jws-insights

Red Hat Insights for JWS

Primary LanguageJavaApache License 2.0Apache-2.0

#Red Hat Insights for JWS

mvn package to build. The listener should be added to server.xml, such as

<Server>
  <Listener className="com.redhat.jws.insights.InsightsLifecycleListener" />
</Server>

Configuration is done through the standard com.redhat.insights.config.EnvAndSysPropsInsightsConfiguration from Insights, which uses various environment and Java system properties. Alternatly, attributes matching the properties can be set on the Listener element in server.xml: identificationName, machineIdFilePath, archiveUploadDir, certFilePath, certHelperBinary, connectPeriodValue, httpClientRetryBackoffFactorValue, httpClientRetryInitialDelay, httpClientRetryMaxAttempts, httpClientTimeoutValue, keyFilePath, maybeAuthTokenValue, proxyHost, proxyPort, updatePeriodValue, uploadBaseURL, uploadUri, optingOut.