You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/02/23 12:41:13 UTC

[incubator-servicecomb-service-center] 02/05: Add license header to script files and missing go file

This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-service-center.git

commit e9ef6dfb5b98f787a6b495c36fda3aab133b5066
Author: asifdxtreme <mo...@huawei.com>
AuthorDate: Thu Feb 22 19:16:54 2018 +0530

    Add license header to script files and missing go file
---
 README.md                                                |  4 ++--
 examples/service_center/request/add_dependecy.sh         | 14 ++++++++++++++
 examples/service_center/request/create_service.sh        | 14 ++++++++++++++
 examples/service_center/request/delete_instance.sh       | 14 ++++++++++++++
 examples/service_center/request/delete_service.sh        | 14 ++++++++++++++
 examples/service_center/request/get_consumers.sh         | 14 ++++++++++++++
 examples/service_center/request/get_providers.sh         | 14 ++++++++++++++
 examples/service_center/request/get_service.sh           | 14 ++++++++++++++
 examples/service_center/request/heartbeat.sh             | 14 ++++++++++++++
 examples/service_center/request/register_intance_json.sh | 14 ++++++++++++++
 examples/service_center/request/update_properties.sh     | 14 ++++++++++++++
 examples/service_center/request/update_status.sh         | 14 ++++++++++++++
 pkg/util/tree.go                                         | 16 ++++++++++++++++
 pkg/util/tree_test.go                                    | 16 ++++++++++++++++
 scripts/create_gvt_manifest(exp).sh                      | 14 ++++++++++++++
 scripts/docker/build-frontend-image/build.sh             | 14 ++++++++++++++
 scripts/docker/build-image/build.sh                      | 14 ++++++++++++++
 scripts/docker/build-image/start.sh                      | 14 ++++++++++++++
 scripts/frontend/start_linux.sh                          | 14 ++++++++++++++
 scripts/frontend/start_windows.bat                       | 14 ++++++++++++++
 scripts/integration_test.sh                              | 14 ++++++++++++++
 scripts/prepare_env_ut.sh                                | 14 ++++++++++++++
 scripts/ut.sh                                            | 14 ++++++++++++++
 scripts/ut_test_in_docker.sh                             | 14 ++++++++++++++
 24 files changed, 328 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 0cffe37..c287332 100644
--- a/README.md
+++ b/README.md
@@ -12,8 +12,8 @@ Apache ServiceComb (incubating) service-center allows services to register their
  - **Discovery**: Support query instance by criteria 
  - **Subscribe**: Use web socket to notify client about instance change events
  - **Portal**: Awesome  [web portal](/frontend)
- -	**Fault tolerance**: Multiple fault tolerance mechanism and design in the architecture
- -	**Performance**: Performance/Caching design
+ - **Fault tolerance**: Multiple fault tolerance mechanism and design in the architecture
+ - **Performance**: Performance/Caching design
  - **Metrics**: Able to expose Prometheus metric API automatically
  - **Tracing**: Able to report tracing data to Zipkin server
  
diff --git a/examples/service_center/request/add_dependecy.sh b/examples/service_center/request/add_dependecy.sh
index 76b54cb..d50307f 100644
--- a/examples/service_center/request/add_dependecy.sh
+++ b/examples/service_center/request/add_dependecy.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env bash
 PUT /v4/default/registry/dependencies HTTP/1.1
 Host: localhost:30100
diff --git a/examples/service_center/request/create_service.sh b/examples/service_center/request/create_service.sh
index 7b06554..bc7895c 100644
--- a/examples/service_center/request/create_service.sh
+++ b/examples/service_center/request/create_service.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env bash
 POST /v4/default/registry/microservices HTTP/1.1
 Host: localhost:30100
diff --git a/examples/service_center/request/delete_instance.sh b/examples/service_center/request/delete_instance.sh
index d7f25b5..302fca5 100644
--- a/examples/service_center/request/delete_instance.sh
+++ b/examples/service_center/request/delete_instance.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env bash
 DELETE /v4/default/registry/microservices/serviceID/instances/instanceID HTTP/1.1
 Host: localhost:30100
diff --git a/examples/service_center/request/delete_service.sh b/examples/service_center/request/delete_service.sh
index 8d191c9..cba1321 100644
--- a/examples/service_center/request/delete_service.sh
+++ b/examples/service_center/request/delete_service.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env bash
 DELETE /v4/default/registry/microservices/63cc69716a8f11e79855286ed488ca3e?force=1 HTTP/1.1
 Host: localhost:30100
diff --git a/examples/service_center/request/get_consumers.sh b/examples/service_center/request/get_consumers.sh
index 3aaa42b..b613892 100644
--- a/examples/service_center/request/get_consumers.sh
+++ b/examples/service_center/request/get_consumers.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env bash
 GET /v4/default/registry/microservices/3/consumers HTTP/1.1
 Host: localhost:30100
diff --git a/examples/service_center/request/get_providers.sh b/examples/service_center/request/get_providers.sh
index 5ece468..2b4cda4 100644
--- a/examples/service_center/request/get_providers.sh
+++ b/examples/service_center/request/get_providers.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env bash
 GET /v4/default/registry/microservices/2/providers HTTP/1.1
 Host: localhost:30100
diff --git a/examples/service_center/request/get_service.sh b/examples/service_center/request/get_service.sh
index c6a40c6..6989726 100644
--- a/examples/service_center/request/get_service.sh
+++ b/examples/service_center/request/get_service.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env bash
 GET /v4/default/registry/microservices HTTP/1.1
 Host: localhost:30100
