Skip to content

Commit

Permalink
chore: debloat watchdog-agent in terms of parameters and tests (#153)
Browse files Browse the repository at this point in the history
* chore: delete parameters from watchdog-agent

* chore: delete tests from watchdog-agent
  • Loading branch information
algomaster99 authored Mar 1, 2024
1 parent 3cc4bc4 commit 26e891e
Show file tree
Hide file tree
Showing 55 changed files with 0 additions and 29,846 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public class Options {
private static final Logger LOGGER = LoggerFactory.getLogger(Options.class);
private Map<String, Set<Provenance>> sbom;
private boolean skipShutdown = false;
private String algorithm = "SHA-256";

public Options(String agentArgs) {
String[] args = agentArgs.split(",");
Expand All @@ -33,9 +32,6 @@ public Options(String agentArgs) {
case "skipShutdown":
skipShutdown = Boolean.parseBoolean(value);
break;
case "algorithm":
algorithm = value;
break;
default:
throw new IllegalArgumentException("Unknown argument: " + key);
}
Expand All @@ -46,10 +42,6 @@ public Map<String, Set<Provenance>> getSbom() {
return sbom;
}

public void setSbomb(Map<String, Set<Provenance>> sbom) {
this.sbom = sbom;
}

public boolean shouldSkipShutdown() {
return skipShutdown;
}
Expand Down
375 changes: 0 additions & 375 deletions watchdog-agent/src/test/java/AgentTest.java

This file was deleted.

52 changes: 0 additions & 52 deletions watchdog-agent/src/test/java/OptionsTest.java

This file was deleted.

1 change: 0 additions & 1 deletion watchdog-agent/src/test/resources/fingerprints/jar.jsonl

This file was deleted.

1 change: 0 additions & 1 deletion watchdog-agent/src/test/resources/fingerprints/maven.jsonl

This file was deleted.

This file was deleted.

Loading

0 comments on commit 26e891e

Please sign in to comment.