Skip to content

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

Merged
merged 6 commits into from
Apr 29, 2021
Merged

Kwest/java layer poc #33

merged 6 commits into from
Apr 29, 2021

Conversation

katiewest820
Copy link
Contributor

Java layer for RequestHandler and RequestStreamHandler implementations
https://newrelic.atlassian.net/browse/LAMBDA-1189

@katiewest820 katiewest820 force-pushed the kwest/java-layer-poc branch from c475224 to 1803ccb Compare April 23, 2021 22:48
Copy link
Contributor

@MattWhelan MattWhelan left a 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!


dependencies {
implementation("io.opentracing:opentracing-util:0.33.0")
implementation("com.newrelic.opentracing:newrelic-java-lambda:2.2.0")
Copy link
Contributor

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_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
Copy link
Contributor

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

Copy link
Contributor

@kolanos kolanos left a 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 \
Copy link
Contributor

@kolanos kolanos Apr 28, 2021

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.

@katiewest820
Copy link
Contributor Author

LGTM. Looks like it still needs to be wired up to Circle CI for publishing?

@kolanos I took a shot at the Circle CI stuff. Let me know if I missed anything or if anything needs changing.

@katiewest820 katiewest820 requested a review from kolanos April 28, 2021 20:57
@katiewest820 katiewest820 merged commit 7c49af9 into master Apr 29, 2021
@mrickard mrickard deleted the kwest/java-layer-poc branch May 26, 2022 21:48
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.

4 participants