restore a couple of fields' access to public
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
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java
index 9aebee5..e2f3765 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java
@@ -49,7 +49,7 @@
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;
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java
index 0b5e6b8..a61619e 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java
@@ -43,8 +43,8 @@
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<>();