Charles Zhao
35f57639e5
fix(core): dispose tenant cache on demand in order to hot reload oidc provider ( #4641 )
...
* fix(core): dispose tenant cache on demand
* chore: add comments for the tenant cache invalidation mechanism
* refactor(core): refactor dispose tenant cache implementation per review comments
* refactor(core): change `invalidateCache` to a class member method
* test(core): add test cases for Tenant class
2023-10-14 12:34:03 +00:00
Gao Sun
947de83173
chore: upgrade configs ( #4132 )
...
* chore: upgrade configs
* chore: fix lint errors
2023-07-07 17:17:21 +00:00
Gao Sun
cfe4fce51c
fix: support circular reference when normalizing errors ( #4069 )
2023-06-21 16:05:33 +08:00
Gao Sun
2338cb692e
refactor(core): apply no-unused-modules ( #4009 )
2023-06-09 21:55:15 +08:00
wangsijie
a1ea4c388f
feat(core): apply custom domain to koa ( #3928 )
2023-06-01 15:58:28 +08:00
Gao Sun
020a811016
refactor(core): improve cache behavior ( #3706 )
2023-04-18 12:20:07 +08:00
Gao Sun
83367569fa
refactor: align console log ( #3684 )
...
add a shared ConsoleLog class for unified console logging.
2023-04-10 17:48:19 +00:00
Gao Sun
8deb493d14
test: add integration test
2023-04-07 23:39:03 +08:00
Gao Sun
45cc8f4fb0
test(core): add cache tests
2023-04-07 17:41:22 +08:00
Gao Sun
1548e0732f
chore: add comments and refactor
2023-04-07 14:36:25 +08:00
Gao Sun
4a64d267b6
feat: implement central cache
...
with Redis as the default choice.
2023-04-07 14:29:35 +08:00
Gao Sun
d0a5537b31
refactor(core): reduce cache ttl to 5s ( #3516 )
2023-03-20 09:30:45 +08:00
Gao Sun
e0fad2dccd
refactor: implement ttl cache
2023-03-17 13:59:59 +08:00
Gao Sun
db1de6ce4c
refactor(core): honor no-cache
header for cached data
2023-03-17 13:59:58 +08:00
Gao Sun
ae389c0a7a
refactor(core): add cache class and invalidate cache after onboarding
2023-03-17 13:59:58 +08:00
Gao Sun
dd91ebddfa
refactor: cache well-known data
2023-03-17 13:59:53 +08:00