Skip to content

Commit

Permalink
Merge pull request #35155 from phillip-kruger/dev-ui-remove-dev-services
Browse files Browse the repository at this point in the history
Remove Old Dev UI: Core Dev Services
  • Loading branch information
phillip-kruger authored Aug 3, 2023
2 parents 573b5dc + f5471f9 commit f55273b
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 @@ -50,7 +50,6 @@
import io.quarkus.deployment.builditem.ShutdownContextBuildItem;
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 @@ -419,11 +418,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 @@ -18,12 +18,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 f55273b

Please sign in to comment.