diff --git a/NOTICE b/NOTICE index 47740844bc09faef457da66af708c0e7b670546a..dbce76d33304db4d86d4dbc2aca5f51ac884fdd6 100644 --- a/NOTICE +++ b/NOTICE @@ -8,7 +8,7 @@ Apache-2.0 The following software have components provided under the terms of this license: - Apache Commons Codec (from https://commons.apache.org/proper/commons-codec/) -- Apache Commons Lang (from http://commons.apache.org/proper/commons-lang/) +- Apache Commons Lang (from https://commons.apache.org/proper/commons-lang/) - Apache Commons Logging (from http://commons.apache.org/proper/commons-logging/) - Apache HttpAsyncClient (from http://hc.apache.org/httpcomponents-asyncclient) - Apache HttpClient (from http://hc.apache.org/httpcomponents-client) @@ -37,8 +37,8 @@ The following software have components provided under the terms of this license: - Jackson dataformat: Smile (from http://github.com/FasterXML/jackson-dataformats-binary) - Jackson datatype: JSR310 (from https://repo1.maven.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-jsr310) - Jackson datatype: jdk8 (from https://repo1.maven.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-jdk8) -- Jackson-annotations (from http://wiki.fasterxml.com/JacksonHome) -- Jackson-core (from http://wiki.fasterxml.com/JacksonHome) +- Jackson-annotations (from http://github.com/FasterXML/jackson) +- Jackson-core (from https://github.com/FasterXML/jackson-core) - Jackson-dataformat-YAML (from https://github.com/FasterXML/jackson-dataformats-text) - Jackson-module-parameter-names (from https://repo1.maven.org/maven2/com/fasterxml/jackson/module/jackson-module-parameter-names) - Jakarta Bean Validation API (from https://beanvalidation.org) @@ -70,14 +70,6 @@ The following software have components provided under the terms of this license: - OpenCensus (from https://github.com/census-instrumentation/opencensus-java) - OpenCensus (from https://github.com/census-instrumentation/opencensus-java) - SnakeYAML (from http://code.google.com/p/snakeyaml/) -- Spring Boot (from http://projects.spring.io/spring-boot/) -- Spring Boot AutoConfigure (from http://projects.spring.io/spring-boot/) -- Spring Boot Json Starter (from https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-json) -- Spring Boot Logging Starter (from http://projects.spring.io/spring-boot/) -- Spring Boot Starter (from http://projects.spring.io/spring-boot/) -- Spring Boot Tomcat Starter (from http://projects.spring.io/spring-boot/) -- Spring Boot Validation Starter (from http://projects.spring.io/spring-boot/) -- Spring Boot Web Starter (from http://projects.spring.io/spring-boot/) - Spring Commons Logging Bridge (from https://github.com/spring-projects/spring-framework) - Spring Expression Language (SpEL) (from https://github.com/spring-projects/spring-framework) - Spring Framework: AOP (from http://www.springframework.org) @@ -97,7 +89,7 @@ The following software have components provided under the terms of this license: - elasticsearch-x-content (from https://github.com/elastic/elasticsearch) - error-prone annotations (from https://repo1.maven.org/maven2/com/google/errorprone/error_prone_annotations) - io.grpc:grpc-context (from https://github.com/grpc/grpc-java) -- jackson-databind (from http://wiki.fasterxml.com/JacksonHome) +- jackson-databind (from http://github.com/FasterXML/jackson) - javax.inject (from http://code.google.com/p/atinject/) - lang-mustache (from https://github.com/elastic/elasticsearch) - lettuce (from http://github.com/mp911de/lettuce/wiki) @@ -112,10 +104,18 @@ The following software have components provided under the terms of this license: - rest-high-level (from https://github.com/elastic/elasticsearch) - rxjava (from https://github.com/ReactiveX/RxJava) - server (from https://github.com/elastic/elasticsearch) +- spring-boot (from https://spring.io/projects/spring-boot) +- spring-boot-autoconfigure (from https://spring.io/projects/spring-boot) +- spring-boot-starter (from https://spring.io/projects/spring-boot) +- spring-boot-starter-json (from https://spring.io/projects/spring-boot) +- spring-boot-starter-logging (from https://spring.io/projects/spring-boot) +- spring-boot-starter-tomcat (from https://spring.io/projects/spring-boot) +- spring-boot-starter-validation (from https://spring.io/projects/spring-boot) +- spring-boot-starter-web (from https://spring.io/projects/spring-boot) - swagger-annotations (from https://repo1.maven.org/maven2/io/swagger/swagger-annotations) - swagger-jaxrs (from ) - tomcat-embed-core (from http://tomcat.apache.org/) -- tomcat-embed-websocket (from http://tomcat.apache.org/) +- tomcat-embed-websocket (from https://tomcat.apache.org/) ======================================================================== BSD-2-Clause diff --git a/src/main/java/org/opengroup/osdu/core/common/model/indexer/ElasticType.java b/src/main/java/org/opengroup/osdu/core/common/model/indexer/ElasticType.java index 04b759bbc6b70d87fa4cff32f0e9c091942c9353..81f1dc5a523fc3219ac683812717defba6d0dec3 100644 --- a/src/main/java/org/opengroup/osdu/core/common/model/indexer/ElasticType.java +++ b/src/main/java/org/opengroup/osdu/core/common/model/indexer/ElasticType.java @@ -20,6 +20,8 @@ public enum ElasticType { KEYWORD("keyword"), + CONSTANT_KEYWORD("constant_keyword"), + TEXT("text"), DATE("date"), diff --git a/src/main/java/org/opengroup/osdu/core/common/model/indexer/RecordIndexerPayload.java b/src/main/java/org/opengroup/osdu/core/common/model/indexer/RecordIndexerPayload.java index 08b19d6f012ba103610349620bd854f3bdb8bf3a..f22d0ddbf0c72132705438d05bfc220e1b4c01f9 100644 --- a/src/main/java/org/opengroup/osdu/core/common/model/indexer/RecordIndexerPayload.java +++ b/src/main/java/org/opengroup/osdu/core/common/model/indexer/RecordIndexerPayload.java @@ -39,7 +39,9 @@ public class RecordIndexerPayload { public static class Record { private String id; private String kind; + private String authority; private String namespace; + private String source; private String type; private OperationType operationType; private long version; @@ -48,6 +50,10 @@ public class RecordIndexerPayload { private IndexProgress indexProgress; private Legal legal; private RecordAncestry ancestry; + private String createUser; + private String createTime; + private String modifyUser; + private String modifyTime; private Map data; @JsonIgnore private boolean schemaMissing = false; diff --git a/src/main/java/org/opengroup/osdu/core/common/model/indexer/Records.java b/src/main/java/org/opengroup/osdu/core/common/model/indexer/Records.java index 1faed23332b1143d2666d730de79eb7b852c440c..7eaab2f5947cda441b5cac3d30caab4dcc1daad5 100644 --- a/src/main/java/org/opengroup/osdu/core/common/model/indexer/Records.java +++ b/src/main/java/org/opengroup/osdu/core/common/model/indexer/Records.java @@ -66,6 +66,10 @@ public class Records { private Map tags; private Legal legal; private RecordAncestry ancestry; + private String createUser; + private String createTime; + private String modifyUser; + private String modifyTime; private Map data; private List meta; } diff --git a/src/main/java/org/opengroup/osdu/core/common/model/search/RecordMetaAttribute.java b/src/main/java/org/opengroup/osdu/core/common/model/search/RecordMetaAttribute.java index 2cba5eadc6335124f0c801ffb3ceaf9dfb085375..00b2ac42148bfb426215e77a3fa8a85ab057058b 100644 --- a/src/main/java/org/opengroup/osdu/core/common/model/search/RecordMetaAttribute.java +++ b/src/main/java/org/opengroup/osdu/core/common/model/search/RecordMetaAttribute.java @@ -23,6 +23,10 @@ public enum RecordMetaAttribute { KIND("kind"), + AUTHORITY("authority"), + + SOURCE("source"), + NAMESPACE("namespace"), TYPE("type"), @@ -39,6 +43,14 @@ public enum RecordMetaAttribute { ANCESTRY("ancestry"), + CREATE_USER("createUser"), + + MODIFY_USER("modifyUser"), + + CREATE_TIME("createTime"), + + MODIFY_TIME("modifyTime"), + INDEX_STATUS("index"); private final String value;