Commit Graph

25 Commits

Author SHA1 Message Date
Mohamed Sohail 4b177d7057
ci: add dependabot 2022-05-11 12:30:28 +03:00
Mohamed Sohail 41f75b4efc
refactor: queries struct and pkg updates
- update cic-go to latest
- separate sql queries by logic
2022-05-11 12:23:44 +03:00
Mohamed Sohail 29af3b5c21
refactor: syncer structure
- move syncer jobs to internal dir
2022-05-11 12:22:24 +03:00
Mohamed Sohail 9882a9ddc6
refactor: move pkg's out
- to cic_go
2022-05-06 16:53:57 +03:00
Mohamed Sohail b4a7668ca4
fix: (redis) parse redis dsn 2022-05-05 19:58:27 +03:00
Mohamed Sohail 6902033586
project: remove changelog
- tracked by go releaser
2022-05-05 19:40:12 +03:00
Mohamed Sohail a68ae5a9eb
fix: (redis) bootstrap connection struct properly 2022-05-05 19:39:25 +03:00
Mohamed Sohail da66f70bf9
ci: remove uncessary deps build 2022-05-05 16:39:25 +03:00
Mohamed Sohail 16add59db5
ci: fix yml 2022-05-05 16:37:23 +03:00
Mohamed Sohail ab7a6ebad8
ci: fix docker login 2022-05-05 16:35:23 +03:00
Mohamed Sohail 037d709e0e
release: v0.1.1 2022-05-05 16:31:01 +03:00
Mohamed Sohail 342bb98d1b
ci: add build 2022-05-05 16:29:29 +03:00
Mohamed Sohail 2457ee7483
add: license 2022-05-05 15:10:27 +03:00
Mohamed Sohail 072e5600a0
release: v0.1.0 2022-05-05 15:06:23 +03:00
Mohamed Sohail 9c6310440c
refactor: syncer structure and async bootstrapping
- asynq bootstrap handlers
- graceful shutdown of goroutines
- remove unnecessary global App struct
- unmarhsal toml/env to koanf struct
2022-05-05 15:01:34 +03:00
Mohamed Sohail 4f868d8d94
fix: (pkg) revert to untrimmed address, panic on failed dial
- TODO: cicnet should be initialized at job handler level
2022-05-05 14:58:47 +03:00
Mohamed Sohail 659007e563
fix: (sql) lower case addresses for easier joins
- add schema docs
2022-05-05 14:56:22 +03:00
Mohamed Sohail 1c65a11460
add: ussd and cache syncer tasks
- no repeat on failure, picked up on next schedule
- enforce uniq on users and tx table to prevent duplicates
2022-05-03 21:37:48 +03:00
Mohamed Sohail 05ab865c63
add: token syncer
core:
- add koanf for runtime config loading
- cicnet connection must dial else panic
- add db connection init
- add goyesql for convenient querying
- add async tasker processor (scheduler, processor)

dev:
- add redis server to dev docker-compose
- update volume to prune-able local
2022-05-03 18:54:51 +03:00
Mohamed Sohail d9f42005af
fix: (schema) tgrm indexes and cursor init 2022-05-03 18:46:56 +03:00
Mohamed Sohail a6f24042f5
add: cic-meta client 2022-04-29 17:04:01 +03:00
Mohamed Sohail e81a505681
fix: (ethClient) handle teardown 2022-04-29 11:12:47 +03:00
Mohamed Sohail e6651fc911
add: cicnet package
- query cicnet contracts
2022-04-29 11:09:25 +03:00
Mohamed Sohail 18359139e1
fix: migration
- add cursor descriptions
- enable search extension on indexes
2022-04-29 11:02:03 +03:00
Mohamed Sohail b7452778d5
project: init
- create dw db structure
- write remote syncer queries
2022-04-25 18:29:38 +03:00