Skip to content

Create models for issue trackers data

Jarka Košanová requested to merge 58886-issue-tracker-fields into master

What does this MR do?

We want to move data from issue trackers serialized properties (Service model) to a separate table.

This MR creates 2 new models, one for data of jira and one for general issue trackers.

Reading and writing data will be a follow-up in order to keep the scope small and make MRs easier to review/discuss.

Issue

https://gitlab.com/gitlab-org/gitlab-ce/issues/63081

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

  • we have to iterate over all issue trackers in the migration and create records for them. As we need to encrypt the fields we can't do simple bulk inserts

If cross-browser testing is not required, please remove the relevant item, or mark it as not needed: [-] -->

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Jarka Košanová

Merge request reports