AssurancePlatform icon indicating copy to clipboard operation
AssurancePlatform copied to clipboard

[User Story]: Import Assurance Cases from Public URLs

Open kallewesterling opened this issue 1 year ago • 2 comments

Role

As an assurance case editor

Desired Feature

I want to import assurance cases from publicly available URLs that link to valid JSON files

Benefit

so that I can easily incorporate externally developed assurance cases into the platform and leverage community contributions

Acceptance Criteria

GIVEN I have the URL of a publicly available JSON file, WHEN I enter the URL into the import interface of the TEA platform, THEN the platform should 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

  • Completion of a JSON schema that can verify the validity of assurance case JSON files.

Technical Notes

  • Implement an interface for users to input URLs.
  • Develop backend functionality to fetch JSON from URLs, validate them against the schema, and handle errors.

Definition of Done

  • [X] The feature fulfills all acceptance criteria.
  • [X] The code is reviewed and meets team coding standards.
  • [X] All unit, integration, and end-to-end tests are passed.
  • [X] The feature meets accessibility standards set for the project.
  • [X] The code passes the CI/CD pipeline quality controls (style and linting).
  • [X] The feature is merged into the main branch.
  • [X] The feature is deployed and functional in the QA environment.
  • [X] The feature was demonstrated to the team and accepted by the product owner.

kallewesterling avatar Jun 05 '24 08:06 kallewesterling