Skip to content

Refactor: Port apis-web to Vert.x 4 to Fix Build Failures #92

Description

@krrish175-byte

Description:

The apis-web module currently fails to build because it relies on older Vert.x 3.x APIs (e.g., deprecated Router methods, HttpClient), while the parent apis-bom enforces newer Vert.x 4.x/5.x dependencies. This version mismatch blocks the module from compiling and prevents any new development or testing on the web component.

Goal:

Update the apis-web source code to be compatible with Vert.x 4.x.

Acceptance Criteria:

Dependency Update: Ensure pom.xml correctly inherits the Vert.x version from apis-bom without conflict.

Code Changes:

Replace Router::router(Vertx) with Router::router(Vertx).
Update HttpClient usage to WebClient or the new HttpClient API if applicable.
Fix any other compilation errors related to breaking changes in Vert.x 4.

Verification:

The module must compile successfully (mvn clean package -pl apis-web).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions