summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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