Skip to content

Implement patch API for datasources (#2273)

Codecov / codecov/patch failed Oct 18, 2023 in 1s

72.81% of diff hit (target 96.73%)

View this Pull Request on Codecov

72.81% of diff hit (target 96.73%)

Annotations

Check warning on line 28 in datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionRequest.java#L27-L28

Added lines #L27 - L28 were not covered by tests

Check warning on line 38 in datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionRequest.java#L37-L38

Added lines #L37 - L38 were not covered by tests

Check warning on line 40 in datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionRequest.java#L40

Added line #L40 was not covered by tests

Check warning on line 44 in datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionRequest.java#L42-L44

Added lines #L42 - L44 were not covered by tests

Check warning on line 46 in datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionRequest.java#L46

Added line #L46 was not covered by tests

Check warning on line 25 in datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionResponse.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionResponse.java#L23-L25

Added lines #L23 - L25 were not covered by tests

Check warning on line 30 in datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionResponse.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/model/transport/PatchDataSourceActionResponse.java#L29-L30

Added lines #L29 - L30 were not covered by tests

Check warning on line 125 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L125

Added line #L125 was not covered by tests

Check warning on line 224 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L222-L224

Added lines #L222 - L224 were not covered by tests

Check warning on line 227 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L227

Added line #L227 was not covered by tests

Check warning on line 230 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L230

Added line #L230 was not covered by tests

Check warning on line 234 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L234

Added line #L234 was not covered by tests

Check warning on line 239 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L238-L239

Added lines #L238 - L239 were not covered by tests

Check warning on line 244 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L243-L244

Added lines #L243 - L244 were not covered by tests