You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ti...@apache.org on 2021/06/02 12:51:45 UTC

[servicecomb-service-center] branch master updated: Add RAT Headers (#1036)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9ed770a  Add RAT Headers (#1036)
9ed770a is described below

commit 9ed770a97753f2ef0e21ed223b228d5b2f2eefc7
Author: little-cui <su...@qq.com>
AuthorDate: Wed Jun 2 20:51:33 2021 +0800

    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 ++++++++++
 syncer/plugins/servicecenter/transform_test.go | 19 ++++++++++
 test/benchmark/login.sh                        | 17 +++++++++
 10 files changed, 202 insertions(+)

diff --git a/datasource/mongo/sd/indexc_test.go b/datasource/mongo/sd/indexc_test.go
index 169a7d7..21a64c6 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 6c66bfe..b28c952 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 cbdde92..1c4565a 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 0000000..1335341
--- /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
+        
+         
+<h2>        Bug
+</h2>
+<ul>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-2259'>SCB-2259</a>] -         gopool can not reuse worker with certainty
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-2176'>SCB-2176</a>] -         SD Cache is not consistency
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-1720'>SCB-1720</a>] -         Service-center consumes huge CPU when it is disconnected from etcd
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-1069'>SCB-1069</a>] -         Wrong response of batch delete microservices API
+</li>
+</ul>
+      
+         
+<h2>        New Feature
+</h2>
+<ul>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-2133'>SCB-2133</a>] -         governance northbound Interface / abstract access layer
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-2094'>SCB-2094</a>] -         New datasource architecture
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-2093'>SCB-2093</a>] -         Supplement the role module of rbac
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-952'>SCB-952</a>] -         Support sync ServiceComb service to Kubernetes
+</li>
+</ul>
+  
+
+<h2>        Improvement
+</h2>
+<ul>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-624'>SCB-624</a>] -         Abstract service layer between api and cache
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-489'>SCB-489</a>] -         Suggest to add Service Center user guide and development guide to the ServiceComb official website
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-438'>SCB-438</a>] -         As SC model is changing, we should keep SC proto spec in isolated project, so that go sdk can import same model as SC does
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-2022'>SCB-2022</a>] -         Migrate service-center documents to sphinx
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-1712'>SCB-1712</a>] -         Reset the etcd cache periodically
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-1545'>SCB-1545</a>] -         add support env config for logfilepath and logfile level
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/SCB-1042'>SCB-1042</a>] -         Support upload SC schemas
+</li>
+</ul>
+                                                                                                                            
diff --git a/server/connection/hbws/websocket_test.go b/server/connection/hbws/websocket_test.go
index 729e780..f35f2f0 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 6ac0e36..b6c0a74 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 18d3bc8..dff8411 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 a88680a..5127ab2 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 5d45e04..50c668b 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 76f81d5..80fed42 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