Skip to content

Commit

Permalink
Merge pull request #13 from newrelic/vertx-examples
Browse files Browse the repository at this point in the history
Add vertx4 examples
  • Loading branch information
jtduffy authored Nov 10, 2023
2 parents c2c1cf6 + 8bb56ad commit 9178081
Show file tree
Hide file tree
Showing 34 changed files with 2,354 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.gradle
.idea
out/
target
build
.DS_Store
3 changes: 3 additions & 0 deletions newrelic-java-agent/vertx/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Vert.x 4 Examples

This folder contains examples of various Vertx v4 example applications.
43 changes: 43 additions & 0 deletions newrelic-java-agent/vertx/vertx4-clustered-example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
bin/
target/
out/
reports/
.classpath
.project
.settings
.gradle
.metadata
derbyDB
pyvenv.cfg
test_database*
*.log
.emacs.*
.lock
.cache-main
.fleet/

/functional_test/index/

.DS_Store
*.iws
*.ipr
*.iml
/.settings/
.idea
.shelf
*.nfs

/instrumentation_check/verification.tap
/instrumentation_check/verification.xml
/instrumentation_check/agent_under_test/

/agent-integration-tests

.recommenders

production/

instrumentation/play-2.6/src/test/scala/router/*.scala
instrumentation/play-2.6.13/src/test/scala/router/*.scala

newrelic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.newrelic</groupId>
<artifactId>MessageReceiver</artifactId>
<version>1.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer>
<mainClass>com.nr.vertx.clustered.Starter</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<vertx.version>4.3.2</vertx.version>
</properties>
</project>
Loading

0 comments on commit 9178081

Please sign in to comment.