Skip to content

Commit 27a9b51

Browse files
author
John Watson
authored
Merge pull request #8 from newrelic/update-readme
Update README artifact links
2 parents 920d905 + fbaf5c8 commit 27a9b51

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ Exception log:
3333

3434
## How to Use
3535

36-
1. Add the `java-aws-lambda` dependency to your project.
37-
- **Option A:** [Build the project from sources](#build-the-project) and [add the jar to your project as a Gradle dependency](#add-artifact-to-gradle-project)
38-
- **Option B:** Add gradle or maven dependency to your project: [TODO N/A for Beta](https://mvnrepository.com)
36+
1. [Add the `java-aws-lambda` dependency to your Gradle project](#add-artifact-to-gradle-project)
3937
2. Implement the `TracingRequestHandler` interface as shown in the [example](#example-usage), defining the Lambda function input and output types that your function requires.
4038
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`.
4139
4. Register the OpenTracing Tracer of your choice (e.g. New Relic, Jaeger, etc).
@@ -54,7 +52,8 @@ Include the jar by adding it as a dependency in your `build.gradle` file:
5452

5553
```groovy
5654
dependencies {
57-
compile files('/path/to/java-aws-lambda.jar')
55+
// TODO verify this is correct when released
56+
implementation "com.newrelic.opentracing.aws:java-aws-lambda:X.X.X"
5857
}
5958
```
6059

0 commit comments

Comments
 (0)