Skip to content

Commit 46abb63

Browse files
committed
remove spp-skywalking-reroute header
add spp-platform-request header changed port 5445 to 12800 for live-platform
1 parent 7e2aa51 commit 46abb63

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

e2e/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ services:
55
container_name: spp-platform
66
hostname: spp-platform
77
ports:
8-
- "5445:5445"
98
- "5450:5450"
109
- "5455:5455"
10+
- "12800:12800"
1111
environment:
1212
- SPP_DISABLE_JWT=true
1313
skywalking-oap:

src/main/graphql/.graphqlconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"extensions": {
55
"endpoints": {
66
"Default GraphQL Endpoint": {
7-
"url": "https://localhost:5445/graphql",
7+
"url": "https://localhost:12800/graphql",
88
"headers": {
99
"user-agent": "JS GraphQL"
1010
},
1111
"introspect": false
1212
}
1313
}
1414
}
15-
}
15+
}

src/main/kotlin/spp/cli/PlatformCLI.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ object PlatformCLI : CliktCommand(name = "spp-cli", allowMultipleSubcommands = t
5757
val platformHost: String by option("-p", "--platform", help = "Source++ platform host")
5858
.default(
5959
(if (System.getenv("SPP_DISABLE_TLS") != "true") "https://" else "http://")
60-
+ (System.getenv("SPP_PLATFORM_HOST") ?: "localhost") + ":5445"
60+
+ (System.getenv("SPP_PLATFORM_HOST") ?: "localhost") + ":12800"
6161
)
6262
private val platformCertificate by option("-c", "--certificate", help = "Source++ platform certificate").file()
6363
.default(File("config/spp-platform.crt"))

0 commit comments

Comments
 (0)