This is an automated email from the ASF dual-hosted git repository. kezhenxu94 pushed a commit to branch license-eye in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git
commit 5989b364d47decee6a27603864ad68bd151fbf4b Author: kezhenxu94 <[email protected]> AuthorDate: Tue May 11 21:21:12 2021 +0800 Add license-eye to check and fix license headers --- .github/auto-comment.yml | 18 +++++++++++++ .github/workflows/github-actions.yml | 30 +++++++++++++++++----- .travis.yml | 18 +++++++++++++ Makefile | 19 ++++++++++++++ configs/admin_config.yaml | 18 +++++++++++++ configs/api_config.yaml | 18 +++++++++++++ configs/conf.yaml | 18 +++++++++++++ configs/log.yml | 19 +++++++++++++- docs/sample/dubbo_sample_startup.sh | 18 +++++++++++++ docs/sample/http_sample_startup.sh | 18 +++++++++++++ pkg/common/yaml/testdata/config.yml | 19 +++++++++++++- pkg/config/conf_test.yaml | 18 +++++++++++++ pkg/config/mock/api_config.yml | 18 +++++++++++++ pkg/logger/log.yml | 19 +++++++++++++- samples/admin/admin/admin_config.yaml | 18 +++++++++++++ samples/admin/proxy/api_config.yaml | 18 +++++++++++++ samples/admin/proxy/conf.yaml | 18 +++++++++++++ samples/admin/server/config/log.yml | 18 +++++++++++++ samples/admin/server/config/server.yml | 18 +++++++++++++ samples/dubbogo/http/pixiu/api_config.yaml | 18 +++++++++++++ samples/dubbogo/http/pixiu/conf.yaml | 18 +++++++++++++ samples/dubbogo/http/server/profiles/dev/log.yml | 18 +++++++++++++ .../dubbogo/http/server/profiles/dev/server.yml | 18 +++++++++++++ .../dubbogo/http/server/profiles/release/log.yml | 18 +++++++++++++ .../http/server/profiles/release/server.yml | 18 +++++++++++++ samples/dubbogo/multi/apiconfig/api_config.yaml | 18 +++++++++++++ samples/dubbogo/multi/config/conf.yaml | 18 +++++++++++++ samples/dubbogo/multi/server/profiles/dev/log.yml | 18 +++++++++++++ .../dubbogo/multi/server/profiles/dev/server.yml | 18 +++++++++++++ .../dubbogo/multi/server/profiles/release/log.yml | 18 +++++++++++++ .../multi/server/profiles/release/server.yml | 18 +++++++++++++ samples/dubbogo/simple/body/api_config.yaml | 18 +++++++++++++ samples/dubbogo/simple/body/conf.yaml | 18 +++++++++++++ samples/dubbogo/simple/body/request.sh | 18 +++++++++++++ samples/dubbogo/simple/mix/api_config.yaml | 18 +++++++++++++ samples/dubbogo/simple/mix/conf.yaml | 18 +++++++++++++ samples/dubbogo/simple/mix/request.sh | 18 +++++++++++++ samples/dubbogo/simple/proxy/api_config.yaml | 18 +++++++++++++ samples/dubbogo/simple/proxy/conf.yaml | 18 +++++++++++++ samples/dubbogo/simple/proxy/request.sh | 18 +++++++++++++ samples/dubbogo/simple/query/api_config.yaml | 18 +++++++++++++ samples/dubbogo/simple/query/conf.yaml | 18 +++++++++++++ samples/dubbogo/simple/query/request.sh | 18 +++++++++++++ samples/dubbogo/simple/server/profiles/dev/log.yml | 18 +++++++++++++ .../dubbogo/simple/server/profiles/dev/server.yml | 18 +++++++++++++ .../dubbogo/simple/server/profiles/release/log.yml | 18 +++++++++++++ .../simple/server/profiles/release/server.yml | 18 +++++++++++++ samples/dubbogo/simple/start.sh | 18 +++++++++++++ samples/dubbogo/simple/uri/api_config.yaml | 18 +++++++++++++ samples/dubbogo/simple/uri/conf.yaml | 18 +++++++++++++ samples/dubbogo/simple/uri/request.sh | 18 +++++++++++++ samples/plugins/Dockerfile | 18 +++++++++++++ samples/plugins/config/api_config.yaml | 18 +++++++++++++ samples/plugins/config/conf.yaml | 18 +++++++++++++ samples/plugins/start.sh | 18 +++++++++++++ start.sh | 18 +++++++++++++ 56 files changed, 1014 insertions(+), 10 deletions(-) diff --git a/.github/auto-comment.yml b/.github/auto-comment.yml index 6d6f710..396e34a 100644 --- a/.github/auto-comment.yml +++ b/.github/auto-comment.yml @@ -1,3 +1,21 @@ +# +# 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. +# # Comment to a new issue. issueOpened: > Thank your for raising a issue. We will try and get back to you as soon as possible. diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 9ff9074..128c7fa 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -1,3 +1,21 @@ +# +# 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. +# name: CI on: @@ -37,6 +55,11 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 + - name: Check License Header + uses: apache/skywalking-eyes@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Lint Go Code run: | export PATH=$PATH:$(go env GOPATH)/bin # temporary fix. See https://github.com/actions/setup-go/issues/14 @@ -66,13 +89,6 @@ jobs: - name: Go Fmt run: go fmt ./... && [[ -z `git status -s` ]] - - name: License Check - run: | - go fmt ./... && [[ -z `git status -s` ]] - sh before_validate_license.sh - chmod u+x /tmp/tools/license/license-header-checker - /tmp/tools/license/license-header-checker -v -a -r -i vendor /tmp/tools/license/license.txt . go && [[ -z `git status -s` ]] - - name: Install go ci lint run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0 diff --git a/.travis.yml b/.travis.yml index 0eff0dc..c34fc98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,21 @@ +# +# 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. +# language: go go: diff --git a/Makefile b/Makefile index eade0fd..50d327d 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,22 @@ +# +# 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. +# + cur_mkfile := $(abspath $(lastword $(MAKEFILE_LIST))) currentPath := $(patsubst %/, %, $(dir $(cur_mkfile))) $(info cur_makefile_path1=$(currentPath)) diff --git a/configs/admin_config.yaml b/configs/admin_config.yaml index 91f5b95..8972366 100644 --- a/configs/admin_config.yaml +++ b/configs/admin_config.yaml @@ -1,3 +1,21 @@ +# +# 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. +# server: address: 127.0.0.1:8080 etcd: diff --git a/configs/api_config.yaml b/configs/api_config.yaml index 433fa40..7a742db 100644 --- a/configs/api_config.yaml +++ b/configs/api_config.yaml @@ -1,3 +1,21 @@ +# +# 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. +# name: pixiu description: pixiu sample resources: diff --git a/configs/conf.yaml b/configs/conf.yaml index 2248854..3ef86e8 100644 --- a/configs/conf.yaml +++ b/configs/conf.yaml @@ -1,3 +1,21 @@ +# +# 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. +# --- static_resources: listeners: diff --git a/configs/log.yml b/configs/log.yml index 3ed242d..9330cda 100644 --- a/configs/log.yml +++ b/configs/log.yml @@ -1,4 +1,21 @@ - +# +# 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. +# level: "debug" development: true disableCaller: false diff --git a/docs/sample/dubbo_sample_startup.sh b/docs/sample/dubbo_sample_startup.sh index 08f2754..f7c7f92 100755 --- a/docs/sample/dubbo_sample_startup.sh +++ b/docs/sample/dubbo_sample_startup.sh @@ -1,4 +1,22 @@ #!/bin/sh +# +# 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. +# if [ "$1" != "skip_zookeeper" ]; then zookeeper_container_id=$(docker ps | grep zookeeper | head -n 1 | awk '{print $1}') if [ -n "$zookeeper_container_id" ]; then diff --git a/docs/sample/http_sample_startup.sh b/docs/sample/http_sample_startup.sh index 0100e4e..3f100a2 100644 --- a/docs/sample/http_sample_startup.sh +++ b/docs/sample/http_sample_startup.sh @@ -1,4 +1,22 @@ #!/bin/sh +# +# 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. +# if [ "$1" != "skip_zookeeper" ]; then zookeeper_container_id=$(docker ps | grep zookeeper | head -n 1 | awk '{print $1}') if [ -n "$zookeeper_container_id" ]; then diff --git a/pkg/common/yaml/testdata/config.yml b/pkg/common/yaml/testdata/config.yml index b5c2ca8..f43b686 100644 --- a/pkg/common/yaml/testdata/config.yml +++ b/pkg/common/yaml/testdata/config.yml @@ -1,4 +1,21 @@ - +# +# 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. +# intTest: 11 booleanTest: false strTest: "strTest" diff --git a/pkg/config/conf_test.yaml b/pkg/config/conf_test.yaml index 2a18c07..12515f5 100644 --- a/pkg/config/conf_test.yaml +++ b/pkg/config/conf_test.yaml @@ -1,3 +1,21 @@ +# +# 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. +# --- static_resources: listeners: diff --git a/pkg/config/mock/api_config.yml b/pkg/config/mock/api_config.yml index 382a9ef..cf0546c 100644 --- a/pkg/config/mock/api_config.yml +++ b/pkg/config/mock/api_config.yml @@ -1,3 +1,21 @@ +# +# 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. +# name: api name description: api description resources: diff --git a/pkg/logger/log.yml b/pkg/logger/log.yml index 3ed242d..9330cda 100644 --- a/pkg/logger/log.yml +++ b/pkg/logger/log.yml @@ -1,4 +1,21 @@ - +# +# 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. +# level: "debug" development: true disableCaller: false diff --git a/samples/admin/admin/admin_config.yaml b/samples/admin/admin/admin_config.yaml index a4e15bc..a7a5348 100644 --- a/samples/admin/admin/admin_config.yaml +++ b/samples/admin/admin/admin_config.yaml @@ -1,3 +1,21 @@ +# +# 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. +# server: address: 127.0.0.1:8080 etcd: diff --git a/samples/admin/proxy/api_config.yaml b/samples/admin/proxy/api_config.yaml index 2e72f85..cd81c1e 100644 --- a/samples/admin/proxy/api_config.yaml +++ b/samples/admin/proxy/api_config.yaml @@ -1,3 +1,21 @@ +# +# 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. +# name: pixiu description: pixiu sample resources: diff --git a/samples/admin/proxy/conf.yaml b/samples/admin/proxy/conf.yaml index 1739dc9..b18a5e0 100644 --- a/samples/admin/proxy/conf.yaml +++ b/samples/admin/proxy/conf.yaml @@ -1,3 +1,21 @@ +# +# 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. +# --- static_resources: listeners: diff --git a/samples/admin/server/config/log.yml b/samples/admin/server/config/log.yml index 47f9e60..a92b3a2 100644 --- a/samples/admin/server/config/log.yml +++ b/samples/admin/server/config/log.yml @@ -1,3 +1,21 @@ +# +# 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. +# level: "info" development: true disableCaller: false diff --git a/samples/admin/server/config/server.yml b/samples/admin/server/config/server.yml index e2e7f7e..d47121c 100644 --- a/samples/admin/server/config/server.yml +++ b/samples/admin/server/config/server.yml @@ -1,3 +1,21 @@ +# +# 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. +# # dubbo server yaml configure file diff --git a/samples/dubbogo/http/pixiu/api_config.yaml b/samples/dubbogo/http/pixiu/api_config.yaml index a9e12e3..eafc34e 100644 --- a/samples/dubbogo/http/pixiu/api_config.yaml +++ b/samples/dubbogo/http/pixiu/api_config.yaml @@ -1,3 +1,21 @@ +# +# 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. +# name: pixiu description: pixiu sample resources: diff --git a/samples/dubbogo/http/pixiu/conf.yaml b/samples/dubbogo/http/pixiu/conf.yaml index ba3b141..6f353a8 100644 --- a/samples/dubbogo/http/pixiu/conf.yaml +++ b/samples/dubbogo/http/pixiu/conf.yaml @@ -1,3 +1,21 @@ +# +# 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. +# --- static_resources: listeners: diff --git a/samples/dubbogo/http/server/profiles/dev/log.yml b/samples/dubbogo/http/server/profiles/dev/log.yml index de4613c..9330cda 100644 --- a/samples/dubbogo/http/server/profiles/dev/log.yml +++ b/samples/dubbogo/http/server/profiles/dev/log.yml @@ -1,3 +1,21 @@ +# +# 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. +# level: "debug" development: true disableCaller: false diff --git a/samples/dubbogo/http/server/profiles/dev/server.yml b/samples/dubbogo/http/server/profiles/dev/server.yml index 712a6d8..988bd40 100644 --- a/samples/dubbogo/http/server/profiles/dev/server.yml +++ b/samples/dubbogo/http/server/profiles/dev/server.yml @@ -1,3 +1,21 @@ +# +# 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. +# # dubbo server yaml configure file # application config application: diff --git a/samples/dubbogo/http/server/profiles/release/log.yml b/samples/dubbogo/http/server/profiles/release/log.yml index 5388f76..e2835d8 100644 --- a/samples/dubbogo/http/server/profiles/release/log.yml +++ b/samples/dubbogo/http/server/profiles/release/log.yml @@ -1,3 +1,21 @@ +# +# 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. +# level: "warn" development: true disableCaller: true diff --git a/samples/dubbogo/http/server/profiles/release/server.yml b/samples/dubbogo/http/server/profiles/release/server.yml index 712a6d8..988bd40 100644 --- a/samples/dubbogo/http/server/profiles/release/server.yml +++ b/samples/dubbogo/http/server/profiles/release/server.yml @@ -1,3 +1,21 @@ +# +# 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. +# # dubbo server yaml configure file # application config application: diff --git a/samples/dubbogo/multi/apiconfig/api_config.yaml b/samples/dubbogo/multi/apiconfig/api_config.yaml index b26ae3d..4ce16ef 100644 --- a/samples/dubbogo/multi/apiconfig/api_config.yaml +++ b/samples/dubbogo/multi/apiconfig/api_config.yaml @@ -1,3 +1,21 @@ +# +# 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. +# name: pixiu description: pixiu sample resources: diff --git a/samples/dubbogo/multi/config/conf.yaml b/samples/dubbogo/multi/config/conf.yaml index 4f53af5..5691e98 100644 --- a/samples/dubbogo/multi/config/conf.yaml +++ b/samples/dubbogo/multi/config/conf.yaml @@ -1,3 +1,21 @@ +# +# 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. +# --- static_resources: listeners: diff --git a/samples/dubbogo/multi/server/profiles/dev/log.yml b/samples/dubbogo/multi/server/profiles/dev/log.yml index de4613c..9330cda 100644 --- a/samples/dubbogo/multi/server/profiles/dev/log.yml +++ b/samples/dubbogo/multi/server/profiles/dev/log.yml @@ -1,3 +1,21 @@ +# +# 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. +# level: "debug" development: true disableCaller: false diff --git a/samples/dubbogo/multi/server/profiles/dev/server.yml b/samples/dubbogo/multi/server/profiles/dev/server.yml index b51b7e1..bcfe25c 100644 --- a/samples/dubbogo/multi/server/profiles/dev/server.yml +++ b/samples/dubbogo/multi/server/profiles/dev/server.yml @@ -1,3 +1,21 @@ +# +# 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. +# # dubbo server yaml configure file # application config application: diff --git a/samples/dubbogo/multi/server/profiles/release/log.yml b/samples/dubbogo/multi/server/profiles/release/log.yml index de4613c..9330cda 100644 --- a/samples/dubbogo/multi/server/profiles/release/log.yml +++ b/samples/dubbogo/multi/server/profiles/release/log.yml @@ -1,3 +1,21 @@ +# +# 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. +# level: "debug" development: true disableCaller: false diff --git a/samples/dubbogo/multi/server/profiles/release/server.yml b/samples/dubbogo/multi/server/profiles/release/server.yml index b51b7e1..bcfe25c 100644 --- a/samples/dubbogo/multi/server/profiles/release/server.yml +++ b/samples/dubbogo/multi/server/profiles/release/server.yml @@ -1,3 +1,21 @@ +# +# 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. +# # dubbo server yaml configure file # application config application: diff --git a/samples/dubbogo/simple/body/api_config.yaml b/samples/dubbogo/simple/body/api_config.yaml index 718d75d..7ea3b59 100644 --- a/samples/dubbogo/simple/body/api_config.yaml +++ b/samples/dubbogo/simple/body/api_config.yaml @@ -1,3 +1,21 @@ +# +# 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. +# name: pixiu description: pixiu sample resources: diff --git a/samples/dubbogo/simple/body/conf.yaml b/samples/dubbogo/simple/body/conf.yaml index 2c83e96..beb8e64 100644 --- a/samples/dubbogo/simple/body/conf.yaml +++ b/samples/dubbogo/simple/body/conf.yaml @@ -1,3 +1,21 @@ +# +# 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. +# --- static_resources: listeners: diff --git a/samples/dubbogo/simple/body/request.sh b/samples/dubbogo/simple/body/request.sh index b033379..e930a58 100644 --- a/samples/dubbogo/simple/body/request.sh +++ b/samples/dubbogo/simple/body/request.sh @@ -1,3 +1,21 @@ +# +# 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. +# ADDRESS="localhost:8881" API1=$(curl -s -X POST ${ADDRESS}"/api/v1/test-dubbo/user" -d '{"id":"0003","code":3,"name":"dubbogo","age":99}' --header 'Content-Type: application/json') diff --git a/samples/dubbogo/simple/mix/api_config.yaml b/samples/dubbogo/simple/mix/api_config.yaml index 5243082..7434baa 100644 --- a/samples/dubbogo/simple/mix/api_config.yaml +++ b/samples/dubbogo/simple/mix/api_config.yaml @@ -1,3 +1,21 @@ +# +# 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. +# name: pixiu description: pixiu sample resources: diff --git a/samples/dubbogo/simple/mix/conf.yaml b/samples/dubbogo/simple/mix/conf.yaml index ac0da43..7f98a78 100644 --- a/samples/dubbogo/simple/mix/conf.yaml +++ b/samples/dubbogo/simple/mix/conf.yaml @@ -1,3 +1,21 @@ +# +# 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. +# --- static_resources: listeners: diff --git a/samples/dubbogo/simple/mix/request.sh b/samples/dubbogo/simple/mix/request.sh index 7ed9ecb..003d634 100644 --- a/samples/dubbogo/simple/mix/request.sh +++ b/samples/dubbogo/simple/mix/request.sh @@ -1,3 +1,21 @@ +# +# 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. +# ADDRESS="localhost:8882" API1=$(curl -s -X GET ${ADDRESS}"/api/v1/test-dubbo/user/tc?age=99") diff --git a/samples/dubbogo/simple/proxy/api_config.yaml b/samples/dubbogo/simple/proxy/api_config.yaml index 9fc37bc..de29ca6 100644 --- a/samples/dubbogo/simple/proxy/api_config.yaml +++ b/samples/dubbogo/simple/proxy/api_config.yaml @@ -1,3 +1,21 @@ +# +# 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. +# name: pixiu description: pixiu sample resources: diff --git a/samples/dubbogo/simple/proxy/conf.yaml b/samples/dubbogo/simple/proxy/conf.yaml index 9d96a09..010769f 100644 --- a/samples/dubbogo/simple/proxy/conf.yaml +++ b/samples/dubbogo/simple/proxy/conf.yaml @@ -1,3 +1,21 @@ +# +# 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. +# --- static_resources: listeners: diff --git a/samples/dubbogo/simple/proxy/request.sh b/samples/dubbogo/simple/proxy/request.sh index d142c2f..d4f9b0d 100644 --- a/samples/dubbogo/simple/proxy/request.sh +++ b/samples/dubbogo/simple/proxy/request.sh @@ -1,3 +1,21 @@ +# +# 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. +# ADDRESS="localhost:8883" API1=$(curl -s -X POST ${ADDRESS}"/api/v1/test-dubbo/UserService/com.dubbogo.pixiu.UserService?group=test&version=1.0.0&method=GetUserByName" -d '{"types":["string"],"values":"tc"}' --header 'Content-Type: application/json') diff --git a/samples/dubbogo/simple/query/api_config.yaml b/samples/dubbogo/simple/query/api_config.yaml index 5273977..9a7ade8 100644 --- a/samples/dubbogo/simple/query/api_config.yaml +++ b/samples/dubbogo/simple/query/api_config.yaml @@ -1,3 +1,21 @@ +# +# 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. +# name: pixiu description: pixiu sample resources: diff --git a/samples/dubbogo/simple/query/conf.yaml b/samples/dubbogo/simple/query/conf.yaml index 61865f9..6631744 100644 --- a/samples/dubbogo/simple/query/conf.yaml +++ b/samples/dubbogo/simple/query/conf.yaml @@ -1,3 +1,21 @@ +# +# 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. +# --- static_resources: listeners: diff --git a/samples/dubbogo/simple/query/request.sh b/samples/dubbogo/simple/query/request.sh index c303499..e0abe10 100644 --- a/samples/dubbogo/simple/query/request.sh +++ b/samples/dubbogo/simple/query/request.sh @@ -1,3 +1,21 @@ +# +# 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. +# ADDRESS="localhost:8884" API1=$(curl -s -X GET ${ADDRESS}"/api/v1/test-dubbo/userByName?name=tc") diff --git a/samples/dubbogo/simple/server/profiles/dev/log.yml b/samples/dubbogo/simple/server/profiles/dev/log.yml index de4613c..9330cda 100644 --- a/samples/dubbogo/simple/server/profiles/dev/log.yml +++ b/samples/dubbogo/simple/server/profiles/dev/log.yml @@ -1,3 +1,21 @@ +# +# 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. +# level: "debug" development: true disableCaller: false diff --git a/samples/dubbogo/simple/server/profiles/dev/server.yml b/samples/dubbogo/simple/server/profiles/dev/server.yml index 1b6c40c..857dd17 100644 --- a/samples/dubbogo/simple/server/profiles/dev/server.yml +++ b/samples/dubbogo/simple/server/profiles/dev/server.yml @@ -1,3 +1,21 @@ +# +# 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. +# # dubbo server yaml configure file # application config application: diff --git a/samples/dubbogo/simple/server/profiles/release/log.yml b/samples/dubbogo/simple/server/profiles/release/log.yml index 5388f76..e2835d8 100644 --- a/samples/dubbogo/simple/server/profiles/release/log.yml +++ b/samples/dubbogo/simple/server/profiles/release/log.yml @@ -1,3 +1,21 @@ +# +# 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. +# level: "warn" development: true disableCaller: true diff --git a/samples/dubbogo/simple/server/profiles/release/server.yml b/samples/dubbogo/simple/server/profiles/release/server.yml index 99561a5..a2c5e8c 100644 --- a/samples/dubbogo/simple/server/profiles/release/server.yml +++ b/samples/dubbogo/simple/server/profiles/release/server.yml @@ -1,3 +1,21 @@ +# +# 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. +# # dubbo server yaml configure file diff --git a/samples/dubbogo/simple/start.sh b/samples/dubbogo/simple/start.sh index 18d43db..2bafa5b 100755 --- a/samples/dubbogo/simple/start.sh +++ b/samples/dubbogo/simple/start.sh @@ -1,4 +1,22 @@ #!/bin/bash -x +# +# 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. +# DIR=$(cd $(dirname $0) && pwd ) diff --git a/samples/dubbogo/simple/uri/api_config.yaml b/samples/dubbogo/simple/uri/api_config.yaml index d578cec..ebcf28b 100644 --- a/samples/dubbogo/simple/uri/api_config.yaml +++ b/samples/dubbogo/simple/uri/api_config.yaml @@ -1,3 +1,21 @@ +# +# 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. +# name: pixiu description: pixiu sample resources: diff --git a/samples/dubbogo/simple/uri/conf.yaml b/samples/dubbogo/simple/uri/conf.yaml index 5565ea7..2067be4 100644 --- a/samples/dubbogo/simple/uri/conf.yaml +++ b/samples/dubbogo/simple/uri/conf.yaml @@ -1,3 +1,21 @@ +# +# 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. +# --- static_resources: listeners: diff --git a/samples/dubbogo/simple/uri/request.sh b/samples/dubbogo/simple/uri/request.sh index ca4f55c..4f0029e 100644 --- a/samples/dubbogo/simple/uri/request.sh +++ b/samples/dubbogo/simple/uri/request.sh @@ -1,3 +1,21 @@ +# +# 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. +# ADDRESS="localhost:8885" API1=$(curl -s -X GET ${ADDRESS}"/api/v1/test-dubbo/user/name/tc") diff --git a/samples/plugins/Dockerfile b/samples/plugins/Dockerfile index 276649f..8fafc37 100644 --- a/samples/plugins/Dockerfile +++ b/samples/plugins/Dockerfile @@ -1,3 +1,21 @@ +# +# 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. +# FROM golang:1.14 ENV HOME /go/src diff --git a/samples/plugins/config/api_config.yaml b/samples/plugins/config/api_config.yaml index 158c176..5d3ca1a 100644 --- a/samples/plugins/config/api_config.yaml +++ b/samples/plugins/config/api_config.yaml @@ -1,3 +1,21 @@ +# +# 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. +# name: pixiu description: pixiu sample resources: diff --git a/samples/plugins/config/conf.yaml b/samples/plugins/config/conf.yaml index 5286094..bde9d5f 100644 --- a/samples/plugins/config/conf.yaml +++ b/samples/plugins/config/conf.yaml @@ -1,3 +1,21 @@ +# +# 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. +# --- static_resources: listeners: diff --git a/samples/plugins/start.sh b/samples/plugins/start.sh index c7f1cda..a413f24 100644 --- a/samples/plugins/start.sh +++ b/samples/plugins/start.sh @@ -1,4 +1,22 @@ #!/usr/bin/env sh +# +# 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. +# DIR=$(cd "$(dirname "$0")" && pwd) echo "$DIR" diff --git a/start.sh b/start.sh index 56b0db4..af254e0 100755 --- a/start.sh +++ b/start.sh @@ -1,4 +1,22 @@ #! /bin/bash +# +# 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. +# args=$1
