Skip to content

Commit 3d38c85

Browse files
committed
Release v1.5.8, re #416
1 parent e75b303 commit 3d38c85

File tree

258 files changed

+290
-275
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+290
-275
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changes by Version
22

3+
## v1.5.8 (2020-02-14)
4+
* New instrumentation plugins: Mule 4 (#324), Pulsar Functions (#398)
5+
* New integration tests: Pulsar Functions (#408 #411 #412)
6+
* Mechanism to load customized span decorators externally (#410)
7+
* Mechanism in `TestUtil` to check span count by component name (#413 #414)
8+
* Rebase `servlet` rule with current implementation of `java-web-servlet-filter` (#400)
9+
* Modify `servlet` rule to add `skipPattern` and `spanDecorators` (#399)
10+
* Modify `servlet` rule to allow creation of tags from HTTP headers (#402)
11+
* Solution to prevent tracers getting instrumented by SpecialAgent (#381)
12+
* Fix Static Deferred Attach not executing hook for Spring Boot apps (#382)
13+
* Fix to stack-overflow in `FilterAgentIntercept` (#391)
14+
* Fix to memory leak in `servlet` rule with Jetty 9.4 and Spring 5 (#395)
15+
* Fix error tag for `jedis` (#396)
16+
* Cleanup and refactor patterns (#397)
17+
318
## v1.5.7 (2020-02-01)
419
* Improve intercept logging (#385)
520
* Improve test coverage for init patterns (#342)

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The [<ins>SpecialAgent</ins>](#41-specialagent) is stable -- any exception that
7070

7171
### 2.1 Installation
7272

73-
The Maven build of the [<ins>SpecialAgent</ins>](#41-specialagent) project generates 2 artifacts: **main** and **test**. These artifacts can be obtained by cloning this repository and following the [Development Instructions](#212-for-development), or downloading directly from [Maven's Central Repository](https://repo1.maven.org/maven2/io/opentracing/contrib/specialagent/opentracing-specialagent/1.5.7/).
73+
The Maven build of the [<ins>SpecialAgent</ins>](#41-specialagent) project generates 2 artifacts: **main** and **test**. These artifacts can be obtained by cloning this repository and following the [Development Instructions](#212-for-development), or downloading directly from [Maven's Central Repository](https://repo1.maven.org/maven2/io/opentracing/contrib/specialagent/opentracing-specialagent/1.5.8/).
7474

7575
#### 2.1.1 In Application
7676

@@ -82,40 +82,40 @@ The artifact JAR can be provided to an application with the `-javaagent:${SPECIA
8282

8383
##### 2.1.1.1 Stable
8484

85-
The latest stable release is: [1.5.7][main-release]
85+
The latest stable release is: [1.5.8][main-release]
8686

8787
```bash
88-
wget -O opentracing-specialagent-1.5.7.jar "https://repo1.maven.org/maven2/io/opentracing/contrib/specialagent/opentracing-specialagent/1.5.7/opentracing-specialagent-1.5.7.jar"
88+
wget -O opentracing-specialagent-1.5.8.jar "https://repo1.maven.org/maven2/io/opentracing/contrib/specialagent/opentracing-specialagent/1.5.8/opentracing-specialagent-1.5.8.jar"
8989
```
9090

9191
##### 2.1.1.2 Development
9292

93-
The latest development release is: [1.5.8-SNAPSHOT][main-snapshot]
93+
The latest development release is: [1.5.9-SNAPSHOT][main-snapshot]
9494

9595
```bash
96-
wget -O opentracing-specialagent-1.5.8-SNAPSHOT.jar "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=io.opentracing.contrib.specialagent&a=opentracing-specialagent&v=LATEST"
96+
wget -O opentracing-specialagent-1.5.9-SNAPSHOT.jar "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=io.opentracing.contrib.specialagent&a=opentracing-specialagent&v=LATEST"
9797
```
9898

9999
**Note**: Sometimes the web service call (in the line above) to retrieve the latest SNAPSHOT build fails to deliver the correct download. In order to work around this issue, please consider using the following command (for Linux and Mac OS):
100100

101101
```bash
102-
wget -O opentracing-specialagent-1.5.8-SNAPSHOT.jar $(curl -s https://oss.sonatype.org/content/repositories/snapshots/io/opentracing/contrib/specialagent/opentracing-specialagent/1.5.8-SNAPSHOT/ | grep '".*\d\.jar"' | tail -1 | awk -F\" '{print $2}')
102+
wget -O opentracing-specialagent-1.5.9-SNAPSHOT.jar $(curl -s https://oss.sonatype.org/content/repositories/snapshots/io/opentracing/contrib/specialagent/opentracing-specialagent/1.5.9-SNAPSHOT/ | grep '".*\d\.jar"' | tail -1 | awk -F\" '{print $2}')
103103
```
104104

105105
#### 2.1.2 For Development
106106

107107
The [<ins>SpecialAgent</ins>](#41-specialagent) is built in 2 passes that rely on different profiles:
108108

109-
1. The `default` profile is used for development of [<ins>Instrumentation Rules</ins>](#45-instrumentation-rule). It builds and runs tests for each rule, but _does not bundle the rules_ into [`opentracing-specialagent-1.5.7.jar`][main-release]
109+
1. The `default` profile is used for development of [<ins>Instrumentation Rules</ins>](#45-instrumentation-rule). It builds and runs tests for each rule, but _does not bundle the rules_ into [`opentracing-specialagent-1.5.8.jar`][main-release]
110110

111111
To run this profile:
112112
```bash
113113
mvn clean install
114114
```
115115

116-
1. The `assemble` profile is used to bundle the [<ins>Instrumentation Rules</ins>](#45-instrumentation-rule) into [`opentracing-specialagent-1.5.7.jar`][main-release]. It builds each rule, but _does not run tests._ Once the build with the `assemble` profile is finished, the [`opentracing-specialagent-1.5.7.jar`][main-release] will contain the built rules inside it.
116+
1. The `assemble` profile is used to bundle the [<ins>Instrumentation Rules</ins>](#45-instrumentation-rule) into [`opentracing-specialagent-1.5.8.jar`][main-release]. It builds each rule, but _does not run tests._ Once the build with the `assemble` profile is finished, the [`opentracing-specialagent-1.5.8.jar`][main-release] will contain the built rules inside it.
117117

118-
_**Note**: If you do not run this step, the [`opentracing-specialagent-1.5.7.jar`][main-release] from the previous step will not contain any [<ins>Instrumentation Plugins</ins>](#44-instrumentation-plugin)!_
118+
_**Note**: If you do not run this step, the [`opentracing-specialagent-1.5.8.jar`][main-release] from the previous step will not contain any [<ins>Instrumentation Plugins</ins>](#44-instrumentation-plugin)!_
119119

120120
_**Note**: It is important to **not** run Maven's `clean` lifecycle when executing the `assemble` profile._
121121
@@ -138,13 +138,13 @@ For development of [<ins>Instrumentation Plugins</ins>](#44-instrumentation-plug
138138
<dependency>
139139
<groupId>io.opentracing.contrib.specialagent</groupId>
140140
<artifactId>opentracing-specialagent-api</artifactId>
141-
<version>1.5.7</version> <!--version>1.5.8-SNAPSHOT<version-->
141+
<version>1.5.8</version> <!--version>1.5.9-SNAPSHOT<version-->
142142
<scope>provided</scope>
143143
</dependency>
144144
<dependency>
145145
<groupId>io.opentracing.contrib.specialagent</groupId>
146146
<artifactId>opentracing-specialagent</artifactId>
147-
<version>1.5.7</version> <!--version>1.5.8-SNAPSHOT<version-->
147+
<version>1.5.8</version> <!--version>1.5.9-SNAPSHOT<version-->
148148
<type>test-jar</type>
149149
<scope>test</scope>
150150
</dependency>
@@ -200,7 +200,7 @@ With [<ins>Static Attach</ins>](#221-static-attach), the application is executed
200200
Statically attaching to a Java application involves the use of the `-javaagent` vm argument at the time of startup of the target Java application. The following command can be used as an example:
201201
202202
```bash
203-
java -javaagent:opentracing-specialagent-1.5.7.jar -jar MyApp.jar
203+
java -javaagent:opentracing-specialagent-1.5.8.jar -jar MyApp.jar
204204
```
205205
206206
This command statically attaches [<ins>SpecialAgent</ins>](#41-specialagent) into the application in `MyApp.jar`.
@@ -219,12 +219,12 @@ Dynamically attaching to a Java application involves the use of a running applic
219219
1. To attach to the target `PID`:
220220
* For jdk1.8
221221
```bash
222-
java -Xbootclasspath/a:$JAVA_HOME/lib/tools.jar -jar opentracing-specialagent-1.5.7.jar <PID>
222+
java -Xbootclasspath/a:$JAVA_HOME/lib/tools.jar -jar opentracing-specialagent-1.5.8.jar <PID>
223223
```
224224

225225
* For jdk9+
226226
```bash
227-
java -jar opentracing-specialagent-1.5.7.jar <PID>
227+
java -jar opentracing-specialagent-1.5.8.jar <PID>
228228
```
229229

230230
**Note:** Properties that are provided in the command to dynamically attach will be absorbed by the target application. This applies to properties specific to SpecialAgent, such as `-Dsa.log.level=FINER`, as well as other properties such as `-Djava.util.logging.config.file=out.log`.
@@ -251,7 +251,7 @@ If the above supported application environment is detected, <ins>Static Deferred
251251
The following command can be used as an example:
252252

253253
```bash
254-
java -javaagent:opentracing-specialagent-1.5.7.jar -Dsa.init.defer=false -jar MySpringBootApp.jar
254+
java -javaagent:opentracing-specialagent-1.5.8.jar -Dsa.init.defer=false -jar MySpringBootApp.jar
255255
```
256256

257257
## 3 Configuration
@@ -690,5 +690,5 @@ This project is licensed under the Apache 2 License - see the [LICENSE.txt](LICE
690690
[specialagent-pom]: https://github.com/opentracing-contrib/java-specialagent/blob/master/pom.xml
691691
[travis]: https://travis-ci.org/opentracing-contrib/java-specialagent
692692

693-
[main-release]: https://repo1.maven.org/maven2/io/opentracing/contrib/specialagent/opentracing-specialagent/1.5.7/opentracing-specialagent-1.5.7.jar
694-
[main-snapshot]: https://oss.sonatype.org/content/repositories/snapshots/io/opentracing/contrib/specialagent/opentracing-specialagent/1.5.8-SNAPSHOT
693+
[main-release]: https://repo1.maven.org/maven2/io/opentracing/contrib/specialagent/opentracing-specialagent/1.5.8/opentracing-specialagent-1.5.8.jar
694+
[main-snapshot]: https://oss.sonatype.org/content/repositories/snapshots/io/opentracing/contrib/specialagent/opentracing-specialagent/1.5.9-SNAPSHOT

agentrule-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opentracing.contrib.specialagent</groupId>
2323
<artifactId>specialagent</artifactId>
24-
<version>1.5.8-SNAPSHOT</version>
24+
<version>1.5.8</version>
2525
</parent>
2626
<artifactId>agentrule-maven-plugin</artifactId>
2727
<packaging>maven-plugin</packaging>

assemble-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opentracing.contrib.specialagent</groupId>
2323
<artifactId>specialagent</artifactId>
24-
<version>1.5.8-SNAPSHOT</version>
24+
<version>1.5.8</version>
2525
</parent>
2626
<artifactId>assemble-maven-plugin</artifactId>
2727
<packaging>maven-plugin</packaging>

fingerprint/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opentracing.contrib.specialagent</groupId>
2323
<artifactId>specialagent</artifactId>
24-
<version>1.5.8-SNAPSHOT</version>
24+
<version>1.5.8</version>
2525
</parent>
2626
<artifactId>fingerprint</artifactId>
2727
<name>Fingerprint Utility for SpecialAgent</name>

itest-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opentracing.contrib.specialagent</groupId>
2323
<artifactId>specialagent</artifactId>
24-
<version>1.5.8-SNAPSHOT</version>
24+
<version>1.5.8</version>
2525
</parent>
2626
<artifactId>itest-maven-plugin</artifactId>
2727
<packaging>maven-plugin</packaging>

opentracing-specialagent-api/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The <ins>SpecialAgent Rule API</ins> is intended to be integrated into an OpenTr
5050
<dependency>
5151
<groupId>io.opentracing.contrib.specialagent</groupId>
5252
<artifactId>opentracing-specialagent-api</artifactId>
53-
<version>1.5.7</version>
53+
<version>1.5.8</version>
5454
<scope>provided</scope>
5555
</dependency>
5656
<dependency>
@@ -158,7 +158,7 @@ The `AgentRunner` is available in the test jar of the <ins>SpecialAgent</ins> mo
158158
<dependency>
159159
<groupId>io.opentracing.contrib.specialagent</groupId>
160160
<artifactId>opentracing-specialagent</artifactId>
161-
<version>1.5.7</version>
161+
<version>1.5.8</version>
162162
<type>test-jar</type>
163163
<scope>test</scope>
164164
</dependency>
@@ -235,7 +235,7 @@ The <ins>SpecialAgent</ins> has specific requirements for packaging of <ins>Inst
235235
<plugin>
236236
<groupId>io.opentracing.contrib.specialagent</groupId>
237237
<artifactId>agentrule-maven-plugin</artifactId>
238-
<version>1.5.7</version>
238+
<version>1.5.8</version>
239239
<executions>
240240
<execution>
241241
<goals>

opentracing-specialagent-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opentracing.contrib.specialagent</groupId>
2323
<artifactId>specialagent</artifactId>
24-
<version>1.5.8-SNAPSHOT</version>
24+
<version>1.5.8</version>
2525
</parent>
2626
<artifactId>opentracing-specialagent-api</artifactId>
2727
<name>OpenTracing SpecialAgent API</name>

opentracing-specialagent-util/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opentracing.contrib.specialagent</groupId>
2323
<artifactId>specialagent</artifactId>
24-
<version>1.5.8-SNAPSHOT</version>
24+
<version>1.5.8</version>
2525
</parent>
2626
<artifactId>opentracing-specialagent-util</artifactId>
2727
<name>Utilities for SpecialAgent</name>

opentracing-specialagent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opentracing.contrib.specialagent</groupId>
2323
<artifactId>specialagent</artifactId>
24-
<version>1.5.8-SNAPSHOT</version>
24+
<version>1.5.8</version>
2525
</parent>
2626
<artifactId>opentracing-specialagent</artifactId>
2727
<name>OpenTracing SpecialAgent</name>

0 commit comments

Comments
 (0)