fix: Update import and remove qodana configuration
- Update ToolCallback import to use relative package path - Remove qodana.yaml file from the project Signed-off-by: gongzhongqiang <gongzhongqiang@apache.org>
This commit is contained in:
committed by
Ilayaperumal Gopinathan
parent
f167fd8b3c
commit
6b25b62771
@@ -100,7 +100,7 @@ import org.springframework.util.MimeType;
|
||||
* @since 1.0.0
|
||||
* @see McpServerProperties
|
||||
* @see McpWebMvcServerAutoConfiguration
|
||||
* @see org.springframework.ai.mcp.ToolCallback
|
||||
* @see ToolCallback
|
||||
*/
|
||||
@AutoConfiguration(after = { McpWebMvcServerAutoConfiguration.class, McpWebFluxServerAutoConfiguration.class })
|
||||
@ConditionalOnClass({ McpSchema.class, McpSyncServer.class })
|
||||
|
||||
31
qodana.yaml
31
qodana.yaml
@@ -1,31 +0,0 @@
|
||||
#-------------------------------------------------------------------------------#
|
||||
# Qodana analysis is configured by qodana.yaml file #
|
||||
# https://www.jetbrains.com/help/qodana/qodana-yaml.html #
|
||||
#-------------------------------------------------------------------------------#
|
||||
version: "1.0"
|
||||
|
||||
#Specify inspection profile for code analysis
|
||||
profile:
|
||||
name: qodana.starter
|
||||
|
||||
#Enable inspections
|
||||
#include:
|
||||
# - name: <SomeEnabledInspectionId>
|
||||
|
||||
#Disable inspections
|
||||
#exclude:
|
||||
# - name: <SomeDisabledInspectionId>
|
||||
# paths:
|
||||
# - <path/where/not/run/inspection>
|
||||
|
||||
projectJDK: 17 #(Applied in CI/CD pipeline)
|
||||
|
||||
#Execute shell command before Qodana execution (Applied in CI/CD pipeline)
|
||||
#bootstrap: sh ./prepare-qodana.sh
|
||||
|
||||
#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline)
|
||||
#plugins:
|
||||
# - id: <plugin.id> #(plugin id can be found at https://plugins.jetbrains.com)
|
||||
|
||||
#Specify Qodana linter for analysis (Applied in CI/CD pipeline)
|
||||
linter: jetbrains/qodana-jvm:latest
|
||||
Reference in New Issue
Block a user