aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-requests-db-repositories
diff options
context:
space:
mode:
Diffstat (limited to 'mso-api-handlers/mso-requests-db-repositories')
-rw-r--r--mso-api-handlers/mso-requests-db-repositories/src/main/java/org/onap/so/db/request/data/repository/InfraActiveRequestsRepositoryImpl.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/mso-api-handlers/mso-requests-db-repositories/src/main/java/org/onap/so/db/request/data/repository/InfraActiveRequestsRepositoryImpl.java b/mso-api-handlers/mso-requests-db-repositories/src/main/java/org/onap/so/db/request/data/repository/InfraActiveRequestsRepositoryImpl.java
index b669b7d837..8a84c7bc31 100644
--- a/mso-api-handlers/mso-requests-db-repositories/src/main/java/org/onap/so/db/request/data/repository/InfraActiveRequestsRepositoryImpl.java
+++ b/mso-api-handlers/mso-requests-db-repositories/src/main/java/org/onap/so/db/request/data/repository/InfraActiveRequestsRepositoryImpl.java
@@ -275,6 +275,10 @@ public class InfraActiveRequestsRepositoryImpl implements InfraActiveRequestsRep
mapKey = "requestorId";
} else if ("requestExecutionDate".equalsIgnoreCase(mapKey)) {
mapKey = "startTime";
+ } else if ("action".equalsIgnoreCase(mapKey)) {
+ mapKey = "requestAction";
+ } else if ("requestAction".equalsIgnoreCase(mapKey)) {
+ mapKey = "requestAction";
}
final String operator = entry.getValue().get(0);
@@ -310,7 +314,9 @@ public class InfraActiveRequestsRepositoryImpl implements InfraActiveRequestsRep
final Order order = cb.asc(tableRoot.get(START_TIME));
- return executeInfraQuery(crit, predicates, order);
+ return
+
+ executeInfraQuery(crit, predicates, order);
}
// Added this method for Tenant Isolation project ( 1802-295491a) to query the mso_requests DB