Skip to content

Commit

Permalink
[fix] [build] rename schema_example.conf to schema_example.json (apac…
Browse files Browse the repository at this point in the history
…he#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`.
  • Loading branch information
poorbarcode authored and srinath-ctds committed Dec 20, 2023
1 parent 028b491 commit 15af3d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,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>
Expand Down Expand Up @@ -1808,7 +1808,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 -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ public void testSchemaCLI() throws Exception {
"upload",
topicName,
"-f",
"/pulsar/conf/schema_example.conf"
"/pulsar/conf/schema_example.json"
);
result.assertNoOutput();

Expand Down

0 comments on commit 15af3d0

Please sign in to comment.