From b435bdbdc49929beb8062a3a759d6992b9741ed9 Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Wed, 13 Oct 2021 16:27:20 +0200 Subject: [PATCH] changed postpon from 6 months to 5 years. --- .../admin/vredeployment/server/VREManagerServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/portlets/admin/vredeployment/server/VREManagerServiceImpl.java b/src/main/java/org/gcube/portlets/admin/vredeployment/server/VREManagerServiceImpl.java index 5b48148..ba72858 100644 --- a/src/main/java/org/gcube/portlets/admin/vredeployment/server/VREManagerServiceImpl.java +++ b/src/main/java/org/gcube/portlets/admin/vredeployment/server/VREManagerServiceImpl.java @@ -378,7 +378,7 @@ public class VREManagerServiceImpl extends RemoteServiceServlet implements VREDe VREGeneratorEvo evo = new VREGeneratorEvo(session, vreId); VREDescription vre = evo.getVREModel(); Calendar endTime = vre.endTime(); - endTime.set(Calendar.MONTH, (endTime.get(Calendar.MONTH)+6)); + endTime.set(Calendar.YEAR, (endTime.get(Calendar.YEAR)+5)); vre.endTime(endTime); evo.setVREModel(vre.name(), vre.description(), vre.designer(), vre.manager(), vre.startTime().getTimeInMillis(), endTime.getTimeInMillis()); return true;