Repository navigation
Progress since v0.1.0 — capture app live, reference impl now a consumer of its own API #4
johanpiet2
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Two weeks since the v0.1.0 announcement; a few things have landed.
1.
@openric/viewer@0.1.1on npmBug fix for relative server bases, adds hover tooltips that surface the RiC-O type of each node (
rico:Place,rico:Person, etc.) alongside the short label — useful for confirming at a glance what class a given resource maps to.@openric/viewer@0.1.1? Helpbutton in the header)2.
capture.openric.orgis liveSame decoupling story as the viewer, now on the capture side:
Point it at any server that implements
POST /api/ric/v1/{places,rules,activities,instantiations}+/relations. Type pickers are pulled live from the servers/vocabulary/{taxonomy}endpoint, so the form options always match whatever taxonomy the server publishes.3. The reference implementation is now a consumer of its own API
This is the bigger structural thing. Heratio (the reference impl) used to render RiC pages from in-process service classes. As of this week it runs against an independently-deployed OpenRiC API service at ric.theahg.co.za — same MySQL, separate nginx vhost, separate PHP-FPM entry, service-to-service authentication via
X-API-Key. Every mutating admin action in Heratio now ends in an HTTP call to that service.Which means: the public API surface is provably sufficient for a real-world archival platform to function against. Heratio is no longer a privileged caller. Anyone building a second backend gets the same deal Heratio gets.
15 of 15 endpoints exercised by
ric:verify-splitare green end-to-end (read + CRUD writes).4. What wed love from here
Still the same three asks from v0.1.0, but they matter more now because the contract is visibly enforceable:
/api/ric/v1/*. Discussion #2 has the detailed questions.Thanks to everyone whos taken a look so far.
— Johan
All reactions