Skip to content

Commit

Permalink
chore: refactor Java modules to be under fullstack-core directory (#441)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <[email protected]>
  • Loading branch information
jeromy-cannon authored Oct 27, 2023
1 parent c53943c commit c3fd560
Show file tree
Hide file tree
Showing 288 changed files with 31 additions and 30 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
@DisplayName("Helm Client Tests")
@JCovalentLoggingSupport
class HelmClientTest {
private static final String CHARTS_DIR = "../../charts";

/**
* The repository for the ingress-nginx helm chart.
Expand Down Expand Up @@ -398,17 +399,17 @@ void testTestChartWithOptions() {
@Test
@DisplayName("Test Helm dependency update subcommand")
void testHelmDependencyUpdate() {
helmClient.dependencyUpdate("../charts/fullstack-deployment");
helmClient.dependencyUpdate(CHARTS_DIR + "/fullstack-deployment");
}

@Test
@DisplayName("Test Helm dependency build subcommand failure")
void testHelmDependencyBuildFailure() {
HelmExecutionException exception =
assertThrows(HelmExecutionException.class, () -> helmClient.dependencyUpdate("../charts/not-a-chart"));
HelmExecutionException exception = assertThrows(
HelmExecutionException.class, () -> helmClient.dependencyUpdate(CHARTS_DIR + "/not-a-chart"));
assertThat(exception.getMessage()).contains("Execution of the Helm command failed with exit code: 1");
assertThat(exception.getStdOut())
.contains(
"Error: could not find ../charts/not-a-chart: stat ../charts/not-a-chart: no such file or directory");
.contains("Error: could not find " + CHARTS_DIR + "/not-a-chart: stat " + CHARTS_DIR
+ "/not-a-chart: no such file or directory");
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
50 changes: 25 additions & 25 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,55 +32,55 @@ include(":docker-ubi8-init-dind", "docker/ubi8-init-dind")

include(":docker-ubi8-init-java17", "docker/ubi8-init-java17")

include(":fullstack-bom")
include(":fullstack-bom", "fullstack-core/fullstack-bom")

include(":fullstack-alerting-api")
include(":fullstack-alerting-api", "fullstack-core/fullstack-alerting-api")

include(":fullstack-alerting-core")
include(":fullstack-alerting-core", "fullstack-core/fullstack-alerting-core")

include(":fullstack-assertj-extensions")
include(":fullstack-assertj-extensions", "fullstack-core/fullstack-assertj-extensions")

include(":fullstack-base-api")
include(":fullstack-base-api", "fullstack-core/fullstack-base-api")

include(":fullstack-configuration-api")
include(":fullstack-configuration-api", "fullstack-core/fullstack-configuration-api")

include(":fullstack-configuration-core")
include(":fullstack-configuration-core", "fullstack-core/fullstack-configuration-core")

include(":fullstack-helm-client")
include(":fullstack-helm-client", "fullstack-core/fullstack-helm-client")

include(":fullstack-junit-support")
include(":fullstack-junit-support", "fullstack-core/fullstack-junit-support")

include(":fullstack-datasource-api")
include(":fullstack-datasource-api", "fullstack-core/fullstack-datasource-api")

include(":fullstack-datasource-core")
include(":fullstack-datasource-core", "fullstack-core/fullstack-datasource-core")

include(":fullstack-infrastructure-api")
include(":fullstack-infrastructure-api", "fullstack-core/fullstack-infrastructure-api")

include(":fullstack-infrastructure-core")
include(":fullstack-infrastructure-core", "fullstack-core/fullstack-infrastructure-core")

include(":fullstack-monitoring-api")
include(":fullstack-monitoring-api", "fullstack-core/fullstack-monitoring-api")

include(":fullstack-monitoring-core")
include(":fullstack-monitoring-core", "fullstack-core/fullstack-monitoring-core")

include(":fullstack-readiness-api")
include(":fullstack-readiness-api", "fullstack-core/fullstack-readiness-api")

include(":fullstack-reporting-api")
include(":fullstack-reporting-api", "fullstack-core/fullstack-reporting-api")

include(":fullstack-reporting-core")
include(":fullstack-reporting-core", "fullstack-core/fullstack-reporting-core")

include(":fullstack-resource-generator-api")
include(":fullstack-resource-generator-api", "fullstack-core/fullstack-resource-generator-api")

include(":fullstack-resource-generator-core")
include(":fullstack-resource-generator-core", "fullstack-core/fullstack-resource-generator-core")

include(":fullstack-service-locator")
include(":fullstack-service-locator", "fullstack-core/fullstack-service-locator")

include(":fullstack-test-toolkit")
include(":fullstack-test-toolkit", "fullstack-core/fullstack-test-toolkit")

include(":fullstack-test-toolkit-core")
include(":fullstack-test-toolkit-core", "fullstack-core/fullstack-test-toolkit-core")

include(":fullstack-validator-api")
include(":fullstack-validator-api", "fullstack-core/fullstack-validator-api")

include(":fullstack-validator-core")
include(":fullstack-validator-core", "fullstack-core/fullstack-validator-core")

gradleEnterprise {
buildScan {
Expand Down

0 comments on commit c3fd560

Please sign in to comment.