aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2020-08-04 04:53:39 +0000
committerGerrit Code Review <gerrit@onap.org>2020-08-04 04:53:39 +0000
commit6941680edbc46f1525ef739305f11781d1ddd70a (patch)
tree433c82038cf3c7257bd91485b3a6b5dafd416bcc
parent9921b1751cde31721958d004935f2b7fc5e95513 (diff)
parent06195745aa882e84796cb064fc7b8183b91d9b73 (diff)
Merge "license scan issues"
-rw-r--r--deployment/zip/src/main/release/bin/oclip-service.sh16
-rw-r--r--deployment/zip/src/main/release/conf/oclip.service15
-rw-r--r--profiles/command/src/main/resources/META-INF/services/org.onap.cli.fw.cmd.OnapCommand18
3 files changed, 48 insertions, 1 deletions
diff --git a/deployment/zip/src/main/release/bin/oclip-service.sh b/deployment/zip/src/main/release/bin/oclip-service.sh
index 897a6052..e98f33cc 100644
--- a/deployment/zip/src/main/release/bin/oclip-service.sh
+++ b/deployment/zip/src/main/release/bin/oclip-service.sh
@@ -1,4 +1,20 @@
#! /bin/bash
+#*******************************************************************************
+# Copyright 2020 Huawei Technologies Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*******************************************************************************
+
export OPEN_CLI_HOME=/opt/oclip
$OPEN_CLI_HOME/bin/oclip-grpc-server.sh
diff --git a/deployment/zip/src/main/release/conf/oclip.service b/deployment/zip/src/main/release/conf/oclip.service
index 1492ac0d..23a2c5b0 100644
--- a/deployment/zip/src/main/release/conf/oclip.service
+++ b/deployment/zip/src/main/release/conf/oclip.service
@@ -1,3 +1,18 @@
+#*******************************************************************************
+# Copyright 2020 Huawei Technologies Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*******************************************************************************
#
#systemd file: /etc/systemd/system/oclip.service
#
diff --git a/profiles/command/src/main/resources/META-INF/services/org.onap.cli.fw.cmd.OnapCommand b/profiles/command/src/main/resources/META-INF/services/org.onap.cli.fw.cmd.OnapCommand
index 82d55777..36621ff4 100644
--- a/profiles/command/src/main/resources/META-INF/services/org.onap.cli.fw.cmd.OnapCommand
+++ b/profiles/command/src/main/resources/META-INF/services/org.onap.cli.fw.cmd.OnapCommand
@@ -1 +1,17 @@
-org.onap.cli.fw.cmd.cmd.OpenCommandShellCmd \ No newline at end of file
+#*******************************************************************************
+# Copyright 2020 Huawei Technologies Co., Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#*******************************************************************************
+
+org.onap.cli.fw.cmd.cmd.OpenCommandShellCmd