From ef6e7281c1a6dfd729eff5d84692ee1b14609fb8 Mon Sep 17 00:00:00 2001 From: Christian Tzolov Date: Tue, 25 Mar 2025 11:07:13 +0100 Subject: [PATCH] refactor: update Spring AI artifact IDs to new naming convention MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update all Spring AI dependencies to use the new naming convention: spring-ai-*-spring-boot-starter → spring-ai-starter-* spring-ai-openai-spring-boot-starter → spring-ai-starter-model-openai spring-ai-mcp-client-spring-boot-starter → spring-ai-starter-mcp-client - And similar patterns for other artifacts - Enable debug mode in brave module's application.properties Signed-off-by: Christian Tzolov --- model-context-protocol/brave/.DS_Store | Bin 0 -> 6148 bytes model-context-protocol/brave/pom.xml | 4 ++-- .../src/main/resources/application.properties | 1 + .../starter-default-client/pom.xml | 6 +++--- .../starter-webflux-client/pom.xml | 6 +++--- model-context-protocol/filesystem/pom.xml | 4 ++-- .../sampling/mcp-sampling-client/pom.xml | 6 +++--- .../mcp/samples/client/McpClientApplication.java | 1 - .../sampling/mcp-weather-webmvc-server/pom.xml | 2 +- model-context-protocol/sqlite/chatbot/pom.xml | 4 ++-- model-context-protocol/sqlite/simple/pom.xml | 4 ++-- .../weather/starter-stdio-server/pom.xml | 2 +- .../weather/starter-webflux-server/pom.xml | 2 +- .../weather/starter-webmvc-server/pom.xml | 2 +- .../web-search/brave-chatbot/pom.xml | 4 ++-- .../web-search/brave-starter/pom.xml | 6 +++--- 16 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 model-context-protocol/brave/.DS_Store diff --git a/model-context-protocol/brave/.DS_Store b/model-context-protocol/brave/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..ee771938787a1bb39cadddab0eb4f7463f2ead2b GIT binary patch literal 6148 zcmeHKI|>3Z5S>vG!N$@uSMUZw^aOhW1;s`bM6I{-TprCgpGH?ZZR8D1UNV`NkXP*N zh=|TFo0-T&L`HB!x!KS)+c)o6FCz+si0p zwti-h{ zq5pp-aYY5Fz+Wk#gGIBL<4IXtJCCzkTi`3W<=o+Bm^%f7mt&xpV=Sy3PdzE}ip{ZK V6Wc(iBkpt{e+En!8Ws4p0uNe26{i3I literal 0 HcmV?d00001 diff --git a/model-context-protocol/brave/pom.xml b/model-context-protocol/brave/pom.xml index e719089..a541e2f 100644 --- a/model-context-protocol/brave/pom.xml +++ b/model-context-protocol/brave/pom.xml @@ -40,12 +40,12 @@ org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai org.springframework.ai - spring-ai-mcp-client-spring-boot-starter + spring-ai-starter-mcp-client diff --git a/model-context-protocol/brave/src/main/resources/application.properties b/model-context-protocol/brave/src/main/resources/application.properties index 70c8077..7b98bbc 100644 --- a/model-context-protocol/brave/src/main/resources/application.properties +++ b/model-context-protocol/brave/src/main/resources/application.properties @@ -1,3 +1,4 @@ +debug=true spring.application.name=mcp spring.main.web-application-type=none diff --git a/model-context-protocol/client-starter/starter-default-client/pom.xml b/model-context-protocol/client-starter/starter-default-client/pom.xml index 4735fb9..40b5ef2 100644 --- a/model-context-protocol/client-starter/starter-default-client/pom.xml +++ b/model-context-protocol/client-starter/starter-default-client/pom.xml @@ -36,17 +36,17 @@ org.springframework.ai - spring-ai-mcp-client-spring-boot-starter + spring-ai-starter-mcp-client org.springframework.ai - spring-ai-anthropic-spring-boot-starter + spring-ai-starter-model-anthropic diff --git a/model-context-protocol/client-starter/starter-webflux-client/pom.xml b/model-context-protocol/client-starter/starter-webflux-client/pom.xml index e4408f3..9220872 100644 --- a/model-context-protocol/client-starter/starter-webflux-client/pom.xml +++ b/model-context-protocol/client-starter/starter-webflux-client/pom.xml @@ -36,17 +36,17 @@ org.springframework.ai - spring-ai-mcp-client-webflux-spring-boot-starter + spring-ai-starter-mcp-client-webflux org.springframework.ai - spring-ai-anthropic-spring-boot-starter + spring-ai-starter-model-anthropic diff --git a/model-context-protocol/filesystem/pom.xml b/model-context-protocol/filesystem/pom.xml index fe874d7..3ec9025 100644 --- a/model-context-protocol/filesystem/pom.xml +++ b/model-context-protocol/filesystem/pom.xml @@ -37,12 +37,12 @@ org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai org.springframework.ai - spring-ai-mcp-client-spring-boot-starter + spring-ai-starter-mcp-client diff --git a/model-context-protocol/sampling/mcp-sampling-client/pom.xml b/model-context-protocol/sampling/mcp-sampling-client/pom.xml index 7f7576e..d8b498c 100644 --- a/model-context-protocol/sampling/mcp-sampling-client/pom.xml +++ b/model-context-protocol/sampling/mcp-sampling-client/pom.xml @@ -36,17 +36,17 @@ org.springframework.ai - spring-ai-mcp-client-spring-boot-starter + spring-ai-starter-mcp-client org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai org.springframework.ai - spring-ai-anthropic-spring-boot-starter + spring-ai-starter-model-anthropic diff --git a/model-context-protocol/sampling/mcp-sampling-client/src/main/java/org/springframework/ai/mcp/samples/client/McpClientApplication.java b/model-context-protocol/sampling/mcp-sampling-client/src/main/java/org/springframework/ai/mcp/samples/client/McpClientApplication.java index 5016d21..cca303f 100644 --- a/model-context-protocol/sampling/mcp-sampling-client/src/main/java/org/springframework/ai/mcp/samples/client/McpClientApplication.java +++ b/model-context-protocol/sampling/mcp-sampling-client/src/main/java/org/springframework/ai/mcp/samples/client/McpClientApplication.java @@ -28,7 +28,6 @@ import org.springframework.ai.chat.model.ChatModel; import org.springframework.ai.mcp.SyncMcpToolCallbackProvider; import org.springframework.ai.mcp.customizer.McpSyncClientCustomizer; import org.springframework.ai.openai.OpenAiChatModel; -import org.springframework.beans.factory.ObjectProvider; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/model-context-protocol/sampling/mcp-weather-webmvc-server/pom.xml b/model-context-protocol/sampling/mcp-weather-webmvc-server/pom.xml index d0eab1c..5c75521 100644 --- a/model-context-protocol/sampling/mcp-weather-webmvc-server/pom.xml +++ b/model-context-protocol/sampling/mcp-weather-webmvc-server/pom.xml @@ -33,7 +33,7 @@ org.springframework.ai - spring-ai-mcp-server-webmvc-spring-boot-starter + spring-ai-starter-mcp-server-webmvc diff --git a/model-context-protocol/sqlite/chatbot/pom.xml b/model-context-protocol/sqlite/chatbot/pom.xml index ef7d1c1..f6ce845 100644 --- a/model-context-protocol/sqlite/chatbot/pom.xml +++ b/model-context-protocol/sqlite/chatbot/pom.xml @@ -37,12 +37,12 @@ org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai org.springframework.ai - spring-ai-mcp-client-spring-boot-starter + spring-ai-starter-mcp-client diff --git a/model-context-protocol/sqlite/simple/pom.xml b/model-context-protocol/sqlite/simple/pom.xml index b52dec3..dc5ebd9 100644 --- a/model-context-protocol/sqlite/simple/pom.xml +++ b/model-context-protocol/sqlite/simple/pom.xml @@ -37,12 +37,12 @@ org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai org.springframework.ai - spring-ai-mcp-client-spring-boot-starter + spring-ai-starter-mcp-client diff --git a/model-context-protocol/weather/starter-stdio-server/pom.xml b/model-context-protocol/weather/starter-stdio-server/pom.xml index 18ec531..e472a2d 100644 --- a/model-context-protocol/weather/starter-stdio-server/pom.xml +++ b/model-context-protocol/weather/starter-stdio-server/pom.xml @@ -34,7 +34,7 @@ org.springframework.ai - spring-ai-mcp-server-spring-boot-starter + spring-ai-starter-mcp-server diff --git a/model-context-protocol/weather/starter-webflux-server/pom.xml b/model-context-protocol/weather/starter-webflux-server/pom.xml index 93bae11..78a8fe6 100644 --- a/model-context-protocol/weather/starter-webflux-server/pom.xml +++ b/model-context-protocol/weather/starter-webflux-server/pom.xml @@ -33,7 +33,7 @@ org.springframework.ai - spring-ai-mcp-server-webflux-spring-boot-starter + spring-ai-starter-mcp-server-webflux diff --git a/model-context-protocol/weather/starter-webmvc-server/pom.xml b/model-context-protocol/weather/starter-webmvc-server/pom.xml index 49ce75e..9eefa09 100644 --- a/model-context-protocol/weather/starter-webmvc-server/pom.xml +++ b/model-context-protocol/weather/starter-webmvc-server/pom.xml @@ -33,7 +33,7 @@ org.springframework.ai - spring-ai-mcp-server-webmvc-spring-boot-starter + spring-ai-starter-mcp-server-webmvc diff --git a/model-context-protocol/web-search/brave-chatbot/pom.xml b/model-context-protocol/web-search/brave-chatbot/pom.xml index 6adddc9..c41dcad 100644 --- a/model-context-protocol/web-search/brave-chatbot/pom.xml +++ b/model-context-protocol/web-search/brave-chatbot/pom.xml @@ -35,12 +35,12 @@ org.springframework.ai - spring-ai-mcp-client-spring-boot-starter + spring-ai-starter-mcp-client org.springframework.ai - spring-ai-anthropic-spring-boot-starter + spring-ai-starter-model-anthropic diff --git a/model-context-protocol/web-search/brave-starter/pom.xml b/model-context-protocol/web-search/brave-starter/pom.xml index 54d1749..f143841 100644 --- a/model-context-protocol/web-search/brave-starter/pom.xml +++ b/model-context-protocol/web-search/brave-starter/pom.xml @@ -34,16 +34,16 @@ org.springframework.ai - spring-ai-mcp-client-spring-boot-starter + spring-ai-starter-mcp-client org.springframework.ai - spring-ai-anthropic-spring-boot-starter + spring-ai-starter-model-anthropic