relaycorp / awala-endpoint-internet

Middleware for server-side apps to communicate over Awala without implementing any of the networking or cryptography from the protocol suite.
https://docs.relaycorp.tech/awala-endpoint-internet/
GNU Affero General Public License v3.0
0 stars 0 forks source link

Implement healthcheck in PoHTTP server and client #7

Closed gnarea closed 1 year ago

gnarea commented 1 year ago

Let's just make GET / work in both PoHTTP server and client by copying the respective code from VeraId Authority. (NB: I'm using the term "client" in the context of PoHTTP, but technically speaking it's a CloudEvents server just like src/backgroundQueue in the Authority server).

I'd suggest a code structure similar to the one in the other app:

Let's also bring the Fastify plugins we'll need here eventually: Mongoose, notFoundHandler, etc. Note that this app does not need OAuth2.

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: