Open mickmister opened 9 months ago
This ticket is related to both the API client task https://github.com/mattermost/mattermost-plugin-bitbucket/issues/121 and webhook processor task https://github.com/mattermost/mattermost-plugin-bitbucket/issues/122. Essentially the task here is to make common interfaces for the API client and webhook processor for Bitbucket Cloud and Server.
An example of a similar implementation can be found in the Jira plugin, which implements a common interface for Jira Cloud and Jira Server https://github.com/mattermost/mattermost-plugin-jira/blob/6109662e63375f22a332d0ce08bd0a6bcf3b7535/server/client.go#L33
This ticket is related to both the API client task https://github.com/mattermost/mattermost-plugin-bitbucket/issues/121 and webhook processor task https://github.com/mattermost/mattermost-plugin-bitbucket/issues/122. Essentially the task here is to make common interfaces for the API client and webhook processor for Bitbucket Cloud and Server.
An example of a similar implementation can be found in the Jira plugin, which implements a common interface for Jira Cloud and Jira Server https://github.com/mattermost/mattermost-plugin-jira/blob/6109662e63375f22a332d0ce08bd0a6bcf3b7535/server/client.go#L33