Skip to content

Commit cdcb095

Browse files
Explicitely add dependecies
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
1 parent df6f237 commit cdcb095

File tree

2 files changed

+44
-6
lines changed

2 files changed

+44
-6
lines changed

providers/go-feature-flag/pom.xml

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,22 @@
3737
<version>2.19.0</version>
3838
</dependency>
3939

40+
<dependency>
41+
<groupId>com.fasterxml.jackson.core</groupId>
42+
<artifactId>jackson-core</artifactId>
43+
<version>2.19.0</version>
44+
</dependency>
45+
4046
<dependency>
4147
<groupId>com.fasterxml.jackson.core</groupId>
4248
<artifactId>jackson-databind</artifactId>
4349
<version>2.19.0</version>
4450
</dependency>
4551

4652
<dependency>
47-
<groupId>com.squareup.okhttp3</groupId>
48-
<artifactId>mockwebserver</artifactId>
49-
<version>4.12.0</version>
50-
<scope>test</scope>
53+
<groupId>com.fasterxml.jackson.core</groupId>
54+
<artifactId>jackson-annotations</artifactId>
55+
<version>2.19.0</version>
5156
</dependency>
5257

5358
<dependency>
@@ -75,11 +80,45 @@
7580
<version>1.2.1</version>
7681
</dependency>
7782

83+
<dependency>
84+
<groupId>com.dylibso.chicory</groupId>
85+
<artifactId>wasm</artifactId>
86+
<version>1.2.1</version>
87+
</dependency>
88+
7889
<dependency>
7990
<groupId>com.dylibso.chicory</groupId>
8091
<artifactId>wasi</artifactId>
8192
<version>1.2.1</version>
8293
</dependency>
94+
95+
<dependency>
96+
<groupId>com.squareup.okhttp3</groupId>
97+
<artifactId>mockwebserver</artifactId>
98+
<version>4.12.0</version>
99+
<scope>test</scope>
100+
</dependency>
101+
102+
<dependency>
103+
<groupId>com.squareup.okhttp3</groupId>
104+
<artifactId>okhttp</artifactId>
105+
<version>4.12.0</version>
106+
<scope>test</scope>
107+
</dependency>
108+
109+
<dependency>
110+
<groupId>com.squareup.okio</groupId>
111+
<artifactId>okio-jvm</artifactId>
112+
<version>3.12.0</version>
113+
<scope>test</scope>
114+
</dependency>
115+
116+
<dependency>
117+
<groupId>com.github.spotbugs</groupId>
118+
<artifactId>spotbugs-annotations</artifactId>
119+
<version>4.9.3</version>
120+
<scope>provided</scope>
121+
</dependency>
83122
</dependencies>
84123
<build>
85124
<plugins>

providers/go-feature-flag/src/test/java/dev/openfeature/contrib/providers/gofeatureflag/util/GoffApiMock.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import okhttp3.mockwebserver.MockResponse;
1212
import okhttp3.mockwebserver.RecordedRequest;
1313
import okhttp3.mockwebserver.SocketPolicy;
14-
import org.jetbrains.annotations.NotNull;
1514

1615
public class GoffApiMock {
1716
private static final String ofrepResponseDir = "ofrep_evaluate_responses/";
@@ -31,7 +30,7 @@ public class GoffApiMock {
3130
private String lastRequestBody = null;
3231

3332
public final Dispatcher dispatcher = new Dispatcher() {
34-
@NotNull @SneakyThrows
33+
@SneakyThrows
3534
@Override
3635
public MockResponse dispatch(RecordedRequest request) {
3736
switch (mode) {

0 commit comments

Comments
 (0)