Skip to content

Add ability to import OneRoster CSV and increment data #47

@bergerb

Description

@bergerb

Issue

The OneRosterSampleDataGenerator currently generates sample data but lacks the ability to import an existing OneRoster CSV and apply incremental data updates. Adding this functionality will allow for more dynamic and customizable testing scenarios.

Fixes

  • Implement functionality to import OneRoster CSV files into the system.
  • Support incremental data updates based on imported data.
  • Ensure imported data aligns with the existing data structure.
  • Allow updating of key entities such as:
    • Classes
    • Courses
    • Demographics
    • Orgs

Acceptance

  • Users can import a OneRoster CSV file via the constructor.
  • Imported data integrates seamlessly into the existing dataset.
  • Incremental updates modify the correct records while maintaining data integrity.
  • Proper logging is implemented for tracking imported and updated records.

Module

OneRosterSampleDataGenerator

Steps

  1. Implement a CSV parser to read OneRoster CSV files.
  2. Map imported data to the existing OneRoster model.
  3. Develop logic to apply incremental updates to relevant entities.
  4. Ensure data consistency and avoid duplicate records.
  5. Add logging for tracking import operations.
  6. Test with various OneRoster CSV files to validate functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions