Commit graph

8 commits

Author SHA1 Message Date
Jonathan Zernik
a7ac6c67ee
Fix closing of connection after use in connection pool (#46) 2020-06-11 23:02:44 -07:00
Jonathan Zernik
1e9a81da59
Use connection for for postgres db (#44) 2020-06-11 18:06:18 -07:00
Jonathan Zernik
278fa38db6
Init db on startup (#43)
* Create db tables on startup

* Move createdb script for itest to itest folder

* Fix teardown of dockercompose containers
2020-06-11 17:44:23 -07:00
Jonathan Zernik
057d9495d4
Clean up validation of squeak requests (#37)
* Move hashing function for squeak requests to util module

* Remove sayHello method from protocol
2020-06-06 19:10:12 -07:00
yzernik
964920bbbb Fix endianness of hash in db 2020-06-06 18:40:43 -07:00
Jonathan Zernik
2f30f90a75
Handle lookup requests with empty address list without crashing (#35) 2020-06-05 20:24:18 -07:00
Jonathan Zernik
4ffe10e131
Add lookup squeaks to api (#32)
* Add lookup squeaks to protocol and add method

* Get the same squeak back in itest after posting

* Got lookup squeaks api working
2020-06-04 20:42:48 -07:00
Jonathan Zernik
88108f7810
Rename squeaknode to squeakserver (#28)
* Rename server entrypoint

* Updated manifest

* Moved db init.sql file

* Rename module to squeakserver
2020-06-04 17:47:49 -07:00
Renamed from squeaknode/server/postgres_db.py (Browse further)