-
Notifications
You must be signed in to change notification settings - Fork 47
Kwest/java layer poc #33
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
Conversation
c475224
to
1803ccb
Compare
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.
A couple version updates, from recent upstream changes. Otherwise, looks great!
java/build.gradle
Outdated
|
||
dependencies { | ||
implementation("io.opentracing:opentracing-util:0.33.0") | ||
implementation("com.newrelic.opentracing:newrelic-java-lambda:2.2.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.
This should be 2.2.1, which resolves several serious concurrency issues.
java/publish-layers.sh
Outdated
JAVA_DIST=distributions/NewRelicJavaLayer.zip | ||
|
||
EXTENSION_DIST_DIR=extensions | ||
EXTENSION_DIST_URL=https://github.com/newrelic/newrelic-lambda-extension/releases/download/v1.2.1.2/newrelic-lambda-extension.zip |
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.
this should be version 1.2.4
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.
LGTM. Looks like it still needs to be wired up to Circle CI for publishing?
|
||
echo "Publishing java 8 layer to ${region}" | ||
java_version=$(aws lambda publish-layer-version \ | ||
--layer-name NewRelicJava8 \ |
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.
Should we include the AL2
part? There is a java8
runtime as well (unsupported by extensions), suspect this may be confusing.
@kolanos I took a shot at the Circle CI stuff. Let me know if I missed anything or if anything needs changing. |
Java layer for
RequestHandler
andRequestStreamHandler
implementationshttps://newrelic.atlassian.net/browse/LAMBDA-1189