aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/main
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-06 23:26:20 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-20 12:42:00 +0530
commit7259212791972fc10e41210487ff0f780ab024a6 (patch)
tree7d324b6eeee6ccd8cc367d88532e60b7953d636d /framework/src/main
parent1845026e0f1ef61d64faf5ddab197f1bfc3a4f42 (diff)
Onap to Oclip text migration
Issue-Id: CLI-66 Change-Id: I58e98952c61902e34585e9defabc36d1233a99a4 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/main')
-rw-r--r--framework/src/main/java/org/onap/cli/fw/OnapCommand.java14
-rw-r--r--framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java4
-rw-r--r--framework/src/main/java/org/onap/cli/fw/OnapCommandSchema.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/ad/OnapAuthClient.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/ad/OnapService.java6
-rw-r--r--framework/src/main/java/org/onap/cli/fw/cmd/CommandType.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/cmd/OnapHttpCommand.java10
-rw-r--r--framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConfg.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/error/OnapCommandRegistrationFailed.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/error/OnapCommandRegistrationProductInfoMissing.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/info/OnapCommandInfo.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/input/ParameterType.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/output/OnapCommandResult.java4
-rw-r--r--framework/src/main/java/org/onap/cli/fw/output/OnapCommandResultAttribute.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/output/OnapCommandResultAttributeScope.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/output/ResultType.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/output/print/OnapCommandPrint.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/run/OnapCommandExecutor.java2
-rw-r--r--framework/src/main/java/org/onap/cli/fw/utils/OnapCommandUtils.java2
-rw-r--r--framework/src/main/resources/open-cli-schema/schema-refresh.yaml2
-rw-r--r--framework/src/main/resources/open-cli-schema/schema-validate.yaml2
22 files changed, 36 insertions, 36 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/OnapCommand.java b/framework/src/main/java/org/onap/cli/fw/OnapCommand.java
index bc9effba..89c62207 100644
--- a/framework/src/main/java/org/onap/cli/fw/OnapCommand.java
+++ b/framework/src/main/java/org/onap/cli/fw/OnapCommand.java
@@ -47,7 +47,7 @@ import org.onap.cli.fw.output.ResultType;
import org.onap.cli.fw.utils.OnapCommandUtils;
/**
- * Onap Command.
+ * Oclip Command.
*
*/
public abstract class OnapCommand {
@@ -71,7 +71,7 @@ public abstract class OnapCommand {
}
/**
- * Onap command description, defined by derived command.
+ * Oclip command description, defined by derived command.
*/
public String getDescription() {
return this.cmdDescription;
@@ -82,7 +82,7 @@ public abstract class OnapCommand {
}
/*
- * Onap command name like user-create, ns-list, etc , defined by derived command
+ * Oclip command name like user-create, ns-list, etc , defined by derived command
*/
public String getName() {
return this.cmdName;
@@ -105,21 +105,21 @@ public abstract class OnapCommand {
}
/*
- * Onap command input parameters, defined by derived command
+ * Oclip command input parameters, defined by derived command
*/
public List<OnapCommandParameter> getParameters() {
return this.cmdParameters;
}
/*
- * Onap command input parameters, defined by derived command
+ * Oclip command input parameters, defined by derived command
*/
public Map<String, OnapCommandParameter> getParametersMap() {
return OnapCommandUtils.getInputMap(this.getParameters());
}
/*
- * Onap command output results, defined by derived command
+ * Oclip command output results, defined by derived command
*/
public OnapCommandResult getResult() {
return this.cmdResult;
@@ -184,7 +184,7 @@ public abstract class OnapCommand {
}
/**
- * Onap command execute with given parameters on service. Before calling this method, its mandatory to set all
+ * Oclip command execute with given parameters on service. Before calling this method, its mandatory to set all
* parameters value.
*
* @throws OnapCommandException
diff --git a/framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java b/framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java
index 1a0514ef..dcd9a507 100644
--- a/framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java
+++ b/framework/src/main/java/org/onap/cli/fw/OnapCommandRegistrar.java
@@ -46,7 +46,7 @@ import org.onap.cli.fw.utils.SchemaInfo;
/**
- * Onap Command registrar provides a common place, where every command would get registered automatically when its
+ * Oclip Command registrar provides a common place, where every command would get registered automatically when its
* loaded into JVM.
*
*/
@@ -258,7 +258,7 @@ public class OnapCommandRegistrar {
}
/**
- * Helps to find the Onap CLI version, could be used with --version or -v option.
+ * Helps to find the Oclip CLI version, could be used with --version or -v option.
*
* @return string
*/
diff --git a/framework/src/main/java/org/onap/cli/fw/OnapCommandSchema.java b/framework/src/main/java/org/onap/cli/fw/OnapCommandSchema.java
index 47a84955..d7254fb2 100644
--- a/framework/src/main/java/org/onap/cli/fw/OnapCommandSchema.java
+++ b/framework/src/main/java/org/onap/cli/fw/OnapCommandSchema.java
@@ -24,7 +24,7 @@ import org.onap.cli.fw.cmd.CommandType;
/**
* Provide command name and schema file location, which is placed in the main resources folder (in classpath). It is
- * recommended to keep the name for schema, in the form of onap-[command-name]-schema.yaml, considered this format as
+ * recommended to keep the name for schema, in the form of oclip-[command-name]-schema.yaml, considered this format as
* default if the schema declaration is missing for a command abc-create, schema file name could be
* abc-create-schema.yaml, corresponding command would like as below
*
diff --git a/framework/src/main/java/org/onap/cli/fw/ad/OnapAuthClient.java b/framework/src/main/java/org/onap/cli/fw/ad/OnapAuthClient.java
index 362360a3..471b7eaf 100644
--- a/framework/src/main/java/org/onap/cli/fw/ad/OnapAuthClient.java
+++ b/framework/src/main/java/org/onap/cli/fw/ad/OnapAuthClient.java
@@ -35,7 +35,7 @@ import org.onap.cli.fw.output.OnapCommandResultAttribute;
import org.onap.cli.fw.utils.OnapCommandUtils;
/**
- * Onap Auth client helps to do login and logout.
+ * Oclip Auth client helps to do login and logout.
*
*/
public class OnapAuthClient {
diff --git a/framework/src/main/java/org/onap/cli/fw/ad/OnapService.java b/framework/src/main/java/org/onap/cli/fw/ad/OnapService.java
index 7462bb18..a16c4434 100644
--- a/framework/src/main/java/org/onap/cli/fw/ad/OnapService.java
+++ b/framework/src/main/java/org/onap/cli/fw/ad/OnapService.java
@@ -19,16 +19,16 @@ package org.onap.cli.fw.ad;
import org.onap.cli.fw.conf.Constants;
/**
- * Onap Service as reported in api catalog.
+ * Oclip Service as reported in api catalog.
*/
public class OnapService {
/*
- * Onap Service name like aai.
+ * Oclip Service name like aai.
*/
private String serviceName;
/*
- * Onap Service API version like v1, v2, etc
+ * Oclip Service API version like v1, v2, etc
*/
private String serviceVersion;
diff --git a/framework/src/main/java/org/onap/cli/fw/cmd/CommandType.java b/framework/src/main/java/org/onap/cli/fw/cmd/CommandType.java
index 633a8f35..baaf7e12 100644
--- a/framework/src/main/java/org/onap/cli/fw/cmd/CommandType.java
+++ b/framework/src/main/java/org/onap/cli/fw/cmd/CommandType.java
@@ -20,7 +20,7 @@ import org.onap.cli.fw.error.OnapCommandInvalidCommandType;
import org.onap.cli.fw.error.OnapCommandInvalidParameterType;
/**
- * Command type supported by Onap CLI.
+ * Command type supported by Oclip CLI.
*
*/
public enum CommandType {
diff --git a/framework/src/main/java/org/onap/cli/fw/cmd/OnapHttpCommand.java b/framework/src/main/java/org/onap/cli/fw/cmd/OnapHttpCommand.java
index 860adce6..198affbc 100644
--- a/framework/src/main/java/org/onap/cli/fw/cmd/OnapHttpCommand.java
+++ b/framework/src/main/java/org/onap/cli/fw/cmd/OnapHttpCommand.java
@@ -40,7 +40,7 @@ import org.onap.cli.http.mock.MockRequest;
import org.onap.cli.http.mock.MockResponse;
/**
- * Onap Command.
+ * Oclip Command.
*
*/
public class OnapHttpCommand extends OnapCommand {
@@ -53,7 +53,7 @@ public class OnapHttpCommand extends OnapCommand {
protected OnapAuthClient authClient;
- private OnapService onapService = new OnapService();
+ private OnapService oclipService = new OnapService();
public void setInput(HttpInput input) {
this.input = input;
@@ -85,14 +85,14 @@ public class OnapHttpCommand extends OnapCommand {
}
/*
- * Onap service, this command uses to execute it.
+ * Oclip service, this command uses to execute it.
*/
public OnapService getService() {
- return this.onapService;
+ return this.oclipService;
}
public void setService(OnapService service) {
- this.onapService = service;
+ this.oclipService = service;
}
@Override
diff --git a/framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConfg.java b/framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConfg.java
index 60929358..bc01a769 100644
--- a/framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConfg.java
+++ b/framework/src/main/java/org/onap/cli/fw/conf/OnapCommandConfg.java
@@ -27,7 +27,7 @@ import java.util.UUID;
import java.util.stream.Collectors;
/**
- * Onap command constants.
+ * Oclip command constants.
*
*/
public final class OnapCommandConfg {
diff --git a/framework/src/main/java/org/onap/cli/fw/error/OnapCommandRegistrationFailed.java b/framework/src/main/java/org/onap/cli/fw/error/OnapCommandRegistrationFailed.java
index a353c4c6..fa826d5d 100644
--- a/framework/src/main/java/org/onap/cli/fw/error/OnapCommandRegistrationFailed.java
+++ b/framework/src/main/java/org/onap/cli/fw/error/OnapCommandRegistrationFailed.java
@@ -17,7 +17,7 @@
package org.onap.cli.fw.error;
/**
- * Command Not registered in Onap Command Registrar.
+ * Command Not registered in Oclip Command Registrar.
*
*/
public class OnapCommandRegistrationFailed extends OnapCommandException {
diff --git a/framework/src/main/java/org/onap/cli/fw/error/OnapCommandRegistrationProductInfoMissing.java b/framework/src/main/java/org/onap/cli/fw/error/OnapCommandRegistrationProductInfoMissing.java
index 7584feca..c3d9e624 100644
--- a/framework/src/main/java/org/onap/cli/fw/error/OnapCommandRegistrationProductInfoMissing.java
+++ b/framework/src/main/java/org/onap/cli/fw/error/OnapCommandRegistrationProductInfoMissing.java
@@ -17,7 +17,7 @@
package org.onap.cli.fw.error;
/**
- * Command Not registered in Onap Command Registrar as version missing.
+ * Command Not registered in Oclip Command Registrar as version missing.
*
*/
public class OnapCommandRegistrationProductInfoMissing extends OnapCommandException {
diff --git a/framework/src/main/java/org/onap/cli/fw/info/OnapCommandInfo.java b/framework/src/main/java/org/onap/cli/fw/info/OnapCommandInfo.java
index b127ad35..f3f3bfe1 100644
--- a/framework/src/main/java/org/onap/cli/fw/info/OnapCommandInfo.java
+++ b/framework/src/main/java/org/onap/cli/fw/info/OnapCommandInfo.java
@@ -19,7 +19,7 @@ package org.onap.cli.fw.info;
import org.onap.cli.fw.cmd.CommandType;
/**
- * Onap Command info like product version, service, contact, etc.
+ * Oclip Command info like product version, service, contact, etc.
*/
public class OnapCommandInfo {
diff --git a/framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java b/framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java
index 09071f11..05b5fa29 100644
--- a/framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java
+++ b/framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java
@@ -30,7 +30,7 @@ import java.util.Map;
import java.util.UUID;
/**
- * Onap Command's input parameter.
+ * Oclip Command's input parameter.
*
*/
public class OnapCommandParameter {
diff --git a/framework/src/main/java/org/onap/cli/fw/input/ParameterType.java b/framework/src/main/java/org/onap/cli/fw/input/ParameterType.java
index 791d7e42..6a9254f5 100644
--- a/framework/src/main/java/org/onap/cli/fw/input/ParameterType.java
+++ b/framework/src/main/java/org/onap/cli/fw/input/ParameterType.java
@@ -19,7 +19,7 @@ package org.onap.cli.fw.input;
import org.onap.cli.fw.error.OnapCommandInvalidParameterType;
/**
- * Parameter type supported by Onap CLI.
+ * Parameter type supported by Oclip CLI.
*
*/
public enum ParameterType {
diff --git a/framework/src/main/java/org/onap/cli/fw/output/OnapCommandResult.java b/framework/src/main/java/org/onap/cli/fw/output/OnapCommandResult.java
index 5dd761c6..678bcfc9 100644
--- a/framework/src/main/java/org/onap/cli/fw/output/OnapCommandResult.java
+++ b/framework/src/main/java/org/onap/cli/fw/output/OnapCommandResult.java
@@ -30,13 +30,13 @@ import java.util.List;
import java.util.Map;
/**
- * Onap Command result holds the final output of the command.
+ * Oclip Command result holds the final output of the command.
*
*/
public class OnapCommandResult {
/*
- * if type=JSON, then JSON response of the command from back-end Onap service, by default all the command would
+ * if type=JSON, then JSON response of the command from back-end Oclip service, by default all the command would
* set this value once the back-end call returns, which would be useful to print the output in JSON format, returned
* from the back-end service.
*
diff --git a/framework/src/main/java/org/onap/cli/fw/output/OnapCommandResultAttribute.java b/framework/src/main/java/org/onap/cli/fw/output/OnapCommandResultAttribute.java
index fcd6f1a2..ba4d5433 100644
--- a/framework/src/main/java/org/onap/cli/fw/output/OnapCommandResultAttribute.java
+++ b/framework/src/main/java/org/onap/cli/fw/output/OnapCommandResultAttribute.java
@@ -23,7 +23,7 @@ import java.util.Arrays;
import java.util.List;
/**
- * Onap command output records, helps to define the title and its description while command is defined and during run
+ * Oclip command output records, helps to define the title and its description while command is defined and during run
* time, it captures the value of the output as well.
*/
public class OnapCommandResultAttribute {
diff --git a/framework/src/main/java/org/onap/cli/fw/output/OnapCommandResultAttributeScope.java b/framework/src/main/java/org/onap/cli/fw/output/OnapCommandResultAttributeScope.java
index e03937d3..0f63f233 100644
--- a/framework/src/main/java/org/onap/cli/fw/output/OnapCommandResultAttributeScope.java
+++ b/framework/src/main/java/org/onap/cli/fw/output/OnapCommandResultAttributeScope.java
@@ -19,7 +19,7 @@ package org.onap.cli.fw.output;
import org.onap.cli.fw.error.OnapCommandInvalidResultAttributeScope;
/**
- * Onap command supports to print output with given set of defined attributes, and each attributes are marked with this
+ * Oclip command supports to print output with given set of defined attributes, and each attributes are marked with this
* visibility.
*
*/
diff --git a/framework/src/main/java/org/onap/cli/fw/output/ResultType.java b/framework/src/main/java/org/onap/cli/fw/output/ResultType.java
index 37449447..49ddf457 100644
--- a/framework/src/main/java/org/onap/cli/fw/output/ResultType.java
+++ b/framework/src/main/java/org/onap/cli/fw/output/ResultType.java
@@ -17,7 +17,7 @@
package org.onap.cli.fw.output;
/**
- * Onap command result format.
+ * Oclip command result format.
*
*/
public enum ResultType {
diff --git a/framework/src/main/java/org/onap/cli/fw/output/print/OnapCommandPrint.java b/framework/src/main/java/org/onap/cli/fw/output/print/OnapCommandPrint.java
index 8b7a9b83..beb2330f 100644
--- a/framework/src/main/java/org/onap/cli/fw/output/print/OnapCommandPrint.java
+++ b/framework/src/main/java/org/onap/cli/fw/output/print/OnapCommandPrint.java
@@ -32,7 +32,7 @@ import java.util.Map;
import java.util.StringTokenizer;
/**
- * Onap Command Table print.
+ * Oclip Command Table print.
*
*/
public class OnapCommandPrint {
diff --git a/framework/src/main/java/org/onap/cli/fw/run/OnapCommandExecutor.java b/framework/src/main/java/org/onap/cli/fw/run/OnapCommandExecutor.java
index abd04b02..a3ff7bc8 100644
--- a/framework/src/main/java/org/onap/cli/fw/run/OnapCommandExecutor.java
+++ b/framework/src/main/java/org/onap/cli/fw/run/OnapCommandExecutor.java
@@ -17,7 +17,7 @@
package org.onap.cli.fw.run;
/**
- * Onap Command executor.
+ * Oclip Command executor.
*
*/
public class OnapCommandExecutor {
diff --git a/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandUtils.java b/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandUtils.java
index bcb404fe..579c4af4 100644
--- a/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandUtils.java
+++ b/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandUtils.java
@@ -1204,7 +1204,7 @@ public class OnapCommandUtils {
}
/**
- * Discover the Onap commands.
+ * Discover the Oclip commands.
*
* @return list
*/
diff --git a/framework/src/main/resources/open-cli-schema/schema-refresh.yaml b/framework/src/main/resources/open-cli-schema/schema-refresh.yaml
index 136bc1cd..349554b0 100644
--- a/framework/src/main/resources/open-cli-schema/schema-refresh.yaml
+++ b/framework/src/main/resources/open-cli-schema/schema-refresh.yaml
@@ -1,6 +1,6 @@
open_cli_schema_version: 1.0
name: schema-refresh
-description: Onap command to refresh schemas stored in open_cli_schema folders.
+description: Oclip command to refresh schemas stored in open_cli_schema folders.
info:
product: open-cli
diff --git a/framework/src/main/resources/open-cli-schema/schema-validate.yaml b/framework/src/main/resources/open-cli-schema/schema-validate.yaml
index e5b22bbf..65acfb0e 100644
--- a/framework/src/main/resources/open-cli-schema/schema-validate.yaml
+++ b/framework/src/main/resources/open-cli-schema/schema-validate.yaml
@@ -1,6 +1,6 @@
open_cli_schema_version: 1.0
name: schema-validate
-description: Onap command to validate schema
+description: Oclip command to validate schema
info:
product: open-cli