Skip to content

Commit 920d905

Browse files
author
John Watson
authored
Merge pull request #7 from newrelic/update-readme
Update README to reflect project restructuring
2 parents efd2067 + 1afbcfc commit 920d905

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ Exception log:
3838
- **Option B:** Add gradle or maven dependency to your project: [TODO N/A for Beta](https://mvnrepository.com)
3939
2. Implement the `TracingRequestHandler` interface as shown in the [example](#example-usage), defining the Lambda function input and output types that your function requires.
4040
3. Override the `doHandleRequest` method from the interface and execute your function logic within it. *Note:* If you are refactoring a pre-existing Lambda handler to take advantage of this SDK's tracing request handler make sure that it overrides `doHandleRequest` but not `handleRequest`.
41-
4. Register the OpenTracing Tracer of your choice.
41+
4. Register the OpenTracing Tracer of your choice (e.g. New Relic, Jaeger, etc).
4242
5. See Amazon's documentation on [creating a ZIP deployment package for a Java Lambda function](https://docs.aws.amazon.com/lambda/latest/dg/create-deployment-pkg-zip-java.html)
4343
6. When creating your Lambda function in AWS Lambda console the handler for the given example would be entered as `com.handler.example.MyLambdaHandler::handleRequest` or just `com.handler.example.MyLambdaHandler`, the latter of which will use `handleRequest` as the handler method by default. *Note:* `handleRequest` is used as the handler entry point as it will call `doHandleRequest`.
4444

4545
## Build the Project
4646

47-
Run jar task: `./gradlew java-aws-lambda:jar`
47+
Run jar task: `./gradlew jar`
4848

49-
Artifact: `java-aws-lambda/java-aws-lambda/build/libs/java-aws-lambda.jar`
49+
Artifact: `java-aws-lambda/build/libs/java-aws-lambda.jar`
5050

5151
## Add Artifact to Gradle Project
5252

0 commit comments

Comments
 (0)