This is an automated email from the ASF dual-hosted git repository. jianbin pushed a commit to branch 2.x in repository https://gitbox.apache.org/repos/asf/incubator-seata.git
The following commit(s) were added to refs/heads/2.x by this push: new dcf63d031d optimize: add license header for spring config file (#6652) dcf63d031d is described below commit dcf63d031dde55c0ebe51a408273293f3bc0421a Author: jimin <sliev...@163.com> AuthorDate: Tue Jul 9 11:12:19 2024 +0800 optimize: add license header for spring config file (#6652) --- .licenserc.yaml | 10 +--------- integration/brpc/src/test/proto/Echo.proto | 16 ++++++++++++++++ .../src/main/resources/META-INF/spring.factories | 16 ++++++++++++++++ ...ramework.boot.autoconfigure.AutoConfiguration.imports | 16 ++++++++++++++++ .../src/main/resources/META-INF/spring.factories | 16 ++++++++++++++++ ...ramework.boot.autoconfigure.AutoConfiguration.imports | 16 ++++++++++++++++ .../src/test/resources/META-INF/spring.factories | 16 ++++++++++++++++ .../src/main/resources/META-INF/spring.factories | 16 ++++++++++++++++ .../src/main/resources/META-INF/spring.factories | 16 ++++++++++++++++ ...ramework.boot.autoconfigure.AutoConfiguration.imports | 16 ++++++++++++++++ server/src/main/resources/META-INF/spring.factories | 16 ++++++++++++++++ .../org.apache.seata.integration.tx.api.json.JsonParser | 16 ++++++++++++++++ 12 files changed, 177 insertions(+), 9 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 99f6ac8583..ab61073001 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -37,26 +37,18 @@ header: paths-ignore: - '.gitignore' - - 'CONTRIBUTING.md' - - 'CONTRIBUTING_CN.md' - - 'CODE_OF_CONDUCT.md' - - 'README.md' + - '*.md' - 'LICENSE' - 'NOTICE' - 'DISCLAIMER' - '**/*.md' - '.github/**' - #SPI、spring.factories、spring-configuration-metadata.json、additional-spring-configuration-metadata.json - - '**/src/test/resources/META-INF/**' - - '**/src/main/resources/META-INF/**' - '**/target/**' - '**/*.iml' - 'changes/**' - 'style/**' - - 'script/**' - 'sessionStore/**' - 'test/src/test/resources/**' - - 'serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/*.proto' - 'saga/seata-saga-statemachine-designer/node_modules/**' - 'node_modules/**' - 'saga/seata-saga-statemachine-designer/**' diff --git a/integration/brpc/src/test/proto/Echo.proto b/integration/brpc/src/test/proto/Echo.proto index ff40615bcb..052f311ea1 100644 --- a/integration/brpc/src/test/proto/Echo.proto +++ b/integration/brpc/src/test/proto/Echo.proto @@ -1,3 +1,19 @@ +/* + * 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. + */ syntax = "proto2"; package org.apache.seata.integration.brpc.dto; diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/spring.factories b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/spring.factories index 0adf9f71f6..e661cab92d 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/spring.factories +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/spring.factories @@ -1,3 +1,19 @@ +# +# 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. +# # Auto Configure org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ org.apache.seata.spring.boot.autoconfigure.SeataSpringFenceAutoConfiguration diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports index 6a7227db1e..bceeff0375 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -1 +1,17 @@ +# +# 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. +# org.apache.seata.spring.boot.autoconfigure.SeataSpringFenceAutoConfiguration diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/resources/META-INF/spring.factories b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/resources/META-INF/spring.factories index bdda327e2d..df445bb697 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/resources/META-INF/spring.factories +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/resources/META-INF/spring.factories @@ -1,3 +1,19 @@ +# +# 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. +# # Auto Configure org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ org.apache.seata.spring.boot.autoconfigure.SeataCoreAutoConfiguration diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports index 4bb3de872f..6a3a2ec82c 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -1 +1,17 @@ +# +# 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. +# org.apache.seata.spring.boot.autoconfigure.SeataCoreAutoConfiguration diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/resources/META-INF/spring.factories b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/resources/META-INF/spring.factories index 8ee9ba1b91..a443ed85af 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/resources/META-INF/spring.factories +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/resources/META-INF/spring.factories @@ -1,3 +1,19 @@ +# +# 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. +# # Environment Post Processors org.springframework.boot.env.EnvironmentPostProcessor=\ org.apache.seata.spring.boot.autoconfigure.SeataCoreEnvironmentPostProcessor diff --git a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/resources/META-INF/spring.factories b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/resources/META-INF/spring.factories index 66feeea767..b6371c1b59 100644 --- a/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/resources/META-INF/spring.factories +++ b/seata-spring-autoconfigure/seata-spring-autoconfigure-server/src/main/resources/META-INF/spring.factories @@ -1,3 +1,19 @@ +# +# 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. +# # Environment Post Processors org.springframework.boot.env.EnvironmentPostProcessor=\ org.apache.seata.spring.boot.autoconfigure.SeataServerEnvironmentPostProcessor diff --git a/seata-spring-boot-starter/src/main/resources/META-INF/spring.factories b/seata-spring-boot-starter/src/main/resources/META-INF/spring.factories index ef58f97066..6a7bb2910b 100644 --- a/seata-spring-boot-starter/src/main/resources/META-INF/spring.factories +++ b/seata-spring-boot-starter/src/main/resources/META-INF/spring.factories @@ -1,3 +1,19 @@ +# +# 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. +# # Auto Configure org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ org.apache.seata.spring.boot.autoconfigure.SeataAutoConfiguration,\ diff --git a/seata-spring-boot-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/seata-spring-boot-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports index c33d27968f..01f3f34862 100644 --- a/seata-spring-boot-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports +++ b/seata-spring-boot-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -1,3 +1,19 @@ +# +# 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. +# org.apache.seata.spring.boot.autoconfigure.SeataAutoConfiguration org.apache.seata.spring.boot.autoconfigure.SeataDataSourceAutoConfiguration org.apache.seata.spring.boot.autoconfigure.SeataHttpAutoConfiguration diff --git a/server/src/main/resources/META-INF/spring.factories b/server/src/main/resources/META-INF/spring.factories index abc04edf9a..4b97deb210 100644 --- a/server/src/main/resources/META-INF/spring.factories +++ b/server/src/main/resources/META-INF/spring.factories @@ -1,3 +1,19 @@ +# +# 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. +# org.springframework.context.ApplicationListener=\ org.apache.seata.server.spring.listener.ServerApplicationListener org.springframework.context.ApplicationContextInitializer=\ diff --git a/tcc/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.json.JsonParser b/tcc/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.json.JsonParser index c8e90d2d53..45c29baacc 100644 --- a/tcc/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.json.JsonParser +++ b/tcc/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.json.JsonParser @@ -1,3 +1,19 @@ +# +# 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. +# org.apache.seata.rm.tcc.json.FastJsonParser org.apache.seata.rm.tcc.json.JacksonJsonParser org.apache.seata.rm.tcc.json.GsonJsonParser \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org