Skip to content

Commit 36a2b4b

Browse files
Explicitely add dependecies
Signed-off-by: Thomas Poignant <[email protected]>
1 parent df6f237 commit 36a2b4b

File tree

2 files changed

+32
-7
lines changed

2 files changed

+32
-7
lines changed

providers/go-feature-flag/pom.xml

Lines changed: 31 additions & 5 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>
@@ -77,9 +82,30 @@
7782

7883
<dependency>
7984
<groupId>com.dylibso.chicory</groupId>
80-
<artifactId>wasi</artifactId>
85+
<artifactId>wasm</artifactId>
8186
<version>1.2.1</version>
8287
</dependency>
88+
89+
<dependency>
90+
<groupId>com.squareup.okhttp3</groupId>
91+
<artifactId>mockwebserver</artifactId>
92+
<version>4.12.0</version>
93+
<scope>test</scope>
94+
</dependency>
95+
96+
<dependency>
97+
<groupId>com.squareup.okhttp3</groupId>
98+
<artifactId>okhttp</artifactId>
99+
<version>4.12.0</version>
100+
<scope>test</scope>
101+
</dependency>
102+
103+
<dependency>
104+
<groupId>com.squareup.okio</groupId>
105+
<artifactId>okio-jvm</artifactId>
106+
<version>3.12.0</version>
107+
<scope>test</scope>
108+
</dependency>
83109
</dependencies>
84110
<build>
85111
<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)