Page MenuHomeDevCentral

Create a temporary API to receive server logs
Closed, ResolvedPublic

Description

Currently, infra.nasqueron.org is live, with a servers logs parsed from https://api.nasqueron.org/servers-log/all.json

This proof of concept all.json file has been generated by a script from the Freenode #nasqueron-ops IRC logs and committed as rAPI811ec59e06b2.

There is code for a production Rust service to receive data for this document, and to serve this document at rSERVERSLOG. But it's not in production.

Yet, I need NOW to setup a new Docker engine, upgrade our Mastodon instance, etc. and I'd really like an up-to-date servers log visible.

As such, I offer to implement:

  • on api.nasqueron.org (rAPI), an endpoint to receive a JSON payload and append it to all.json (in PHP, so we can directly run it from current API webserver)
  • on Dæghrefn or Wearg (rVIPER), the client side to communicate with this API (good news is that part won't change when we kick rSERVERLOGS in production)

Event Timeline

dereckson triaged this task as High priority.Oct 15 2017, 07:56
dereckson updated the task description. (Show Details)
dereckson added projects: Nasqueron API, Servers.

The microservice is running on the API, so the first part is done.

For the second part, tests/client/fireDummyLogEntry.tcl provides an example of TCL code to fire a request, ready to be integrated to rVIPER.

dereckson removed dereckson as the assignee of this task.Mar 8 2018, 21:07
dereckson claimed this task.