Feature #12726 update resource at vo level rather than vre level
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/admin/rmp-common-library@173970 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ba657d9701
commit
7c0a1b31e2
|
@ -2,6 +2,7 @@
|
||||||
xsi:noNamespaceSchemaLocation="xsd/changelog.xsd">
|
xsi:noNamespaceSchemaLocation="xsd/changelog.xsd">
|
||||||
<Changeset component="org.gcube.portlets-admin.rmp-common-library.2-8-1"
|
<Changeset component="org.gcube.portlets-admin.rmp-common-library.2-8-1"
|
||||||
date="2018-10-14">
|
date="2018-10-14">
|
||||||
|
<Change>Feature #12726 update resource at vo level rather than vre level</Change>
|
||||||
<Change>Feature #11788 ContextManager class added</Change>
|
<Change>Feature #11788 ContextManager class added</Change>
|
||||||
</Changeset>
|
</Changeset>
|
||||||
<Changeset component="org.gcube.portlets-admin.rmp-common-library.2-7-1"
|
<Changeset component="org.gcube.portlets-admin.rmp-common-library.2-7-1"
|
||||||
|
|
|
@ -144,7 +144,9 @@ public class GenericResourceManager extends AbstractResourceManager {
|
||||||
|
|
||||||
ScopeProvider.instance.set(scope.toString());
|
ScopeProvider.instance.set(scope.toString());
|
||||||
RegistryPublisher publisher = getRegistryPublisher();
|
RegistryPublisher publisher = getRegistryPublisher();
|
||||||
String id = publisher.update(resource).id();
|
|
||||||
|
//String id = publisher.update(resource).id();
|
||||||
|
String id = publisher.vosUpdate(resource).id();
|
||||||
|
|
||||||
if (id == null || id.length() == 0) {
|
if (id == null || id.length() == 0) {
|
||||||
throw new Exception("The GenericResource has not been updated");
|
throw new Exception("The GenericResource has not been updated");
|
||||||
|
|
Loading…
Reference in New Issue