add Redis cache and some clean up
- update and cleanup in README.md - update getIdentity to throw response exception with 401 in JwtService - update http files to use identity from env - add cacheable to getIdentityFromDevice in DeviceRegistryService - add RedisCacheConfiguration - add CacheProperty - set up cache property - set up data redis cache
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
{
|
||||
"development": {
|
||||
"hostname": "https://localhost:8443"
|
||||
},
|
||||
"docker": {
|
||||
"hostname": "https://localhost:9000"
|
||||
}
|
||||
"development": {
|
||||
"hostname": "https://localhost:8443",
|
||||
"identity": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||
},
|
||||
"docker": {
|
||||
"hostname": "https://localhost:9000",
|
||||
"identity": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user