diff --git a/.travis/ASF-Release.cfg b/.travis/ASF-Release.cfg index 2c415ce729de..3beefe1bd0c4 100644 --- a/.travis/ASF-Release.cfg +++ b/.travis/ASF-Release.cfg @@ -83,6 +83,7 @@ NOTICE.txt build-cache deps test-nginx +grpc_server_example .travis.yml conf diff --git a/doc/plugins/redirect-cn.md b/doc/plugins/redirect-cn.md index 4262da254e3d..5edaaf8bb378 100644 --- a/doc/plugins/redirect-cn.md +++ b/doc/plugins/redirect-cn.md @@ -1,3 +1,22 @@ + + [English](redirect.md) # redirect diff --git a/doc/plugins/redirect.md b/doc/plugins/redirect.md index 7b3f734eb693..d38aafa5acbb 100644 --- a/doc/plugins/redirect.md +++ b/doc/plugins/redirect.md @@ -1,3 +1,22 @@ + + [中文](redirect-cn.md) # redirect diff --git a/lua/apisix/plugins/redirect.lua b/lua/apisix/plugins/redirect.lua index 89eec65804e1..733a8483220b 100644 --- a/lua/apisix/plugins/redirect.lua +++ b/lua/apisix/plugins/redirect.lua @@ -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. +-- local core = require("apisix.core") local tab_insert = table.insert local tab_concat = table.concat diff --git a/t/plugin/redirect.t b/t/plugin/redirect.t index 6edd21582df3..0f413c521812 100644 --- a/t/plugin/redirect.t +++ b/t/plugin/redirect.t @@ -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. +# BEGIN { if ($ENV{TEST_NGINX_CHECK_LEAK}) { $SkipReason = "unavailable for the hup tests";