diff --git a/examples/service_center/request/heartbeat.sh b/examples/service_center/request/heartbeat.sh
index d0c21ee..98f3618 100644
--- a/examples/service_center/request/heartbeat.sh
+++ b/examples/service_center/request/heartbeat.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env bash
 PUT /v4/default/registry/microservices/2/instances/36/heartbeat HTTP/1.1
 Host: localhost:30100
diff --git a/examples/service_center/request/register_intance_json.sh b/examples/service_center/request/register_intance_json.sh
index 52753a0..b7819c7 100644
--- a/examples/service_center/request/register_intance_json.sh
+++ b/examples/service_center/request/register_intance_json.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env bash
 POST /v4/default/registry/microservices/2/instances HTTP/1.1
 Host: localhost:30100
diff --git a/examples/service_center/request/update_properties.sh b/examples/service_center/request/update_properties.sh
index 0699153..e84cf31 100644
--- a/examples/service_center/request/update_properties.sh
+++ b/examples/service_center/request/update_properties.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env bash
 PUT /v4/default/registry/microservices/2/properties HTTP/1.1
 Host: localhost:30100
diff --git a/examples/service_center/request/update_status.sh b/examples/service_center/request/update_status.sh
index 3127e35..96394d6 100644
--- a/examples/service_center/request/update_status.sh
+++ b/examples/service_center/request/update_status.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env bash
 PUT /v4/default/registry/microservices/serviceID/instances/instanceID/status?value=UP HTTP/1.1
 Host: localhost:30100
diff --git a/pkg/util/tree.go b/pkg/util/tree.go
index f847ab2..f21f3e3 100644
--- a/pkg/util/tree.go
+++ b/pkg/util/tree.go
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
 package util
 
 //The tree is binary sort tree
diff --git a/pkg/util/tree_test.go b/pkg/util/tree_test.go
index 79cb2c8..f650424 100644
--- a/pkg/util/tree_test.go
+++ b/pkg/util/tree_test.go
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
 package util
 
 import (
diff --git a/scripts/create_gvt_manifest(exp).sh b/scripts/create_gvt_manifest(exp).sh
index b2e636c..69f0c87 100755
--- a/scripts/create_gvt_manifest(exp).sh
+++ b/scripts/create_gvt_manifest(exp).sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #This is is expirmental and not tested, some tweaks of paths needs to be done to make it work properly
 gvt fetch -precaire -no-recurse -revision f6ccf2184de4dd34495277e38dc19b6e7fbe0ea2 gopkg.in/cheggaaa/pb.v1
 gvt fetch -precaire -no-recurse -revision cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b gopkg.in/yaml.v2
diff --git a/scripts/docker/build-frontend-image/build.sh b/scripts/docker/build-frontend-image/build.sh
index 9eaeadc..d5c816f 100644
--- a/scripts/docker/build-frontend-image/build.sh
+++ b/scripts/docker/build-frontend-image/build.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/bin/bash
 
 set -e
diff --git a/scripts/docker/build-image/build.sh b/scripts/docker/build-image/build.sh
index bb6a947..0f92840 100644
--- a/scripts/docker/build-image/build.sh
+++ b/scripts/docker/build-image/build.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/bin/bash
 
 set -e
diff --git a/scripts/docker/build-image/start.sh b/scripts/docker/build-image/start.sh
index 3535c45..681eb25 100644
--- a/scripts/docker/build-image/start.sh
+++ b/scripts/docker/build-image/start.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env sh
 
 set -e
diff --git a/scripts/frontend/start_linux.sh b/scripts/frontend/start_linux.sh
index 34fee7b..cd1f1d2 100644
--- a/scripts/frontend/start_linux.sh
+++ b/scripts/frontend/start_linux.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/bin/bash
 
 cd /opt/frontend/
diff --git a/scripts/frontend/start_windows.bat b/scripts/frontend/start_windows.bat
index ed77440..41f01a4 100644
--- a/scripts/frontend/start_windows.bat
+++ b/scripts/frontend/start_windows.bat
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 @echo off
 3<conf/app.conf (
 SET /p line1= <&3
diff --git a/scripts/integration_test.sh b/scripts/integration_test.sh
index 6ac7e0a..2877fe2 100755
--- a/scripts/integration_test.sh
+++ b/scripts/integration_test.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/usr/bin/env bash
 echo "${green}Building Service-center${reset}"
 
diff --git a/scripts/prepare_env_ut.sh b/scripts/prepare_env_ut.sh
index 04fd8ae..cfce8d6 100755
--- a/scripts/prepare_env_ut.sh
+++ b/scripts/prepare_env_ut.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 cp -r etc/conf server/interceptor/ratelimiter/
 cp -r etc/conf server/service/
 echo "mode: atomic" > coverage.txt
diff --git a/scripts/ut.sh b/scripts/ut.sh
index 3c57477..a20f23b 100755
--- a/scripts/ut.sh
+++ b/scripts/ut.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/bin/sh
 set -e
 export COVERAGE_PATH=$(pwd)
diff --git a/scripts/ut_test_in_docker.sh b/scripts/ut_test_in_docker.sh
index bc8333f..2bbbd24 100755
--- a/scripts/ut_test_in_docker.sh
+++ b/scripts/ut_test_in_docker.sh
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 #!/bin/bash
 
 set -x

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.