This is an automated email from the ASF dual-hosted git repository. yukon pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/rocketmq-eventbridge.git
commit bef80fdb1dbc54bf11f78e45129d11a9937f8cb5 Author: 2011shenlin <[email protected]> AuthorDate: Sun Sep 18 11:00:16 2022 +0800 release: add the apache license and prepare for release. --- .asf.yaml | 15 +++++++++++ .licenserc.yaml | 1 + adapter/api/pom.xml | 12 ++++++++- adapter/persistence/pom.xml | 12 ++++++++- .../main/resources/db/migration/V1__baseline.sql | 15 +++++++++++ .../main/resources/db/migration/V2__baseline.sql | 15 +++++++++++ .../migration/V3__change_target_transform_type.sql | 15 +++++++++++ .../db/migration/V4__register_source_acs_mns.sql | 15 +++++++++++ .../migration/V5__register_target_acs_dingtalk.sql | 15 +++++++++++ .../V6__register_target_acs_eventbridge.sql | 15 +++++++++++ .../mybatis/EventApiDestinationMapper.xml | 12 ++++++++- .../src/main/resources/mybatis/EventBusMapper.xml | 12 ++++++++- .../resources/mybatis/EventConnectionMapper.xml | 12 ++++++++- .../src/main/resources/mybatis/EventRuleMapper.xml | 12 ++++++++- .../resources/mybatis/EventSourceClassMapper.xml | 12 ++++++++- .../main/resources/mybatis/EventSourceMapper.xml | 12 ++++++++- .../resources/mybatis/EventSourceRunnerMapper.xml | 12 ++++++++- .../resources/mybatis/EventTargetClassMapper.xml | 12 ++++++++- .../main/resources/mybatis/EventTargetMapper.xml | 12 ++++++++- .../resources/mybatis/EventTargetRunnerMapper.xml | 12 ++++++++- .../main/resources/mybatis/EventTopicMapper.xml | 12 ++++++++- .../src/main/resources/mybatis/EventTypeMapper.xml | 12 ++++++++- adapter/pom.xml | 12 ++++++++- adapter/rpc/pom.xml | 12 ++++++++- common/pom.xml | 12 ++++++++- domain/pom.xml | 12 ++++++++- start/pom.xml | 12 ++++++++- start/src/main/resources/application.properties | 29 ++++++++++++++++------ start/src/main/resources/logback-spring.xml | 12 ++++++++- supports/connect-cloudevent-transform/pom.xml | 12 ++++++++- supports/connect-eventbridge-transform/pom.xml | 12 ++++++++- supports/connect-filter-transform/pom.xml | 12 ++++++++- 32 files changed, 381 insertions(+), 30 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 9da771d..e4811ce 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,3 +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. + github: features: # Enable wiki for documentation diff --git a/.licenserc.yaml b/.licenserc.yaml index e5ac24a..005ecb8 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -32,5 +32,6 @@ header: - '**/*.bazel' - '.github/**' - '.gitignore' + - '.asf.yml' comment: on-failure diff --git a/adapter/api/pom.xml b/adapter/api/pom.xml index 21510dd..67748f9 100644 --- a/adapter/api/pom.xml +++ b/adapter/api/pom.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8"?> +<!-- 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. --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> diff --git a/adapter/persistence/pom.xml b/adapter/persistence/pom.xml index e81df53..5fb2f24 100644 --- a/adapter/persistence/pom.xml +++ b/adapter/persistence/pom.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8"?> +<!-- 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. --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> diff --git a/adapter/persistence/src/main/resources/db/migration/V1__baseline.sql b/adapter/persistence/src/main/resources/db/migration/V1__baseline.sql index 85e7234..6681b7e 100644 --- a/adapter/persistence/src/main/resources/db/migration/V1__baseline.sql +++ b/adapter/persistence/src/main/resources/db/migration/V1__baseline.sql @@ -1,3 +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. + CREATE TABLE IF NOT EXISTS `event_bus` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `account_id` varchar(255) NOT NULL COMMENT 'bus account id', diff --git a/adapter/persistence/src/main/resources/db/migration/V2__baseline.sql b/adapter/persistence/src/main/resources/db/migration/V2__baseline.sql index d1d2fb3..4a104e0 100644 --- a/adapter/persistence/src/main/resources/db/migration/V2__baseline.sql +++ b/adapter/persistence/src/main/resources/db/migration/V2__baseline.sql @@ -1,3 +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. + CREATE TABLE IF NOT EXISTS `event_connection` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `account_id` varchar(255) NOT NULL COMMENT 'event_connection account id', diff --git a/adapter/persistence/src/main/resources/db/migration/V3__change_target_transform_type.sql b/adapter/persistence/src/main/resources/db/migration/V3__change_target_transform_type.sql index 741ee69..edaf379 100644 --- a/adapter/persistence/src/main/resources/db/migration/V3__change_target_transform_type.sql +++ b/adapter/persistence/src/main/resources/db/migration/V3__change_target_transform_type.sql @@ -1,2 +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. + ALTER TABLE `event_target_class` CHANGE COLUMN `target_transform` `target_transform` TEXT NULL DEFAULT NULL ; diff --git a/adapter/persistence/src/main/resources/db/migration/V4__register_source_acs_mns.sql b/adapter/persistence/src/main/resources/db/migration/V4__register_source_acs_mns.sql index 04fe627..7e826f0 100644 --- a/adapter/persistence/src/main/resources/db/migration/V4__register_source_acs_mns.sql +++ b/adapter/persistence/src/main/resources/db/migration/V4__register_source_acs_mns.sql @@ -1 +1,16 @@ +# 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. + INSERT INTO `event_source_class` (`name`,`api_params`,`required_params`,`transform`,`visual_config`,`description`,`gmt_create`,`gmt_modify`) VALUES ('acs.mns','{\n \"RegionId\":{\n \"type\":\"String\",\n \"desc\":\"the region of aliyun mns.\",\n \"required\":true,\n \"defaultValue\":\"\"\n },\n \"QueueName\":{\n \"type\":\"String\",\n \"desc\":\"the queue name of aliyun mns.\",\n \"required\":true,\n \"defaultValue\":\"\"\n [...] diff --git a/adapter/persistence/src/main/resources/db/migration/V5__register_target_acs_dingtalk.sql b/adapter/persistence/src/main/resources/db/migration/V5__register_target_acs_dingtalk.sql index 166d437..31291a1 100644 --- a/adapter/persistence/src/main/resources/db/migration/V5__register_target_acs_dingtalk.sql +++ b/adapter/persistence/src/main/resources/db/migration/V5__register_target_acs_dingtalk.sql @@ -1,3 +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. + INSERT INTO `event_target_class` (`name`,`api_params`,`target_transform`,`required_params`,`visual_config`,`description`,`gmt_create`,`gmt_modify`) VALUES ('acs.dingtalk','{\n \"WebHook\":{\n \"type\":\"String\",\n \"desc\":\"the endpoint of webhook.\",\n \"required\":true\n },\n \"SecretKey\":{\n \"type\":\"String\",\n \"desc\":\"the secret key.\",\n \"required\":true\n },\n \"Body\":{\n \"type\":\"boolean\",\n \"desc\":\"the content of request\"\n }\n}','{ \"data\":\"${Body}\" }','{\n \"webHook\":\"${WebHook}\",\n \"secretKey\":\"${SecretKey}\",\n \"cl [...] \ No newline at end of file diff --git a/adapter/persistence/src/main/resources/db/migration/V6__register_target_acs_eventbridge.sql b/adapter/persistence/src/main/resources/db/migration/V6__register_target_acs_eventbridge.sql index 605147d..e4c20c1 100644 --- a/adapter/persistence/src/main/resources/db/migration/V6__register_target_acs_eventbridge.sql +++ b/adapter/persistence/src/main/resources/db/migration/V6__register_target_acs_eventbridge.sql @@ -1,3 +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. + INSERT INTO `event_target_class` (`name`,`api_params`,`target_transform`,`required_params`,`visual_config`,`description`,`gmt_create`,`gmt_modify`) VALUES ('acs.eventbridge','{\n \"RegionId\":{\n \"type\":\"String\",\n \"desc\":\"the region of aliyun eventbridge.\",\n \"required\":true\n },\n \"AliyunAccountId\":{\n \"type\":\"String\",\n \"desc\":\"the account id of aliyun eventbridge.\",\n \"required\":true\n },\n \"AliyunEventBus\":{\n \"type\":\"String\",\n \"desc\":\"the bus of aliyun eventbridge.\",\n \"required\":true\n },\n \"AccessKeyId\":{\n [...] diff --git a/adapter/persistence/src/main/resources/mybatis/EventApiDestinationMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventApiDestinationMapper.xml index 782ee56..8328b66 100644 --- a/adapter/persistence/src/main/resources/mybatis/EventApiDestinationMapper.xml +++ b/adapter/persistence/src/main/resources/mybatis/EventApiDestinationMapper.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="org.apache.rocketmq.eventbridge.adapter.persistence.apidestination.mybatis.mapper.EventApiDestinationMapper" > <resultMap id="BaseResultMap" type="org.apache.rocketmq.eventbridge.adapter.persistence.apidestination.mybatis.dataobject.ApiDestinationDO" > diff --git a/adapter/persistence/src/main/resources/mybatis/EventBusMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventBusMapper.xml index 8ce0e6c..3fc9bad 100644 --- a/adapter/persistence/src/main/resources/mybatis/EventBusMapper.xml +++ b/adapter/persistence/src/main/resources/mybatis/EventBusMapper.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="org.apache.rocketmq.eventbridge.adapter.persistence.bus.mybatis.mapper.EventBusMapper"> diff --git a/adapter/persistence/src/main/resources/mybatis/EventConnectionMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventConnectionMapper.xml index 69481ae..d17ac40 100644 --- a/adapter/persistence/src/main/resources/mybatis/EventConnectionMapper.xml +++ b/adapter/persistence/src/main/resources/mybatis/EventConnectionMapper.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="org.apache.rocketmq.eventbridge.adapter.persistence.connect.mybatis.mapper.EventConnectionMapper" > <resultMap id="BaseResultMap" type="org.apache.rocketmq.eventbridge.adapter.persistence.connect.mybatis.dataobject.ConnectionDO" > diff --git a/adapter/persistence/src/main/resources/mybatis/EventRuleMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventRuleMapper.xml index 937b7c8..60431c3 100644 --- a/adapter/persistence/src/main/resources/mybatis/EventRuleMapper.xml +++ b/adapter/persistence/src/main/resources/mybatis/EventRuleMapper.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="org.apache.rocketmq.eventbridge.adapter.persistence.rule.mybatis.mapper.EventRuleMapper"> diff --git a/adapter/persistence/src/main/resources/mybatis/EventSourceClassMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventSourceClassMapper.xml index 224d244..b017c19 100644 --- a/adapter/persistence/src/main/resources/mybatis/EventSourceClassMapper.xml +++ b/adapter/persistence/src/main/resources/mybatis/EventSourceClassMapper.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="org.apache.rocketmq.eventbridge.adapter.persistence.classes.mybatis.mapper.EventSourceClassMapper"> diff --git a/adapter/persistence/src/main/resources/mybatis/EventSourceMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventSourceMapper.xml index 320c1c8..633ba8f 100644 --- a/adapter/persistence/src/main/resources/mybatis/EventSourceMapper.xml +++ b/adapter/persistence/src/main/resources/mybatis/EventSourceMapper.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="org.apache.rocketmq.eventbridge.adapter.persistence.source.mybatis.mapper.EventSourceMapper"> diff --git a/adapter/persistence/src/main/resources/mybatis/EventSourceRunnerMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventSourceRunnerMapper.xml index 2d06dde..233b215 100644 --- a/adapter/persistence/src/main/resources/mybatis/EventSourceRunnerMapper.xml +++ b/adapter/persistence/src/main/resources/mybatis/EventSourceRunnerMapper.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="org.apache.rocketmq.eventbridge.adapter.persistence.source.mybatis.mapper.EventSourceRunnerMapper"> diff --git a/adapter/persistence/src/main/resources/mybatis/EventTargetClassMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventTargetClassMapper.xml index c4d3725..c10a10b 100644 --- a/adapter/persistence/src/main/resources/mybatis/EventTargetClassMapper.xml +++ b/adapter/persistence/src/main/resources/mybatis/EventTargetClassMapper.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="org.apache.rocketmq.eventbridge.adapter.persistence.classes.mybatis.mapper.EventTargetClassMapper"> diff --git a/adapter/persistence/src/main/resources/mybatis/EventTargetMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventTargetMapper.xml index 5b9c0da..f143dd1 100644 --- a/adapter/persistence/src/main/resources/mybatis/EventTargetMapper.xml +++ b/adapter/persistence/src/main/resources/mybatis/EventTargetMapper.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="org.apache.rocketmq.eventbridge.adapter.persistence.target.mybatis.mapper.EventTargetMapper"> diff --git a/adapter/persistence/src/main/resources/mybatis/EventTargetRunnerMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventTargetRunnerMapper.xml index 3251138..fe1ca91 100644 --- a/adapter/persistence/src/main/resources/mybatis/EventTargetRunnerMapper.xml +++ b/adapter/persistence/src/main/resources/mybatis/EventTargetRunnerMapper.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="org.apache.rocketmq.eventbridge.adapter.persistence.target.mybatis.mapper.EventTargetRunnerMapper"> diff --git a/adapter/persistence/src/main/resources/mybatis/EventTopicMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventTopicMapper.xml index edc8522..a86ef8d 100644 --- a/adapter/persistence/src/main/resources/mybatis/EventTopicMapper.xml +++ b/adapter/persistence/src/main/resources/mybatis/EventTopicMapper.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="org.apache.rocketmq.eventbridge.adapter.persistence.data.mybatis.mapper.EventTopicMapper"> diff --git a/adapter/persistence/src/main/resources/mybatis/EventTypeMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventTypeMapper.xml index 4fbe3ff..737f329 100644 --- a/adapter/persistence/src/main/resources/mybatis/EventTypeMapper.xml +++ b/adapter/persistence/src/main/resources/mybatis/EventTypeMapper.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > <mapper namespace="org.apache.rocketmq.eventbridge.adapter.persistence.type.mybatis.mapper.EventTypeMapper"> diff --git a/adapter/pom.xml b/adapter/pom.xml index ded0e28..dd34136 100644 --- a/adapter/pom.xml +++ b/adapter/pom.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8"?> +<!-- 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. --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> diff --git a/adapter/rpc/pom.xml b/adapter/rpc/pom.xml index e717ede..70ee7e5 100644 --- a/adapter/rpc/pom.xml +++ b/adapter/rpc/pom.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8"?> +<!-- 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. --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> diff --git a/common/pom.xml b/common/pom.xml index d15e3e2..75d01a4 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8"?> +<!-- 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. --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> diff --git a/domain/pom.xml b/domain/pom.xml index befab95..fd92923 100644 --- a/domain/pom.xml +++ b/domain/pom.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8"?> +<!-- 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. --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> diff --git a/start/pom.xml b/start/pom.xml index f5769f5..070cdff 100644 --- a/start/pom.xml +++ b/start/pom.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8"?> +<!-- 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. --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> diff --git a/start/src/main/resources/application.properties b/start/src/main/resources/application.properties index db2a440..70c8c2a 100644 --- a/start/src/main/resources/application.properties +++ b/start/src/main/resources/application.properties @@ -1,13 +1,30 @@ +# 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. + server.port=7001 management.server.port=7002 management.endpoints.web.base-path=/ ## database -spring.datasource.url=jdbc:mysql://localhost:3306/rocketmq-eventbridge?useUnicode=true&characterEncoding=utf8&useSSL=false +spring.datasource.url=jdbc:mysql://localhost:3306/rocketmq_eventbridge?useUnicode=true&characterEncoding=utf8&useSSL=false spring.datasource.driver-class-name=com.mysql.jdbc.Driver -spring.datasource.username=***** -spring.datasource.password=***** -spring.flyway.placeholderReplacement=false +spring.datasource.username=****** +spring.datasource.password=****** mybatis.mapper-locations=classpath:mybatis/*.xml +mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl +## flyway +spring.flyway.placeholderReplacement=false ## rocketmq rocketmq.namesrvAddr=localhost:9876 rocketmq.connect.endpoint=http://127.0.0.1:8082 @@ -15,6 +32,4 @@ rocketmq.cluster.name=DefaultCluster ## log app.name=rocketmq-eventbridge log.level=INFO -log.path=~ - -mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl \ No newline at end of file +log.path=~ \ No newline at end of file diff --git a/start/src/main/resources/logback-spring.xml b/start/src/main/resources/logback-spring.xml index 157a2ea..0c66c6d 100644 --- a/start/src/main/resources/logback-spring.xml +++ b/start/src/main/resources/logback-spring.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8" ?> +<!-- 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. --> + <configuration> <jmxConfigurator/> diff --git a/supports/connect-cloudevent-transform/pom.xml b/supports/connect-cloudevent-transform/pom.xml index 2d57519..1568dac 100644 --- a/supports/connect-cloudevent-transform/pom.xml +++ b/supports/connect-cloudevent-transform/pom.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8"?> +<!-- 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. --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> diff --git a/supports/connect-eventbridge-transform/pom.xml b/supports/connect-eventbridge-transform/pom.xml index 7f3075d..cae37c4 100644 --- a/supports/connect-eventbridge-transform/pom.xml +++ b/supports/connect-eventbridge-transform/pom.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8"?> +<!-- 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. --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> diff --git a/supports/connect-filter-transform/pom.xml b/supports/connect-filter-transform/pom.xml index 7fcbbb8..5e0a832 100644 --- a/supports/connect-filter-transform/pom.xml +++ b/supports/connect-filter-transform/pom.xml @@ -1,4 +1,14 @@ -<?xml version="1.0" encoding="UTF-8"?> +<!-- 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. --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
