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
7da6498c
Commit
7da6498c
authored
Aug 10, 2021
by
Aman Verma
Browse files
using keyword system instead of public
parent
12bae0b8
Pipeline
#57468
failed with stages
in 1 minute and 42 seconds
Changes
6
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
schema-core/src/main/java/org/opengroup/osdu/schema/provider/interfaces/messagebus/IMessageBus.java
View file @
7da6498c
...
...
@@ -20,7 +20,7 @@ import sun.reflect.generics.reflectiveObjects.NotImplementedException;
public
interface
IMessageBus
{
void
publishMessage
(
String
schemaId
,
String
eventType
);
default
void
publishMessageFor
Public
Schema
(
String
schemaId
,
String
eventType
)
{
default
void
publishMessageFor
System
Schema
(
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 @
7da6498c
...
...
@@ -10,13 +10,13 @@ public interface IAuthorityStore {
Authority
get
(
String
authorityId
)
throws
NotFoundException
,
ApplicationException
;
default
Authority
get
Public
Authority
(
String
authorityId
)
throws
NotFoundException
,
ApplicationException
{
default
Authority
get
System
Authority
(
String
authorityId
)
throws
NotFoundException
,
ApplicationException
{
throw
new
NotImplementedException
();
}
Authority
create
(
Authority
authority
)
throws
ApplicationException
,
BadRequestException
;
default
Authority
create
Public
Authority
(
Authority
authority
)
throws
ApplicationException
,
BadRequestException
{
default
Authority
create
System
Authority
(
Authority
authority
)
throws
ApplicationException
,
BadRequestException
{
throw
new
NotImplementedException
();
}
...
...
schema-core/src/main/java/org/opengroup/osdu/schema/provider/interfaces/schemainfostore/IEntityTypeStore.java
View file @
7da6498c
...
...
@@ -10,13 +10,13 @@ public interface IEntityTypeStore {
EntityType
get
(
String
entityTypeId
)
throws
NotFoundException
,
ApplicationException
;
default
EntityType
get
Public
Entity
(
String
entityTypeId
)
throws
NotFoundException
,
ApplicationException
{
default
EntityType
get
System
Entity
(
String
entityTypeId
)
throws
NotFoundException
,
ApplicationException
{
throw
new
NotImplementedException
();
}
EntityType
create
(
EntityType
entityType
)
throws
BadRequestException
,
ApplicationException
;
default
EntityType
create
Public
Entity
(
EntityType
entityType
)
throws
BadRequestException
,
ApplicationException
{
default
EntityType
create
System
Entity
(
EntityType
entityType
)
throws
BadRequestException
,
ApplicationException
{
throw
new
NotImplementedException
();
}
...
...
schema-core/src/main/java/org/opengroup/osdu/schema/provider/interfaces/schemainfostore/ISchemaInfoStore.java
View file @
7da6498c
...
...
@@ -15,19 +15,19 @@ public interface ISchemaInfoStore {
SchemaInfo
updateSchemaInfo
(
SchemaRequest
schema
)
throws
ApplicationException
,
BadRequestException
;
default
SchemaInfo
update
Public
SchemaInfo
(
SchemaRequest
schema
)
throws
ApplicationException
,
BadRequestException
{
default
SchemaInfo
update
System
SchemaInfo
(
SchemaRequest
schema
)
throws
ApplicationException
,
BadRequestException
{
throw
new
NotImplementedException
();
}
SchemaInfo
createSchemaInfo
(
SchemaRequest
schema
)
throws
ApplicationException
,
BadRequestException
;
default
SchemaInfo
create
Public
SchemaInfo
(
SchemaRequest
schema
)
throws
ApplicationException
,
BadRequestException
{
default
SchemaInfo
create
System
SchemaInfo
(
SchemaRequest
schema
)
throws
ApplicationException
,
BadRequestException
{
throw
new
NotImplementedException
();
}
SchemaInfo
getSchemaInfo
(
String
schemaId
)
throws
ApplicationException
,
NotFoundException
;
default
SchemaInfo
get
Public
SchemaInfo
(
String
schemaId
)
throws
ApplicationException
,
NotFoundException
{
default
SchemaInfo
get
System
SchemaInfo
(
String
schemaId
)
throws
ApplicationException
,
NotFoundException
{
throw
new
NotImplementedException
();
}
...
...
@@ -35,19 +35,19 @@ public interface ISchemaInfoStore {
List
<
SchemaInfo
>
getSchemaInfoList
(
QueryParams
queryParams
,
String
tenantId
)
throws
ApplicationException
;
default
List
<
SchemaInfo
>
get
Public
SchemaInfoList
(
QueryParams
queryParams
)
throws
ApplicationException
{
default
List
<
SchemaInfo
>
get
System
SchemaInfoList
(
QueryParams
queryParams
)
throws
ApplicationException
{
throw
new
NotImplementedException
();
}
boolean
isUnique
(
String
schemaId
,
String
tenantId
)
throws
ApplicationException
;
default
boolean
isUnique
(
String
schemaId
)
throws
ApplicationException
{
default
boolean
isUnique
SystemSchema
(
String
schemaId
)
throws
ApplicationException
{
throw
new
NotImplementedException
();
}
boolean
cleanSchema
(
String
schemaId
)
throws
ApplicationException
;
default
boolean
clean
Public
Schema
(
String
schemaId
)
throws
ApplicationException
{
default
boolean
clean
System
Schema
(
String
schemaId
)
throws
ApplicationException
{
throw
new
NotImplementedException
();
}
}
schema-core/src/main/java/org/opengroup/osdu/schema/provider/interfaces/schemainfostore/ISourceStore.java
View file @
7da6498c
...
...
@@ -10,13 +10,13 @@ public interface ISourceStore {
Source
get
(
String
sourceId
)
throws
NotFoundException
,
ApplicationException
;
default
Source
get
Public
Source
(
String
sourceId
)
throws
NotFoundException
,
ApplicationException
{
default
Source
get
System
Source
(
String
sourceId
)
throws
NotFoundException
,
ApplicationException
{
throw
new
NotImplementedException
();
}
Source
create
(
Source
source
)
throws
BadRequestException
,
ApplicationException
;
default
Source
create
Public
Source
(
Source
source
)
throws
BadRequestException
,
ApplicationException
{
default
Source
create
System
Source
(
Source
source
)
throws
BadRequestException
,
ApplicationException
{
throw
new
NotImplementedException
();
}
...
...
schema-core/src/main/java/org/opengroup/osdu/schema/provider/interfaces/schemastore/ISchemaStore.java
View file @
7da6498c
...
...
@@ -8,19 +8,19 @@ public interface ISchemaStore {
String
createSchema
(
String
filePath
,
String
content
)
throws
ApplicationException
;
default
String
create
Public
Schema
(
String
filePath
,
String
content
)
throws
ApplicationException
{
default
String
create
System
Schema
(
String
filePath
,
String
content
)
throws
ApplicationException
{
throw
new
NotImplementedException
();
}
String
getSchema
(
String
dataPartitionId
,
String
filePath
)
throws
NotFoundException
,
ApplicationException
;
default
String
get
Public
Schema
(
String
dataPartitionId
,
String
filePath
)
throws
NotFoundException
,
ApplicationException
{
default
String
get
System
Schema
(
String
dataPartitionId
,
String
filePath
)
throws
NotFoundException
,
ApplicationException
{
throw
new
NotImplementedException
();
}
boolean
cleanSchemaProject
(
String
schemaId
)
throws
ApplicationException
;
default
boolean
clean
Public
SchemaProject
(
String
schemaId
)
throws
ApplicationException
{
default
boolean
clean
System
SchemaProject
(
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