-
Notifications
You must be signed in to change notification settings - Fork 22
Http patch spring drivers #146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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-springto 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 |
Copilot
AI
Jul 8, 2025
There was a problem hiding this comment.
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.
| <Main-Class>em.external.com.pfa.app.ExternalEvoMasterController | |
| <Main-Class>em.external.http.patch.spring.ExternalEvoMasterController |
There was a problem hiding this comment.
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() { |
Copilot
AI
Jul 8, 2025
There was a problem hiding this comment.
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.
|
|
||
| @Override | ||
| public List<AuthenticationDto> getInfoForAuthentication() { | ||
| return null; |
Copilot
AI
Jul 8, 2025
There was a problem hiding this comment.
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.
| return null; | |
| return List.of(); |
|
@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 |
There was a problem hiding this comment.
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?
No description provided.