diff options
3 files changed, 10 insertions, 2 deletions
diff --git a/docs/index.rst b/docs/index.rst index 3132ae62..bb578648 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -11,6 +11,9 @@ ONAP CLI :blue:`One Command to command whole ONAP !` +Introduction +------------- + Both Information and Communication Technology customers prefer Command Line Interface (CLI) over Graphical user interface (GUI) in many situations such as automation, Devops, CI&CD. So CLI is always been as integral part @@ -27,6 +30,11 @@ the commands for following ONAP functionalities: * Policy management * VNF/PNF management +Table of contents +------------------ + +Following guidelines provides detailed information about CLI. + .. toctree:: :maxdepth: 1 diff --git a/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java b/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java index 5bb41207..5429b1af 100644 --- a/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java +++ b/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java @@ -279,7 +279,7 @@ public class OnapCommandSchemaHttpLoader { return errorList; } - public static ArrayList<String> validateHttpSchemaSection(Map<String, ?> values) { + public static List<String> validateHttpSchemaSection(Map<String, ?> values) { ArrayList<String> errorList = new ArrayList<>(); Map<String, ?> map = (Map<String, ?>) values.get(OnapCommandHttpConstants.HTTP); Map<String, Object> requestMap = (Map<String, Object>) map.get(OnapCommandHttpConstants.REQUEST); diff --git a/profiles/snmp/src/main/java/org/onap/cli/fw/snmp/schema/OnapCommandSchemaSnmpLoader.java b/profiles/snmp/src/main/java/org/onap/cli/fw/snmp/schema/OnapCommandSchemaSnmpLoader.java index b2af9ae6..c132be26 100644 --- a/profiles/snmp/src/main/java/org/onap/cli/fw/snmp/schema/OnapCommandSchemaSnmpLoader.java +++ b/profiles/snmp/src/main/java/org/onap/cli/fw/snmp/schema/OnapCommandSchemaSnmpLoader.java @@ -38,7 +38,7 @@ public class OnapCommandSchemaSnmpLoader { return errorList; } - public static ArrayList<String> parseSnmpSchema(OnapSnmpCommand cmd, + public static List<String> parseSnmpSchema(OnapSnmpCommand cmd, final Map<String, ?> values, boolean validate) throws OnapCommandException { |