From 8b5324b90a686cfae84c00a4e6ba43ad657c4489 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Mon, 24 Jun 2024 09:45:58 +0200 Subject: [PATCH 1/7] Update magidoc --- .github/workflows/cibuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cibuild.yml b/.github/workflows/cibuild.yml index 09150d0d868..a4074e8c30d 100644 --- a/.github/workflows/cibuild.yml +++ b/.github/workflows/cibuild.yml @@ -121,7 +121,7 @@ jobs: - name: Build GTFS GraphQL API documentation run: | - npm install -g @magidoc/cli@4.1.4 + npm install -g @magidoc/cli@5.0.3 magidoc generate - name: Deploy compiled HTML to Github pages From 617950a45d8e0b17254356d6cc7ffd6de153a86a Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Mon, 24 Jun 2024 09:50:15 +0200 Subject: [PATCH 2/7] Update Github action --- .github/workflows/performance-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/performance-test.yml b/.github/workflows/performance-test.yml index 60b3e69610d..bfddea1b408 100644 --- a/.github/workflows/performance-test.yml +++ b/.github/workflows/performance-test.yml @@ -109,7 +109,7 @@ jobs: - name: Archive Flight Recorder instrumentation file if: matrix.profile == 'core' || github.ref == 'refs/heads/dev-2.x' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.location }}-flight-recorder path: ${{ matrix.location}}-speed-test.jfr From 5d28009fa89844b318b545cfbd2b4a4ea371b702 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Mon, 24 Jun 2024 09:54:44 +0200 Subject: [PATCH 3/7] Update to node 20 --- .github/workflows/cibuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cibuild.yml b/.github/workflows/cibuild.yml index a4074e8c30d..233ea8635ee 100644 --- a/.github/workflows/cibuild.yml +++ b/.github/workflows/cibuild.yml @@ -117,7 +117,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: Build GTFS GraphQL API documentation run: | From 0e71b7b2a95d2acc078f901e3d13c84616d19038 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Mon, 24 Jun 2024 10:13:18 +0200 Subject: [PATCH 4/7] Add more query factories --- magidoc.mjs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/magidoc.mjs b/magidoc.mjs index 4fea5e4e127..4d9e8c98a7f 100644 --- a/magidoc.mjs +++ b/magidoc.mjs @@ -36,7 +36,15 @@ To learn how to deactivate it, read the queryGenerationFactories: { 'Polyline': '<>', 'GeoJson': '<>', - 'OffsetDateTime': '2024-02-05T18:04:23+01:00' + 'OffsetDateTime': '2024-02-05T18:04:23+01:00', + 'Duration': 'PT10M', + 'CoordinateValue': 19.24, + 'Reluctance': 3.1, + 'Speed': 3.4, + 'Cost': 100, + 'Ratio': 0.25, + 'Locale': 'en' + }, } }, From cf3c552a326bb6a512ff9818f80c2a35c988c826 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Mon, 24 Jun 2024 10:16:39 +0200 Subject: [PATCH 5/7] Add --stacktrace --- .github/workflows/cibuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cibuild.yml b/.github/workflows/cibuild.yml index 233ea8635ee..f5c09aaa5eb 100644 --- a/.github/workflows/cibuild.yml +++ b/.github/workflows/cibuild.yml @@ -122,7 +122,7 @@ jobs: - name: Build GTFS GraphQL API documentation run: | npm install -g @magidoc/cli@5.0.3 - magidoc generate + magidoc generate --stacktrace - name: Deploy compiled HTML to Github pages if: github.event_name == 'push' && (github.ref == 'refs/heads/dev-2.x' || github.ref == 'refs/heads/master') From 35eff90a83c88b9c3fe4683ed4f527aab1e64b13 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Mon, 24 Jun 2024 10:31:10 +0200 Subject: [PATCH 6/7] Add debug statements --- .github/workflows/cibuild.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cibuild.yml b/.github/workflows/cibuild.yml index f5c09aaa5eb..ea6c118361f 100644 --- a/.github/workflows/cibuild.yml +++ b/.github/workflows/cibuild.yml @@ -122,6 +122,7 @@ jobs: - name: Build GTFS GraphQL API documentation run: | npm install -g @magidoc/cli@5.0.3 + cat src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls magidoc generate --stacktrace - name: Deploy compiled HTML to Github pages From 9b4dede62e64d81c6b31f083762ab63247cd02ef Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Tue, 25 Jun 2024 09:53:37 +0200 Subject: [PATCH 7/7] Update Magidoc to 6.0.0 --- .github/workflows/cibuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cibuild.yml b/.github/workflows/cibuild.yml index ea6c118361f..120220de7f1 100644 --- a/.github/workflows/cibuild.yml +++ b/.github/workflows/cibuild.yml @@ -121,7 +121,7 @@ jobs: - name: Build GTFS GraphQL API documentation run: | - npm install -g @magidoc/cli@5.0.3 + npm install -g @magidoc/cli@6.0.0 cat src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls magidoc generate --stacktrace