Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f93079f
NCL-9544 Migration to Quarkus. Includes annotation changes and fixes …
rnc Feb 25, 2026
c8f3eaa
Update git-commit-id-plugin
rnc Mar 3, 2026
ea6a713
Update parent and tidy poms
rnc Mar 3, 2026
c909ded
Use jandex plugin rather than beans.xml
rnc Mar 3, 2026
583ead0
Fix LoggingFilter
rnc Mar 5, 2026
a22030f
Fix communication & source-code-manager
rnc Mar 5, 2026
335d8c5
Fix Quarkus CDI warnings
rnc Mar 5, 2026
d376e01
Move lifecycle to application
rnc Mar 5, 2026
f69503e
Use Logger rather than lombok
rnc Mar 6, 2026
7bc676d
Add Transactional to REST API
rnc Mar 6, 2026
6e19f1e
Move logging code to logging subdirectory
rnc Mar 6, 2026
6e59dc0
Use native junit assertions
rnc Mar 6, 2026
841a6a3
NCL-9544 - convert tests to QuarkusTest, Junit5 and in-memory H2.
rnc Mar 6, 2026
4e435b6
Fix QuarkusTransaction issues
rnc Mar 10, 2026
3dcb90c
Remove META-INFO
rnc Mar 10, 2026
e05222e
Remove unused code
rnc Mar 11, 2026
35a2fbb
Update application.yaml and beans.xml
rnc Mar 11, 2026
448c04f
Fix wiremock dependencies
rnc Mar 10, 2026
28c7a7b
Fix tests and code cleanup
rnc Mar 11, 2026
dc7c165
Code and pom cleanup and fix warnings
rnc Mar 11, 2026
9105c76
Add test da-config.json and fix .gitignore
rnc Mar 12, 2026
42b36f5
Exclude o11yphant from dependencies
rnc Mar 12, 2026
41eea30
Update skyscreamer:jsonassert
rnc Mar 12, 2026
683b1dc
NCL-9585 Enable and fix swagger.
rnc Mar 13, 2026
5a2c51d
NCL-9589 Convert to use spotless
rnc Mar 13, 2026
6a5fc6e
NCL-9589 Use text blocks
rnc Mar 13, 2026
6357d26
NCL-9589 Fix spellings
rnc Mar 13, 2026
d8d834b
NCL-9589 Update to 4.0.0-SNAPSHOT
rnc Mar 13, 2026
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
24 changes: 10 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
.gitignore
.classpath
.project
.settings
.factorypath
*~
*/target
/target/
# Maven
target/
settings.xml

# IntelliJ
*.iml
*.pyc
.idea
da-config.json
testsuite/random
testsuite/**/arquillian.properties

# VSCode
.vscode

# auto-generated java code
/common/src/main/java/org/jboss/da/common/Constants.java
nb-configuration.xml
nbactions-*.xml
145 changes: 48 additions & 97 deletions application/pom.xml
Original file line number Diff line number Diff line change
@@ -1,103 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.da</groupId>
<artifactId>parent</artifactId>
<version>3.2.0-SNAPSHOT</version>
</parent>
<artifactId>application</artifactId>
<name>application</name>
<packaging>ear</packaging>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.da</groupId>
<artifactId>parent</artifactId>
<version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>application</artifactId>
<packaging>jar</packaging>
<name>application</name>
<description>Quarkus application for Dependency Analyzer</description>

<dependencies>
<!-- Project modules -->
<dependency>
<groupId>org.jboss.da</groupId>
<artifactId>communication</artifactId>
<type>ejb</type>
</dependency>
<dependency>
<groupId>org.jboss.da</groupId>
<artifactId>source-code-manager</artifactId>
<type>ejb</type>
</dependency>
<dependency>
<groupId>org.jboss.da</groupId>
<artifactId>reports-model</artifactId>
<type>ejb</type>
</dependency>
<dependency>
<groupId>org.jboss.da</groupId>
<artifactId>reports-backend</artifactId>
<type>ejb</type>
</dependency>
<dependency>
<groupId>org.jboss.da</groupId>
<artifactId>reports-rest</artifactId>
<type>war</type>
</dependency>
</dependencies>
<properties>
<quarkus.package.jar.type>uber-jar</quarkus.package.jar.type>
</properties>

<build>
<resources>
<resource>
<filtering>false</filtering>
<directory>src/main/resources</directory>
</resource>
<resource>
<filtering>false</filtering>
<directory>src/main/java</directory>
<includes>
<include>**</include>
</includes>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<dependencies>
<dependency>
<groupId>org.jboss.da</groupId>
<artifactId>reports-rest</artifactId>
</dependency>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>2.9</version>
<configuration>
<filtering>true</filtering>
<version>6</version>
<defaultLibBundleDir>lib</defaultLibBundleDir>
<finalName>dependency-analysis</finalName>
<modules>
<ejbModule>
<groupId>org.jboss.da</groupId>
<artifactId>communication</artifactId>
</ejbModule>
<ejbModule>
<groupId>org.jboss.da</groupId>
<artifactId>reports-model</artifactId>
</ejbModule>
<ejbModule>
<groupId>org.jboss.da</groupId>
<artifactId>reports-backend</artifactId>
</ejbModule>
<webModule>
<groupId>org.jboss.da</groupId>
<artifactId>reports-rest</artifactId>
</webModule>
</modules>
<fileNameMapping>no-version</fileNameMapping>
<outputDirectory>${outDirectory}</outputDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<configuration>
<targetDir>target</targetDir>
<filename>dependency-analysis.ear</filename>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
</build>
<!-- Quarkus extensions -->
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-config-yaml</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-jdbc-postgresql</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-openapi</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>io.quarkus</groupId>-->
<!-- <artifactId>quarkus-oidc</artifactId>-->
<!-- </dependency>-->
</dependencies>

<build>
<plugins>
<plugin>
<groupId>io.quarkus.platform</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<configuration>
<finalName>dependency-analysis</finalName>
</configuration>
</plugin>
</plugins>
</build>
</project>
28 changes: 0 additions & 28 deletions application/src/main/application/META-INF/application.xml

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions application/src/main/application/META-INF/persistence.xml

This file was deleted.

21 changes: 21 additions & 0 deletions application/src/main/java/org/jboss/da/application/Lifecycle.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package org.jboss.da.application;

import jakarta.enterprise.context.ApplicationScoped;

import io.quarkus.logging.Log;
import io.quarkus.runtime.Shutdown;
import io.quarkus.runtime.Startup;

@ApplicationScoped
public class Lifecycle {

@Startup
void init() {
Log.info("DA started");
}

@Shutdown
void shutdown() {
Log.info("DA shutdown");
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd"
bean-discovery-mode="all">
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_2_0.xsd"
bean-discovery-mode="annotated">
</beans>
244 changes: 244 additions & 0 deletions application/src/main/resources/META-INF/resources/index.html

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions application/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
quarkus:
http:
enable-compression: true
enable-decompression: true
swagger-ui:
always-include: true
websocket:
dispatch-to-worker: true
hibernate-orm:
log:
sql: false
database:
generation: ${persistence.hibernate.hbm2ddl.auto:update}
# graceful shutdown in case Quarkus is still processing requests
shutdown:
timeout: 30
index-dependency:
pnc-jandex:
group-id: "org.jboss.pnc"
log:
console:
format: "%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c{3.}] (%t) %s%e%n"
json:
~: false
exception-output-type: formatted
category:
"org.jboss.pnc":
level: DEBUG
"com.arjuna.ats.jta":
# Set to WARN if you want to see all the exceptions
level: ERROR
level: INFO
Loading