From fd2548450d031d782f1517e997310d29440eb17f Mon Sep 17 00:00:00 2001 From: Tatiana Elfimova Date: Tue, 9 Sep 2025 17:37:11 +0200 Subject: [PATCH] IJPL-194897 Microservices Endpoints plugin isn't loaded in a standalone frontend (JetBrains Client) installation GitOrigin-RevId: 2ef3207a76fb2e49c2db0ccc204614cf8a442c99 --- docs/plugin-graph/plugin-graph.json | 20 +++++++++---------- .../RuntimeModuleRepositoryChecker.kt | 4 ---- .../endpoints/EndpointsSidePanelProvider.kt | 2 +- .../testData/plugins/sort/moduleSort.xml | 2 +- 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/docs/plugin-graph/plugin-graph.json b/docs/plugin-graph/plugin-graph.json index 51a1f6b5bbd6..37e406df0692 100644 --- a/docs/plugin-graph/plugin-graph.json +++ b/docs/plugin-graph/plugin-graph.json @@ -1950,11 +1950,11 @@ "group": "nodes", "data": { "id": "s0", - "name": "intellij.microservices.ui", - "n": "i.microservices.ui", - "package": "com.intellij.microservices.ui", - "sourceModule": "intellij.microservices.ui", - "descriptor": "plugins/microservices/microservices-ui/resources/META-INF/plugin.xml", + "name": "intellij.microservices.plugin", + "n": "i.microservices.plugin", + "package": "com.intellij.microservices.plugin", + "sourceModule": "intellij.microservices.plugin", + "descriptor": "plugins/microservices/plugin/resources/META-INF/plugin.xml", "pluginId": "com.intellij.microservices.ui", "parent": "cs0", "type": 2 @@ -1963,11 +1963,11 @@ "group": "nodes", "data": { "id": "mH", - "name": "intellij.microservices.ui/diagram", - "n": "i.microservices.ui/diagram", - "package": "com.intellij.microservices.ui.diagrams", - "sourceModule": "intellij.microservices.ui", - "descriptor": "plugins/microservices/microservices-ui/resources/intellij.microservices.ui.diagram.xml", + "name": "intellij.microservices.backend/diagram", + "n": "i.microservices.backend/diagram", + "package": "com.intellij.microservices.backend.diagrams", + "sourceModule": "intellij.microservices.backend", + "descriptor": "plugins/microservices/microservices-backend/resources/intellij.microservices.backend.diagram.xml", "parent": "cs0", "type": 0 } diff --git a/platform/build-scripts/testFramework/src/com/intellij/platform/buildScripts/testFramework/RuntimeModuleRepositoryChecker.kt b/platform/build-scripts/testFramework/src/com/intellij/platform/buildScripts/testFramework/RuntimeModuleRepositoryChecker.kt index cbc8a075906f..a02bbd0710ee 100644 --- a/platform/build-scripts/testFramework/src/com/intellij/platform/buildScripts/testFramework/RuntimeModuleRepositoryChecker.kt +++ b/platform/build-scripts/testFramework/src/com/intellij/platform/buildScripts/testFramework/RuntimeModuleRepositoryChecker.kt @@ -243,10 +243,6 @@ internal class RuntimeModuleRepositoryChecker private constructor( for (mainModuleId in rawProductModules.bundledPluginMainModules) { val mainModule = repository.resolveModule(mainModuleId) if (mainModule.resolvedModule == null) { - if (mainModuleId.stringId == "intellij.microservices.ui") { - //todo remove this after IJPL-194897 is fixed: currently 'Microservices Endpoints' plugin cannot be loaded because its main module depends on the backend - continue - } val problematicModule = if (mainModule.failedDependencyPath.size == 1) "it" else "its dependency ${mainModule.failedDependencyPath.reversed().joinToString(" <- ") { it.stringId }}" softly.collectAssertionErrorIfNotRegisteredYet( AssertionError( diff --git a/platform/lang-api/src/com/intellij/microservices/endpoints/EndpointsSidePanelProvider.kt b/platform/lang-api/src/com/intellij/microservices/endpoints/EndpointsSidePanelProvider.kt index e099f1832603..6e301fe5983b 100644 --- a/platform/lang-api/src/com/intellij/microservices/endpoints/EndpointsSidePanelProvider.kt +++ b/platform/lang-api/src/com/intellij/microservices/endpoints/EndpointsSidePanelProvider.kt @@ -31,7 +31,7 @@ interface EndpointsSidePanel { * * The update will be canceled if the selected endpoints (@param selectedItems) change or if there are psi changes. * The update will not be called if the tab has already been updated. - * The update may also be called when [com.intellij.microservices.ui.flat.EndpointsView.forgetData] is invoked. + * The update may also be called when [com.intellij.microservices.backend.flat.EndpointsView.forgetData] is invoked. */ suspend fun update(selectedItems: List) diff --git a/platform/platform-tests/testData/plugins/sort/moduleSort.xml b/platform/platform-tests/testData/plugins/sort/moduleSort.xml index df1baa4bed48..6b0dc91d8baa 100644 --- a/platform/platform-tests/testData/plugins/sort/moduleSort.xml +++ b/platform/platform-tests/testData/plugins/sort/moduleSort.xml @@ -3,7 +3,7 @@ com.intellij - + com.intellij.microservices.ui Endpoints JetBrains