Browse Source
There is incompatibility between resteasy in quarkus (6.x) to the one used in PNC (3.x), the API design has changed quite a bit and it seems impossible to have both exist on the classpath at the same time. For the one endpoint we need (Build) then our own restclient should do12-add-pnc-build-support
3 changed files with 29 additions and 32 deletions
@ -0,0 +1,12 @@ |
|||||||
|
package com.redhat.pctsec.model.api.service; |
||||||
|
import jakarta.ws.rs.*; |
||||||
|
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; |
||||||
|
import org.jboss.pnc.dto.Build; |
||||||
|
|
||||||
|
@Path("pnc-rest/v2/builds") |
||||||
|
@RegisterRestClient |
||||||
|
public interface AltPncService { |
||||||
|
@GET |
||||||
|
@Path("{id}") |
||||||
|
Build getBuild(@PathParam("id") String id); |
||||||
|
} |
||||||
Loading…
Reference in new issue