This is an automated email from the ASF dual-hosted git repository. yubiao pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 31c9b9b8b99d8714f3ccdd510813225a4c6a0490 Author: fengyubiao <[email protected]> AuthorDate: Fri Oct 27 14:48:30 2023 +0800 [fix] [build] rename schema_example.conf to schema_example.json (#21447) ### Motivation Since the files will be checked for `LICENSE` whose name is a suffix with `.conf`. But we can not add a LICENSE definition for the file `schema_example.conf` because it is a `JSON` file. Note: the file `schema_example.conf` is only used for the integration test `CLITest.java`. ### Modifications Rename `schema_example.conf` to `schema_example.json`. (cherry picked from commit 517961e749120e8f8cb5217a56cf37bbb50183ec) --- conf/{schema_example.conf => schema_example.json} | 0 pom.xml | 4 ++-- .../test/java/org/apache/pulsar/tests/integration/cli/CLITest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/schema_example.conf b/conf/schema_example.json similarity index 100% rename from conf/schema_example.conf rename to conf/schema_example.json diff --git a/pom.xml b/pom.xml index 33176ee7063..f688fa55aca 100644 --- a/pom.xml +++ b/pom.xml @@ -1648,7 +1648,7 @@ flexible messaging model and an intuitive client API.</description> <exclude>**/ByteBufCodedOutputStream.java</exclude> <exclude>**/ahc.properties</exclude> <exclude>bin/proto/*</exclude> - <exclude>conf/schema_example.conf</exclude> + <exclude>conf/schema_example.json</exclude> <exclude>data/**</exclude> <exclude>logs/**</exclude> <exclude>**/circe/**</exclude> @@ -1773,7 +1773,7 @@ flexible messaging model and an intuitive client API.</description> <exclude>**/requirements.txt</exclude> <!-- Configuration Templates --> - <exclude>conf/schema_example.conf</exclude> + <exclude>conf/schema_example.json</exclude> <exclude>**/templates/*.tpl</exclude> <!-- helm files --> diff --git a/tests/integration/src/test/java/org/apache/pulsar/tests/integration/cli/CLITest.java b/tests/integration/src/test/java/org/apache/pulsar/tests/integration/cli/CLITest.java index 7e8f5542924..f13a4dcfbdc 100644 --- a/tests/integration/src/test/java/org/apache/pulsar/tests/integration/cli/CLITest.java +++ b/tests/integration/src/test/java/org/apache/pulsar/tests/integration/cli/CLITest.java @@ -402,7 +402,7 @@ public class CLITest extends PulsarTestSuite { "upload", topicName, "-f", - "/pulsar/conf/schema_example.conf" + "/pulsar/conf/schema_example.json" ); result.assertNoOutput();
