aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rwxr-xr-xsrc/main/java/org/onap/music/rest/RestMusicAdminAPI.java2
-rw-r--r--src/main/java/org/onap/music/service/impl/MusicCassaCore.java1
-rw-r--r--src/main/resources/logback.xml2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/org/onap/music/rest/RestMusicAdminAPI.java b/src/main/java/org/onap/music/rest/RestMusicAdminAPI.java
index 289cab06..6ad6c03b 100755
--- a/src/main/java/org/onap/music/rest/RestMusicAdminAPI.java
+++ b/src/main/java/org/onap/music/rest/RestMusicAdminAPI.java
@@ -112,6 +112,8 @@ public class RestMusicAdminAPI {
.build();
}
} catch (Exception e) {
+ logger.error(EELFLoggerDelegate.errorLogger, "Unable to authenticate", e);
+ response.status(Status.UNAUTHORIZED);
return response.entity(new JsonResponse(ResultType.FAILURE).setError(e.getMessage()).toMap()).build();
}
if (appName == null || userId == null || isAAF == null || password == null) {
diff --git a/src/main/java/org/onap/music/service/impl/MusicCassaCore.java b/src/main/java/org/onap/music/service/impl/MusicCassaCore.java
index 21b4874b..cb6e1ce4 100644
--- a/src/main/java/org/onap/music/service/impl/MusicCassaCore.java
+++ b/src/main/java/org/onap/music/service/impl/MusicCassaCore.java
@@ -226,7 +226,6 @@ public class MusicCassaCore implements MusicCoreService {
String tabQuery = "CREATE TABLE IF NOT EXISTS "+keyspace+"."+table
+ " ( key text,PRIMARY KEY (key) );";
- System.out.println(tabQuery);
PreparedQueryObject queryObject = new PreparedQueryObject();
queryObject.appendQueryString(tabQuery);
diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml
index 8d3164f0..6bc5fd5e 100644
--- a/src/main/resources/logback.xml
+++ b/src/main/resources/logback.xml
@@ -292,7 +292,7 @@
<root level="INFO">
<appender-ref ref="asyncEELF" />
- <appender-ref ref="STDOUT" />
+ <!-- <appender-ref ref="STDOUT" /> -->
</root>
<!-- Conductor Specific additions to squash WARNING and INFO -->