[Policy-52, Policy-92, Policy-93] Policy Enhancements and bugfixes
[policy/engine.git] / ECOMP-PAP-REST / src / main / java / org / openecomp / policy / pap / xacml / rest / controller / DescriptiveDictionaryController.java
index a64cdf7..0ea1da1 100644 (file)
@@ -21,6 +21,7 @@
 package org.openecomp.policy.pap.xacml.rest.controller;
 
 import java.io.PrintWriter;
+import java.util.Date;
 import java.util.HashMap;
 import java.util.LinkedHashMap;
 import java.util.List;
@@ -169,6 +170,7 @@ public class DescriptiveDictionaryController {
                        }else{
                                if(!isFakeUpdate){
                                        descriptiveScope.setUserModifiedBy(this.getUserInfo(userId));
+                                       descriptiveScope.setModifiedDate(new Date());
                                        commonClassDao.update(descriptiveScope); 
                                }
                        }