-
Notifications
You must be signed in to change notification settings - Fork 14
Update config to use filter jar paths and load jars #261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update config to use filter jar paths and load jars #261
Conversation
Add abstract client tests (hypertrace#246)
Pull hypertrace main
publishing filter-api (hypertrace#252)
…ad these jars in FilterRegistry
javaagent-core/src/test/java/org/hypertrace/agent/core/config/HypertraceConfigTest.java
Outdated
Show resolved
Hide resolved
javaagent-core/src/main/java/org/hypertrace/agent/core/config/HypertraceConfig.java
Outdated
Show resolved
Hide resolved
filter-api/src/main/java/org/hypertrace/agent/filter/FilterRegistry.java
Outdated
Show resolved
Hide resolved
System.out.println(jarPath.getValue()); | ||
files.add(file); | ||
}); | ||
int i = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
filter-api/src/main/java/org/hypertrace/agent/filter/FilterRegistry.java
Show resolved
Hide resolved
filter-api/src/main/java/org/hypertrace/agent/filter/FilterRegistry.java
Outdated
Show resolved
Hide resolved
implementation("org.slf4j:log4j-over-slf4j:1.7.30") | ||
implementation("org.slf4j:jcl-over-slf4j:1.7.30") | ||
implementation("org.slf4j:jul-to-slf4j:1.7.30") | ||
implementation("org.slf4j:log4j-over-slf4j:${versions["slf4j"]}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️ nice work :)
int i = 0; | ||
for (StringValue jarPath : jarPaths) { | ||
try { | ||
URL url = new URL("file", "", -1, jarPath.getValue()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we know that this works on Windows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No.. I am not sure
Pending: update submodule after hypertrace/agent-config#47 is merged