diff --git a/deploy/openshift/template.yaml b/deploy/openshift/template.yaml index e7b4f3c2..b7e28407 100644 --- a/deploy/openshift/template.yaml +++ b/deploy/openshift/template.yaml @@ -123,6 +123,10 @@ objects: value: '8080' - name: QUARKUS_MANAGEMENT_PORT value: '9000' + - name: QUARKUS_REDIS_MAX_POOL_SIZE + value: '20' + - name: QUARKUS_REDIS_MAX_POOL_WAITING + value: '100' securityContext: runAsNonRoot: true resources: diff --git a/src/main/java/com/redhat/exhort/integration/providers/osvnvd/OsvNvdResponseHandler.java b/src/main/java/com/redhat/exhort/integration/providers/osvnvd/OsvNvdResponseHandler.java index 8778bf3f..0709811d 100644 --- a/src/main/java/com/redhat/exhort/integration/providers/osvnvd/OsvNvdResponseHandler.java +++ b/src/main/java/com/redhat/exhort/integration/providers/osvnvd/OsvNvdResponseHandler.java @@ -87,6 +87,9 @@ private List toIssues(String ref, ArrayNode response) { var issue = new Issue().source(Constants.OSV_NVD_PROVIDER); String cve = getTextValue(data, "cveId"); + if (cve == null) { + return; + } issue.id(cve).cves(List.of(cve)); issue.title(getTextValue(data, "summary")); if (issue.getTitle() == null || issue.getTitle().isEmpty()) {