[ACR] http://suprem.sec.samsung.net/jira/browse/TWDAPI-210
Change-Id: Ib0ebdee662d7dbb57ad29e98d2b7e427911f9182
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
#include "common/converter.h"
#include "common/logger.h"
+#include "common/tools.h"
using common::AttributeMatchFlag;
using common::CompositeFilterType;
ScopeLogger();
auto it = attributeNameMap.find(name);
if (it != attributeNameMap.end()) {
+ if (name == "rating" || name == "description") {
+ common::tools::PrintDeprecationWarningFor("Filtering by attribute '" + name + "'");
+ }
*result = it->second;
} else {
return LogAndCreateResult(ErrorCode::INVALID_VALUES_ERR);