diff --git a/.classpath b/.classpath
index 78a5c21..c320efc 100644
--- a/.classpath
+++ b/.classpath
@@ -1,6 +1,6 @@
-
+
@@ -30,5 +30,5 @@
-
+
diff --git a/.settings/com.gwtplugins.gdt.eclipse.core.prefs b/.settings/com.gwtplugins.gdt.eclipse.core.prefs
index e15f0c9..5a9bae0 100644
--- a/.settings/com.gwtplugins.gdt.eclipse.core.prefs
+++ b/.settings/com.gwtplugins.gdt.eclipse.core.prefs
@@ -1,6 +1,6 @@
>>>>>>>=refs/heads/task_20699
eclipse.preferences.version=1
jarsExcludedFromWebInfLib=
-lastWarOutDir=/home/francescomangiacrapa/git/gcube-ckan-datacatalog/target/gcube-ckan-datacatalog-2.2.6-SNAPSHOT
+lastWarOutDir=/home/francescomangiacrapa/git/gcube-ckan-datacatalog/target/gcube-ckan-datacatalog-2.3.0-SNAPSHOT
warSrcDir=src/main/webapp
warSrcDirIsOutput=false
diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component
index 866bd14..a777cf9 100644
--- a/.settings/org.eclipse.wst.common.component
+++ b/.settings/org.eclipse.wst.common.component
@@ -1,5 +1,5 @@
-
+
@@ -52,8 +52,30 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -107,7 +129,18 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -161,7 +194,18 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -215,10 +259,24 @@
-
+
uses
-
+
+ uses
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -272,7 +330,18 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -326,7 +395,18 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -380,7 +460,18 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0f9d65a..0b9269b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [v2.3.0-SNAPSHOT] - 2024-02-02
+
+- Supported the Edit facility [#26639]
+
## [v2.2.7] - 2023-12-21
- Including "Upload to Zenodo" fix [#26166]
diff --git a/pom.xml b/pom.xml
index 702a8e7..7588b35 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,7 @@
org.gcube.portlets.gcubeckan
gcube-ckan-datacatalog
war
- 2.2.7
+ 2.3.0-SNAPSHOT
gCube CKAN Data Catalog
The gCube CKAN Data Catalog portlet
@@ -125,6 +125,12 @@
[1.0.0,2.0.0-SNAPSHOT)
+
+ org.gcube.portlets.widgets
+ metadata-profile-form-builder-widget
+ [2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)
+
+
org.gcube.portlets.widgets
ckan-metadata-publisher-widget
diff --git a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/GCubeCkanDataCatalog.gwt.xml b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/GCubeCkanDataCatalog.gwt.xml
index dde449b..c8fed02 100644
--- a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/GCubeCkanDataCatalog.gwt.xml
+++ b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/GCubeCkanDataCatalog.gwt.xml
@@ -20,6 +20,10 @@
+
+
+
-
diff --git a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/GcubeCkanDataCatalogServiceImpl.java b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/GcubeCkanDataCatalogServiceImpl.java
index d7d34d8..0a4d780 100644
--- a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/GcubeCkanDataCatalogServiceImpl.java
+++ b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/GcubeCkanDataCatalogServiceImpl.java
@@ -30,6 +30,7 @@ import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.shared.BeanUserInOrgGro
import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.shared.CkanConnectorAccessPoint;
import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.shared.ManageProductResponse;
import org.gcube.portlets.widgets.ckandatapublisherwidget.shared.OrganizationBean;
+import org.gcube.portlets.widgets.mpformbuilder.shared.catalogue.OrganizationBeanProfile;
import org.gcube.vomanagement.usermanagement.GroupManager;
import org.gcube.vomanagement.usermanagement.impl.LiferayGroupManager;
@@ -299,20 +300,20 @@ public class GcubeCkanDataCatalogServiceImpl extends RemoteServiceServlet implem
* @param username the username
* @return the list
*/
- private List fetchUserGroups(String context, String username) {
+ private List fetchUserGroups(String context, String username) {
- List toReturn = null;
+ List toReturn = null;
logger.info("Preloading user's groups");
try{
DataCatalogue catalogue = getCatalogue(context);
- toReturn = new ArrayList();
+ toReturn = new ArrayList();
Map> mapRoleGroup = catalogue.getUserRoleByGroup(username);
Set>> set = mapRoleGroup.entrySet();
for (Entry> entry : set) {
Set> subSet = entry.getValue().entrySet();
for (Entry subEntry : subSet) {
- toReturn.add(new OrganizationBean(subEntry.getKey().getTitle(), subEntry.getKey().getName(), false));
+ toReturn.add(new OrganizationBeanProfile(subEntry.getKey().getTitle(), subEntry.getKey().getName(), false));
}
}
diff --git a/src/main/resources/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/GCubeCkanDataCatalog.gwt.xml b/src/main/resources/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/GCubeCkanDataCatalog.gwt.xml
index dde449b..c8fed02 100644
--- a/src/main/resources/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/GCubeCkanDataCatalog.gwt.xml
+++ b/src/main/resources/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/GCubeCkanDataCatalog.gwt.xml
@@ -20,6 +20,10 @@
+
+
+
-
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
index 748e3fb..b9ef82e 100644
--- a/src/main/webapp/WEB-INF/web.xml
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -49,12 +49,24 @@
org.gcube.portlets.widgets.ckancontentmoderator.server.CkanContentModeratorServiceImpl
+
+ metadataProfileFormBuilderUploadServlet
+ org.gcube.portlets.widgets.mpformbuilder.server.MetadataProfileFormBuilderUploadServlet
+
+
+
+ metadataProfileFormBuilderUploadServlet
+ /gCubeCkanDataCatalog/metadataProfileFormBuilderUploadServlet
+
+
+
+
ckanContentModeratorServlet
/gCubeCkanDataCatalog/ckanContentModeratorService
-
-
+
+
ckanToZenodoServlet
/gCubeCkanDataCatalog/ckantozenodo