Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring dev stuff to MTC branch #590

Draft
wants to merge 359 commits into
base: mtc-deploy
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
359 commits
Select commit Hold shift + click to select a range
097295a
Merge pull request #515 from ibi-group/bump-geotools
miles-grant-ibigroup Feb 21, 2023
25e9704
refactor(Create end point to get deployed feed version): Provide the …
Feb 21, 2023
4920630
refactor(Handling of feed version saving): Control saving and update …
Feb 22, 2023
2932f39
chore(deps): bump mongodb-driver-sync from 4.0.5 to 4.0.6
dependabot[bot] Feb 22, 2023
ea3f00c
Merge pull request #475 from ibi-group/dependabot/maven/org.mongodb-m…
binh-dam-ibigroup Feb 22, 2023
08fcbc3
Merge branch 'mobility-data-validator' into threaded-validation
Feb 23, 2023
7b23e23
refactor(Added feed version delete): Delete the feed version if the V…
Feb 23, 2023
69aff00
Merge branch 'dev' into threaded-validation
miles-grant-ibigroup Feb 23, 2023
346b97c
chore(Dockerfile): update java version
miles-grant-ibigroup Feb 24, 2023
eaff169
refactor(Added new feed source end point to get deployed feed version):
Feb 28, 2023
77e0463
Merge branch 'dev' into deployed-feed-version-summaries
Feb 28, 2023
18767dd
Merge pull request #513 from ibi-group/threaded-validation
Mar 3, 2023
13cd19f
Merge branch 'dev' into mtc-optimize-feedupdater
binh-dam-ibigroup Mar 3, 2023
17d9469
Merge pull request #517 from ibi-group/mtc-optimize-feedupdater
binh-dam-ibigroup Mar 3, 2023
842df9d
refactor: begin MobilityData validator cleanup
miles-grant-ibigroup Mar 6, 2023
3d07275
improve mobility data thread wait
miles-grant-ibigroup Mar 6, 2023
a20146b
Merge branch 'dev' into mobility-data-validator
miles-grant-ibigroup Mar 8, 2023
a7830b9
refactor: address pr feedback
miles-grant-ibigroup Mar 8, 2023
5e822fb
refactor(Update to include latest deployment feed version. Matching t…
Mar 9, 2023
9ea575b
refactor(FeedSource.java): Added missing comment
Mar 9, 2023
f4479ad
refactor(FeedSource.java): deployed feed version is now mutually excl…
Mar 10, 2023
3def660
Merge pull request #512 from ibi-group/mobility-data-validator
miles-grant-ibigroup Mar 10, 2023
5873e72
chore(deps): bump gson from 2.8.6 to 2.8.9
dependabot[bot] Mar 10, 2023
63497d5
Merge branch 'dev' into deployed-feed-version-summaries
Mar 10, 2023
1815299
chore(deps): Upgrade sparkjava to 2.9.4.
binh-dam-ibigroup Feb 10, 2023
a2cc128
Merge pull request #522 from ibi-group/sparkjava-2.9.4-dev
miles-grant-ibigroup Mar 15, 2023
b55c40b
refactor(FeedSource.java): Updated comment and refactored if/else sta…
Mar 16, 2023
f1167b7
Merge pull request #516 from ibi-group/deployed-feed-version-summaries
Mar 16, 2023
e958960
fix(MobilityDataValidation): slow on large gtfs files
miles-grant-ibigroup Mar 24, 2023
cd0d0f8
refactor(Check for pinned deployment in mongo db): Check if a project…
Apr 14, 2023
b16eee7
chore(gtfs lib): bump GTFS lib version
philip-cline Apr 25, 2023
90e20d1
ci: attempt adjusting java version
miles-grant-ibigroup Apr 25, 2023
d61c757
Merge pull request #531 from ibi-group/update-gtfs-lib-april2023
philip-cline Apr 26, 2023
cafd7f9
adjust OtpRouterConfig to be otp2-compatible
miles-grant-ibigroup May 1, 2023
128a180
add more otp2 fields
miles-grant-ibigroup May 3, 2023
438a3c0
refactor(Added feed source summary): All feed source summaries are av…
May 3, 2023
211e4d4
Merge branch 'dev' into feature/DT-315-Speed-up-feed-version-retrieval
May 3, 2023
ea9e41b
support merging gui and textbox router configs
miles-grant-ibigroup May 3, 2023
66ecdd0
Merge pull request #534 from ibi-group/mtc-delete-publishedversion
binh-dam-ibigroup May 5, 2023
27aed32
chore(GTFS-lib): update gtfs-lib
philip-cline May 5, 2023
512bc34
Merge pull request #535 from ibi-group/update-gtfs-lib-may-2023
philip-cline May 8, 2023
ae40ddd
feat(transformations): add preserve fields transformation
philip-cline May 10, 2023
e831764
refactor(transformations): update gtfs-lib to include Table class cha…
philip-cline May 10, 2023
6a3214e
Merge branch 'dev' into router-config-otp2
miles-grant-ibigroup May 12, 2023
b77f9c3
refactor: address pr feedback
miles-grant-ibigroup May 12, 2023
3e4ea7f
Merge pull request #533 from ibi-group/router-config-otp2
miles-grant-ibigroup May 12, 2023
6dde509
feat(readme): Add gitter to README.md
philip-cline May 16, 2023
b45a218
refactor(readme): consistent use of transit-data-tools
philip-cline May 16, 2023
35e2803
feat(Allow the deletion of a stop from pattern stops): Updated Editor…
May 17, 2023
bc6b861
chore(gtfs lib): update gtfs lib
philip-cline May 17, 2023
7084e51
refactor(Updated scope): Now deleted stop and related stop times
May 17, 2023
66af038
Merge pull request #540 from ibi-group/update-gtfs-lib-may2023
philip-cline May 17, 2023
0555b1f
Merge branch 'dev' into feature/DT-322-Delete-stops-from-pattern-stops
philip-cline May 17, 2023
e8349d0
fix: support transforming non-existent fields
miles-grant-ibigroup May 18, 2023
af5b89c
refactor(Addressed PR feedback): End point type is now delete
May 19, 2023
5902121
Merge branch 'feature/DT-322-Delete-stops-from-pattern-stops' of http…
May 19, 2023
59e1cd8
refactor(EditorControllerTest.java): Corrected formatting.
May 19, 2023
0751bdf
refactor(EditorControllerTest.java): Created a distinct feed version …
May 19, 2023
c8e9c77
Merge pull request #539 from ibi-group/feature/DT-322-Delete-stops-fr…
May 19, 2023
daa7eac
refactor: address pr feedback
miles-grant-ibigroup May 22, 2023
0ebf222
refactor: correct comment
miles-grant-ibigroup May 24, 2023
9e411d9
Merge branch 'dev' into mb-validator-slow-on-large-gtfs
miles-grant-ibigroup May 24, 2023
638c7a8
Revert "refactor: correct comment"
miles-grant-ibigroup May 24, 2023
4ad84ea
Merge branch 'dev' into transform-missing-fields
miles-grant-ibigroup May 30, 2023
433ddc8
refactor: address pr feedback
miles-grant-ibigroup May 30, 2023
87b27b7
refactor: revert broken changes
miles-grant-ibigroup May 30, 2023
4d85398
Merge pull request #543 from ibi-group/repair-router-config-generation
miles-grant-ibigroup May 31, 2023
0c3f371
refactor: address pr feedback
miles-grant-ibigroup May 31, 2023
efa0acc
refactor(custom transformation): add separate class for custom file t…
philip-cline Jun 8, 2023
77bd347
refactor(custom transformation): rewrite preserve custom field transf…
philip-cline Jun 9, 2023
f6b44db
refactor(custom transformation): respond to PR comments
philip-cline Jun 9, 2023
6ec47b9
Merge pull request #542 from ibi-group/transform-missing-fields
JymDyerIBI Jun 9, 2023
5aa24a5
refactor(custom transformation): create abstract StringTransformation…
philip-cline Jun 12, 2023
6217d54
refactor(custom transformation): refactor tabs in FeedTransformation
philip-cline Jun 12, 2023
60cd448
refactor(custom transformation): respond to PR comments
philip-cline Jun 14, 2023
c06e200
refactor(custom transformation): add tests
philip-cline Jun 14, 2023
87754b7
refactor(README): use matrix link everywhere
philip-cline Jun 15, 2023
2399557
refactor(transformation): update tests, address PR feedback
philip-cline Jun 16, 2023
7a2784f
Merge branch 'dev' into feature/DT-315-Speed-up-feed-version-retrieval
Jun 20, 2023
62eb590
refactor(Update to include label ids): Updated to get label ids from …
Jun 20, 2023
19face8
refactor(transformation): address PR feedback
philip-cline Jun 21, 2023
42cb128
refactor(transformation): address PR feedback
philip-cline Jun 22, 2023
4db7ee1
Merge pull request #538 from ibi-group/add-gitter-to-readme
philip-cline Jun 22, 2023
a85bc64
feat(Bumped GTFS lib version and put a temp fix in place for multi ta…
Jun 23, 2023
07a455a
refactor(MergeLineContext): Updated to use multi table refs
Jun 23, 2023
8e5df79
fix: Support custom tags
miles-grant-ibigroup Jun 23, 2023
9c1db8f
refactor: make use of existing tag infrastructure
miles-grant-ibigroup Jun 23, 2023
6eb1105
refactor: clean up
miles-grant-ibigroup Jun 23, 2023
ace391e
refactor(transformation): address PR feedback
philip-cline Jun 26, 2023
359d62d
refactor(transformation): address PR feedback
philip-cline Jun 27, 2023
44a62ed
Merge pull request #546 from ibi-group/tag-new-instances
miles-grant-ibigroup Jun 28, 2023
08fa061
refactor(transformations): respond to PR comments
philip-cline Jun 29, 2023
05f295f
refactor(Merge line context update): Refactored to work with multiple…
Jun 30, 2023
38fa3a2
refactor(Addressed line spacing and updated comments):
Jun 30, 2023
73ffc88
refactor(transformations): respond to PR comments
philip-cline Jun 30, 2023
afed13c
feat: Support pelias synonyms file
miles-grant-ibigroup Jun 30, 2023
ec87de2
refactor(transformations): add results to TableTransformResult again
philip-cline Jun 30, 2023
8fecae1
refactor(transformations): clean up, update pom to match dev
philip-cline Jul 6, 2023
b66b626
Merge pull request #536 from ibi-group/add-preserve-fields-transforma…
philip-cline Jul 6, 2023
988fd51
refactor(Multiple reference tables lookup): Feed merge updated to han…
Jul 7, 2023
bf52aae
chore(deps): update GTFS-lib ref
philip-cline Jul 7, 2023
568d9fd
Merge pull request #548 from ibi-group/update-gtfs-lib
philip-cline Jul 7, 2023
3fd6876
Merge pull request #519 from ibi-group/dependabot/maven/com.google.co…
Jul 10, 2023
7314168
refactor(fixed merge conflicts and addressed PR feedback):
Jul 11, 2023
9b71c0c
chores(deps): upgrade MobilityData GTFS Validator to version 4.1.0
miles-grant-ibigroup Jul 13, 2023
a4b9ddf
Merge branch 'dev' into pelias-synonyms
miles-grant-ibigroup Jul 13, 2023
78668f2
Merge pull request #547 from ibi-group/pelias-synonyms
miles-grant-ibigroup Jul 13, 2023
c9c4521
Merge branch 'dev' into feature/DT-183-Exception-based-scheduling
Jul 14, 2023
10a9289
Merge branch 'dev' into feature/DT-315-Speed-up-feed-version-retrieval
Jul 14, 2023
2024a9a
fix: add Shared Stops Validator
miles-grant-ibigroup Jul 26, 2023
75c1904
refactor: shared stops use all error types
miles-grant-ibigroup Jul 26, 2023
9613395
fix: initial shared stops validation
miles-grant-ibigroup Jul 28, 2023
461deef
refactor: include shared stops file in deployment bundle
miles-grant-ibigroup Aug 3, 2023
53fe243
refactor: update gtfs-lib
miles-grant-ibigroup Aug 11, 2023
f6deff3
refactor: address pr feedback
miles-grant-ibigroup Aug 11, 2023
268b949
refactor(Added project id to feed source summary):
Aug 14, 2023
1f58054
refactor(pom.xml): Updated gtfs-lib version
Aug 14, 2023
2cc5aab
refactor(pom.xml): Addressed short hash for gtfs lib
Aug 16, 2023
d43f40a
refactor(Disable auth for tests):
Aug 16, 2023
ca60d4b
refactor(NormalizeFieldTransformJobTest): Disabled auth
Aug 16, 2023
89f6f11
refactor(Disabled auth):
Aug 16, 2023
026fa2f
refactor(SqlSchemaUpdaterTest): Disabled auth
Aug 16, 2023
b76e318
refactor: address pr feedback
miles-grant-ibigroup Aug 16, 2023
9c546c4
Merge pull request #554 from ibi-group/address-gtfs-lib-short-hash
binh-dam-ibigroup Aug 17, 2023
36391dc
chore(deps): bump com.google.guava:guava from 30.0-jre to 32.0.0-jre
dependabot[bot] Aug 17, 2023
be6f440
refactor(Update to include a new private class to hold latest validat…
Aug 18, 2023
fcee6bf
Merge branch 'dev' into feature/DT-315-Speed-up-feed-version-retrieval
Aug 18, 2023
15d43e7
refactor(feedsourceSummary): rename fields to agree with old format
philip-cline Aug 18, 2023
aaf6d3e
Merge branch 'dev' into shared-stops-validator
miles-grant-ibigroup Aug 18, 2023
ab1475e
Merge pull request #555 from ibi-group/disable-auth0-for-unit-tests
Aug 21, 2023
c1f4d3a
Merge branch 'dev' into feature/DT-315-Speed-up-feed-version-retrieval
Aug 21, 2023
9a60e15
Merge branch 'feature/DT-315-Speed-up-feed-version-retrieval' of http…
Aug 21, 2023
94018d5
refactor(Fixed merge conflict):
Aug 21, 2023
f7f904d
refactor(pom.xml): Bumped gtfs lib to latest commit for exception bas…
Aug 21, 2023
48eaa9c
Merge pull request #556 from ibi-group/dependabot/maven/com.google.gu…
miles-grant-ibigroup Aug 21, 2023
ab782d5
refactor(FeedSourceSummary.java): Addressed PR feedback
Aug 24, 2023
9d21ac2
Merge branch 'dev' into feature/DT-315-Speed-up-feed-version-retrieval
Aug 24, 2023
e604173
Merge pull request #529 from ibi-group/feature/DT-315-Speed-up-feed-v…
br648 Aug 24, 2023
c860bce
shared stops validator: validate feed_id
miles-grant-ibigroup Aug 24, 2023
41d808c
Merge pull request #552 from ibi-group/shared-stops-validator
miles-grant-ibigroup Sep 6, 2023
5c3a706
Merge branch 'dev' into shared-stops-validator-feed-id
miles-grant-ibigroup Sep 6, 2023
04c99d7
address pr feedback
miles-grant-ibigroup Sep 8, 2023
4c9cfc0
clarify feed_id retrieval comment
miles-grant-ibigroup Sep 11, 2023
5ea408b
address pr feedback
miles-grant-ibigroup Sep 14, 2023
0ab79bd
Merge pull request #557 from ibi-group/shared-stops-validator-feed-id
miles-grant-ibigroup Sep 14, 2023
86c5f4d
Merge branch 'dev' into mobility-data-validator-4.1.0
miles-grant-ibigroup Sep 21, 2023
76198d9
try to correct mobilitydata validator origin
miles-grant-ibigroup Sep 21, 2023
d66c547
feat(GtfsPlusValidation): add validation for directions.txt
philip-cline Sep 26, 2023
1b462bc
refactor(GtfsPlusValidation): fix tests
philip-cline Sep 26, 2023
345627d
refactor(GtfsPlusValidation): remove duplicate condition
philip-cline Sep 26, 2023
8bc5bca
feat(deps): update gtfs lib
philip-cline Sep 27, 2023
91afbca
feat(deps): update gtfs lib to merge commit
philip-cline Sep 27, 2023
6236e98
Merge pull request #561 from ibi-group/update-gtfs-lib-sep27-2023
philip-cline Sep 27, 2023
cf83716
refactor(JdbcTableWriter): respond to PR comments"
philip-cline Sep 27, 2023
b124889
Merge branch 'dev' into add-directions-validation
philip-cline Sep 28, 2023
5529162
refactor(GtfsPlusValidation): Update wording
philip-cline Sep 28, 2023
e9cd115
refactor(GtfsPlusValidationTest): Update test wording
philip-cline Sep 28, 2023
b3b3299
feat(deps): update gtfs lib again
philip-cline Sep 28, 2023
7461805
Merge pull request #563 from ibi-group/update-gtfs-lib-sep28
philip-cline Sep 28, 2023
2cc547d
fix(shared stops): fix everything
philip-cline Sep 29, 2023
8a5c857
correct version
miles-grant-ibigroup Sep 29, 2023
390423e
Merge pull request #565 from ibi-group/fix-shared-stops
miles-grant-ibigroup Sep 29, 2023
ebbfdaf
refactor(Add url to feed source summary):
br648 Oct 3, 2023
023f194
feat(SnapshotExport): initial work to add option to export patterns
philip-cline Oct 5, 2023
b22b422
Merge pull request #566 from ibi-group/add-url-to-feed-source-summary
br648 Oct 6, 2023
c7a8886
Merge branch 'dev' into add-option-for-publishing-patterns
br648 Oct 6, 2023
d4e7804
refactor(SnapshotExport): update gtfs-lib, add comment
philip-cline Oct 6, 2023
58c0f4d
Merge branch 'dev' into add-option-for-publishing-patterns
philip-cline Oct 6, 2023
1a92792
refactor(SnapshotExport): update gtfs-lib again
philip-cline Oct 6, 2023
3ac3e7d
Merge branch 'add-option-for-publishing-patterns' of https://github.c…
br648 Oct 9, 2023
87e54a4
refactor(Upstream changes to export call): Updated to export propriet…
br648 Oct 10, 2023
7f64621
refactor(pom.xml): Bumped GTFS-lib version
br648 Oct 10, 2023
69a9b65
refactor(Added auth checks): Auth checks and added notes and org id t…
br648 Oct 13, 2023
6695674
refactor(Refactored label and note auth checks):
br648 Oct 13, 2023
1601ef8
use new mobilitydata repo
miles-grant-ibigroup Oct 20, 2023
9c78f73
refactor(GtfsPlusValidation): update wording to match mtc branch
philip-cline Oct 20, 2023
5d426b7
Merge pull request #559 from ibi-group/add-directions-validation
philip-cline Oct 23, 2023
3fc322f
refactor(Addressed PR feedback): Cleaned constructors
br648 Oct 24, 2023
a7e5143
Merge pull request #569 from ibi-group/add-auth-checks-to-feed-source…
br648 Oct 25, 2023
b1b90ed
remvoe sonatype-staging
miles-grant-ibigroup Oct 25, 2023
9994a7c
feat(EditorController): Support stop time normalization
philip-cline Nov 5, 2023
26d462e
refactor(deps): Update to use appropriate gtfs-lib
philip-cline Nov 5, 2023
4b641c0
refactor(FeedVersionController): parse publishProprietaryFiles for sn…
philip-cline Nov 6, 2023
3001771
Merge pull request #571 from ibi-group/mobility-data-validator-4.1.0
miles-grant-ibigroup Nov 7, 2023
2c98591
merge(dev): merge dev
philip-cline Nov 7, 2023
ffff51a
refactor(pom.xml): Bumped GTFS-Lib version
br648 Nov 14, 2023
1c03a75
refactor(SnapshotController): update formatting
philip-cline Nov 15, 2023
b2a3116
refactor(deps): update gtfs lib commit
philip-cline Nov 15, 2023
4d2b850
Merge pull request #567 from ibi-group/add-option-for-publishing-patt…
philip-cline Nov 15, 2023
ef37ef4
Merge branch 'dev' into feature/DT-183-Exception-based-scheduling
philip-cline Nov 15, 2023
a582c55
merge(dev): merge dev in again
philip-cline Nov 15, 2023
0a7763f
refactor(deps): update gtfs-lib commit
philip-cline Nov 15, 2023
d246054
feat(PublicFeedsPage): add config option for support email
philip-cline Nov 16, 2023
8114537
refactor(ReferenceTableDiscovery.java): Updated trip service id key
br648 Nov 16, 2023
b3b79fe
Merge pull request #545 from ibi-group/feature/DT-183-Exception-based…
br648 Nov 16, 2023
b72cff3
support new Url config fields
miles-grant-ibigroup Nov 20, 2023
b3210a8
refactor(Refactored the config download aspect of Deployment and adde…
br648 Nov 21, 2023
a2cbede
refactor(Deployment.java): Refactor downloaded config assignment.
br648 Nov 21, 2023
f142def
refactor(Removed unused imports.):
br648 Nov 21, 2023
9d0ca4f
chore(deps): update gtfs-lib commit after merge
philip-cline Nov 21, 2023
8828781
chore(deps): fix gtfs-lib commit after merge
philip-cline Nov 21, 2023
c3df9ca
merge(dev): merge dev
philip-cline Nov 21, 2023
d5b2522
Merge pull request #572 from ibi-group/add-stoptime-interpolation
philip-cline Nov 21, 2023
8357af0
address pr feedback
miles-grant-ibigroup Nov 27, 2023
272dbd3
Merge pull request #577 from ibi-group/download-otp-configs-from-url
miles-grant-ibigroup Nov 27, 2023
1ad4236
chore(gtfs-lib): add ibi fork, update gtfs-lib
philip-cline Nov 30, 2023
b284655
Merge pull request #580 from ibi-group/update-gtfs-lib
philip-cline Nov 30, 2023
76f800d
Merge pull request #574 from ibi-group/add-public-gtfs-support-email
philip-cline Dec 5, 2023
64c7632
chore(deps): bump ch.qos.logback:logback-classic from 1.2.3 to 1.2.13
dependabot[bot] Dec 5, 2023
3c2d8bc
feat(Md Validator): upgrade md validator
philip-cline Dec 20, 2023
f72077b
chore(update gtfs-lib): bump gtfs-lib
philip-cline Dec 21, 2023
d46ca8f
Merge pull request #583 from ibi-group/update-gtfs-lib
philip-cline Dec 21, 2023
b2e6755
correct shared stops validator behaviors
miles-grant-ibigroup Dec 25, 2023
6ad9abf
fix formatting
miles-grant-ibigroup Dec 25, 2023
d7ec621
Merge pull request #582 from ibi-group/fix-mobilitydata-validator-again
miles-grant-ibigroup Jan 2, 2024
8eabd13
refactor: address pr feedback
miles-grant-ibigroup Jan 5, 2024
a55e37e
deps: update gtfs-lib
miles-grant-ibigroup Jan 5, 2024
7521cc7
extract testable functionality to unit tests
miles-grant-ibigroup Jan 11, 2024
a2bdbff
refactor(Updates to enum use and parameterized unit tests):
br648 Jan 12, 2024
1c817d8
refactor(Updated to include gtfs-lib with pattern name update):
br648 Jan 16, 2024
ea9d595
refactor(pom.xml): Bumped GTFS-Lib version
br648 Jan 16, 2024
d14b775
refactor(maven.yml): Corrected indentation
br648 Jan 16, 2024
dbf47d3
Merge pull request #585 from ibi-group/shared-stops-validator-repair-rb
miles-grant-ibigroup Jan 16, 2024
509cec4
update ci node
miles-grant-ibigroup Jan 16, 2024
e14d5a2
Merge pull request #584 from ibi-group/shared-stops-validator-repair
miles-grant-ibigroup Jan 16, 2024
0f768ed
correctly update node version
miles-grant-ibigroup Jan 16, 2024
a36b3a6
Merge pull request #587 from ibi-group/update-ci-node-2024
miles-grant-ibigroup Jan 18, 2024
56c6e75
refactor(Fixed merge conflicts):
br648 Jan 24, 2024
cf8904d
Merge pull request #586 from ibi-group/feature/DT-389-pattern-name-up…
miles-grant-ibigroup Jan 29, 2024
99f73d7
shared stops validator: only consider stops from feed being checked
miles-grant-ibigroup Jan 31, 2024
eed8d91
lint
miles-grant-ibigroup Jan 31, 2024
a84bdd6
Merge pull request #581 from ibi-group/dependabot/maven/ch.qos.logbac…
br648 Feb 1, 2024
53dc10a
Merge pull request #588 from ibi-group/ss01-repair
miles-grant-ibigroup Feb 12, 2024
2150660
support new `prefer_s3_links` config property
miles-grant-ibigroup Mar 13, 2024
ff595d2
Merge pull request #591 from ibi-group/support-s3-link-preference
miles-grant-ibigroup Mar 19, 2024
1b4043f
add append transformation
miles-grant-ibigroup Mar 26, 2024
ac60485
correct comment
miles-grant-ibigroup Mar 26, 2024
8082fac
refactor: address pr feedback
miles-grant-ibigroup Mar 27, 2024
8889e04
Merge pull request #592 from ibi-group/append-transformation
miles-grant-ibigroup Apr 1, 2024
3582d2d
deps: update AWS sdk to latest version
daniel-heppner-ibigroup May 13, 2024
63c945a
update tests to cover newline-based edge cases
miles-grant-ibigroup May 14, 2024
a4deb2c
correctly handle newlines while appending
miles-grant-ibigroup May 14, 2024
ef7670f
Merge pull request #594 from ibi-group/update-aws-sdk
miles-grant-ibigroup May 14, 2024
bb5b2da
refactor: address pr feedback
miles-grant-ibigroup May 15, 2024
18dbbc3
Merge pull request #595 from ibi-group/fix-append-transform-edge-cases
miles-grant-ibigroup May 15, 2024
6a11f0e
disable tokens requirement
miles-grant-ibigroup May 21, 2024
e9753de
update snapshots
miles-grant-ibigroup May 22, 2024
8eda625
Merge pull request #597 from ibi-group/deploy-r7a
miles-grant-ibigroup May 22, 2024
d09319a
chore(deps): update mobilitydata validator
miles-grant-ibigroup Nov 27, 2024
43178b5
Merge pull request #603 from ibi-group/md-validator-v6
miles-grant-ibigroup Dec 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Create and publish a Docker image
# https://docs.github.com/en/actions/publishing-packages/publishing-docker-images

on:
push:
branches: ['dev', 'master', 'dev-flex']

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
72 changes: 72 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "dev", master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "dev" ]
schedule:
- cron: '22 22 * * 2'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'java', 'javascript', 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
34 changes: 20 additions & 14 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ on: [push, pull_request]

jobs:
build:

env:
# Only deploy JARs to S3 (and run semantic release) on push to dev or master,
# or if the commit message includes the specified "label".
SAVE_JAR_TO_S3: ${{ github.event_name == 'push' && (github.ref_name == 'dev' || github.ref_name == 'master' || contains(github.event.head_commit.message, '[save-jar]')) }}
runs-on: ubuntu-latest
services:
postgres:
Expand All @@ -24,15 +27,16 @@ jobs:
--health-retries 5
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 19
uses: actions/setup-java@v3
with:
java-version: 1.8
# Install node 14 for running e2e tests (and for maven-semantic-release).
- name: Use Node.js 18.x
java-version: 19
distribution: 'temurin'
# Install node 20 for running e2e tests (and for maven-semantic-release).
- name: Use Node.js 20.x
uses: actions/setup-node@v1
with:
node-version: 18.x
node-version: 20.x
- name: Start MongoDB
uses: supercharge/[email protected]
with:
Expand Down Expand Up @@ -64,10 +68,7 @@ jobs:
- name: Setup GTFS+ directory (used during testing)
run: mkdir /tmp/gtfsplus
- name: Build with Maven (run unit tests)
run: mvn --no-transfer-progress package
- name: Restart MongoDB with fresh database (for e2e tests)
if: env.SHOULD_RUN_E2E == 'true'
run: ./scripts/restart-mongo-with-fresh-db.sh
run: mvn --no-transfer-progress -X package
- name: Run e2e tests
if: env.SHOULD_RUN_E2E == 'true'
run: mvn test
Expand Down Expand Up @@ -97,15 +98,20 @@ jobs:

# Run maven-semantic-release to potentially create a new release of datatools-server. The flag --skip-maven-deploy is
# used to avoid deploying to maven central. So essentially, this just creates a release with a changelog on github.
- name: Use Node.js 20.x
uses: actions/setup-node@v1
with:
node-version: 20.x
- name: Run maven-semantic-release
if: env.SAVE_JAR_TO_S3 == 'true'
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
semantic-release --prepare @conveyal/maven-semantic-release --publish @semantic-release/github,@conveyal/maven-semantic-release --verify-conditions @semantic-release/github,@conveyal/maven-semantic-release --verify-release @conveyal/maven-semantic-release --use-conveyal-workflow --dev-branch=dev --skip-maven-deploy
# The git commands get the commit hash of the HEAD commit and the commit just before HEAD.
- name: Prepare deploy artifacts
# Only deploy on push (pull_request will deploy a temp. merge commit. See #400.)
if: github.event_name == 'push'
if: env.SAVE_JAR_TO_S3 == 'true'
# (pull_request will deploy a temp. merge commit. See #400.)
run: |
# get branch name of current branch for use in jar name
export BRANCH=$GITHUB_REF_SLUG
Expand All @@ -125,6 +131,6 @@ jobs:
FIRST_JAR="${ALL_JARS[0]}"
cp "$FIRST_JAR" "deploy/dt-latest-$BRANCH_CLEAN.jar"
- name: Deploy to S3
if: github.event_name == 'push'
if: env.SAVE_JAR_TO_S3 == 'true'
run: |
aws s3 cp ./deploy s3://datatools-builds --recursive --acl public-read
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tmp/
deploy/

# Configurations
configurations/*
configurations/*.yml
!configurations/default
!configurations/test

Expand Down
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# syntax=docker/dockerfile:1
FROM maven:3.8.7-openjdk-18-slim

COPY . /datatools

# Build jar
WORKDIR /datatools
RUN mvn package -DskipTests
RUN cp target/dt*.jar /datatools/
RUN mv dt*.jar datatools-server.jar

RUN mkdir -p /var/datatools_gtfs/gtfsplus

# Launch server
# This relies on a configuration volume and aws volume being present. See `docker-compose.yml`, or the example below
# Try: docker run --publish 4000:4000 -v ~/config/:/config datatools-latest
CMD ["java", "-XX:MaxRAMPercentage=95", "-jar", "datatools-server.jar", "/config/env.yml", "/config/server.yml"]
EXPOSE 4000
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# Transit Data Manager

The core application for IBI Group's transit data tools suite.
[![Join the chat at https://matrix.to/#/#transit-data-tools:gitter.im](https://badges.gitter.im/repo.png)](https://matrix.to/#/#transit-data-tools:gitter.im)

The core application for IBI Group's TRANSIT-Data-Tools suite.

## Documentation

View the [latest documentation](http://conveyal-data-tools.readthedocs.org/en/latest/) at ReadTheDocs.

Note: `dev` branch docs can be found [here](http://conveyal-data-tools.readthedocs.org/en/dev/).
Note: `dev` branch docs can be found [here](http://conveyal-data-tools.readthedocs.org/en/dev/).

## Docker Image
The easiest way to get `datatools-server` running is to use the provided `Dockerfile` and `docker-compose.yml`. The `docker-compose.yml` includes both database servers that are needed. Edit the supplied configurations in the `configurations` directory to ensure the server starts correctly. Once this is done running `docker-compose up` will start Datatools and all required database servers.

## Getting in touch

We have a Gitter [space](https://matrix.to/#/#transit-data-tools:gitter.im) for the full TRANSIT-Data-Tools project where you can post questions and comments.
4 changes: 2 additions & 2 deletions configurations/default/env.yml.tmp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ DISABLE_AUTH: false
OSM_VEX: http://localhost:1000
SPARKPOST_KEY: your-sparkpost-key
SPARKPOST_EMAIL: [email protected]
GTFS_DATABASE_URL: jdbc:postgresql://localhost/catalogue
GTFS_DATABASE_URL: jdbc:postgresql://localhost/catalogue # If running via docker, this is jdbc:postgresql://postgres/dmtest
# GTFS_DATABASE_USER:
# GTFS_DATABASE_PASSWORD:
#MONGO_HOST: mongo-host:27017
#MONGO_HOST: mongo-host:27017 # If running via docker, this is mongo:27017
MONGO_DB_NAME: catalogue
5 changes: 5 additions & 0 deletions configurations/default/server.yml.tmp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ application:
notifications_enabled: false
docs_url: http://conveyal-data-tools.readthedocs.org
support_email: [email protected]
public_gtfs_contact_email: [email protected]
port: 4000
data:
gtfs: /tmp
Expand All @@ -17,13 +18,17 @@ application:
modules:
enterprise:
enabled: false
# Setting this to true will upload all feeds to S3 instead of linking to their URL
prefer_s3_links: false
editor:
enabled: true
deployment:
enabled: true
ec2:
enabled: false
default_ami: ami-your-ami-id
tag_key: a-tag-key-to-add-to-all-instances
tag_value: a-tag-value-to-add-to-all-instances
# Note: using a cloudfront URL for these download URLs will greatly
# increase download/deploy speed.
otp_download_url: https://optional-otp-repo.com
Expand Down
26 changes: 26 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: '3.8'
services:
datatools-server:
build: ./
ports:
- "4000:4000"
volumes:
- type: bind
source: ./configurations/default/
target: /config
- type: bind
source: ~/.aws
target: /root/.aws
depends_on:
- mongo
- postgres
mongo:
image: mongo
restart: always
postgres:
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_USER: root
POSTGRES_DB: dmtest
image: postgres
restart: always
Loading
Loading