task_28150 #19
|
@ -1,5 +1,9 @@
|
||||||
# Changelog for org.gcube.application.geoportal-service
|
# Changelog for org.gcube.application.geoportal-service
|
||||||
|
|
||||||
|
## [v1.2.1-SNAPSHOT] - 2024-10-02
|
||||||
|
|
||||||
|
- Included the file size to reduce/optimize the time to upload files to the storage hub [#28150]
|
||||||
|
|
||||||
## [v1.2.0] - 2024-09-24
|
## [v1.2.0] - 2024-09-24
|
||||||
|
|
||||||
- Integrated the EventManager of the cms-plugin-framework [#26321]
|
- Integrated the EventManager of the cms-plugin-framework [#26321]
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.gcube.application</groupId>
|
<groupId>org.gcube.application</groupId>
|
||||||
<artifactId>geoportal-service</artifactId>
|
<artifactId>geoportal-service</artifactId>
|
||||||
<version>1.2.0</version>
|
<version>1.2.1-SNAPSHOT</version>
|
||||||
<name>Geoportal Service</name>
|
<name>Geoportal Service</name>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
|
|
|
@ -1565,7 +1565,7 @@ public class ProfiledMongoManager extends MongoManager implements MongoManagerI<
|
||||||
log.info("Got URL {} from ID {}, filesize {}", fileUrl, f.getId(), f.getSize());
|
log.info("Got URL {} from ID {}, filesize {}", fileUrl, f.getId(), f.getSize());
|
||||||
is = new URL(fileUrl).openStream();
|
is = new URL(fileUrl).openStream();
|
||||||
RegisteredFile registered = ws.registerFile(new WorkspaceManager.FileOptions(f.getFilename(), is,
|
RegisteredFile registered = ws.registerFile(new WorkspaceManager.FileOptions(f.getFilename(), is,
|
||||||
"Imported via gcube CMS service ", sectionFolder));
|
"Imported via gcube CMS service ", sectionFolder, f.getSize()));
|
||||||
log.info("Registered " + registered);
|
log.info("Registered " + registered);
|
||||||
registeredFiles.add(registered);
|
registeredFiles.add(registered);
|
||||||
} catch (StorageHubException | IOException e) {
|
} catch (StorageHubException | IOException e) {
|
||||||
|
|
Loading…
Reference in New Issue