We're updating the issue view to help you get more done. 

Slim down bundled dependencies in webhooks plugin

Description

Webhooks plugin bundles a large number of libraries. Some of these can be provided by the platform (fugue). Others should be. There's 1.4MB totaly of jars hidden inside the webhooks plugin (though it normally expands the dependencies)

Http Client - we should be looking at whether we can use a bundled one, or bringing it into the platform such that we can use a bundled one. We don't have to worry about multiple version support in the webhooks plugin so there's nothing stopping us doing this work.

https://ecosystem.atlassian.net/browse/PLUG-1013?focusedCommentId=104698&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-104698

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 hydra:atlassian-webhooks-plugin ian$ du -hs /tmp/webhooks/META-INF/lib/ 1.4M /tmp/webhooks/META-INF/lib/ hydra:atlassian-webhooks-plugin ian$ l /tmp/webhooks/META-INF/lib/ total 2912 -rw-r--r-- 1 ian wheel 57K 12 Jun 12:21 atlassian-httpclient-apache-httpcomponents-0.16.0-SNAPSHOT.jar -rw-r--r-- 1 ian wheel 34K 12 Jun 12:21 atlassian-httpclient-api-0.16.0-SNAPSHOT.jar -rw-r--r-- 1 ian wheel 3.7K 12 Jun 12:21 atlassian-httpclient-spi-0.16.0-SNAPSHOT.jar -rw-r--r-- 1 ian wheel 12K 12 Jun 12:21 atlassian-osgi-0.2.jar -rw-r--r-- 1 ian wheel 17K 12 Jun 12:21 atlassian-uri-0.3.jar -rw-r--r-- 1 ian wheel 20K 12 Jun 12:21 atlassian-webhooks-provider-spi-0.16.0-SNAPSHOT.jar -rw-r--r-- 1 ian wheel 3.4K 12 Jun 12:21 atlassian-webhooks-spi-0.16.0-SNAPSHOT.jar -rw-r--r-- 1 ian wheel 71K 12 Jun 12:21 fugue-1.1.jar -rw-r--r-- 1 ian wheel 81K 12 Jun 12:21 httpasyncclient-4.0-beta3-atlassian2.jar -rw-r--r-- 1 ian wheel 33K 12 Jun 12:21 httpasyncclient-cache-4.0-beta3-atlassian2.jar -rw-r--r-- 1 ian wheel 418K 12 Jun 12:21 httpclient-4.2.1-atlassian-2.jar -rw-r--r-- 1 ian wheel 113K 12 Jun 12:21 httpclient-cache-4.2.1-atlassian-2.jar -rw-r--r-- 1 ian wheel 218K 12 Jun 12:21 httpcore-4.2.2-atlassian1.jar -rw-r--r-- 1 ian wheel 279K 12 Jun 12:21 httpcore-nio-4.2.2-atlassian1.jar -rw-r--r-- 1 ian wheel 26K 12 Jun 12:21 httpmime-4.1.2.jar -rw-r--r-- 1 ian wheel 40K 12 Jun 12:21 org.json-chargebee-1.0.jar

Environment

None

Testing Notes

None

Status

Assignee

Unassigned

Reporter

ig

Labels

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Priority

Major