Batch work and client
[aaf/authz.git] / auth / auth-batch / src / main / java / org / onap / aaf / auth / batch / reports / PrepExtend.java
index 3e0dd01..47a1b60 100644 (file)
@@ -82,7 +82,7 @@ public class PrepExtend extends Batch {
                Date now = gc.getTime();
                
                int ifrom = 0;
-               int ito = 0;
+               int ito = 4;
                
                for(int i=0; i< args().length;++i) {
                        switch(args()[i]) {
@@ -133,7 +133,7 @@ public class PrepExtend extends Batch {
                                */
                                UserRole.load(trans, session, UserRole.v2_0_11, ur -> {
                                        if(from.before(ur.expires()) && to.after(ur.expires())) {
-                                               ur.row(cw);
+                                               ur.row(cw,UserRole.UR);
                                        }
                                });