服务启动

This commit is contained in:
2025-12-05 15:34:02 +08:00
parent ab8be1a832
commit a8233ceb72
55 changed files with 2886 additions and 494 deletions

View File

@@ -3,21 +3,162 @@
"configurations": [
{
"type": "java",
"name": "SystemApp",
"name": "Gateway (8180)",
"request": "launch",
"mainClass": "org.xyzh.SystemApp",
"mainClass": "org.xyzh.gateway.GatewayApplication",
"projectName": "gateway",
"cwd": "${workspaceFolder}/gateway",
"args": ["--spring.profiles.active=dev"],
"vmArgs": ["-Dserver.port=8180"],
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Auth (8181)",
"request": "launch",
"mainClass": "org.xyzh.auth.AuthApp",
"projectName": "auth",
"cwd": "${workspaceFolder}/auth",
"args": ["--spring.profiles.active=dev"],
"vmArgs": ["-Dserver.port=8181"],
"console": "integratedTerminal"
},
{
"type": "java",
"name": "System (8182)",
"request": "launch",
"mainClass": "org.xyzh.system.SystemApp",
"projectName": "system",
"cwd": "${workspaceFolder}/system",
"args": [
"--spring.profiles.active=dev"
],
"vmArgs": [
"-Dspring.profiles.active=dev"
],
"env": {
"SPRING_PROFILES_ACTIVE": "dev"
},
"args": ["--spring.profiles.active=dev"],
"vmArgs": ["-Dserver.port=8182"],
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Log (8183)",
"request": "launch",
"mainClass": "org.xyzh.log.LogApp",
"projectName": "log",
"cwd": "${workspaceFolder}/log",
"args": ["--spring.profiles.active=dev"],
"vmArgs": ["-Dserver.port=8183"],
"console": "integratedTerminal"
},
{
"type": "java",
"name": "File (8184)",
"request": "launch",
"mainClass": "org.xyzh.file.FileApp",
"projectName": "file",
"cwd": "${workspaceFolder}/file",
"args": ["--spring.profiles.active=dev"],
"vmArgs": ["-Dserver.port=8184"],
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Message (8185)",
"request": "launch",
"mainClass": "org.xyzh.message.MessageApp",
"projectName": "message",
"cwd": "${workspaceFolder}/message",
"args": ["--spring.profiles.active=dev"],
"vmArgs": ["-Dserver.port=8185"],
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Bidding (8186)",
"request": "launch",
"mainClass": "org.xyzh.bidding.BiddingApp",
"projectName": "bidding",
"cwd": "${workspaceFolder}/bidding",
"args": ["--spring.profiles.active=dev"],
"vmArgs": ["-Dserver.port=8186"],
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Platform (8187)",
"request": "launch",
"mainClass": "org.xyzh.platform.PlatformApp",
"projectName": "platform",
"cwd": "${workspaceFolder}/platform",
"args": ["--spring.profiles.active=dev"],
"vmArgs": ["-Dserver.port=8187"],
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Workcase (8188)",
"request": "launch",
"mainClass": "org.xyzh.workcase.WorkcaseApp",
"projectName": "workcase",
"cwd": "${workspaceFolder}/workcase",
"args": ["--spring.profiles.active=dev"],
"vmArgs": ["-Dserver.port=8188"],
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Crontab (8189)",
"request": "launch",
"mainClass": "org.xyzh.crontab.CrontabApp",
"projectName": "crontab",
"cwd": "${workspaceFolder}/crontab",
"args": ["--spring.profiles.active=dev"],
"vmArgs": ["-Dserver.port=8189"],
"console": "integratedTerminal"
},
{
"type": "java",
"name": "Agent (8190)",
"request": "launch",
"mainClass": "org.xyzh.agent.AgentApp",
"projectName": "agent",
"cwd": "${workspaceFolder}/agent",
"args": ["--spring.profiles.active=dev"],
"vmArgs": ["-Dserver.port=8190"],
"console": "integratedTerminal"
}
],
"compounds": [
{
"name": "Core Services (Gateway + Auth + System)",
"configurations": [
"Gateway (8180)",
"Auth (8181)",
"System (8182)"
],
"stopAll": true,
"presentation": {
"hidden": false,
"group": "服务组合",
"order": 1
}
},
{
"name": "All Services",
"configurations": [
"Gateway (8180)",
"Auth (8181)",
"System (8182)",
"Log (8183)",
"File (8184)",
"Message (8185)",
"Bidding (8186)",
"Platform (8187)",
"Workcase (8188)",
"Crontab (8189)",
"Agent (8190)"
],
"stopAll": true,
"presentation": {
"hidden": false,
"group": "服务组合",
"order": 2
}
}
]
}

View File

@@ -4,12 +4,31 @@
"maven.view": "hierarchical",
"tabSize": 4,
"java.debug.settings.onBuildFailureProceed": true,
"java.configuration.maven.userSettings": null,
"java.configuration.maven.userSettings": "",
"java.import.maven.enabled": true,
"java.project.referencedLibraries": [
"**/*.jar"
],
"maven.terminal.useJavaHome": true,
"java.configuration.runtimes": [],
"Codegeex.RepoIndex": true
"Codegeex.RepoIndex": true,
"terminal.integrated.defaultProfile.windows": "Command Prompt",
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"args": ["-NoExit", "-Command", "chcp 65001"]
},
"Command Prompt": {
"path": "cmd.exe",
"args": ["/k", "chcp 65001"]
},
"Git Bash": {
"path": "F:\\Environment\\Git\\bin\\bash.exe",
"args": ["-i"],
"env": {
"LANG": "zh_CN.UTF-8",
"LC_ALL": "zh_CN.UTF-8"
}
}
},
}