Commit Graph

25 Commits

Author SHA1 Message Date
Derrick Hammer 539d5ead65
fix: make core.db.name required 2024-01-15 23:59:58 -05:00
Derrick Hammer 212832eda1
refactor: since Portal.Logger can return a temporary logger, just use it 2024-01-15 22:44:28 -05:00
Derrick Hammer a8a39d523e
fix: if logger is not ready, use a temporary one 2024-01-15 22:42:55 -05:00
Derrick Hammer 6076073dce
fix: logger needs to be inited before config check 2024-01-15 22:35:00 -05:00
Derrick Hammer 51a1f6051b
fix: implement database getter 2024-01-15 22:02:10 -05:00
Derrick Hammer 05c0aba484
feat: initial casbin support 2024-01-15 22:01:40 -05:00
Derrick Hammer b9fab1a4b5
fix: add db config to required config 2024-01-15 21:00:08 -05:00
Derrick Hammer 3a44305c44
refactor: rename to startProtocolRegistry 2024-01-15 20:58:53 -05:00
Derrick Hammer 82fe380b02
feat: initial database support and models 2024-01-15 20:58:20 -05:00
Derrick Hammer 2040d4edbc
fix: break import cycle 2024-01-15 20:10:15 -05:00
Derrick Hammer 66e1cba39b
refactor: move init and startup process to a functional approach for readability 2024-01-15 20:07:08 -05:00
Derrick Hammer 8ceb8c1eb9
refactor: logger does not need to be a singleton 2024-01-15 19:43:00 -05:00
Derrick Hammer 0281936511
refactor: put logger as its own package with a custom config for the log level, allow it to be configurable with a default, add an init func for it, and have the config init use a temp logger 2024-01-15 10:02:58 -05:00
Derrick Hammer ba44b58897
fix: need to create init for storage service to ensure it configures the http client after we have read the config 2024-01-15 08:38:05 -05:00
Derrick Hammer a16bcc788d
fix: make core.sia.url and core.sia.key required 2024-01-15 08:04:05 -05:00
Derrick Hammer 8afc157d4f
feat: initial storage service 2024-01-14 23:52:54 -05:00
Derrick Hammer 7fd30e571c
refactor: make core.domain required 2024-01-12 10:40:39 -05:00
Derrick Hammer 4819bf45ac
refactor: move port check after identity init 2024-01-12 09:27:45 -05:00
Derrick Hammer 1e3addac8b
refactor: add check to ensure core.port is set 2024-01-12 09:20:43 -05:00
Derrick Hammer fecc99b081
refactor: use core.port 2024-01-12 09:17:26 -05:00
Derrick Hammer b5c540ab8e
refactor: change Protocol Initialize to take a portal instance 2024-01-12 08:21:41 -05:00
Derrick Hammer 2fb08f35ed
feat: implement identity and seed generation 2024-01-12 08:15:36 -05:00
Derrick Hammer 8917be5077
fix: add init func for config 2024-01-11 23:32:02 -05:00
Derrick Hammer 519426ba7d
feat: bare bones s5 support, and more dynamic loading of subsystems 2024-01-11 23:13:10 -05:00
Derrick Hammer 444de35e31
feat: initial new portal bones 2024-01-11 19:11:53 -05:00