summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorTschaen, Brendan <ctschaen@att.com>2019-02-27 16:44:36 -0500
committerTschaen, Brendan <ctschaen@att.com>2019-02-27 16:44:36 -0500
commit24accb9cb8000591cc22a5d98d2c079b8084b123 (patch)
treefb9eaf76b888df84bc3588565c2c7dffa1f4a02c /src/main
parentd350d020b40aad0b67bd5698f7c009733e81d7ca (diff)
Admin api tests w/ mocked authorization
Change-Id: I2069a4c1e9e6985615fce77cfb2a255fc9e322f3 Issue-ID: MUSIC-341 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Diffstat (limited to 'src/main')
-rwxr-xr-xsrc/main/java/org/onap/music/rest/RestMusicAdminAPI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/music/rest/RestMusicAdminAPI.java b/src/main/java/org/onap/music/rest/RestMusicAdminAPI.java
index 0bca1f99..26069ebe 100755
--- a/src/main/java/org/onap/music/rest/RestMusicAdminAPI.java
+++ b/src/main/java/org/onap/music/rest/RestMusicAdminAPI.java
@@ -118,7 +118,7 @@ public class RestMusicAdminAPI {
ErrorSeverity.CRITICAL, ErrorTypes.AUTHENTICATIONERROR);
resultMap.put("Exception",
"Unauthorized: Please check the request parameters. Some of the required values appName(ns), userId, password, isAAF are missing.");
- return response.status(Status.UNAUTHORIZED).entity(resultMap).build();
+ return response.status(Status.BAD_REQUEST).entity(resultMap).build();
}
PreparedQueryObject pQuery = new PreparedQueryObject();