From 9f283732f19eb32841d60b9d72b2081a5874de4b Mon Sep 17 00:00:00 2001 From: manodnyab <66754471+manodnyab@users.noreply.github.com> Date: Thu, 12 Oct 2023 17:29:01 -0700 Subject: [PATCH] Modify devfile schema download url (#3911) * Modify devfile download url * detekt * Hardcoded version number --- .../jetbrains/services/caws/DevFileSchemaProviderFactory.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jetbrains-core/src/software/aws/toolkits/jetbrains/services/caws/DevFileSchemaProviderFactory.kt b/jetbrains-core/src/software/aws/toolkits/jetbrains/services/caws/DevFileSchemaProviderFactory.kt index 0d191b97f4..c4d9c100cf 100644 --- a/jetbrains-core/src/software/aws/toolkits/jetbrains/services/caws/DevFileSchemaProviderFactory.kt +++ b/jetbrains-core/src/software/aws/toolkits/jetbrains/services/caws/DevFileSchemaProviderFactory.kt @@ -26,8 +26,7 @@ class DevFileSchemaProviderFactory : JsonSchemaProviderFactory { override fun getSchemaVersion(): JsonSchemaVersion = JsonSchemaVersion.SCHEMA_7 } ) - private companion object { - const val schemaUrl: String = "https://github.com/devfile/api/releases/latest/download/devfile.json" + const val schemaUrl: String = "https://raw.githubusercontent.com/devfile/api/v2.2.1/schemas/latest/devfile.json" } }