# Whitelist for plugin and module healthchecks, read by com.atlassian.healthcheck.spi.impl.ClasspathFileHealthCheckWhitelist
# See also TestPluginStartup / TestHealthChecks

# This file is intended for **TEMPORARY** whitelisting of things that were failing everywhere when the new healthchecks were introduced,
# so that we can enable full healthcheck coverage for the other things that are currently passing the checks.

# DO NOT ADD THINGS TO THIS LIST!
# WHITELISTING HERE MEANS THESE ITEMS ARE NOT COVERED BY PLUGIN HEALTHCHECKS IN PRODUCTION!

# Note: there are two classes of things that fail these healthchecks:
# 1. Things that were broken or non-Vertigo-compliant IN PRODUCTION when we introduced these checks.
# 2. Snowflake instances in Cloud which have a few plugins or modules manually set to a different state.

# This whitelist is ONLY for case 1.

# For snowflakes (case 2), instead use LAAS to find the instances failing the check,
# (see https://extranet.atlassian.com/display/DEV/2016/04/14/New+plugin+healthchecks+in+Confluence+and+JIRA+Cloud)
# and set sysprops on those specific instances to exclude them from the appropriate check,
# e.g. one of these:
#   atlassian.healthcheck.DisabledPluginsHealthCheck.forceNoFail=true
#   atlassian.healthcheck.DisabledPluginModulesHealthCheck.forceNoFail=true
#   atlassian.healthcheck.DisabledByDefaultPluginsHealthCheck.forceNoFail=true
#   atlassian.healthcheck.DisabledByDefaultPluginModulesHealthCheck.forceNoFail=true

# TODO: everything in this list will need to be addressed for Vertigo.


##### Disabled Plugins #####

# com.atlassian.jira.toolkit:jira-toolkit
# Bundled in jira-ondemand-bundled-plugins via od.testing.configuration include-artifact
# Disabled programmatically by default, probably by com.atlassian.studio.jira.upgrade.UpgradeTo_v34
# See https://extranet.atlassian.com/display/VER/Can+we+remove+disabled-by-default+plugins+from+unicorn
DisabledPluginsHealthCheck com.atlassian.jira.toolkit

# These three Third-party P2 are disabled by com.atlassian.jira.studio.startup.JiraInitialData.setDefaultStateForUserInstalledPlugins()
# 1. mockupsJIRA4X in Manifesto
DisabledPluginsHealthCheck com.balsamiq.jira.plugins.mockups
# 2. jira-misc-workflow-extensions in Manifesto
DisabledPluginsHealthCheck com.innovalog.jmwe.jira-misc-workflow-extensions
# 3. zephyr-jira5-plugin in Manifesto
DisabledPluginsHealthCheck com.thed.jira.ext.rpc

# jira-suite-utilities in Manifesto
# Disabled by com.atlassian.studio.jira.upgrade.UpgradeTo_v37
DisabledPluginsHealthCheck com.googlecode.jira-suite-utilities


##### Disabled Modules #####

# TODO: PLUGWEB-363
# These two are broken because these '<web-modules>' modules are instantiated in webresource-plugin/webresource-rest,
# but the com.atlassian.plugin.webresource.impl.modules.ModulesDescriptor that implements <web-modules>
# has to be registered directly in the product rather than by the webresource plugin,
# and it isn't yet registered.
DisabledPluginModulesHealthCheck com.atlassian.plugins.atlassian-plugins-webresource-plugin:modules-not-used
DisabledPluginModulesHealthCheck com.atlassian.plugins.atlassian-plugins-webresource-rest:modules-not-used

# system-footer-plugin.xml
# Disabled by com.atlassian.studio.jira.lifecycle.JiraPluginModulesMaintainer.disableFooter()
DisabledPluginModulesHealthCheck jira.footer:standard-footer

# system-admin-sections.xml
# Disabled by com.atlassian.studio.jira.lifecycle.JiraPluginModulesMaintainer.disableAdminWebFragments()
DisabledPluginModulesHealthCheck jira.webfragments.admin:crowdApplication

# jira-fisheye-plugin in Manifesto
# Disabled by com.atlassian.studio.jira.lifecycle.JiraPluginModulesMaintainer.disableAdminWebFragments().
# See https://extranet.atlassian.com/display/VER/Can+we+remove+disabled-by-default+plugins+from+unicorn
DisabledPluginModulesHealthCheck com.atlassian.jirafisheyeplugin:perforce-config-webfragment
