adding an aai exception so that instead of NPE a 4009 exception is thrown in case of a missing FromAppId header
Change-Id: Iac14eeedd05a8caf0fc676c5e218938aa94a6e27
Issue-ID: AAI-480
Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
String realTime = headers.getRequestHeaders().getFirst("Real-Time");
String outputMediaType = getMediaType(headers.getAcceptableMediaTypes());
Version version = Version.valueOf(versionParam);
- DBConnectionType type = this.determineConnectionType(sourceOfTruth, realTime);
Response response = null;
try {
//TODO add auth check when this endpoint added to that auth properties files
-
+ DBConnectionType type = this.determineConnectionType(sourceOfTruth, realTime);
JsonArray transactions = getTransactions(content);