openlawlibrary/stelae

Serve current documents

n-dusan opened this issue · 0 comments

  • Traverse and parse Stelae archive
    • Load dependencies.json
    • Load repositories.json
    • Load from individual stele
  • Dynamically create Actix scopes and routes for each stele
    • Add scopes and routes data to repositories.json
    • Traverse stelae
      • Create dynamic scopes and routes
        • For root stele
          • append underscore scopes to parent routes
          • Add fallback repository if request in repository not found
          • resolve path in serve method that excludes _rdf, _xml, _uncodified_xml
          • append underscore routes to parent scope
          • pass in root stele, differentiate root stele
        • For children stele
      • Add Stele data to Actix AppState
  • #29
    • Set up fixtures with repositories.json and dependencies.json
    • Use actix integration tests to confirm that dynamic routes are resolved
  • #31
  • Use bare repositories in testing framework
  • Make Archive init faster by using references
  • Clean up current implementation by moving to separate, documented functions