Skip to content

Commit

Permalink
Address xcontent changes in core (#526)
Browse files Browse the repository at this point in the history
Signed-off-by: Khushboo Rajput <khushbr@amazon.com>
  • Loading branch information
khushbr authored Sep 5, 2023
1 parent 3612f2f commit 8a2a8e2
Show file tree
Hide file tree
Showing 31 changed files with 14 additions and 264 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ dependencies {

implementation 'org.jooq:jooq:3.10.8'
implementation 'org.apache.commons:commons-lang3:3.9'
implementation 'org.bouncycastle:bcprov-jdk15to18:1.74'
implementation 'org.bouncycastle:bcprov-jdk15to18:1.75'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.70'
implementation "org.opensearch:performance-analyzer-commons:${paCommonsVersion}"
implementation "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
Expand Down
1 change: 0 additions & 1 deletion licenses/bcprov-jdk15to18-1.74.jar.sha1

This file was deleted.

8 changes: 0 additions & 8 deletions licenses/bcprov-jdk15to18-LICENSE.txt

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion licenses/commons-lang3-3.12.0.jar.sha1

This file was deleted.

202 changes: 0 additions & 202 deletions licenses/commons-lang3-LICENSE.txt

This file was deleted.

34 changes: 0 additions & 34 deletions licenses/commons-lang3-NOTICE.txt

This file was deleted.

1 change: 0 additions & 1 deletion licenses/netty-buffer-4.1.96.Final.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions licenses/netty-buffer-4.1.97.Final.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f8f3d8644afa5e6e1a40a3a6aeb9d9aa970ecb4f
1 change: 0 additions & 1 deletion licenses/netty-codec-4.1.96.Final.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions licenses/netty-codec-4.1.97.Final.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
384ba4d75670befbedb45c4d3b497a93639c206d
1 change: 0 additions & 1 deletion licenses/netty-codec-http-4.1.96.Final.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions licenses/netty-codec-http-4.1.97.Final.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
af78acec783ffd77c63d8aeecc21041fd39ac54f
1 change: 0 additions & 1 deletion licenses/netty-codec-http2-4.1.96.Final.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions licenses/netty-codec-http2-4.1.97.Final.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
893888d09a7bef0d0ba973d7471943e765d0fd08
1 change: 0 additions & 1 deletion licenses/netty-codec-socks-4.1.96.Final.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions licenses/netty-codec-socks-4.1.97.Final.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
30e8fa29a349db5a933225d61891b8802836bb79
1 change: 0 additions & 1 deletion licenses/netty-common-4.1.96.Final.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions licenses/netty-common-4.1.97.Final.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7cceacaf11df8dc63f23d0fb58e9d4640fc88404
1 change: 0 additions & 1 deletion licenses/netty-handler-4.1.96.Final.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions licenses/netty-handler-4.1.97.Final.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
abb86c6906bf512bf2b797a41cd7d2e8d3cd7c36
1 change: 0 additions & 1 deletion licenses/netty-handler-proxy-4.1.96.Final.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions licenses/netty-handler-proxy-4.1.97.Final.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a99ecef0e1d86a92e40a7c89805c236d9cd7493e
1 change: 0 additions & 1 deletion licenses/netty-resolver-4.1.96.Final.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions licenses/netty-resolver-4.1.97.Final.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cec8348108dc76c47cf87c669d514be52c922144
1 change: 0 additions & 1 deletion licenses/netty-transport-4.1.96.Final.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions licenses/netty-transport-4.1.97.Final.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f37380d23c9bb079bc702910833b2fd532c9abd0

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d469d84265ab70095b01b40886cabdd433b6e664
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@ private FakeRestRequest buildRequest(String requestPath) throws IOException {
return new FakeRestRequest.Builder(NamedXContentRegistry.EMPTY)
.withMethod(RestRequest.Method.POST)
.withPath(requestPath)
.withContent(
BytesReference.bytes(builder),
XContentType.fromMediaType(builder.contentType()))
.withContent(BytesReference.bytes(builder), XContentType.JSON)
.build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,7 @@ private FakeRestRequest buildRequest(String requestPath, boolean shouldEnable)
return new FakeRestRequest.Builder(NamedXContentRegistry.EMPTY)
.withMethod(RestRequest.Method.POST)
.withPath(requestPath)
.withContent(
BytesReference.bytes(builder),
XContentType.fromMediaType(builder.contentType()))
.withContent(BytesReference.bytes(builder), XContentType.JSON)
.build();
}
}

0 comments on commit 8a2a8e2

Please sign in to comment.