-
Notifications
You must be signed in to change notification settings - Fork 64
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
Improve modularization #852
Conversation
bchapuis
commented
May 9, 2024
•
edited
Loading
edited
- Separate the data collection api from the standard collection api (the standard api has a lot of features and the behavior and their default behavior implemented in abstract classes was not always appropriate).
- Move the data collection api in a dedicated module.
- Introduce adapters to convert from one api to the other.
- Move the pmtiles api in a dedicated module.
- Move the openstreetmap api in a dedicated module.
- Move the maplibre api in a dedicated module.
- Make the openstreetmap api use the standard library for coordinate and reference caches.
- Move the openstreetmap api in a dedicated module.
baremaps-core/src/test/java/org/apache/baremaps/database/AppendOnlyLogTest.java
Fixed
Show fixed
Hide fixed
baremaps-core/src/main/java/org/apache/baremaps/openstreetmap/postgres/PostgresMap.java
Fixed
Show fixed
Hide fixed
baremaps-core/src/main/java/org/apache/baremaps/database/collection/DataCollection.java
Fixed
Show fixed
Hide fixed
baremaps-core/src/main/java/org/apache/baremaps/database/collection/DataCollection.java
Fixed
Show fixed
Hide fixed
baremaps-core/src/main/java/org/apache/baremaps/database/collection/AppendOnlyLog.java
Fixed
Show fixed
Hide fixed
baremaps-core/src/main/java/org/apache/baremaps/openstreetmap/postgres/PostgresMap.java
Fixed
Show fixed
Hide fixed
import org.junit.jupiter.api.Test; | ||
import org.junit.jupiter.params.ParameterizedTest; | ||
import org.junit.jupiter.params.provider.MethodSource; | ||
|
||
class AppendOnlyBufferTest { | ||
class AppendOnlyLogTest { |
Check notice
Code scanning / CodeQL
Unused classes and interfaces
baremaps-data/src/main/java/org/apache/baremaps/data/collection/DataCollection.java
Fixed
Show fixed
Hide fixed
baremaps-data/src/main/java/org/apache/baremaps/data/collection/DataCollection.java
Fixed
Show fixed
Hide fixed
public void close() { | ||
memory.segment(0).putLong(0, size); | ||
/** {@inheritDoc} */ | ||
public long size() { |
Check notice
Code scanning / CodeQL
Missing Override annotation
baremaps-openstreetmap/src/main/java/org/apache/baremaps/openstreetmap/pbf/PbfEntityReader.java
Fixed
Show fixed
Hide fixed
baremaps-openstreetmap/src/main/java/org/apache/baremaps/openstreetmap/xml/XmlChangeReader.java
Fixed
Show fixed
Hide fixed
baremaps-openstreetmap/src/main/java/org/apache/baremaps/openstreetmap/xml/XmlEntityReader.java
Fixed
Show fixed
Hide fixed
baremaps-openstreetmap/src/main/java/org/apache/baremaps/openstreetmap/xml/XmlEntityReader.java
Fixed
Show fixed
Hide fixed
baremaps-openstreetmap/src/main/java/org/apache/baremaps/openstreetmap/xml/XmlEntityReader.java
Fixed
Show fixed
Hide fixed
baremaps-openstreetmap/src/main/java/org/apache/baremaps/openstreetmap/xml/XmlEntityReader.java
Fixed
Show fixed
Hide fixed
baremaps-openstreetmap/src/main/java/org/apache/baremaps/openstreetmap/xml/XmlEntityReader.java
Fixed
Show fixed
Hide fixed
baremaps-openstreetmap/src/main/java/org/apache/baremaps/openstreetmap/xml/XmlEntityReader.java
Fixed
Show fixed
Hide fixed
baremaps-openstreetmap/src/main/java/org/apache/baremaps/openstreetmap/xml/XmlEntityReader.java
Fixed
Show fixed
Hide fixed
baremaps-openstreetmap/src/main/java/org/apache/baremaps/openstreetmap/xml/XmlEntityReader.java
Fixed
Show fixed
Hide fixed
fe96329
to
4c4beae
Compare
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |