aboutsummaryrefslogtreecommitdiffstats
path: root/grpc/grpc-server/src/main/java/org/open
diff options
context:
space:
mode:
Diffstat (limited to 'grpc/grpc-server/src/main/java/org/open')
-rw-r--r--grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java b/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java
index 6bca7b38..427bab77 100644
--- a/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java
+++ b/grpc/grpc-server/src/main/java/org/open/infc/grpc/server/OpenInterfaceGrpcServer.java
@@ -213,10 +213,8 @@ public class OpenInterfaceGrpcServer {
cmd.getParametersMap().get(OnapCommandConstants.RPC_MODE).setValue(OnapCommandConstants.RPC_MODE_RUN_RPC);
}
- if (!cmd.isRpc()) {
//Start the execution
- if (req.getRequestId() != null && !req.getRequestId().isEmpty()) {
- if (!(cmd.getInfo().getProduct().equalsIgnoreCase("open-cli") &&
+ if (!cmd.isRpc()&&req.getRequestId() != null && !req.getRequestId().isEmpty()&&!(cmd.getInfo().getProduct().equalsIgnoreCase("open-cli") &&
cmd.getName().equalsIgnoreCase("execution-list"))) {
String input = cmd.getArgsJson(true);
executionStoreContext = OnapCommandExecutionStore.getStore().storeExectutionStart(
@@ -227,8 +225,6 @@ public class OpenInterfaceGrpcServer {
profile,
input);
}
- }
- }
cmd.setExecutionContext(executionStoreContext);
cmd.execute();