Skip to content

Commit

Permalink
Remove Unneeded Dependencies (scheduler server)
Browse files Browse the repository at this point in the history
- replace assertJ assertThat with JUnit assertions
- update Javalin to 5.6.3
  • Loading branch information
Mythicaeda committed Nov 7, 2023
1 parent b553a69 commit 129627e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
10 changes: 2 additions & 8 deletions scheduler-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,16 @@ dependencies {
implementation project(':constraints')
implementation project(':scheduler-driver')

implementation 'org.apache.commons:commons-lang3:3.13.0'
implementation 'io.javalin:javalin:5.6.2'
implementation 'io.javalin:javalin:5.6.3'
implementation 'org.eclipse:yasson:3.0.3'
implementation 'org.apache.bcel:bcel:6.7.0'

implementation 'org.postgresql:postgresql:42.6.0'
implementation 'com.zaxxer:HikariCP:5.0.1'

testImplementation project(':examples:foo-missionmodel')
testImplementation project(':merlin-framework')
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.10.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'javax.json.bind:javax.json.bind-api:1.0'
testImplementation 'org.glassfish:javax.json:1.1.4'

testFixturesImplementation project(':merlin-driver')
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package gov.nasa.jpl.aerie.scheduler.server.services;

import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;

public final class GenerateSchedulingLibActionTest {

Expand All @@ -16,7 +17,7 @@ void testTypescriptResourcesLoaded() {

private static void assertTypescriptResourceLoaded(final String basename) {
final var res = GenerateSchedulingLibAction.getTypescriptResource(basename);
assertThat(res.basename()).isEqualTo(basename);
assertThat(res.source()).isNotEmpty();
assertEquals(basename, res.basename());
assertFalse(res.source().isEmpty());
}
}

0 comments on commit 129627e

Please sign in to comment.