Skip to content

Commit

Permalink
Add RAT Headers (#1036)
Browse files Browse the repository at this point in the history
* Add RAT Headers

* Add 2.0.0 release notes
  • Loading branch information
little-cui authored Jun 2, 2021
1 parent 427393c commit 9ed770a
Show file tree
Hide file tree
Showing 10 changed files with 202 additions and 0 deletions.
19 changes: 19 additions & 0 deletions datasource/mongo/sd/indexc_test.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
19 changes: 19 additions & 0 deletions datasource/mongo/types.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
1 change: 1 addition & 0 deletions docs/release/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
51 changes: 51 additions & 0 deletions docs/release/releaseNotes-2.0.0.md
Original file line number Diff line number Diff line change
@@ -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>
19 changes: 19 additions & 0 deletions server/connection/hbws/websocket_test.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
19 changes: 19 additions & 0 deletions server/resource/v4/role_resource_test.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
19 changes: 19 additions & 0 deletions server/service/rbac/role_dao_test.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
19 changes: 19 additions & 0 deletions server/service/validator/rbac_validator.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
19 changes: 19 additions & 0 deletions syncer/plugins/servicecenter/transform_test.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
17 changes: 17 additions & 0 deletions test/benchmark/login.sh
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 9ed770a

Please sign in to comment.