restore a couple of fields' access to public 70/100170/2
authorJohn J. Franey <john.franey@att.com>
Thu, 9 Jan 2020 21:38:00 +0000 (16:38 -0500)
committerJohn J. Franey <john.franey@att.com>
Fri, 10 Jan 2020 01:42:49 +0000 (20:42 -0500)
Apparently, these fields are part of contract to custom plugins.

Issue-ID: AAF-1040
Signed-off-by: John J. Franey <john.franey@att.com>
Change-Id: Ib3106230416baae9c63136ed2563a6416b61d40f

auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java

index 9aebee5..e2f3765 100644 (file)
@@ -49,7 +49,7 @@ import com.datastax.driver.core.Statement;
 
 public class Cred  {
     public static final SortedMap<String,Cred> data = new TreeMap<>();
 
 public class Cred  {
     public static final SortedMap<String,Cred> data = new TreeMap<>();
-    protected static final SortedMap<String,List<Cred>> byNS = new TreeMap<>();
+    public static final SortedMap<String,List<Cred>> byNS = new TreeMap<>();
 
     public final String id;
     public final List<Instance> instances;
 
     public final String id;
     public final List<Instance> instances;
index 0b5e6b8..a61619e 100644 (file)
@@ -43,8 +43,8 @@ import com.datastax.driver.core.SimpleStatement;
 import com.datastax.driver.core.Statement;
 
 public class Role implements Comparable<Role> {
 import com.datastax.driver.core.Statement;
 
 public class Role implements Comparable<Role> {
-    protected static final SortedMap<Role,Set<String>> data = new TreeMap<>();
-    protected static final SortedMap<String,Role> keys = new TreeMap<>();
+    public static final SortedMap<Role,Set<String>> data = new TreeMap<>();
+    public static final SortedMap<String,Role> keys = new TreeMap<>();
     public static final SortedMap<String,Role> byName = new TreeMap<>();
     private static List<Role> deleteRoles = new ArrayList<>();
 
     public static final SortedMap<String,Role> byName = new TreeMap<>();
     private static List<Role> deleteRoles = new ArrayList<>();