summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravanKumarGunda <sravan.kumar1@huawei.com>2020-08-03 23:11:42 +0530
committerSravanKumarGunda <sravan.kumar1@huawei.com>2020-08-03 23:11:42 +0530
commit06195745aa882e84796cb064fc7b8183b91d9b73 (patch)
tree8e9063f6b3ac2621082e9db8e17a240d93e2f1da
parentfc9af3118881c83a0928e9a21135641808288f84 (diff)
license scan issues
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: CLI-297 Change-Id: I7159ae2c149e2b9000974afd5bd424d5832de398
-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