-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from quantics-io/release/0.3.1
Release 0.3.1
- Loading branch information
Showing
7 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/java/io/quantics/multitenant/tenantdetails/TenantDatabaseDetails.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.quantics.multitenant.tenantdetails; | ||
|
||
/** | ||
* Provides core information about a tenant in a multi-tenant application where each tenant has its own database. | ||
* | ||
*/ | ||
public interface TenantDatabaseDetails extends TenantDetails { | ||
|
||
String getDatabase(); | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/io/quantics/multitenant/tenantdetails/TenantDatabaseDetailsService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package io.quantics.multitenant.tenantdetails; | ||
|
||
import java.util.Optional; | ||
|
||
|
||
public interface TenantDatabaseDetailsService extends TenantDetailsService { | ||
|
||
Iterable<? extends TenantDatabaseDetails> getAll(); | ||
|
||
Optional<? extends TenantDatabaseDetails> getById(String id); | ||
|
||
Optional<? extends TenantDatabaseDetails> getByIssuer(String issuer); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/java/io/quantics/multitenant/tenantdetails/TenantSchemaDetails.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.quantics.multitenant.tenantdetails; | ||
|
||
/** | ||
* Provides core information about a tenant in a multi-tenant application where each tenant has their own schema. | ||
* | ||
*/ | ||
public interface TenantSchemaDetails extends TenantDetails { | ||
|
||
String getSchema(); | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/io/quantics/multitenant/tenantdetails/TenantSchemaDetailsService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package io.quantics.multitenant.tenantdetails; | ||
|
||
import java.util.Optional; | ||
|
||
|
||
public interface TenantSchemaDetailsService extends TenantDetailsService { | ||
|
||
Iterable<? extends TenantSchemaDetails> getAll(); | ||
|
||
Optional<? extends TenantSchemaDetails> getById(String id); | ||
|
||
Optional<? extends TenantSchemaDetails> getByIssuer(String issuer); | ||
|
||
} |