Commit Graph

16 Commits

Author SHA1 Message Date
Reed Allman
4e52c595d2 merge datastores into sqlx package
replace default bolt option with sqlite3 option. the story here is that we
just need a working out of the box solution, and sqlite3 is just fine for that
(actually, likely better than bolt).

with sqlite3 supplanting bolt, we mostly have sql databases. so remove redis
and then we just have one package that has a `sql` implementation of the
`models.Datastore` and lean on sqlx to do query rewriting. this does mean
queries have to be formed a certain way and likely have to be ANSI-SQL (no
special features) but we weren't using them anyway and our base api is
basically done and we can easily extend this api as needed to only implement
certain methods in certain backends if we need to get cute.

* remove bolt & redis datastores (can still use as mqs)
* make sql queries work on all 3 (maybe?)
* remove bolt log store and use sqlite3
* shove the FnLog shit into the datastore shit for now (free pg/mysql logs...
just for demos, etc, not prod)
* fix up the docs to remove bolt references
* add sqlite3, sqlx dep
* fix up tests & mock stuff, make validator less insane
* remove put & get in datastore layer as nobody is using.

this passes tests which at least seem like they test all the different
backends. if we trust our tests then this seems to work great. (tests `make
docker-test-run-with-*` work now too)
2017-07-07 01:30:02 -07:00
Travis Reeder
9cc12b4b12 Remove iron... 2017-05-18 18:59:34 +00:00
Travis Reeder
fedf08964e Deploy will automatically create a route if it doesn't exist. 2017-05-17 15:11:44 -07:00
Travis Reeder
333f648b84 Updated makefile docker commands (#545)
* Updated makefile docker commands

* Fix

* rename make target
2017-02-28 15:19:44 -06:00
C Cirello
5129cb47a0 docs: explains the need of keep doc up-to-date (#401) 2016-12-07 18:11:33 +01:00
Benji Visser
7996fdb2ec Small doc fixes (#238)
* adding instructions on how to test in docker for CONTRIBUTING.md

* fixing small grammatical issues

* adding documentation about how to run tests native

* all the sh!
2016-11-08 22:49:44 +01:00
Travis Reeder
85e15fe48a More doc updates, explanation of serverless. (#228)
* More doc updates, explanation of serverless.

* Moved howto directory to examples and some minor doc updates.

* Added apps and routes docs.

* Fixes for Carlos' comments.

* Added bit about importing lambda functions.
2016-11-08 09:44:08 -08:00
Travis Reeder
3e443e604c Added async post command to README. 2016-10-13 20:24:06 -07:00
Seif Lotfy سيف لطفي
b7bf73f5d2 Makefile (#122)
* Update Readme and add Makefile
* Skip stale tests (in wait for stdin support)

* Revert "Skip stale tests (in wait for stdin support)"

This reverts commit 228da3776503f40ca53df70a79a9e4a9c73fd8b5.
2016-10-06 20:46:29 +02:00
Pedro Nasser
63177e9627 removing 'hack/' from CONTRIBUTING.md 2016-07-27 18:37:26 -03:00
Pedro Nasser
338498e94d update docs and contributing 2016-07-27 17:51:51 -03:00
Travis Reeder
edc126eb81 Added hello example. 2016-07-19 12:29:02 -07:00
Travis Reeder
2516ecde84 Bunch of cleanup and reorg 2016-07-17 20:52:28 -07:00
Travis Reeder
403befabce functions: 0.0.24 release 2016-07-15 15:27:54 -07:00
Travis Reeder
c73dd4dd42 Bunch of cleanup. 2016-07-14 09:18:43 -07:00
Travis Reeder
5d347bb190 Testing influx and chronograf 2016-07-08 12:59:55 -04:00