Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Schema
Commits
c322b177
Commit
c322b177
authored
Sep 08, 2021
by
Abhishek Kumar
Browse files
Merge remote-tracking branch 'origin/master' into 65-m8-dd-content
parents
8ca70d4b
17738732
Pipeline
#65823
failed with stages
in 3 minutes and 32 seconds
Changes
7
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
NOTICE
View file @
c322b177
...
...
@@ -355,15 +355,15 @@ The following software have components provided under the terms of this license:
- Jackson dataformat: CBOR (from http://github.com/FasterXML/jackson-dataformats-binary)
- Jackson dataformat: CBOR (from http://github.com/FasterXML/jackson-dataformats-binary)
- Jackson datatype: JSR310 (from http://wiki.fasterxml.com/JacksonModuleJSR310)
- Jackson datatype: Joda (from https://github.com/FasterXML/jackson-datatype-joda)
- Jackson datatype: jdk8 (from https://repo1.maven.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-jdk8)
- Jackson module: Afterburner (from https://github.com/FasterXML/jackson-modules-base)
- Jackson module:
Old
JAXB
A
nnotations
(javax.xml.bind)
(from http
s
://github.com/FasterXML/jackson-module
s-base
)
- Jackson module: JAXB
-a
nnotations (from http://github.com/FasterXML/jackson-module
-jaxb-annotations
)
- Jackson-annotations (from http://github.com/FasterXML/jackson)
- Jackson-core (from https://github.com/FasterXML/jackson-core)
- Jackson-dataformat-Smile (from http://wiki.fasterxml.com/JacksonForSmile)
- Jackson-dataformat-XML (from http
s
://
github.com/FasterXML/jackson-dataformat-xml
)
- Jackson-dataformat-XML (from http://
wiki.fasterxml.com/JacksonExtensionXmlDataBinding
)
- Jackson-dataformat-YAML (from https://github.com/FasterXML/jackson-dataformats-text)
- Jackson-datatype-JODA (from http://wiki.fasterxml.com/JacksonModuleJoda)
- 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)
- Jakarta Expression Language Implementation (from https://projects.eclipse.org/projects/ee4j.el)
...
...
@@ -392,8 +392,8 @@ The following software have components provided under the terms of this license:
- Lucene Grouping (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-grouping)
- Lucene Highlighter (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-highlighter)
- Lucene Join (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-join)
- Lucene Memory (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-memory)
- Lucene Memory (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-backward-codecs)
- Lucene Memory (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-memory)
- Lucene Miscellaneous (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-misc)
- Lucene Queries (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-queries)
- Lucene QueryParsers (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-queryparser)
...
...
@@ -430,11 +430,12 @@ The following software have components provided under the terms of this license:
- Nimbus JOSE+JWT (from https://bitbucket.org/connect2id/nimbus-jose-jwt)
- Nimbus JOSE+JWT (from https://bitbucket.org/connect2id/nimbus-jose-jwt)
- Nimbus LangTag (from https://bitbucket.org/connect2id/nimbus-language-tags)
- Non-Blocking Reactive Foundation for the JVM (from https://github.com/reactor/reactor
-core
)
- Non-Blocking Reactive Foundation for the JVM (from https://github.com/reactor/reactor)
- OAuth 2.0 SDK with OpenID Connect extensions (from https://bitbucket.org/connect2id/oauth-2.0-sdk-with-openid-connect-extensions)
- OAuth 2.0 SDK with OpenID Connect extensions (from https://bitbucket.org/connect2id/oauth-2.0-sdk-with-openid-connect-extensions)
- Objenesis (from http://objenesis.org)
- Objenesis (from http://objenesis.org)
- OkHttp Logging Interceptor (from https://repo1.maven.org/maven2/com/squareup/okhttp3/logging-interceptor)
- Okio (from https://github.com/square/okio/)
- Okio (from https://github.com/square/okio/)
- OpenCensus (from https://github.com/census-instrumentation/opencensus-java)
...
...
@@ -453,7 +454,6 @@ The following software have components provided under the terms of this license:
- Spring AOP (from https://github.com/spring-projects/spring-framework)
- Spring Beans (from https://github.com/spring-projects/spring-framework)
- Spring Beans (from https://github.com/spring-projects/spring-framework)
- Spring Boot Log4j 2 Starter (from http://projects.spring.io/spring-boot/)
- Spring Boot Tomcat Starter (from https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-tomcat)
- Spring Boot Tomcat Starter (from https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-tomcat)
- Spring Commons Logging Bridge (from https://github.com/spring-projects/spring-framework)
...
...
@@ -483,9 +483,9 @@ The following software have components provided under the terms of this license:
- Vavr (from http://vavr.io)
- Vavr Match (from http://vavr.io)
- Woodstox (from https://github.com/FasterXML/woodstox)
- Zipkin Core Library (from https://repo1.maven.org/maven2/io/zipkin/zipkin2/zipkin)
- Zipkin Reporter Brave (from https://repo1.maven.org/maven2/io/zipkin/reporter2/zipkin-reporter-brave)
- Zipkin Reporter: Core (from https://repo1.maven.org/maven2/io/zipkin/reporter2/zipkin-reporter)
- Zipkin v2 (from https://repo1.maven.org/maven2/io/zipkin/zipkin2/zipkin)
- aalto-xml (from )
- aggs-matrix-stats (from https://github.com/elastic/elasticsearch)
- asm (from http://asm.ow2.io/)
...
...
@@ -496,6 +496,7 @@ The following software have components provided under the terms of this license:
- com.google.api.grpc:proto-google-cloud-datastore-v1 (from https://github.com/googleapis/googleapis)
- compiler (from http://github.com/spullara/mustache.java)
- core (from https://github.com/elastic/elasticsearch)
- core (from https://github.com/elastic/elasticsearch)
- datastore-v1-proto-client (from https://repo1.maven.org/maven2/com/google/cloud/datastore/datastore-v1-proto-client)
- elasticsearch-geo (from https://github.com/elastic/elasticsearch)
- error-prone annotations (from https://repo1.maven.org/maven2/com/google/errorprone/error_prone_annotations)
...
...
@@ -523,7 +524,6 @@ The following software have components provided under the terms of this license:
- jose4j (from https://bitbucket.org/b_c/jose4j/)
- lang-mustache (from https://github.com/elastic/elasticsearch)
- lettuce (from http://github.com/mp911de/lettuce/wiki)
- logging-interceptor (from https://github.com/square/okhttp)
- mapper-extras (from https://github.com/elastic/elasticsearch)
- micrometer-core (from https://github.com/micrometer-metrics/micrometer)
- micrometer-core (from https://github.com/micrometer-metrics/micrometer)
...
...
@@ -545,18 +545,17 @@ The following software have components provided under the terms of this license:
- requests (from https://requests.readthedocs.io)
- resilience4j (from https://resilience4j.readme.io)
- resilience4j (from https://resilience4j.readme.io)
- resilience4j (from https://resilience4j.readme.io)
- resilience4j (from https://github.com/resilience4j/resilience4j)
- resilience4j (from https://resilience4j.readme.io)
- resilience4j (from https://github.com/resilience4j/resilience4j)
- resilience4j (from https://resilience4j.readme.io)
- resilience4j (from https://resilience4j.readme.io)
- resilience4j (from https://resilience4j.readme.io)
- resilience4j (from https://resilience4j.readme.io)
- rest (from https://github.com/elastic/elasticsearch)
- rest (from https://github.com/elastic/elasticsearch)
- rest-high-level (from https://github.com/elastic/elasticsearch)
- rxjava (from https://github.com/ReactiveX/RxJava)
- secure-sm (from https://github.com/elastic/elasticsearch)
- server (from https://github.com/elastic/elasticsearch)
- spring-boot (from https://spring.io/projects/spring-boot)
- spring-boot (from https://spring.io/projects/spring-boot)
- spring-boot-actuator (from https://spring.io/projects/spring-boot)
...
...
@@ -574,6 +573,7 @@ The following software have components provided under the terms of this license:
- spring-boot-starter-aop (from https://spring.io/projects/spring-boot)
- spring-boot-starter-json (from https://spring.io/projects/spring-boot)
- spring-boot-starter-json (from https://spring.io/projects/spring-boot)
- spring-boot-starter-log4j2 (from https://spring.io/projects/spring-boot)
- spring-boot-starter-logging (from https://spring.io/projects/spring-boot)
- spring-boot-starter-reactor-netty (from https://spring.io/projects/spring-boot)
- spring-boot-starter-security (from https://spring.io/projects/spring-boot)
...
...
@@ -589,15 +589,15 @@ The following software have components provided under the terms of this license:
- spring-boot-test (from https://spring.io/projects/spring-boot)
- spring-boot-test-autoconfigure (from https://spring.io/projects/spring-boot)
- spring-boot-test-autoconfigure (from https://spring.io/projects/spring-boot)
- spring-security-config (from http://spring.io/spring-security)
- spring-security-config (from http://spring.io/spring-security)
- spring-security-core (from http://spring.io/spring-security)
- spring-security-core (from http://spring.io/spring-security)
- spring-security-oauth2-core (from http://spring.io/spring-security)
- spring-security-oauth2-jose (from http://spring.io/spring-security)
- spring-security-oauth2-resource-server (from http://spring.io/spring-security)
- spring-security-web (from http://spring.io/spring-security)
- spring-security-web (from http://spring.io/spring-security)
- spring-security-config (from http
s
://spring.io/spring-security)
- spring-security-config (from http
s
://spring.io/spring-security)
- spring-security-core (from http
s
://spring.io/spring-security)
- spring-security-core (from http
s
://spring.io/spring-security)
- spring-security-oauth2-core (from http
s
://spring.io/spring-security)
- spring-security-oauth2-jose (from http
s
://spring.io/spring-security)
- spring-security-oauth2-resource-server (from http
s
://spring.io/spring-security)
- spring-security-web (from http
s
://spring.io/spring-security)
- spring-security-web (from http
s
://spring.io/spring-security)
- springfox-core (from https://github.com/springfox/springfox)
- springfox-schema (from https://github.com/springfox/springfox)
- springfox-spi (from https://github.com/springfox/springfox)
...
...
@@ -609,7 +609,7 @@ The following software have components provided under the terms of this license:
- swagger-jaxrs (from )
- swagger-models (from https://repo1.maven.org/maven2/io/swagger/swagger-models)
- tomcat-embed-core (from http://tomcat.apache.org/)
- tomcat-embed-websocket (from http
s
://tomcat.apache.org/)
- tomcat-embed-websocket (from http://tomcat.apache.org/)
- x-content (from https://github.com/elastic/elasticsearch)
========================================================================
...
...
@@ -626,7 +626,7 @@ The following software have components provided under the terms of this license:
- HdrHistogram (from http://hdrhistogram.github.io/HdrHistogram/)
- Lucene Common Analyzers (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-analyzers-common)
- Lucene Core (from https://repo1.maven.org/maven2/org/apache/lucene/lucene-core)
- Reflections (from http://
github.com/ronmamo
/reflections)
- Reflections (from http://
code.google.com/p
/reflections
/
)
- Stax2 API (from http://github.com/FasterXML/stax2-api)
- ThreeTen backport (from https://www.threeten.org/threetenbp)
...
...
@@ -659,7 +659,7 @@ The following software have components provided under the terms of this license:
- Netty/Codec/HTTP (from https://repo1.maven.org/maven2/io/netty/netty-codec-http)
- Protocol Buffers [Core] (from https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java)
- Protocol Buffers [Util] (from https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java-util)
- Reflections (from http://
github.com/ronmamo
/reflections)
- Reflections (from http://
code.google.com/p
/reflections
/
)
- SnakeYAML (from http://www.snakeyaml.org)
- Spring Core (from https://github.com/spring-projects/spring-framework)
- Spring Core (from https://github.com/spring-projects/spring-framework)
...
...
@@ -740,7 +740,6 @@ The following software have components provided under the terms of this license:
- JUnit Platform Commons (from https://junit.org/junit5/)
- JUnit Platform Engine API (from https://junit.org/junit5/)
- JUnit Platform Engine API (from https://junit.org/junit5/)
- JUnit Vintage Engine (from https://junit.org/junit5/)
- Jakarta Annotations API (from https://projects.eclipse.org/projects/ee4j.ca)
- Jakarta Expression Language Implementation (from https://projects.eclipse.org/projects/ee4j.el)
- Logback Classic Module (from https://repo1.maven.org/maven2/ch/qos/logback/logback-classic)
...
...
@@ -753,6 +752,7 @@ The following software have components provided under the terms of this license:
- Microsoft Application Insights Java SDK Web Module (from https://github.com/Microsoft/ApplicationInsights-Java)
- Microsoft Application Insights Log4j 2 Appender (from https://github.com/Microsoft/ApplicationInsights-Java)
- SnakeYAML (from http://www.snakeyaml.org)
- org.junit.vintage:junit-vintage-engine (from http://junit.org/junit5/)
========================================================================
EPL-2.0
...
...
@@ -771,9 +771,9 @@ The following software have components provided under the terms of this license:
- JUnit Platform Commons (from https://junit.org/junit5/)
- JUnit Platform Engine API (from https://junit.org/junit5/)
- JUnit Platform Engine API (from https://junit.org/junit5/)
- JUnit Vintage Engine (from https://junit.org/junit5/)
- Jakarta Annotations API (from https://projects.eclipse.org/projects/ee4j.ca)
- Jakarta Expression Language Implementation (from https://projects.eclipse.org/projects/ee4j.el)
- org.junit.vintage:junit-vintage-engine (from http://junit.org/junit5/)
========================================================================
GPL-2.0-only
...
...
@@ -941,8 +941,8 @@ The following software have components provided under the terms of this license:
- msal (from https://github.com/AzureAD/microsoft-authentication-library-for-python)
- msal4j (from https://github.com/AzureAD/microsoft-authentication-library-for-java)
- msal4j-persistence-extension (from https://github.com/AzureAD/microsoft-authentication-extensions-for-java)
- spring-security-core (from http://spring.io/spring-security)
- spring-security-core (from http://spring.io/spring-security)
- spring-security-core (from http
s
://spring.io/spring-security)
- spring-security-core (from http
s
://spring.io/spring-security)
========================================================================
MPL-1.1
...
...
@@ -1000,7 +1000,7 @@ WTFPL
========================================================================
The following software have components provided under the terms of this license:
- Reflections (from http://
github.com/ronmamo
/reflections)
- Reflections (from http://
code.google.com/p
/reflections
/
)
========================================================================
X11
...
...
@@ -1060,9 +1060,9 @@ The following software have components provided under the terms of this license:
- JUnit Platform Commons (from https://junit.org/junit5/)
- JUnit Platform Engine API (from https://junit.org/junit5/)
- JUnit Platform Engine API (from https://junit.org/junit5/)
- JUnit Vintage Engine (from https://junit.org/junit5/)
- Jakarta Activation API jar (from https://repo1.maven.org/maven2/jakarta/activation/jakarta.activation-api)
- Jakarta XML Binding API (from https://repo1.maven.org/maven2/jakarta/xml/bind/jakarta.xml.bind-api)
- Spongy Castle (from http://rtyley.github.io/spongycastle/)
- org.junit.vintage:junit-vintage-engine (from http://junit.org/junit5/)
schema-core/src/main/java/org/opengroup/osdu/schema/provider/interfaces/messagebus/IMessageBus.java
View file @
c322b177
...
...
@@ -15,6 +15,12 @@
*/
package
org.opengroup.osdu.schema.provider.interfaces.messagebus
;
import
org.apache.commons.lang3.NotImplementedException
;
public
interface
IMessageBus
{
void
publishMessage
(
String
schemaId
,
String
eventType
);
default
void
publishMessageForSystemSchema
(
String
schemaId
,
String
eventType
)
{
throw
new
NotImplementedException
();
}
}
\ No newline at end of file
schema-core/src/main/java/org/opengroup/osdu/schema/provider/interfaces/schemainfostore/IAuthorityStore.java
View file @
c322b177
...
...
@@ -4,11 +4,20 @@ import org.opengroup.osdu.schema.exceptions.ApplicationException;
import
org.opengroup.osdu.schema.exceptions.BadRequestException
;
import
org.opengroup.osdu.schema.exceptions.NotFoundException
;
import
org.opengroup.osdu.schema.model.Authority
;
import
org.apache.commons.lang3.NotImplementedException
;
public
interface
IAuthorityStore
{
Authority
get
(
String
authorityId
)
throws
NotFoundException
,
ApplicationException
;
default
Authority
getSystemAuthority
(
String
authorityId
)
throws
NotFoundException
,
ApplicationException
{
throw
new
NotImplementedException
();
}
Authority
create
(
Authority
authority
)
throws
ApplicationException
,
BadRequestException
;
default
Authority
createSystemAuthority
(
Authority
authority
)
throws
ApplicationException
,
BadRequestException
{
throw
new
NotImplementedException
();
}
}
schema-core/src/main/java/org/opengroup/osdu/schema/provider/interfaces/schemainfostore/IEntityTypeStore.java
View file @
c322b177
...
...
@@ -4,11 +4,20 @@ import org.opengroup.osdu.schema.exceptions.ApplicationException;
import
org.opengroup.osdu.schema.exceptions.BadRequestException
;
import
org.opengroup.osdu.schema.exceptions.NotFoundException
;
import
org.opengroup.osdu.schema.model.EntityType
;
import
org.apache.commons.lang3.NotImplementedException
;
public
interface
IEntityTypeStore
{
EntityType
get
(
String
entityTypeId
)
throws
NotFoundException
,
ApplicationException
;
default
EntityType
getSystemEntity
(
String
entityTypeId
)
throws
NotFoundException
,
ApplicationException
{
throw
new
NotImplementedException
();
}
EntityType
create
(
EntityType
entityType
)
throws
BadRequestException
,
ApplicationException
;
default
EntityType
createSystemEntity
(
EntityType
entityType
)
throws
BadRequestException
,
ApplicationException
{
throw
new
NotImplementedException
();
}
}
schema-core/src/main/java/org/opengroup/osdu/schema/provider/interfaces/schemainfostore/ISchemaInfoStore.java
View file @
c322b177
...
...
@@ -9,20 +9,45 @@ import org.opengroup.osdu.schema.exceptions.NotFoundException;
import
org.opengroup.osdu.schema.model.QueryParams
;
import
org.opengroup.osdu.schema.model.SchemaInfo
;
import
org.opengroup.osdu.schema.model.SchemaRequest
;
import
org.apache.commons.lang3.NotImplementedException
;
public
interface
ISchemaInfoStore
{
SchemaInfo
updateSchemaInfo
(
SchemaRequest
schema
)
throws
ApplicationException
,
BadRequestException
;
default
SchemaInfo
updateSystemSchemaInfo
(
SchemaRequest
schema
)
throws
ApplicationException
,
BadRequestException
{
throw
new
NotImplementedException
();
}
SchemaInfo
createSchemaInfo
(
SchemaRequest
schema
)
throws
ApplicationException
,
BadRequestException
;
default
SchemaInfo
createSystemSchemaInfo
(
SchemaRequest
schema
)
throws
ApplicationException
,
BadRequestException
{
throw
new
NotImplementedException
();
}
SchemaInfo
getSchemaInfo
(
String
schemaId
)
throws
ApplicationException
,
NotFoundException
;
default
SchemaInfo
getSystemSchemaInfo
(
String
schemaId
)
throws
ApplicationException
,
NotFoundException
{
throw
new
NotImplementedException
();
}
String
getLatestMinorVerSchema
(
SchemaInfo
schemaInfo
)
throws
ApplicationException
;
List
<
SchemaInfo
>
getSchemaInfoList
(
QueryParams
queryParams
,
String
tenantId
)
throws
ApplicationException
;
default
List
<
SchemaInfo
>
getSystemSchemaInfoList
(
QueryParams
queryParams
)
throws
ApplicationException
{
throw
new
NotImplementedException
();
}
boolean
isUnique
(
String
schemaId
,
String
tenantId
)
throws
ApplicationException
;
default
boolean
isUniqueSystemSchema
(
String
schemaId
)
throws
ApplicationException
{
throw
new
NotImplementedException
();
}
boolean
cleanSchema
(
String
schemaId
)
throws
ApplicationException
;
default
boolean
cleanSystemSchema
(
String
schemaId
)
throws
ApplicationException
{
throw
new
NotImplementedException
();
}
}
schema-core/src/main/java/org/opengroup/osdu/schema/provider/interfaces/schemainfostore/ISourceStore.java
View file @
c322b177
...
...
@@ -4,11 +4,20 @@ import org.opengroup.osdu.schema.exceptions.ApplicationException;
import
org.opengroup.osdu.schema.exceptions.BadRequestException
;
import
org.opengroup.osdu.schema.exceptions.NotFoundException
;
import
org.opengroup.osdu.schema.model.Source
;
import
org.apache.commons.lang3.NotImplementedException
;
public
interface
ISourceStore
{
Source
get
(
String
sourceId
)
throws
NotFoundException
,
ApplicationException
;
default
Source
getSystemSource
(
String
sourceId
)
throws
NotFoundException
,
ApplicationException
{
throw
new
NotImplementedException
();
}
Source
create
(
Source
source
)
throws
BadRequestException
,
ApplicationException
;
default
Source
createSystemSource
(
Source
source
)
throws
BadRequestException
,
ApplicationException
{
throw
new
NotImplementedException
();
}
}
schema-core/src/main/java/org/opengroup/osdu/schema/provider/interfaces/schemastore/ISchemaStore.java
View file @
c322b177
...
...
@@ -2,12 +2,25 @@ package org.opengroup.osdu.schema.provider.interfaces.schemastore;
import
org.opengroup.osdu.schema.exceptions.ApplicationException
;
import
org.opengroup.osdu.schema.exceptions.NotFoundException
;
import
org.apache.commons.lang3.NotImplementedException
;
public
interface
ISchemaStore
{
String
createSchema
(
String
filePath
,
String
content
)
throws
ApplicationException
;
default
String
createSystemSchema
(
String
filePath
,
String
content
)
throws
ApplicationException
{
throw
new
NotImplementedException
();
}
String
getSchema
(
String
dataPartitionId
,
String
filePath
)
throws
NotFoundException
,
ApplicationException
;
default
String
getSystemSchema
(
String
filePath
)
throws
NotFoundException
,
ApplicationException
{
throw
new
NotImplementedException
();
}
boolean
cleanSchemaProject
(
String
schemaId
)
throws
ApplicationException
;
default
boolean
cleanSystemSchemaProject
(
String
schemaId
)
throws
ApplicationException
{
throw
new
NotImplementedException
();
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment