Commit Graph
100 Commits
Author SHA1 Message Date
kasun 65ff109800 add session-gated /sync endpoint and prune stale vectors after reindex
SyncController/SyncService/SyncProvider mirror the existing search
dispatch pattern: a session-gated controller routes a SyncRequest to
the provider registered for its ServiceType. HomeboxSyncProvider pages
through the full Homebox catalog, embedding each page via
EmbeddingService, and now collects every item ID it sees across all
pages before pruning anything no longer present upstream in one
deleteStaleVectorEntries call at the end - deleting per page would
treat items on other pages as stale and wipe them out.
2026-07-04 01:08:42 +02:00
kasun 48d120fbff extract HomeboxItemClient for reuse between search and sync
HomeboxSearchProvider used to own the RestClient call and item mapping
directly; pulling it into a shared HomeboxItemClient lets the upcoming
sync pipeline page through the same Homebox items without duplicating
the fetch/mapping logic. ConnectionIdentifiable lets both SearchRequest
and SyncRequest be resolved to a connection by the same client.
2026-07-04 01:08:26 +02:00
kasun 43b6d227db replaced constructor with RequiredArgsConstructor annotation 2026-07-01 19:47:00 +02:00
kasun fed981212a fixed failing searchControllerTests 2026-07-01 18:16:11 +02:00
kasun e310c1bbd8 renamed SyncProvider 2026-07-01 01:06:20 +02:00
kasun 9ae94c81e6 added vector and sync packages for pgvector operations, renamed classes and added sync providers. 2026-06-30 23:47:07 +02:00
kasun 8f24163bc0 refactored EmbeddingService 2026-06-30 23:26:33 +02:00
kasun 2ce90a6cac renamed Homebox record and extraData map key 2026-06-30 23:25:36 +02:00
kasun c363e16987 updated CLAUDE.md for better chat operations 2026-06-30 22:54:48 +02:00
kasun d5cf43ec08 renamed HomeboxEntity to HomeboxConnectionEntity 2026-06-30 22:31:34 +02:00
kasun 6908f7530a changed id type of vector store from uuid to text to make use of deterministic ids 2026-06-30 22:27:55 +02:00
kasun 573f0110c7 changed variable name 2026-06-30 22:25:41 +02:00
kasun 0508687cad added classes for vectorization, similarity search and summarization 2026-06-30 05:00:20 +02:00
kasun baa0582d50 renamed SearchResponse to ServiceItem in frontend 2026-06-30 04:55:08 +02:00
kasun 3086b7e2ca renamed SearchResponse to ServiceItem and moved to shared package 2026-06-30 04:52:45 +02:00
kasun 47466a6c61 added pgvector implementation and updated doc 2026-06-29 22:27:32 +02:00
kasun 28080c7954 dded postgresql dependency 2026-06-29 01:14:58 +02:00
kasun 23e4467e23 fixed format 2026-06-27 13:21:10 +02:00
kasun 51382d0bd1 fixed sonarqube issue for grouping dependencies
SonarQube Analysis / Build and Analyze (pull_request) Successful in 2m5s
2026-06-27 03:19:27 +02:00
kasun a55270f6d5 fixed sonarqube issue with hardcoded dependency version
SonarQube Analysis / Build and Analyze (pull_request) Successful in 2m2s
2026-06-27 03:14:06 +02:00
kasun 7f6fd4259b fixed sonarqube issue with hardcoded dependency version
SonarQube Analysis / Build and Analyze (pull_request) Failing after 51s
2026-06-27 03:12:01 +02:00
kasun 46a86f15d8 fixed sonarqube issue with hardcoded dependency version
SonarQube Analysis / Build and Analyze (pull_request) Failing after 50s
2026-06-27 03:09:26 +02:00
kasun 78b6e04db6 bump test db to postgres 18.4
SonarQube Analysis / Build and Analyze (pull_request) Successful in 2m5s
2026-06-27 03:05:17 +02:00
kasun 3fed8a4ea2 revised build.yaml dropped caching
SonarQube Analysis / Build and Analyze (pull_request) Successful in 2m42s
2026-06-27 02:53:39 +02:00
kasun 5b0c2d6d02 bumb test db to postgres 18
SonarQube Analysis / Build and Analyze (pull_request) Has been cancelled
2026-06-27 01:21:51 +02:00
kasun ee2685aa07 resolve null type safety warnings from method references in stream collectors
SonarQube Analysis / Build and Analyze (pull_request) Successful in 3m50s
2026-06-27 01:15:55 +02:00
kasun 12fc7909fd added missing javadoc
SonarQube Analysis / Build and Analyze (pull_request) Successful in 3m45s
2026-06-27 01:08:49 +02:00
kasun 9bbf2fd098 format
SonarQube Analysis / Build and Analyze (pull_request) Successful in 3m44s
2026-06-27 01:07:50 +02:00
kasun 9c2cbd1608 replaced streams with for loop for serviceprovider lookup to resolves null type safety warning from Collectors.toMap
SonarQube Analysis / Build and Analyze (pull_request) Successful in 3m51s
2026-06-27 01:07:36 +02:00
kasunandClaude Sonnet 4.6 fffdd2a575 add JaCoCo coverage reporting for SonarQube
SonarQube Analysis / Build and Analyze (pull_request) Successful in 3m46s
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-06-25 22:18:07 +02:00
kasunandClaude Sonnet 4.6 8c18d7ff73 fix CI database name to satisfy vaessl_test assertion
SonarQube Analysis / Build and Analyze (pull_request) Successful in 3m40s
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-06-25 22:09:19 +02:00
kasun 4318fc13f6 added self contained postgresql db
SonarQube Analysis / Build and Analyze (pull_request) Failing after 2m52s
2026-06-25 22:01:47 +02:00
kasun a2e110d3dd fixed typo
SonarQube Analysis / Build and Analyze (pull_request) Failing after 2m24s
2026-06-25 21:50:11 +02:00
kasun adb51584e7 added missing env
SonarQube Analysis / Build and Analyze (pull_request) Failing after 2m20s
2026-06-25 21:44:18 +02:00
kasun 048120688f changed image
SonarQube Analysis / Build and Analyze (pull_request) Failing after 2m22s
2026-06-25 21:36:10 +02:00
kasun b356682175 fixed typo
SonarQube Analysis / Build and Analyze (pull_request) Failing after 13s
2026-06-25 21:33:29 +02:00
kasun bdbfece62c added env variables
SonarQube Analysis / Build and Analyze (pull_request) Failing after 2s
2026-06-25 21:32:28 +02:00
kasun 597c941994 added test failure logging
SonarQube Analysis / Build and Analyze (pull_request) Failing after 2m20s
2026-06-25 21:10:06 +02:00
kasun 8183bf61ea added network connection to self hosted postgreql db
SonarQube Analysis / Build and Analyze (pull_request) Failing after 3m15s
2026-06-25 21:03:55 +02:00
kasun 5838084b73 adjusted java version
SonarQube Analysis / Build and Analyze (pull_request) Failing after 3m41s
2026-06-25 20:46:34 +02:00
kasun 77ee6f68c6 fixed typo in build.gradle
SonarQube Analysis / Build and Analyze (pull_request) Failing after 1m42s
2026-06-25 20:43:19 +02:00
kasun 5c58fe43d9 adjusted gradlew path
SonarQube Analysis / Build and Analyze (pull_request) Failing after 1m18s
2026-06-25 20:37:13 +02:00
kasun 7652645f42 adjusted gradlew path
SonarQube Analysis / Build and Analyze (pull_request) Failing after 1m5s
2026-06-25 20:30:33 +02:00
kasun 2ea346651f adjusted gradlew path
SonarQube Analysis / Build and Analyze (pull_request) Has been cancelled
2026-06-25 20:30:08 +02:00
kasun 6b5a3b5687 added sonarqube config
SonarQube Analysis / Build and Analyze (pull_request) Failing after 2m33s
2026-06-25 20:23:22 +02:00
kasun 33c560555e updated readme.md 2026-06-25 17:56:44 +02:00
kasun ff9cfe2b3c updated deprecated yaml option 2026-06-25 17:44:42 +02:00
kasun 17e15279c5 updated claude.md to new progress 2026-06-25 17:17:30 +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 38c72d1bb8 changed app title 2026-06-24 16:00:43 +02:00
kasun 077308b547 removed unsused assets 2026-06-24 15:57:24 +02:00
kasun 6e3d3347e2 added search response into searchmodal ui, restructured folders 2026-06-24 15:57:10 +02:00
kasun a1ce085123 fixed format 2026-06-24 13:25:29 +02:00
kasun 61d399761d fixed wrong modal reference 2026-06-24 13:25:13 +02:00
kasun 17a959e7a7 removed wrong operator 2026-06-24 13:24:50 +02:00
kasun b7bc8f5525 added first searchmodal draft 2026-06-24 00:58:45 +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 fad016cdaf removed unnecessary annotation 2026-06-23 20:33:19 +02:00
kasun dbf7a9c50d updated spring versions 2026-06-23 20:33:07 +02:00
kasun f0d536d8f4 bug: fixed changed Homebox endpoint and added better exception handling. 2026-06-23 19:08:35 +02:00
kasun 5776676eeb refactor: centralise session key format in SessionKeys utility 2026-05-21 20:57:32 +02:00
kasun 1a86c23565 corrected javadoc 2026-05-21 20:42:14 +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 856fa9e166 updated local postgresql database and updated doc for pgvector db creation 2026-05-20 04:39:29 +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 c75bf2ad71 changed hibernate schema creation 2026-05-17 19:52:40 +02:00
kasun d91f39d087 implemented basic search function with Homebox provider 2026-05-17 04:22:29 +02:00
kasun f39bf049a0 added RemoteApiException 2026-05-17 00:38:47 +02:00
kasun 5b2648d526 changed formatter 2026-05-17 00:31:10 +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 406a041ce9 reorganized packages 2026-05-16 01:47:12 +02:00
kasun d7233d817c reorganized packages 2026-05-16 01:14:34 +02:00
kasun 92aaf63c12 fixed Homebox typo 2026-05-16 00:16:28 +02:00
kasun ef09a3c84d revised CORS config for lalowed origins 2026-05-14 14:57:25 +02:00
kasun 463fbd8332 added focus to first input field of modal 2026-05-13 17:33:08 +02:00
kasun 0cce4727e5 fixed indentation 2026-05-13 16:44:45 +02:00
kasun 83427b4f6b revsied documentation according to progress made 2026-05-12 20:23:39 +02:00
kasun 4aa3d0134c revised CLAUDE.md 2026-05-12 20:23:20 +02:00
kasun 0eb135249e fixed typos 2026-05-12 18:27:46 +02:00
kasun 1bada8d83e upgraded Spring Boot version from 4.0.5 to 4.0.6 2026-05-12 18:22:10 +02:00
kasun a8e39d8f09 changed cors config to use env variables 2026-05-10 03:49:41 +02:00
kasun 2c766b10a3 added doc for claude code implementation 2026-05-10 03:32:16 +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 0127706262 added doc for adding claude code to path 2026-04-22 19:03:06 +02:00
kasunandClaude Sonnet 4.6 2cbb8b7467 add CLAUDE.md with architecture and development guidance
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-04-22 18:58:12 +02:00
kasun 4a256c8086 added stack illustration to Readme.md 2026-04-11 21:51:41 +02:00
kasun ae3e699938 Merge branch 'doc/Update-the-cover-Readme.md' 2026-04-11 14:55:17 +02:00
kasun 7b21011f5a updated README.MD 2026-04-11 14:49:22 +02:00
kasun 01fa3e4267 added integration test for missing creds 2026-04-09 21:18:52 +02:00
kasun a1ebb1be21 format 2026-04-09 21:18:40 +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 00bb929f22 format 2026-04-08 22:32:06 +02:00