ette icon indicating copy to clipboard operation
ette copied to clipboard

add implementation for EtteHttpServer option (flag to expose REST API)

Open eperakakis-xm opened this issue 3 years ago • 1 comments

I required for ette to work only as a service that populated the PostgreSQL database.

GraphQL can be disabled by EtteGraphQLPlayGround setting. Live subscription can be disabled by using the appropriate EtteMode setting. But, there was no way to disable the REST HTTP server.

This change adds an additional setting, EtteHttpServer in .env file. If it is not true, then the HTTP server won't start. In this case, to avoid the immediate termination of ette, the Run method is blocked.

eperakakis-xm avatar Jun 22 '22 12:06 eperakakis-xm

Thanks for the PR @eperakakis-xm , I'll take a look.

itzmeanjan avatar Jun 22 '22 16:06 itzmeanjan

I've stopped maintaining ette, so closing this PR. Thanks.

itzmeanjan avatar Jan 13 '23 12:01 itzmeanjan