Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ hs_err_pid*
.env
.flattened-pom.xml
.quarkus
.local-deploy
.local-deploy
4 changes: 1 addition & 3 deletions deploy/openshift/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ objects:
secretKeyRef:
name: exhort-secret
key: tpa.client.secret
- name: API_SNYK_DISABLED
value: "true"
- name: API_OSSINDEX_DISABLED
- name: API_TPA_DISABLED
value: "true"
- name: TELEMETRY_WRITE_KEY
valueFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public class CustomMetrics {
"snykRequest",
"getTrustedContent",
"tpaRequest",
"osvRequest",
"ossValidateCredentials",
"ossSplitReq",
"ossIndexRequest",
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/com/redhat/exhort/integration/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ private Constants() {}
public static final String SNYK_PROVIDER = "snyk";
public static final String OSS_INDEX_PROVIDER = "oss-index";
public static final String TRUSTED_CONTENT_PROVIDER = "trusted-content";
public static final String OSV_PROVIDER = "osv";
public static final String TPA_PROVIDER = "tpa";
public static final String UNKNOWN_PROVIDER = "unknown";

Expand Down Expand Up @@ -100,6 +101,9 @@ private Constants() {}
public static final String OSS_INDEX_AUTH_COMPONENT_API_PATH = "/authorized/component-report";
public static final String OSS_INDEX_VERSION_PATH = "/version";

public static final String OSV_NVD_PURLS_PATH = "/purls";
public static final String OSV_NVD_HEALTH_PATH = "/q/health";

public static final String TRUSTED_CONTENT_PATH = "/recommend";
public static final String TPA_ANALYZE_PATH = "/vulnerability/analyze";
public static final String TPA_HEALTH_PATH = "/health/live";
Expand All @@ -120,6 +124,7 @@ private Constants() {}
{
add(SNYK_PROVIDER);
add(OSS_INDEX_PROVIDER);
add(OSV_PROVIDER);
add(TPA_PROVIDER);
}
});
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading