Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-2072

Refactor how content is stored and validated

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Data Loader 1.0
    • Fix Version/s: Data Loader 1.0
    • Component/s: Data Loader
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      Sprint 11, Sprint 12, Sprint 13

      Description

      Right now, the CSV data is stored in a model 'Model'. Model has a list of SMBRows, which represent a CSV row. As the CSV file gets parsed, each row is stored as a string within SMBRow as 'String[] content'. This has made things very complicated since all data types (with different columns/types of columns) are all stored the same, as a list of strings. So if you want to reference a keyword row's match type, you would do something like getSMBRow().getContent()[3]. I propose that ads and keywords get stored in their own separate model, so we can reference them like getKeywordData().getMatchType(). This should make validating the data much easier.

        Attachments

          Activity

            People

            • Assignee:
              dylan.kirby Dylan Kirby (Inactive)
              Reporter:
              dylan.kirby Dylan Kirby (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: