Jonathan Christison
c7bd13c3ac
Attempt to add PNC Client (Currently Broken)
...
Hit a bug with pnc rest-easy client builder using javax rather than
jakarta which means the class fails to load at runtime for some reason,
i've tried various dependency inclusions and exclusions as well as using
classic resteasy-client in quarkus, all either cause duplicates or give
the same error
```
java.lang.RuntimeException: java.lang.ClassNotFoundException: org.glassfish.jersey.client.JerseyClientBuilder
javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:86)
at org.jboss.pnc.client.ClientBase.<init>(ClientBase.java:76)
at org.jboss.pnc.client.ArtifactClient.<init>(ArtifactClient.java:22)
at com.redhat.pctsec.model.api.service.PncService.<init>(PncService.java:31)
```
3 years ago
Jonathan Christison
bae9ca9be8
Add quarkus-kubernetes-config for DB setup on stage
...
Also set swagger-ui to always be enabled
3 years ago
Jonathan Christison
603dc500de
Hacking around eventBus injection by passing it to be set
...
It will be better to instantiate EventBus directly but not sure on the
constructor for this
3 years ago
Jonathan Christison
354745f7a0
Still adding ORM
3 years ago
Jonathan Christison
72e3b0f0b3
Start adding picocli as way of verifying CLI args
3 years ago
Jonathan Christison
7fffbe22ba
Decouple ScanRequest from tekton runs
...
We will use an eventbus to listen for "executed"/triggered ScanRequests
and respond with tekton runID to check up on later
3 years ago
Jonathan Christison
5149a807f3
Fix typo add swagger-ui
3 years ago
Jonathan Christison
045df604a0
Start adding ORM support
3 years ago
Jonathan Christison
6b9aa75213
Add tekton task, use defaultClient, injection woes
3 years ago
Jonathan Christison
c3aa30b2b4
Add jackson support
3 years ago
Jonathan Christison
24660d8f85
Start adding validation and some primative endpoints
3 years ago
Jonathan Christison
5f8498bb0c
Remove implementation to start again
3 years ago
Nicholas Caughey
641bac76cb
fixing duplicate dependencys
3 years ago
Jonathan Christison
02c461395c
Fix problem with openshift deploy and jakarta injection
3 years ago
Nicholas Caughey
865c628bb2
fixed the pom and other issues from a bad merge
3 years ago
Nicholas Caughey
e35882520f
added the brewnvr innvocation
3 years ago
Nicholas Caughey
a71996607c
contians the files for testing createoing tekton tasks
3 years ago
Nicholas Caughey
1c1007b811
changing the groupid to be associated with the project
3 years ago
Jonathan Christison
1081288418
Hacky attempt at adding DB Dev services for local development
3 years ago
jperezde
fee2bd340f
Added Kerberos auth to methods
3 years ago
jperezde
af4a80b04a
Added Kerberos dependency
3 years ago
jperezde
d3e2990851
Modified application.properties
3 years ago
jperezde
94d72b95c8
Added kerberos dependendency in pom.xml
3 years ago
jperezde
6df7da6c10
Test Dependency
3 years ago
Nicholas Caughey
191322b237
added example of using hibernate orm, rest of the objects should be converted to use it (this will be the last commit straight to main proper branches should be used moving forwards)
3 years ago
Nicholas Caughey
d3c89fb0c3
added the connection for local db which has been setup
3 years ago
Nicholas Caughey
7fd4c54b30
added the fix for the post request so works as intended and added a link for the working google docs
3 years ago
Nicholas Caughey
64e8c67fd2
removed a bunch of currently not used code that was accidently pushed
3 years ago
Nicholas Caughey
19a82c1280
Only contains the very basic API code, a lot of it is only there for demonstration purposes, will add the actual final code/files once the db component is written
3 years ago