Skip to content

Commit

Permalink
XTNSBL-5249 Updated latest ext-commons and fix vulnerability (#18)
Browse files Browse the repository at this point in the history
* XTNSBL-5249 Updated latest ext-commons and fix vul

* updated commons to latest

* updated jar version

* updated junit and fixed failing test

---------

Co-authored-by: ridhima <ridhima.satam@appdynamics.com>
  • Loading branch information
ridhima-cisco and ridhima authored Aug 27, 2024
1 parent 9f777bb commit 361ccdb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 11 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.appdynamics.extensions</groupId>
<artifactId>nginx-monitoring-extension</artifactId>
<version>2.2.1</version>
<version>2.2.2</version>
<packaging>jar</packaging>

<name>nginx-monitoring-extension</name>
Expand All @@ -20,7 +20,7 @@
<dependency>
<groupId>com.appdynamics</groupId>
<artifactId>appd-exts-commons</artifactId>
<version>2.2.4</version>
<version>2.2.13</version>
</dependency>
<dependency>
<groupId>com.appdynamics</groupId>
Expand All @@ -31,18 +31,24 @@
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20140107</version>
<version>20240303</version>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
<version>1.6.3</version>
<version>1.7.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>1.5.6</version>
<version>1.7.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ class NginxMonitorTaskTest {
Map config;
private ArgumentCaptor<List> pathCaptor = ArgumentCaptor.forClass(List.class);

public NginxMonitorTaskTest() {};

@Before
public void setup() throws IOException {
MonitorContextConfiguration contextConfiguration = ConfigTestUtil.getContextConfiguration("src/test/resources/metricsPlainText.xml", "src/test/resources/config.yml");
Expand Down

0 comments on commit 361ccdb

Please sign in to comment.