alan-turing-institute / AssurancePlatform

Project to facilitate creation of Assurance Cases
MIT License
17 stars 6 forks source link

[User Story]: Import Assurance Cases from GitHub Links #465

Open kallewesterling opened 1 month ago

kallewesterling commented 1 month ago

Role

As an assurance case editor

Desired Feature

I want to import assurance cases from GitHub using the standard GitHub link to a file, not the raw link

Benefit

so that I can directly integrate assurance cases shared via GitHub repositories into the platform without manual URL modifications

Acceptance Criteria

GIVEN I have the GitHub URL to an assurance case file, WHEN I enter this URL into the import interface of the TEA platform, THEN the platform should automatically find the raw representation of the JSON file. AND validate the JSON file against the predefined assurance case schema. AND if the JSON is valid, import the assurance case into the platform. AND if the JSON is invalid, provide a detailed error message explaining the validation failures.

Dependencies

Technical Notes

Definition of Done