Nicholas Caughey
5ec9e2392f
Merge branch 'db_schema' into 'main'
...
Db schema
See merge request pct-security/covscanrest!2
3 years ago
Nicholas Caughey
5246c2f604
Merge branch 'main' into 'db_schema'
...
# Conflicts:
# pom.xml
# src/main/java/dto/BrewObj.java
# src/main/java/dto/BrewObjPayload.java
# src/main/java/dto/ConnectDB.java
# src/main/java/dto/GitObj.java
# src/main/java/dto/GitObjPayload.java
# src/main/java/dto/PncObj.java
# src/main/java/dto/PncObjPayload.java
# src/main/java/dto/ScanObj.java
# src/main/java/dto/ScanObjPayload.java
# src/main/java/rest/CreateGetResource.java
# src/main/java/rest/CreateScanRequest.java
# src/main/java/rest/CreateScanResource.java
# src/main/java/rest/CreateStartScan.java
# src/main/java/rest/RemoveScan.java
# src/main/resources/application.properties
3 years ago
Nicholas Caughey
5de2051b86
updated exceptions to throw on unimplemented fu nctionality
3 years ago
Nicholas Caughey
0173d5e9bc
added exceptions to unimplemented code
3 years ago
Nicholas Caughey
2f043bacc3
update tekton
3 years ago
Nicholas Caughey
39cd02490e
added the missing file for creating tasks from scratch
3 years ago
Nicholas Caughey
4c21442cbe
moved the baseScan yaml to the correct folder
3 years ago
Nicholas Caughey
76f5978777
error in the yaml
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
Nicholas Caughey
0d7678a990
Merge branch 'kerberos_auth' into 'main'
...
Add Kerberos support for REST Clients
See merge request pct-security/covscanrest!3
3 years ago
Jonathan Christison
fa4ea264e2
Add a comment on how the file was created
3 years ago
Jonathan Christison
e755fe945c
Use edge TLS termination
...
Quarkus < 3.x doesn't support some of the route options, we need to
apply this YAML instead and disable auto route enable
still todo, combine yaml's into one for easier oc apply -f <COMBINED> or
have quarkus apply the snippets for us
3 years ago
Jonathan Christison
c15a0c5ee1
Add example deploy and set TLS to edge
3 years ago
Jonathan Christison
b1942b512a
Change kerberos settings
3 years ago
Jonathan Christison
e3fcecac06
Change to osh rather than osh-stage
...
Kerberos is tied to `osh-pct-security-tooling.apps.ocp-c1.prod.psi.redhat.com` not `osh-stage-pct-security-tooling.apps.ocp-c1.prod.psi.redhat.com`
3 years ago
Jonathan Christison
2e38ec0461
Add krb5.conf to container as config map
3 years ago
Jonathan Christison
4526231088
Secure volume mount example
3 years ago
Jonathan Christison
1081288418
Hacky attempt at adding DB Dev services for local development
3 years ago
Leonid Bossis
63fef64f31
checkpoint #2
3 years ago
Leonid Bossis
a178a7fc18
add logging facility
3 years ago
Leonid Bossis
8975fff63d
change db table field names from mixed naming convention to pythonic convention xxx_yyy_zzz and stop using CamelCase
3 years ago
Leonid Bossis
c61e6fb0f6
checkpoint #1
3 years ago
jperezde
fee2bd340f
Added Kerberos auth to methods
3 years ago
jperezde
1ab0639941
Test keytab
3 years ago
jperezde
af4a80b04a
Added Kerberos dependency
3 years ago
Leonid Bossis
c6385a7544
First changes after code review, making use of prepared statements, code cleanup
3 years ago
jperezde
d3e2990851
Modified application.properties
3 years ago
jperezde
94d72b95c8
Added kerberos dependendency in pom.xml
3 years ago
jperezde
22c0be081b
Test install Kerberos
3 years ago
jperezde
6df7da6c10
Test Dependency
3 years ago
Juan Perez de Algaba
bb63891276
Update schema.sql to replace covscan for osh
3 years ago
Juan Perez de Algaba
674e248c1d
Update modified covscanrest for osh
3 years ago
jperezde
f3c9338181
Modified schema, create scraper and populate file for offerings file
3 years ago
Juan Perez de Algaba
f502e758c7
Uploaded schema file
3 years ago
Juan Perez de Algaba
9449cf7fd0
Add new directory for db schema
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
314f3e90c1
Merge branch 'Update_docs' into 'main'
...
Updated Readme
See merge request pct-security/covscanrest!1
3 years ago
jperezde
798891b17d
Updated Readme
3 years ago
Nicholas Caughey
5f3b63fd4d
destroy connections correctly and return some of the objects correctly
3 years ago
Nicholas Caughey
ea665ab53f
some code cleanup
3 years ago
Nicholas Caughey
db99f2657d
all data objects that were missing, added the put and delete endpoints, still lots of cleaning up to do do but all the basic database end points dune, no verification etc yet still to be added'
3 years ago
Nicholas Caughey
770e3a6839
all the temporary inserts are in, code needs full clearning up etc
3 years ago
Nicholas Caughey
b8d4237e39
added git scan insert
3 years ago
Nicholas Caughey
ce9b1c536f
added input for brewscans as a temporary solution need to consolodate into a single method that applys business logic
3 years ago
Nicholas Caughey
9c1a49118b
added files for brew objects and anded insert and select sql for postgress
3 years ago
Nicholas Caughey
6f3da3e158
added working get statment from DB
3 years ago
Nicholas Caughey
2b413d5538
fixing the DB connection string
3 years ago
Nicholas Caughey
d3c89fb0c3
added the connection for local db which has been setup
3 years ago
Nicholas Caughey
463ec22b2d
updated readme to represent API design
3 years ago