mozilla / jira-bugzilla-integration

Jira Bugzilla Integration (JBI) - system to sync bugs and issues
Mozilla Public License 2.0
9 stars 21 forks source link

Relocate Bugzilla models to `bugzilla` namespace #803

Closed grahamalama closed 9 months ago

grahamalama commented 9 months ago

This PR continues the work of https://github.com/mozilla/jira-bugzilla-integration/pull/795 to reduce coupling between the Jira and Bugzilla domains.

Here, we move all Bugzilla-specific models under the bugzilla name space. The intention is that this bugzilla.models module be used either internally by the Bugzilla Service / Client or by JBI code where both the Jira and Bugzilla services are used together (like in steps). The Bugzilla models should not be needed in the Jira domain and vice versa, except in the rare occasion of maybe type checking.