issues
search
openlawlibrary
/
stelae
Preservation, Authentication, Access
GNU Affero General Public License v3.0
7
stars
1
forks
source link
Serve current documents
#18
Closed
n-dusan
closed
10 months ago
n-dusan
commented
1 year ago
[x] Traverse and parse Stelae archive
[x] Load
dependencies.json
[x] Load
repositories.json
[x] Load from individual stele
[x] Dynamically create Actix scopes and routes for each stele
[x] Add scopes and routes data to
repositories.json
[x] Traverse stelae
[x] Create dynamic scopes and routes
[x] For root stele
[x] append underscore scopes to parent routes
[x] Add fallback repository if request in repository not found
[x] resolve path in serve method that excludes _rdf, _xml, _uncodified_xml
[x] append underscore routes to parent scope
[x] pass in root stele, differentiate root stele
[x] For children stele
[x] Add Stele data to Actix AppState
[x] #29
[x] Set up fixtures with repositories.json and dependencies.json
[x] Use
actix integration tests
to confirm that dynamic routes are resolved
[x] #31
[x] Use bare repositories in testing framework
[ ] Make Archive init faster by using references
[x] Clean up current implementation by moving to separate, documented functions
dependencies.json
repositories.json
repositories.json