8 Commits

Author SHA1 Message Date
f6e7fb3a41 Implement Jest testing framework and add initial test cases for various modules. Update configuration for test environment in config.json and add test results handling in Jenkinsfile. Include .gitignore entry for test results. Enhance package.json with Jest dependencies.
All checks were successful
farmcontrol/farmcontrol-ws/pipeline/head This commit looks good
2025-12-29 01:13:01 +00:00
50221a0228 Updated Keycloak clientId in config.json from 'farmcontrol-client' to 'farmcontrol-dev'. 2025-12-27 14:15:00 +00:00
85e2ad8d6f Updated secrets held in env vars. 2025-12-13 23:54:25 +00:00
950d47bcfa Removed etc and added better redis support. 2025-12-13 21:03:11 +00:00
362265da72 Refactor caching mechanism to utilize Redis for improved performance and reliability
- Replaced in-memory caching with Redis for object and list caching in database operations.
- Introduced a new RedisServer class for managing Redis connections and operations.
- Updated cache retrieval and update functions to handle asynchronous operations with Redis.
- Enhanced logging for cache operations to improve traceability of cache hits, misses, and errors.
- Adjusted configuration to include Redis settings in config.json.
2025-11-24 03:35:26 +00:00
43dc41470d Add OTP expiry configuration to config.json
- Introduced otpExpiryMins setting to specify the expiration time for OTPs in minutes.
- Updated configuration structure to enhance authentication management.
2025-08-18 01:07:26 +01:00
bf56234c4b Refactor project structure: remove app.js, update config.json for environment-specific settings, enhance package.json with new scripts and dependencies, and convert websockets.js to ES module syntax with Keycloak authentication integration. 2025-06-29 22:39:23 +01:00
15cb1a03b6 Initial Commit 2024-07-28 17:52:27 +01:00