From 9ed770a97753f2ef0e21ed223b228d5b2f2eefc7 Mon Sep 17 00:00:00 2001 From: little-cui Date: Wed, 2 Jun 2021 20:51:33 +0800 Subject: [PATCH] Add RAT Headers (#1036) * Add RAT Headers * Add 2.0.0 release notes --- datasource/mongo/sd/indexc_test.go | 19 +++++++ datasource/mongo/types.go | 19 +++++++ docs/release/Readme.md | 1 + docs/release/releaseNotes-2.0.0.md | 51 +++++++++++++++++++ server/connection/hbws/websocket_test.go | 19 +++++++ server/resource/v4/role_resource_test.go | 19 +++++++ server/service/rbac/role_dao_test.go | 19 +++++++ server/service/validator/rbac_validator.go | 19 +++++++ .../plugins/servicecenter/transform_test.go | 19 +++++++ test/benchmark/login.sh | 17 +++++++ 10 files changed, 202 insertions(+) create mode 100644 docs/release/releaseNotes-2.0.0.md diff --git a/datasource/mongo/sd/indexc_test.go b/datasource/mongo/sd/indexc_test.go index 169a7d734..21a64c6cd 100644 --- a/datasource/mongo/sd/indexc_test.go +++ b/datasource/mongo/sd/indexc_test.go @@ -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. + */ + package sd_test import ( diff --git a/datasource/mongo/types.go b/datasource/mongo/types.go index 6c66bfe46..b28c952f4 100644 --- a/datasource/mongo/types.go +++ b/datasource/mongo/types.go @@ -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. + */ + package mongo import ( diff --git a/docs/release/Readme.md b/docs/release/Readme.md index cbdde921c..1c4565a01 100644 --- a/docs/release/Readme.md +++ b/docs/release/Readme.md @@ -2,6 +2,7 @@ #### Release Notes +- [Service-Center-2.0.0 Release Notes](releaseNotes-2.0.0.md) - [Service-Center-1.1.0 Release Notes](releaseNotes-1.1.0.md) - [Service-Center-1.0.0 Release Notes](releaseNotes-1.0.0.md) - [Service-Center-1.0.0-m1 Release Notes](releaseNotes-1.0.0-m1.md) diff --git a/docs/release/releaseNotes-2.0.0.md b/docs/release/releaseNotes-2.0.0.md new file mode 100644 index 000000000..1335341fa --- /dev/null +++ b/docs/release/releaseNotes-2.0.0.md @@ -0,0 +1,51 @@ +# Release Notes + Release Notes - Apache ServiceComb - Version service-center-2.0.0 + + +

Bug +

+ + + +

New Feature +

+ + + +

Improvement +

+ + diff --git a/server/connection/hbws/websocket_test.go b/server/connection/hbws/websocket_test.go index 729e7802c..f35f2f01f 100644 --- a/server/connection/hbws/websocket_test.go +++ b/server/connection/hbws/websocket_test.go @@ -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. + */ + package hbws_test import ( diff --git a/server/resource/v4/role_resource_test.go b/server/resource/v4/role_resource_test.go index 6ac0e3696..b6c0a74e2 100644 --- a/server/resource/v4/role_resource_test.go +++ b/server/resource/v4/role_resource_test.go @@ -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. + */ + package v4_test import ( diff --git a/server/service/rbac/role_dao_test.go b/server/service/rbac/role_dao_test.go index 18d3bc832..dff84118a 100644 --- a/server/service/rbac/role_dao_test.go +++ b/server/service/rbac/role_dao_test.go @@ -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. + */ + package rbac_test import ( diff --git a/server/service/validator/rbac_validator.go b/server/service/validator/rbac_validator.go index a88680ac0..5127ab2d6 100644 --- a/server/service/validator/rbac_validator.go +++ b/server/service/validator/rbac_validator.go @@ -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. + */ + package validator import "github.com/go-chassis/cari/rbac" diff --git a/syncer/plugins/servicecenter/transform_test.go b/syncer/plugins/servicecenter/transform_test.go index 5d45e040e..50c668beb 100644 --- a/syncer/plugins/servicecenter/transform_test.go +++ b/syncer/plugins/servicecenter/transform_test.go @@ -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. + */ + package servicecenter import ( diff --git a/test/benchmark/login.sh b/test/benchmark/login.sh index 76f81d581..80fed42a8 100644 --- a/test/benchmark/login.sh +++ b/test/benchmark/login.sh @@ -1 +1,18 @@ +# 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. + ab -n 10000 -c 10 -p login.json "http://127.0.0.1:30100/v4/token" \ No newline at end of file