-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Resolve release version from new /version endpoint. (#1586)
* Resolve release version from new /version endpoint. * Update to use prod URL. * Include an application_type parameter in version API request to track usage type. * Include current version in /version api request. --------- Co-authored-by: David Gamez <[email protected]>
- Loading branch information
1 parent
6f450a3
commit f3704d7
Showing
6 changed files
with
82 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
main/src/main/java/org/mobilitydata/gtfsvalidator/runner/ApplicationType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.mobilitydata.gtfsvalidator.runner; | ||
|
||
/** Specifies the execution environment for the application. */ | ||
public enum ApplicationType { | ||
/** | ||
* Command-line execution of validator, as either JAR or embedded in a container (e.g. Docker). | ||
*/ | ||
CLI, | ||
/** Desktop-based application. */ | ||
DESKTOP, | ||
/** Web-based application. */ | ||
WEB | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters