Commit Graph
34 Commits
Author SHA1 Message Date
kasun d5cf43ec08 renamed HomeboxEntity to HomeboxConnectionEntity 2026-06-30 22:31:34 +02:00
kasun 0508687cad added classes for vectorization, similarity search and summarization 2026-06-30 05:00:20 +02:00
kasun 3086b7e2ca renamed SearchResponse to ServiceItem and moved to shared package 2026-06-30 04:52:45 +02:00
kasun 40cbe7103f restructured folders and files 2026-06-25 17:17:10 +02:00
kasun fb64a7787f refactored to make use of the ServiceType enum throughout backend and frontend for typesafety 2026-06-24 23:25:18 +02:00
kasun 6e3d3347e2 added search response into searchmodal ui, restructured folders 2026-06-24 15:57:10 +02:00
kasun a542d23c00 Merge remote-tracking branch 'origin/main' into feature/Implement-basic-search-function 2026-06-23 20:33:57 +02:00
kasun f0d536d8f4 bug: fixed changed Homebox endpoint and added better exception handling. 2026-06-23 19:08:35 +02:00
kasunandClaude Sonnet 4.6 ea866377bc test: add unit tests for HomeboxSearchProvider and SearchResponse
HomeboxSearchProviderTest verifies that ConnectionNotFoundException is
thrown when no matching connection exists in the repository.
SearchResponseTest covers the getExtra helper — null extra map, missing
key, and a present key.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-20 17:36:31 +02:00
kasunandClaude Sonnet 4.6 a7b984ca84 refactor: consolidate test mock constants into shared Mockdata class
Moved Mockdata from the connection package to the root test package and
extended it with MOCK_USER, MOCK_PASS, MOCK_TITLE, and MOCK_DESCRIPTION
so all test modules share a single source of truth. Removed duplicate
inline constants from ConnectionControllerTest, HomeboxIntegrationTest,
and SearchControllerTest.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-20 17:36:22 +02:00
kasun 7ce01dff0b changed hibernate schema creation for test db 2026-05-20 04:38:46 +02:00
kasun 1ba85e129e added SearchControllerTest 2026-05-18 03:14:38 +02:00
kasun a8ecf65180 changed formatter 2026-05-17 00:26:46 +02:00
kasun 4d96524adb reoargnized packages 2026-05-16 02:38:33 +02:00
kasun 1d5006fd7e reorganized packages 2026-05-16 01:48:36 +02:00
kasun 92aaf63c12 fixed Homebox typo 2026-05-16 00:16:28 +02:00
kasunandClaude Sonnet 4.6 43bbcece7a add session-based connection management and React dashboard
Backend: adds JDBC session support, login/status/logout endpoints, and
new DTOs (AuthResponse, ConnectionStatusResponse, LoginResult). Frontend
replaces the Vite boilerplate with a Dashboard, ServiceCard, and
ConnectModal backed by a typed API client.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-10 03:30:36 +02:00
kasun 01fa3e4267 added integration test for missing creds 2026-04-09 21:18:52 +02:00
kasun 7de38afec2 added ConnectionService and HomeboxProvider tests 2026-04-09 21:11:17 +02:00
kasun a5c1931a2a removed apikey variable from homebox test 2026-04-09 21:09:27 +02:00
kasun 3e80b81e07 added comment 2026-04-08 22:35:59 +02:00
kasun ef4ee70aac added WrongServiceTypeException 2026-04-08 22:33:04 +02:00
kasun c553735653 removed main test 2026-04-08 22:31:36 +02:00
kasun 702e6bb973 revised HBTest to match new request body 2026-04-08 20:49:28 +02:00
kasun 3e4a1f92b1 added username for uniqueness of connection db entry 2026-04-08 17:38:42 +02:00
kasun c59f2598b0 added final fileds 2026-04-08 02:22:07 +02:00
kasun 240a366ce8 added login logic excl refresh call 2026-04-06 05:02:46 +02:00
kasun 9c3e1469c7 added ApplicationTests 2026-04-06 03:51:36 +02:00
kasun 0169cf04b6 refactored connection classes to be more generic and accept credentials of different apps. 2026-04-03 02:58:34 +02:00
kasun 6267e18478 changed format 2026-03-30 20:42:48 +02:00
kasun 79379b238a changes test name added comment 2026-03-30 20:42:39 +02:00
kasun 75b6995b94 added post request to achieve login response with tokens 2026-03-30 05:07:51 +02:00
kasun 3f579799af setup testing environment with test-db, added test 2026-03-25 01:53:42 +01:00
kasun 15831aefd7 added initial spring boot setup with external postgres connection and openai api key 2026-03-20 01:50:17 +01:00