snowplow-archive / factotum-server

10 stars 2 forks source link

Add ability to store Factotum factfiles in Consul #5

Open alexanderdean opened 7 years ago

alexanderdean commented 7 years ago

Currently only local filepaths are supported, so you need to use rsync, ansible-pull or similar to ensure that the factfile is available on all instances running Factotum Server.

It would be nice if factfiles could be retrieved from Consul for easy distribution.

ninjabear commented 7 years ago

Wouldn't it be better to add a route where factfiles can be submitted via a POST request to factotum server?

jbeemster commented 7 years ago

It feels like that would make the most sense @ninjabear - that submission could then use the Persistence to store the factfile which could be Consul or some other store.

alexanderdean commented 7 years ago

Edit I think these are three separate things here:

  1. Additional stateful options for retrieving a factfile from storage
  2. A new stateless option where the factfile is contained in the POST
  3. The ability to register a factfile in Factotum's backing store via POST