Skip to content

Commit 464f6f6

Browse files
committed
[test] Add fluss compatibility test framework
1 parent 665e4e8 commit 464f6f6

File tree

33 files changed

+4834
-0
lines changed

33 files changed

+4834
-0
lines changed

fluss-client/src/main/java/org/apache/fluss/client/admin/Admin.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@
6666
* The administrative client for Fluss, which supports managing and inspecting tables, servers,
6767
* configurations and ACLs.
6868
*
69+
* <p>Note: Any API changes should be accompanied by corresponding compatibility tests added in the
70+
* fluss-compatibility-test module.
71+
*
6972
* @since 0.1
7073
*/
7174
@PublicEvolving
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one
4+
or more contributor license agreements. See the NOTICE file
5+
distributed with this work for additional information
6+
regarding copyright ownership. The ASF licenses this file
7+
to you under the Apache License, Version 2.0 (the
8+
"License"); you may not use this file except in compliance
9+
with the License. You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
-->
19+
<project xmlns="http://maven.apache.org/POM/4.0.0"
20+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22+
<parent>
23+
<artifactId>fluss-compatibility-test</artifactId>
24+
<groupId>org.apache.fluss</groupId>
25+
<version>0.8-SNAPSHOT</version>
26+
</parent>
27+
<modelVersion>4.0.0</modelVersion>
28+
29+
<artifactId>fluss-compatibility-test-0.6</artifactId>
30+
<name>Fluss : Compatibility Test : 0.6</name>
31+
32+
<properties>
33+
<maven.compiler.source>11</maven.compiler.source>
34+
<maven.compiler.target>11</maven.compiler.target>
35+
</properties>
36+
37+
38+
<dependencies>
39+
<dependency>
40+
<groupId>org.apache.fluss</groupId>
41+
<artifactId>fluss-compatibility-test-common</artifactId>
42+
<version>${project.version}</version>
43+
<type>test-jar</type>
44+
<scope>test</scope>
45+
</dependency>
46+
47+
<!-- Fluss Client dependency. The groupId need to be set as 'com.alibaba.fluss' for fluss-0.6 -->
48+
<dependency>
49+
<groupId>com.alibaba.fluss</groupId>
50+
<artifactId>fluss-client</artifactId>
51+
<version>0.6.1</version>
52+
<scope>test</scope>
53+
</dependency>
54+
</dependencies>
55+
56+
<build>
57+
<plugins>
58+
<plugin>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-deploy-plugin</artifactId>
61+
<configuration>
62+
<skip>true</skip>
63+
</configuration>
64+
</plugin>
65+
</plugins>
66+
</build>
67+
</project>

0 commit comments

Comments
 (0)