Skip to content

Commit 8a137f1

Browse files
committed
Update README artifact links
1 parent 920d905 commit 8a137f1

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Exception log:
3434
## How to Use
3535

3636
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)
37+
- **Option A:** [Build the project from sources](#build-the-project) and [add the jar to your project as a Gradle dependency](#add-local-artifact)
38+
- **Option B:** [Add gradle or maven dependency to your project](#add-maven-artifact)
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`.
4141
4. Register the OpenTracing Tracer of your choice (e.g. New Relic, Jaeger, etc).
@@ -52,12 +52,22 @@ Artifact: `java-aws-lambda/build/libs/java-aws-lambda.jar`
5252

5353
Include the jar by adding it as a dependency in your `build.gradle` file:
5454

55+
#### Add Local Artifact
56+
5557
```groovy
5658
dependencies {
5759
compile files('/path/to/java-aws-lambda.jar')
5860
}
5961
```
6062

63+
#### Add Maven Artifact
64+
```groovy
65+
dependencies {
66+
// TODO verify these are correct when released
67+
implementation "com.newrelic.opentracing.aws:java-aws-lambda:X.X.X"
68+
}
69+
```
70+
6171
## Example Usage
6272

6373
```java

0 commit comments

Comments
 (0)