[
https://issues.apache.org/jira/browse/AMBARI-25059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated AMBARI-25059:
------------------------------------
Labels: pull-request-available (was: )
> SPI Upgrade Improvements For Web Calls And Required Plugins
> -----------------------------------------------------------
>
> Key: AMBARI-25059
> URL: https://issues.apache.org/jira/browse/AMBARI-25059
> Project: Ambari
> Issue Type: Task
> Components: ambari-server-spi
> Affects Versions: 2.8.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Priority: Critical
> Labels: pull-request-available
> Fix For: 2.8.0
>
>
> This issue is to track two changes to the SPI and to Ambari:
> - The SPI should provide a mechanism where {{UpgradeCheck}} classes can make
> web requests using a connection factory that is able to leverage Ambari's
> cookie store, truststore, and timeout values.
> - Upgrade checks provided by a stack can be marked as {{required}} in the
> {{UpgradeCheckInfo}}. This prevents them from being explicitly defined in the
> upgrade pack XML. However, since Ambari loads 100's of 1000's of classes, a
> {{ClassLoader}} scan can take too long. Using the {{Reflections}} library,
> we're able to pass in the URLs of the JARs which comprise the plugin
> {{ClassLoader}} and are able to perform the scan very quickly.
> - The {{pom.xml}} needed to be updated to include a version of {{guava}}
> which was compatible with the version of {{reflections}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)