From 04451f1a387393b4b69d1774a75dd165812b7049 Mon Sep 17 00:00:00 2001 From: HanZiyao Date: Fri, 28 Feb 2025 16:24:00 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E8=B5=84=E6=BA=90=E6=B1=A0=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E5=8F=AA=E8=83=BD=E4=B8=BA=E5=B0=8F=E5=86=99=E5=92=8C?= =?UTF-8?q?=E6=95=B0=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/kotlin/cn/edu/buaa/scs/kube/BusinessKubeClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/kube/BusinessKubeClient.kt b/cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/kube/BusinessKubeClient.kt index 4726cf9..9982db0 100644 --- a/cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/kube/BusinessKubeClient.kt +++ b/cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/kube/BusinessKubeClient.kt @@ -91,7 +91,7 @@ spec: apiVersion: cloudapi.scs.buaa.edu.cn/v1alpha1 kind: ResourcePool metadata: - name: personal-$userId + name: personal-${userId.lowercase()} labels: owner: $userId spec: From fd1d158ffcd688e5bad7a9f3509baf7c31b6e1ad Mon Sep 17 00:00:00 2001 From: HanZiyao Date: Fri, 28 Feb 2025 16:29:33 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=94=B9=E4=B8=BA=E5=9B=BD=E5=A4=96maven?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cloudapi-web/build.gradle.kts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/cloudapi-web/build.gradle.kts b/cloudapi-web/build.gradle.kts index 05ecb55..cbf338b 100644 --- a/cloudapi-web/build.gradle.kts +++ b/cloudapi-web/build.gradle.kts @@ -20,15 +20,8 @@ kotlin { } repositories { - maven { setUrl("https://maven.aliyun.com/repository/central") } - maven { setUrl("https://maven.aliyun.com/repository/jcenter") } - maven { setUrl("https://maven.aliyun.com/repository/google") } - maven { setUrl("https://maven.aliyun.com/repository/gradle-plugin") } - maven { setUrl("https://maven.aliyun.com/repository/public") } - maven { setUrl("https://jitpack.io") } - gradlePluginPortal() - google() mavenCentral() + maven(url = "https://jitpack.io") } dependencies { From 62cb17deb052f8d9c46bb1855e73e761e26128a7 Mon Sep 17 00:00:00 2001 From: HanZiyao Date: Fri, 28 Feb 2025 16:36:28 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=BF=87=E7=A8=8B=E4=B8=AD=E7=9A=84=E5=86=85=E5=AD=98=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle.properties | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 4827c9e..c1bbeab 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,2 @@ kotlin_version=1.7.10 -kotlin.code.style=official -org.gradle.jvmargs=-Xmx4g \ No newline at end of file +kotlin.code.style=official \ No newline at end of file From e5d75c8631c6fb169e3e7bf1c669e78c5e904a0c Mon Sep 17 00:00:00 2001 From: HanZiyao Date: Fri, 28 Feb 2025 16:54:40 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=88=9B=E5=BB=BAk8s?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=B5=84=E6=BA=90=E7=9A=84=E6=AD=A5=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/service/Project.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/service/Project.kt b/cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/service/Project.kt index 4461565..79bf2e7 100644 --- a/cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/service/Project.kt +++ b/cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/service/Project.kt @@ -68,7 +68,7 @@ class ProjectService(val call: ApplicationCall) : IService, FileService.FileDeco } suspend fun createUser(userID: String) { - createUser(User.id(userID)) +// createUser(User.id(userID)) } suspend fun createUser(user: User) {