Skip to content

Update config to use filter jar paths and load jars#261

Merged
pavolloffay merged 8 commits intohypertrace:mainfrom
shashank11p:loadJarsFromConfigPaths
Feb 11, 2021
Merged

Update config to use filter jar paths and load jars#261
pavolloffay merged 8 commits intohypertrace:mainfrom
shashank11p:loadJarsFromConfigPaths

Conversation

@shashank11p
Copy link
Copy Markdown
Contributor

Pending: update submodule after hypertrace/agent-config#47 is merged

Comment thread javaagent-core/src/test/resources/config.yaml Outdated
Comment thread filter-api/src/main/java/org/hypertrace/agent/filter/FilterRegistry.java Outdated
System.out.println(jarPath.getValue());
files.add(file);
});
int i = 0;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Comment thread filter-api/src/main/java/org/hypertrace/agent/filter/FilterRegistry.java Outdated
Comment thread filter-api/build.gradle.kts Outdated
@shashank11p shashank11p marked this pull request as ready for review February 10, 2021 17:14
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"]}")
Copy link
Copy Markdown
Member

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());
Copy link
Copy Markdown
Member

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?

Copy link
Copy Markdown
Contributor Author

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

@pavolloffay pavolloffay merged commit 99b0082 into hypertrace:main Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants