Skip to content

Commit

Permalink
Remove Old Dev UI: Core Dev Services
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Kruger <[email protected]>
  • Loading branch information
phillip-kruger committed Aug 3, 2023
1 parent c59d927 commit f5471f9
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
import io.quarkus.deployment.builditem.WebSocketLogHandlerBuildItem;
import io.quarkus.deployment.console.ConsoleCommand;
import io.quarkus.deployment.console.ConsoleStateManager;
import io.quarkus.deployment.dev.devservices.DevServiceDescriptionBuildItem;
import io.quarkus.deployment.ide.EffectiveIdeBuildItem;
import io.quarkus.deployment.ide.Ide;
import io.quarkus.deployment.logging.LoggingSetupBuildItem;
Expand Down Expand Up @@ -435,11 +434,6 @@ public void setupDevConsoleRoutes(
}
}

@BuildStep(onlyIf = { IsDevelopment.class })
public DevConsoleTemplateInfoBuildItem config(List<DevServiceDescriptionBuildItem> serviceDescriptions) {
return new DevConsoleTemplateInfoBuildItem("devServices", serviceDescriptions);
}

@Record(ExecutionTime.RUNTIME_INIT)
@Consume(LoggingSetupBuildItem.class)
@BuildStep(onlyIf = IsDevelopment.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@
<i class="fa fa-edit fa-fw"></i>
Config Editor</a>
</p>
<p class="card-text">
<a href="io.quarkus.quarkus-vertx-http/dev-services" class="badge badge-light">
<i class="fa fa-toolbox fa-fw"></i>
Dev Services
</a>
</p>
</div>
</div>
</div>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package io.quarkus.devui;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;

import com.fasterxml.jackson.databind.JsonNode;

import io.quarkus.devui.tests.DevUIBuildTimeDataTest;
import io.quarkus.test.QuarkusDevModeTest;

public class DevServicesTest extends DevUIBuildTimeDataTest {

@RegisterExtension
static final QuarkusDevModeTest config = new QuarkusDevModeTest().withEmptyApplication();

public DevServicesTest() {
super("devui");
}

@Test
public void testGetExtensions() throws Exception {
JsonNode devServicesResponse = super.getBuildTimeData("devServices");
Assertions.assertNotNull(devServicesResponse);
Assertions.assertTrue(devServicesResponse.isArray());
}

}

This file was deleted.

0 comments on commit f5471f9

Please sign in to comment.