* Add quarkus-elytron-security-properties to enable application properties supporting plaintext http
* Changes to `application.properties` to use openshift secrets in openshift env and pssaas:pssaas in dev
* Clean up of old config options
In this commit
* Dont apply global properties to brew builds
* Remove `-p` from tekton tasks, this will come from scan properties
* Delete old pipelines and tasks
See
https://orch.psi.redhat.com/pnc-web/#/projects/947
```
bacon pnc project list-builds 947 --profile=production -o >
cpaas_maven_builds.json #takes a long time
cat cpaas_maven_builds.json | jq '.[].id' > buildids.lst
for bid in `tail -n 50 buildids.lst`; do printf "{\"build-id\":$bid,\"type\":\"pnc\"},"; done
```
The pipeline clearup seems to work but taskrun clearup fails for some
reason
```
All but 10 PipelineRuns(Completed) deleted in namespace "pct-security-tooling"
Error: failed to delete TaskRun "osh-scan-scm-taskrun-test-pjtvw":
taskruns.tekton.dev "osh-scan-scm-taskrun-test-pjtvw" is forbidden: User
"system:serviceaccount:pct-security-tooling:osh" cannot delete resource
"taskruns" in API group "tekton.dev" in the namespace
"pct-security-tooling"; failed to delete TaskRun
"osh-scan-scm-taskrun-test-9gx7z": taskruns.tekton.dev
"osh-scan-scm-taskrun-test-9gx7z" is forbidden: User
"system:serviceaccount:pct-security-tooling:osh" cannot delete resource
"taskruns" in API group "tekton.dev" in the namespace
"pct-security-tooling"; failed to delete TaskRun
"osh-scan-scm-taskrun-test-g7vlh": taskruns.tekton.dev
"osh-scan-scm-taskrun-test-g7vlh" is forbidden: User
"system:serviceaccount:pct-security-tooling:osh" cannot delete resource
"taskruns" in API group "tekton.dev" in the namespace
"pct-security-tooling"; ....
```
* Alter tekton pipeline/task for from source (haven't done brew builds
yet)
* Propergate scan options (no validation) it be better to cast to the
paramMapper and also have paramMapper give the re-parsed mockbuild
command
Annotate Getters and Hibernate and Jackson weren't playing nice
resulting in errors like -
```
com.fasterxml.jackson.databind.JsonMappingException: Unable to perform requested lazy initialization [com.redhat.pctsec.model.ScanRequests.globalScanProperties] - session is closed and settings disallow loading outside the Session (through reference chain: com.redhat.pctsec.model.Scan["scanRequests"]->com.redhat.pctsec.model.ScanRequests["globalScanProperties"])
```
Rearrange fields above methods in Scan
Copied the PSSaaS approach, did try inheritance on the `git` class for
`scanChainGit` but caused problems with deserialization not matching
`Component` so hack was to duplicate it, will need to sort out the
structures at some point see #11