[plugins] remove obsolete getSearchCompatibleUpdatesUrl and CompatibleUpdateForModuleRequest

GitOrigin-RevId: 8091054def7f86cda939e682684c2435338ec77b
This commit is contained in:
Ivan Chirkov
2025-10-20 18:44:50 +00:00
committed by intellij-monorepo-bot
parent 50219eff57
commit d450f088eb
2 changed files with 0 additions and 20 deletions
@@ -975,23 +975,6 @@ private data class CompatibleUpdateRequest(
)
}
private data class CompatibleUpdateForModuleRequest(
val module: String,
val build: String,
val os: String = OS.CURRENT.name,
val arch: String = CpuArch.CURRENT.name,
) {
@JvmOverloads
constructor(
module: String,
buildNumber: BuildNumber? = null,
) : this(
module,
ApplicationInfoImpl.orFromPluginCompatibleBuild(buildNumber),
)
}
private fun Logger.infoOrDebug(
message: String,
throwable: Throwable,
@@ -56,9 +56,6 @@ object MarketplaceUrls {
"${getPluginManagerUrl()}/api/search/aggregation/$field"
).addParameters(mapOf("build" to IDE_BUILD_FOR_REQUEST))
@Deprecated("Use getSearchPluginsUpdatesUrl() instead")
fun getSearchCompatibleUpdatesUrl(): String = Urls.newFromEncoded("${getPluginManagerUrl()}/api/search/compatibleUpdates").toExternalForm()
fun getSearchPluginsUpdatesUrl(): String = Urls.newFromEncoded("${getPluginManagerUrl()}/api/search/updates/compatible").toExternalForm()
fun getSearchNearestUpdate(): String = Urls.newFromEncoded("${getPluginManagerUrl()}/api/search/updates/nearest").toExternalForm()