From 5555ee6496b95022c40dd6157cc1ff17970928de Mon Sep 17 00:00:00 2001 From: jianbin Date: Thu, 5 Sep 2024 16:31:08 +0800 Subject: [PATCH] Merge the packaging processes of Naming Server and Seata Server --- .asf.yaml | 1 + codecov.yml | 1 + common/src/test/resources/io/TestFile.txt | 17 +++++++++++++++++ .../exporter/prometheus/CompactSummaryTest.java | 6 +++--- script/config-center/config.txt | 17 +++++++++++++++++ .../helm/seata-server/templates/NOTES.txt | 17 +++++++++++++++++ 6 files changed, 56 insertions(+), 3 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 9e55b09591e..c7c9f88d0e6 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -14,6 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + github: description: ":fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution." homepage: https://seata.apache.org/ diff --git a/codecov.yml b/codecov.yml index 90f598c7a7c..7700d060120 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,4 @@ +# # 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. diff --git a/common/src/test/resources/io/TestFile.txt b/common/src/test/resources/io/TestFile.txt index 2944f981947..6b3c4db9b5c 100644 --- a/common/src/test/resources/io/TestFile.txt +++ b/common/src/test/resources/io/TestFile.txt @@ -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. +==== + /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/metrics/seata-metrics-registry-compact/src/test/java/org/apache/seata/metrics/exporter/prometheus/CompactSummaryTest.java b/metrics/seata-metrics-registry-compact/src/test/java/org/apache/seata/metrics/exporter/prometheus/CompactSummaryTest.java index c93c99e6003..d8c9569e685 100644 --- a/metrics/seata-metrics-registry-compact/src/test/java/org/apache/seata/metrics/exporter/prometheus/CompactSummaryTest.java +++ b/metrics/seata-metrics-registry-compact/src/test/java/org/apache/seata/metrics/exporter/prometheus/CompactSummaryTest.java @@ -66,9 +66,9 @@ public void testCount() { @Test public void testTps() { - compactSummary.increase(5); - compactSummary.increase(10); - compactSummary.increase(15); + compactSummary.increase(51111); + compactSummary.increase(1111110); + compactSummary.increase(111115); // Assuming that the time taken is 1 second assertTrue(compactSummary.tps() >0); } diff --git a/script/config-center/config.txt b/script/config-center/config.txt index 82b39c83173..0693dc6228f 100644 --- a/script/config-center/config.txt +++ b/script/config-center/config.txt @@ -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. +==== + # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/script/server/helm/seata-server/templates/NOTES.txt b/script/server/helm/seata-server/templates/NOTES.txt index 96d7cf6504a..707d55e07f3 100644 --- a/script/server/helm/seata-server/templates/NOTES.txt +++ b/script/server/helm/seata-server/templates/NOTES.txt @@ -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. +==== + # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with