Commit 5a12e3a2 authored by Abhishek Kumar (SLB)'s avatar Abhishek Kumar (SLB)
Browse files

Merge remote-tracking branch 'origin/master' into add-addition-properties

parents a525d4c5 74e09067
Pipeline #67153 failed with stages
in 5 minutes and 41 seconds
......@@ -14,6 +14,7 @@
package org.opengroup.osdu.core.common.model.search;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
......@@ -30,6 +31,7 @@ import java.util.Map;
public class CursorQueryResponse {
private String cursor;
@JsonInclude(JsonInclude.Include.ALWAYS)
private List<Map<String, Object>> results;
private long totalCount;
......
......@@ -14,6 +14,7 @@
package org.opengroup.osdu.core.common.model.search;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.google.gson.ExclusionStrategy;
import com.google.gson.FieldAttributes;
import com.google.gson.Gson;
......@@ -34,6 +35,7 @@ import java.util.Map;
@Builder
public class QueryResponse {
@JsonInclude(JsonInclude.Include.ALWAYS)
private List<Map<String, Object>> results = new ArrayList<>();
private List<AggregationResponse> aggregations = new ArrayList<>();
private long totalCount;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment