Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions extensions-core/druid-basic-security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@
<version>${project.parent.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.druid</groupId>
<artifactId>druid-services</artifactId>
<version>${project.parent.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.druid</groupId>
<artifactId>druid-server</artifactId>
Expand Down
6 changes: 0 additions & 6 deletions server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@
<version>${project.parent.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.druid</groupId>
<artifactId>druid-console</artifactId>
<version>${project.parent.version}</version>
<scope>runtime</scope>
</dependency>
Copy link
Copy Markdown
Contributor

@vogievetsky vogievetsky May 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heads up: I am reverting this change here 592ddd4

Removing the druid-console dependency makes the web console no longer be part of Druid...

image

The e2e tests do not run unless there are JS changes which is how this PR passed CI. I was struggling to figure out why my console PR (#12489) was failing to even start the e2e tests when it turned out that the console was just gone...

image

So I am adding this dependency back. Fun fact, my PR (linked above) will actually improve the console build speed a little bit by removing the stylus dependency but obviously not as much as not building the console all together.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on ^, I think maybe we should consider running web e2e tests on java changes, instead of just web-console changes.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running web e2e tests on java changes may be too burden. IMO, we can add one test case to check if localhost:888/unified-console.html returns HTTP 200.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vogievetsky Do you mean the druid-console.jar is missing in the distribution package after deleting the depedency declaration from server/pom.xml ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The final distribution package is packaged by maven-assembly-plugin. I think we can make some modifications to the assembly file under distribution/src/assembly/assembly.xml to include the druid-console module in the final package. If it's viable, we don't need to include druid-console module in the druid-server module which really looks a little bit strange.

<dependency>
<groupId>org.apache.druid</groupId>
<artifactId>druid-core</artifactId>
Expand Down