Skip to content

Conversation

@omursahin
Copy link
Collaborator

No description provided.

@omursahin omursahin requested review from arcuri82 and Copilot and removed request for Copilot July 8, 2025 21:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR integrates the new http-patch-spring service into metrics, build scripts, EvoMaster benchmarks, Docker setup, and documentation.

  • Add http-patch-spring to statistics tables, CSVs, and dockerized SUT list
  • Register new Maven modules and include JARs in distribution and EvoMaster external/embedded controllers
  • Provide Docker Compose config, Dockerfile, and update README

Reviewed Changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
statistics/table_emb.md Added row for http-patch-spring
statistics/data.csv Added CSV entry for http-patch-spring
scripts/dockerize/data/sut.csv Added SUT line for http-patch-spring
scripts/dist.py Copy new SUT and runner JARs for http-patch-spring
jdk_11_maven/em/external/rest/pom.xml Register http-patch-spring module
jdk_11_maven/em/external/rest/http-patch-spring/.../pom.xml Configure shade plugin for external runner
jdk_11_maven/em/external/rest/http-patch-spring/.../ExternalEvoMasterController.java New External controller for http-patch-spring
jdk_11_maven/em/embedded/rest/pom.xml Register http-patch-spring module
jdk_11_maven/em/embedded/rest/http-patch-spring/.../pom.xml POM for embedded benchmark JAR
jdk_11_maven/em/embedded/rest/http-patch-spring/.../EmbeddedEvoMasterController.java New Embedded controller for http-patch-spring
jdk_11_maven/cs/rest/pom.xml Register http-patch-spring in cs/rest
jdk_11_maven/cs/rest/http-patch-spring/pom.xml Added SpringDoc dependency and repackage config
dockerfiles/http-patch-spring.yaml Added Docker Compose service
dockerfiles/http-patch-spring.dockerfile Dockerfile for http-patch-spring SUT
README.md Increment count, add HTTP Patch Spring entry

<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>em.external.com.pfa.app.ExternalEvoMasterController
Copy link

Copilot AI Jul 8, 2025

Choose a reason for hiding this comment

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

The Main-Class manifest entry refers to the wrong package path. It should be "em.external.http.patch.spring.ExternalEvoMasterController" to match the actual class.

Suggested change
<Main-Class>em.external.com.pfa.app.ExternalEvoMasterController
<Main-Class>em.external.http.patch.spring.ExternalEvoMasterController

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

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

@omursahin this seems indeed wrong, isn't it?

}

@Override
public List<DbSpecification> getDbSpecifications() {
Copy link

Copilot AI Jul 8, 2025

Choose a reason for hiding this comment

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

The dbSpecification field is never initialized, leading to a null return. Consider initializing it (e.g., an empty list) or wiring actual DB specs to avoid NPEs during test runs.

Copilot uses AI. Check for mistakes.

@Override
public List<AuthenticationDto> getInfoForAuthentication() {
return null;
Copy link

Copilot AI Jul 8, 2025

Choose a reason for hiding this comment

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

Returning null for authentication info can cause issues; prefer returning an empty list when no auth is needed.

Suggested change
return null;
return List.of();

Copilot uses AI. Check for mistakes.
@arcuri82
Copy link
Contributor

arcuri82 commented Jul 9, 2025

@omursahin I see comments from Copilot here... is it something you activated? or is it GitHub adding it without asking?

<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>em.external.com.pfa.app.ExternalEvoMasterController
Copy link
Contributor

Choose a reason for hiding this comment

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

@omursahin this seems indeed wrong, isn't it?

@omursahin omursahin requested a review from arcuri82 July 9, 2025 09:04
@arcuri82 arcuri82 merged commit ee83305 into develop Jul 9, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants