-
Notifications
You must be signed in to change notification settings - Fork 403
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
feat: config migration and graph repo client #1889
Conversation
The commit message title of commit 6035301 is irritating. A refactoring is not supposed to be a breaking change. |
The ! indicates a breaking change & the body describes the thing that is breaking:
according to the specification we are currently using, that's how a breaking change should be committed and it can be on any commit type: Or do you think the actual title confusing? |
No, I think that in general "refactor" and "BREAKING CHANGE" are incompatible by their definition. I wonder whether there are rare exceptions to this? |
ah due to refactoring being defined by "not altering existing functionality" 😓. Yeah, agreed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only a partial review suggesting some improvements. The PR is too large to conduct a full review.
...igit/ors/routing/graphhopper/extensions/storages/builders/GreenIndexGraphStorageBuilder.java
Outdated
Show resolved
Hide resolved
ors-api/src/main/java/org/heigit/ors/api/config/EngineProperties.java
Outdated
Show resolved
Hide resolved
ors-engine/src/main/java/org/heigit/ors/isochrones/IsochroneRequest.java
Show resolved
Hide resolved
ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/GraphProcessContext.java
Outdated
Show resolved
Hide resolved
ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/GraphProcessContext.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partial review.
ors-api/src/main/java/org/heigit/ors/api/services/GraphService.java
Outdated
Show resolved
Hide resolved
ors-api/src/main/java/org/heigit/ors/api/services/GraphService.java
Outdated
Show resolved
Hide resolved
ors-api/src/main/java/org/heigit/ors/api/services/GraphService.java
Outdated
Show resolved
Hide resolved
...in/java/org/heigit/ors/routing/graphhopper/extensions/manage/remote/AbstractRepoManager.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/org/heigit/ors/routing/graphhopper/extensions/manage/PersistedGraphInfo.java
Outdated
Show resolved
Hide resolved
.../java/org/heigit/ors/routing/graphhopper/extensions/manage/remote/FileSystemRepoManager.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more comments
ors-api/src/main/java/org/heigit/ors/api/config/EndpointsProperties.java
Outdated
Show resolved
Hide resolved
This was called like this for quite some time already. Just streamlining it.
This includes classes, fields, variables, unneeded comments and resolved todos etc.
… for ExtendedStorageProperties.java
We need the wrapped one to properly work with jackson config serialization.
We already throw a custom exception. The signature didn't reflect this.
These if statements are trivial and should be merged.
…sEmpty() Now even the Map.of() check validates to true. Yay!
This makes the intended use more visible and clear that this class doesn't "manage" anything but is used to manage. co-authored: jhaeu <[email protected]>
The refactor also includes a change for the graph build file from `graph_info.yml` to `graph_build_info.yml`. co-authored: jhaeu <[email protected]>
… and graph repo client
e0623aa
to
11f2b07
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…yml and ors-config.env
c1be5ca
to
24bfd2e
Compare
Quality Gate passedIssues Measures |
Pull Request Checklist
have been resolved.
[Unreleased] heading.
along with a short description of what it is for, and documented this in the Pull Request (below).
(at least Germany), and the graphs build without problems (i.e. no out-of-memory errors).
importer etc.), I have generated longer distance routes for the affected profiles with different options
(avoid features, max weight etc.) and compared these with the routes of the same parameters and start/end
points generated from the current live ORS.
If there are differences then the reasoning for these MUST be documented in the pull request.
and why the change was needed.
Fixes # .
Information about the changes
Examples and reasons for differences between live ORS routes, and those generated from this pull request
Required changes to ors config (if applicable)