summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-02-12 16:05:54 +0800
committeryun huang <yun.huang@windriver.com>2018-02-14 02:28:04 +0000
commit0fd74c543be0b4b59939ee2dd2d8ffe1de779d93 (patch)
treef444458df95ce624bfab25711efaf44c6b895cf5
parent60cc6423ee6cfea404bde034f95cd6162d82d53c (diff)
Update License header
Change-Id: Ieedc303238ac11416c4ce640b9a32c3f4d7b86da Issue-ID: MULTICLOUD-140 Signed-off-by: Yun Huang <yun.huang@windriver.com>
-rw-r--r--windriver/README.md9
-rw-r--r--windriver/assembly.xml23
-rw-r--r--windriver/initialize.sh9
-rw-r--r--windriver/manage.py9
-rw-r--r--windriver/pom.xml23
-rw-r--r--windriver/run.sh11
-rw-r--r--windriver/stop.sh11
7 files changed, 56 insertions, 39 deletions
diff --git a/windriver/README.md b/windriver/README.md
index 3de1facc..37d8619d 100644
--- a/windriver/README.md
+++ b/windriver/README.md
@@ -1,12 +1,15 @@
-# Copyright (c) 2017 Wind River Systems, Inc.
+# Copyright 2017-2018 Wind River Systems, Inc.
#
# 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
+# 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.
# Micro service of MultiCloud plugin for Wind River Titanium Cloud.
diff --git a/windriver/assembly.xml b/windriver/assembly.xml
index ef3a749f..0a33b071 100644
--- a/windriver/assembly.xml
+++ b/windriver/assembly.xml
@@ -1,14 +1,17 @@
<!--
- Copyright (c) 2017 Wind River Systems, Inc.
-
- 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.
+# Copyright 2017-2018 Wind River Systems, Inc.
+#
+# 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.
-->
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
diff --git a/windriver/initialize.sh b/windriver/initialize.sh
index 5fed1714..25cce89e 100644
--- a/windriver/initialize.sh
+++ b/windriver/initialize.sh
@@ -1,13 +1,16 @@
#!/bin/bash
-# Copyright (c) 2017 Wind River Systems, Inc.
+# Copyright 2017-2018 Wind River Systems, Inc.
#
# 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
+# 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.
pip install -r requirements.txt
diff --git a/windriver/manage.py b/windriver/manage.py
index 14931558..807abd80 100644
--- a/windriver/manage.py
+++ b/windriver/manage.py
@@ -1,13 +1,16 @@
-# Copyright (c) 2017 Wind River Systems, Inc.
+# Copyright 2017-2018 Wind River Systems, Inc.
#
# 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
+# 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.
import os
import sys
diff --git a/windriver/pom.xml b/windriver/pom.xml
index 88036291..1a1cbeef 100644
--- a/windriver/pom.xml
+++ b/windriver/pom.xml
@@ -1,15 +1,18 @@
<?xml version="1.0"?>
<!--
- Copyright (c) 2017 Wind River Systems, Inc.
-
- 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.
+# Copyright 2017-2018 Wind River Systems, Inc.
+#
+# 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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
diff --git a/windriver/run.sh b/windriver/run.sh
index ddf92da2..69db6a14 100644
--- a/windriver/run.sh
+++ b/windriver/run.sh
@@ -1,16 +1,17 @@
#!/bin/bash
-# Copyright (c) 2017 Wind River Systems, Inc.
+# Copyright 2017-2018 Wind River Systems, Inc.
#
# 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
+# 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.
-
-#!/bin/bash
+# See the License for the specific language governing permissions and
+# limitations under the License.
sed -i "s/MSB_SERVICE_ADDR =.*/MSB_SERVICE_ADDR = \"${MSB_ADDR}\"/g" titanium_cloud/pub/config/config.py
sed -i "s/MSB_SERVICE_PORT =.*/MSB_SERVICE_PORT = \"${MSB_PORT}\"/g" titanium_cloud/pub/config/config.py
diff --git a/windriver/stop.sh b/windriver/stop.sh
index 10ce7464..16b87278 100644
--- a/windriver/stop.sh
+++ b/windriver/stop.sh
@@ -1,16 +1,17 @@
#!/bin/bash
-# Copyright (c) 2017 Wind River Systems, Inc.
+# Copyright 2017-2018 Wind River Systems, Inc.
#
# 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
+# 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.
-
-#!/bin/bash
+# See the License for the specific language governing permissions and
+# limitations under the License.
ps auxww | grep 'manage.py runserver 0.0.0.0:9005' | awk '{print $2}' | xargs kill -9
ps auxww | grep 'memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid' | awk '{print $2}' | xargs kill -9