Issue-ID: CLI-154
Change-Id: Ie4dde68c3ae4e11ff0d1c0f6b1550b0f0935e12d
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
ObjectMapper mapper = new ObjectMapper();
OnapCommandParamEntity[] list = mapper.readValue(file, OnapCommandParamEntity[].class);
params.addAll(Arrays.asList(list));
- } else {
- throw new OnapCommandProfileNotFound(profileName);
+// } else {
+// throw new OnapCommandProfileNotFound(profileName);
}
} catch (IOException e) {
throw new OnapCommandProfileLoadFailed(e);
continue;
}
+ this.setArgs(this.args.toArray(new String [] {}));
handleCommand();
}
}