Skip to content

Commit

Permalink
some pom
Browse files Browse the repository at this point in the history
  • Loading branch information
kgyrtkirk committed Jun 4, 2024
1 parent fb4b32e commit 90c88ae
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 35 deletions.
8 changes: 8 additions & 0 deletions quidem-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,16 @@
<arguments>
<argument>-classpath</argument>
<classpath/>
<argument>-Dquidem.uri=Xa</argument>
<argument>org.apache.druid.quidem.Launcher</argument>
</arguments>
<systemProperties>
<projectProperties />
<systemProperty>
<key>quidem.uri</key>
<value>myvalue</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
</plugins>
Expand Down
11 changes: 11 additions & 0 deletions quidem-it/src/main/java/org/apache/druid/quidem/Launcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
import org.apache.druid.sql.calcite.SqlTestFrameworkConfig.SqlTestFrameworkConfigStore;
import org.apache.druid.sql.calcite.util.SqlTestFramework;

import java.util.Properties;

public class Launcher
{
static final SqlTestFrameworkConfigStore CONFIG_STORE = new SqlTestFrameworkConfigStore(
Expand Down Expand Up @@ -57,11 +59,20 @@ public void shutdown()

public static void main(String[] args) throws Exception
{
try {
String quidemUri = System.getProperty(QUIDEM_URI, "druidtest:///");
Properties p = System.getProperties();
for ( Object string : p.keySet()) {
log.info("[%s] -> %s", string, p.get(string));
}
log.info("Starting Quidem with URI[%s]", quidemUri);

Launcher launcher = new Launcher(quidemUri);
launcher.start();
launcher.lifecycle.join();
} catch (Exception e) {
e.printStackTrace();

}
}
}
35 changes: 0 additions & 35 deletions quidem-it/src/main/resources/log4j2.xml

This file was deleted.

0 comments on commit 90c88ae

Please sign in to comment.