-
Notifications
You must be signed in to change notification settings - Fork 94
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
Datafeeder : Allow import of csv files #4137
Conversation
datafeeder/src/main/java/org/georchestra/datafeeder/service/DatasetsService.java
Show resolved
Hide resolved
d27b863
to
28af16e
Compare
10ac6da
to
2b31eb7
Compare
...feeder/src/main/java/org/georchestra/datafeeder/batch/service/DataUploadAnalysisService.java
Outdated
Show resolved
Hide resolved
f727c0f
to
e83d2aa
Compare
Force pushed squashed commits. See branch |
5557112
to
21e3e71
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.
@f-necas this looks good overall.
Please address the pending change request (curl example and pom), and squash into a single commit with a good title and description.
Also there's a test failure, we'd need to address that.
fa0ae63
to
b81410a
Compare
The PR should include a line in the release notes to explain that the dataset name is now generated from the dataset title rather than the original file name. This is an important change. |
This adds basic CSV support to the datafeeder, allowing users to send geo or non-geo CSV datasets, in addition to the shapefile support. Considering the ogc api features (georchestra/data-api) project, we can also add links to the data-api. Since we can now upload non-geo datasets, it can be sometimes irrelevant to publish metadata containing links to wfs/wms resources or extent infos. This required to bump geotools to v29. Tests: * fixing ITs, * runtime tested, * Some related tests added to the testsuite
If the sec-user base64-encode json header is received with already prefixed roles, one want to avoid prefixing another time, ending up with a list of roles containing "ROLE_ROLE_..." named roles. tests: adding an UT.
b81410a
to
42f4806
Compare
This has been done (in a dedicated PR though): https://github.com/georchestra/georchestra/pull/4188/files#diff-fa9ce18bbd795fbe01c3be557f7253cbb15ef64db8e5e94e97ac8bdcdd38a7d4R102 |
IT testsuite is a bit flacky, because it seems to time-out from time to time. No issue launching it locally, the GHA actually went green at the 4th try, taking 12+ minutes to run, I had run it locally in less than 2 minutes, so probably a matter of available resources ? Considering a large amount of resources is needed to run the suite. |
CSV in datafeeder
Allows to import CSV geo and non geo data in datafeeder.
For the front part, see PR : georchestra/geonetwork-ui#9
Upsteam PR : geonetwork/geonetwork-ui#773
Screenshot