lexman / tuttle

Make for data
MIT License
20 stars 3 forks source link

Configuration #16

Open lexman opened 9 years ago

lexman commented 9 years ago

A standard way to declare constants, for exemple yaml or .ini

Could be used for Pre-run dependancy graph Processes using constants should declare them as dependancies, in order to invalidate the appropriate ressources if configuration changes

Note : some constants should not be taken into account for dependancies and should not be saved. Eg passwords

lexman commented 8 years ago

Constants could be injected in the resources names using the uri templates

For exemple, if we have a constants like COUNTRY=fr and FORMAT=tgz, could be used in url http://example.com/extracts{?COUNTRY,FORMAT} at run time.

This would be usefull to define environements (prod, dev, test, etc.).