This is an automated email from the ASF dual-hosted git repository. alexstocks pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/develop by this push: new 774a3c5 Add: asf 2.0; Rem: delete author email 774a3c5 is described below commit 774a3c594375cdc5b1d3a0dbc311aed3e84a7657 Author: AlexStocks <alexsto...@foxmail.com> AuthorDate: Sat Sep 7 01:24:41 2019 +0800 Add: asf 2.0; Rem: delete author email --- cluster/loadbalance/least_active.go | 1 - cluster/loadbalance/round_robin_test.go | 17 +++++++++++++++++ common/extension/router_factory.go | 17 +++++++++++++++++ config_center/configuration_parser.go | 18 ++++++++++++++++++ config_center/configuration_parser_test.go | 18 ++++++++++++++++++ filter/impl/active_filter.go | 1 - registry/zookeeper/listener_test.go | 22 +++++++++++++++++++++- 7 files changed, 91 insertions(+), 3 deletions(-) diff --git a/cluster/loadbalance/least_active.go b/cluster/loadbalance/least_active.go index 39c5620..aa69f3c 100644 --- a/cluster/loadbalance/least_active.go +++ b/cluster/loadbalance/least_active.go @@ -15,7 +15,6 @@ * limitations under the License. */ -// @author y...@apache.org package loadbalance import ( diff --git a/cluster/loadbalance/round_robin_test.go b/cluster/loadbalance/round_robin_test.go index e261884..0b8e89c 100644 --- a/cluster/loadbalance/round_robin_test.go +++ b/cluster/loadbalance/round_robin_test.go @@ -1,3 +1,20 @@ +/* + * 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 loadbalance import ( diff --git a/common/extension/router_factory.go b/common/extension/router_factory.go index f364292..6f27aaf 100644 --- a/common/extension/router_factory.go +++ b/common/extension/router_factory.go @@ -1,3 +1,20 @@ +/* + * 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 extension import ( diff --git a/config_center/configuration_parser.go b/config_center/configuration_parser.go index ab02789..95b122e 100644 --- a/config_center/configuration_parser.go +++ b/config_center/configuration_parser.go @@ -1,8 +1,26 @@ +/* + * 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 config_center import ( "github.com/magiconair/properties" ) + import ( "github.com/apache/dubbo-go/common/logger" ) diff --git a/config_center/configuration_parser_test.go b/config_center/configuration_parser_test.go index 3c84fd7..4a67d42 100644 --- a/config_center/configuration_parser_test.go +++ b/config_center/configuration_parser_test.go @@ -1,8 +1,26 @@ +/* + * 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 config_center import ( "testing" ) + import ( "github.com/stretchr/testify/assert" ) diff --git a/filter/impl/active_filter.go b/filter/impl/active_filter.go index d7dad74..36a4e1a 100644 --- a/filter/impl/active_filter.go +++ b/filter/impl/active_filter.go @@ -15,7 +15,6 @@ * limitations under the License. */ -// @author y...@apache.org package impl import ( diff --git a/registry/zookeeper/listener_test.go b/registry/zookeeper/listener_test.go index 7ebc32b..9d9cebe 100644 --- a/registry/zookeeper/listener_test.go +++ b/registry/zookeeper/listener_test.go @@ -1,11 +1,31 @@ +/* + * 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 zookeeper import ( "context" + "testing" +) + +import ( "github.com/apache/dubbo-go/common" "github.com/apache/dubbo-go/remoting" "github.com/stretchr/testify/assert" - "testing" ) func Test_DataChange(t *testing.T) {