fixing RPs deletion
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/information-system/gCubeIS/Collector@15601 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
56f79282b6
commit
11ca4a5f4d
|
@ -23,7 +23,7 @@
|
||||||
<environment name="registrationURI" value="http://...."
|
<environment name="registrationURI" value="http://...."
|
||||||
type="java.lang.String" override="false" />
|
type="java.lang.String" override="false" />
|
||||||
|
|
||||||
<environment name="resourceExpirationTimeInMillis" value="600000"
|
<environment name="resourceExpirationTimeInMillis" value="240000"
|
||||||
type="java.lang.String" override="false" />
|
type="java.lang.String" override="false" />
|
||||||
|
|
||||||
<environment name="deleteRPsOnStartup" value="true"
|
<environment name="deleteRPsOnStartup" value="true"
|
||||||
|
|
|
@ -58,7 +58,7 @@ public class ICAggregatorRemoveCallback implements AggregatorServiceGroupEntryRe
|
||||||
|
|
||||||
// delete the resource from the database
|
// delete the resource from the database
|
||||||
try {
|
try {
|
||||||
State.getDataManager().retrieveAndDeleteResourceFromID(res.getID());
|
//State.getDataManager().retrieveAndDeleteResourceFromID(res.getID());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Unable to remove resource: " + res.getID(), e);
|
logger.error("Unable to remove resource: " + res.getID(), e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue