diff options
Diffstat (limited to 'auth/auth-cmd/src')
-rw-r--r-- | auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Cmd.java | 2 | ||||
-rw-r--r-- | auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Cmd.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Cmd.java index 896cbb30..7f41650d 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Cmd.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Cmd.java @@ -228,7 +228,7 @@ public abstract class Cmd { } else if(desc.startsWith("{")) { StringReader sr = new StringReader(desc); try { - // Note: 11-18-2013, JG1555. This rather convoluted Message Structure required by TSS Restful Specs, reflecting "Northbound" practices. + // Note: 11-18-2013, JonathanGathman. This rather convoluted Message Structure required by TSS Restful Specs, reflecting "Northbound" practices. Error err = getDF(Error.class).newData().in(TYPE.JSON).load(sr).asObject(); sb.append(" ["); sb.append(err.getMessageId()); diff --git a/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java b/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java index 9eb4b75b..a5b58ef0 100644 --- a/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java +++ b/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java @@ -150,12 +150,13 @@ public class JU_List { pkey.setAction("test"); pkey.setInstance("test"); pkey.setType("test"); - - list.report(roles, perms , urs , "test"); + role.addPerms(pkey); list.report(roles, perms , null , "test"); - cli.eval("DETAILS @[ 123"); + list.report(roles, perms , urs , "test"); + + aafcli.eval("DETAILS @[ 123"); role.setName("test"); - role.addPerms(pkey); + list.report(roles, perms , urs , "test"); } |