File tree Expand file tree Collapse file tree 3 files changed +8
-18
lines changed
io/helidon/integrations/mcp/server Expand file tree Collapse file tree 3 files changed +8
-18
lines changed Original file line number Diff line number Diff line change 3434 <groupId >io.helidon.webserver</groupId >
3535 <artifactId >helidon-webserver</artifactId >
3636 </dependency >
37+ <dependency >
38+ <groupId >io.helidon.jsonrpc</groupId >
39+ <artifactId >helidon-jsonrpc-core</artifactId >
40+ <version >4.3.0-SNAPSHOT</version >
41+ </dependency >
3742 <dependency >
3843 <groupId >io.helidon.webserver</groupId >
39- <artifactId >helidon-webserver-json-rpc </artifactId >
40- <version >${helidon.version} </version >
44+ <artifactId >helidon-webserver-jsonrpc </artifactId >
45+ <version >4.3.0-SNAPSHOT </version >
4146 </dependency >
4247 <dependency >
4348 <groupId >io.helidon.webserver</groupId >
Original file line number Diff line number Diff line change @@ -59,22 +59,6 @@ void poll(Consumer<JsonObject> consumer) {
5959 }
6060 }
6161
62- // TODO: Not used but we need to resolve notification response handling
63- void send (JsonObject event ) {
64- try {
65- if (event .containsKey ("method" ) && event .containsKey ("id" )) {
66- // event = handleRequest(event);
67- } else if (event .containsKey ("method" ) && !event .containsKey ("id" )) {
68- // handleNotification(event);
69- } else if (event .containsKey ("result" ) || event .containsKey ("error" )) {
70- handleResponse (event );
71- }
72- queue .put (event );
73- } catch (InterruptedException e ) {
74- throw new UncheckedException (e );
75- }
76- }
77-
7862 void disconnect () {
7963 LOGGER .log (System .Logger .Level .INFO , "Disconnecting session" );
8064 if (active .compareAndSet (true , false )) {
Original file line number Diff line number Diff line change 2222 requires io .helidon .service .registry ;
2323 requires io .helidon .common ;
2424 requires io .helidon .common .resumable ;
25+ requires io .helidon .jsonrpc .core ;
2526 requires java .logging ;
2627 requires java .sql ;
2728 requires jakarta .json ;
You can’t perform that action at this time.
0 commit comments