Skip to content

Commit

Permalink
feat(Md Validator): upgrade md validator
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-cline committed Dec 20, 2023
1 parent 76f800d commit 3c2d8bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
<dependency>
<groupId>org.mobilitydata.gtfs-validator</groupId>
<artifactId>gtfs-validator-main</artifactId>
<version>4.1.0</version>
<version>4.2.0</version>
</dependency>
<!-- Used for loading/fetching/validating/writing GTFS entities. gtfs-lib also provides access to:
- commons-io - generic utilities
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.fasterxml.jackson.annotation.JsonView;
import org.bson.Document;
import org.bson.codecs.pojo.annotations.BsonProperty;
import org.mobilitydata.gtfsvalidator.runner.ApplicationType;
import org.mobilitydata.gtfsvalidator.runner.ValidationRunner;
import org.mobilitydata.gtfsvalidator.runner.ValidationRunnerConfig;
import org.mobilitydata.gtfsvalidator.util.VersionResolver;
Expand Down Expand Up @@ -435,7 +436,7 @@ public void validateMobility(MonitorableJob.Status status) {

status.update("MobilityData Analysis...", 40);
// Run MobilityData validator
ValidationRunner runner = new ValidationRunner(new VersionResolver());
ValidationRunner runner = new ValidationRunner(new VersionResolver(ApplicationType.CLI));
runner.run(mbValidatorConfig);

status.update("MobilityData Analysis...", 80);
Expand Down

0 comments on commit 3c2d8bc

Please sign in to comment.