Skip to content

Conversation

@gpolaert
Copy link
Contributor

Changelog:

  • Add AWS Integration
  • Add Elasticsearch Transport client Integration
  • Graceful stop when they are integrations loading errors
  • Remove JarChecker

@gpolaert gpolaert requested a review from renaudboutet June 15, 2017 12:36
@@ -1,117 +0,0 @@
package io.opentracing.contrib.agent;
Copy link
Contributor

Choose a reason for hiding this comment

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

@gpolaert Please keep the class even if you don't use it. We might need th ability to scan the Jars.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure, I reverted the file. But I'm keeping the check disabled? = doing nothing

debug(args.getClass().getName() + " patched");
} catch (ClassNotFoundException | NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {
error("Your " + args.getClass().getName() + "seems to be not compatible with the current integration, integration disabled, reason: " + e.getMessage());
errTraceException(e);
Copy link
Contributor

Choose a reason for hiding this comment

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

@gpolaert Exception only in debug mode

error("Your " + args.getClass().getName() + "seems to be not compatible with the current integration, integration disabled, reason: " + e.getMessage());
errTraceException(e);
patched = args;
} catch (Exception e) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure this is a good idea to have to kind of exception catching. Also I would catch "Throwable" instead of "Exception" which is the lowest kind of error (otherwise RuntimeException for instance won't be caught)

@@ -1,38 +0,0 @@
okhttp:
Copy link
Contributor

Choose a reason for hiding this comment

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

Ok to remove this one

@@ -1,71 +1,59 @@
# --------------------------------------------------------
Copy link
Contributor

Choose a reason for hiding this comment

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

Ok so, OkHTTP and WebServlet filters are missing here. Remove rules jars in Maven, write dedicated helpers and rules in this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be released soon ...

@gpolaert gpolaert merged commit a3b5c5a into dev Jun 15, 2017
@gpolaert gpolaert deleted the refactoring-integrations branch June 15, 2017 15:16
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.

3 participants