Skip to content

Commit 1851d2e

Browse files
authored
Split mcp package to remove oss drivers (#160)
1 parent d19ffc5 commit 1851d2e

File tree

5 files changed

+26
-12
lines changed

5 files changed

+26
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ To use Hoptimator from an AI chat bot, agent, IDE, etc, you can use the Model Co
135135
{
136136
"mcpServers": {
137137
"Hoptimator": {
138-
"command": "./hoptimator-mcp-server/start"
138+
"command": "./start-mcp-server"
139139
}
140140
}
141141
```
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
plugins {
2+
id 'java'
3+
id 'application'
4+
id 'idea'
5+
}
6+
7+
dependencies {
8+
implementation project(':hoptimator-mcp-server')
9+
10+
runtimeOnly project(':hoptimator-demodb')
11+
runtimeOnly project(':hoptimator-kafka')
12+
runtimeOnly project(':hoptimator-venice')
13+
}
14+
15+
application {
16+
mainClassName = 'com.linkedin.hoptimator.mcp.server.HoptimatorMcpServer'
17+
}
18+
19+
tasks.withType(JavaCompile).configureEach {
20+
options.release = 17
21+
options.compilerArgs << '-Xlint:deprecation'
22+
options.compilerArgs << '-Xlint:unchecked'
23+
}

hoptimator-mcp-server/build.gradle

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
22
id 'java'
3-
id 'application'
43
id 'idea'
54
id 'maven-publish'
65
}
@@ -11,10 +10,6 @@ dependencies {
1110
implementation project(':hoptimator-util')
1211
implementation project(':hoptimator-k8s')
1312

14-
implementation project(':hoptimator-demodb')
15-
implementation project(':hoptimator-kafka')
16-
implementation project(':hoptimator-venice')
17-
1813
implementation libs.slf4j.simple
1914
implementation libs.calcite.core
2015
implementation libs.gson
@@ -23,10 +18,6 @@ dependencies {
2318
implementation libs.mcp
2419
}
2520

26-
application {
27-
mainClassName = 'com.linkedin.hoptimator.mcp.server.HoptimatorMcpServer'
28-
}
29-
3021
tasks.withType(JavaCompile).configureEach {
3122
options.release = 17
3223
options.compilerArgs << '-Xlint:deprecation'

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ include 'hoptimator-k8s'
1414
include 'hoptimator-kafka-controller'
1515
include 'hoptimator-kafka'
1616
include 'hoptimator-mcp-server'
17+
include 'hoptimator-mcp-server-app'
1718
include 'hoptimator-models' // <-- marked for deletion
1819
include 'hoptimator-operator'
1920
include 'hoptimator-operator-integration'

hoptimator-mcp-server/start renamed to start-mcp-server

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
BASEDIR="$( cd "$( dirname "$0" )" && pwd )"
44

5-
$BASEDIR/build/install/hoptimator-mcp-server/bin/hoptimator-mcp-server \
5+
$BASEDIR/hoptimator-mcp-server-app/build/install/hoptimator-mcp-server-app/bin/hoptimator-mcp-server-app \
66
-Dorg.slf4j.simpleLogger.showThreadName=false \
77
-Dorg.slf4j.simpleLogger.showLogName=false \
88
com.linkedin.hoptimator.mcp.server.HoptimatorMcpServer "jdbc:hoptimator://fun=mysql"
9-

0 commit comments

Comments
 (0)