Slack integration plugin for Confluence DC is flagged in the CDN Health Checks due to deprecated code.
After dug into the source codes of atlassian-plugins-webresource and this plugin, the cause is that the plugin has used com.atlassian.confluence.plugin.descriptor.web.conditions.user.UserLoggedInCondition.
atlassian-plugins-webresource now requires all conditions to implement com.atlassian.plugin.webresource.condition.UrlReadingCondition , and otherwise it will mark a condition as legacy.
To fix the issue, we need to use com.atlassian.confluence.plugin.descriptor.web.urlreadingconditions.UserLoggedInUrlReadingCondition instead of com.atlassian.confluence.plugin.descriptor.web.conditions.user.UserLoggedInCondition .
Slack integration plugin for Confluence DC is flagged in the CDN Health Checks due to deprecated code.
After dug into the source codes of atlassian-plugins-webresource and this plugin, the cause is that the plugin has used com.atlassian.confluence.plugin.descriptor.web.conditions.user.UserLoggedInCondition. atlassian-plugins-webresource now requires all conditions to implement com.atlassian.plugin.webresource.condition.UrlReadingCondition , and otherwise it will mark a condition as legacy.
To fix the issue, we need to use com.atlassian.confluence.plugin.descriptor.web.urlreadingconditions.UserLoggedInUrlReadingCondition instead of com.atlassian.confluence.plugin.descriptor.web.conditions.user.UserLoggedInCondition .