Skip to content

Move data fields models to Integrations namespace

Markus Koller requested to merge 201855-rename-data-fields into master

What does this MR do?

This moves the *TrackerData models into the Integrations:: namespace as part of #201855 (closed).

We also rename the related concerns to clarify their intent:

app/models/concerns/services/data_fields.rb:

  • Renamed from Services::DataFields to Integrations::BaseDataFields.
  • This is included in the models and acts as a sort of base class.
  • It's still a module because converting it into an actual class changes some of the automatic Rails behaviour (such as inferring the table name).

app/models/project_services/data_fields.rb:

  • Renamed from DataFields to Integrations::HasDataFields.
  • This is included in the main Integration model and provides some helpers to access the associated data fields records.

Both of these are moved into app/models/concerns/integrations.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #201855 (closed)

Edited by Markus Koller

Merge request reports