Skip to content

Commit

Permalink
Merge pull request #6 from quantics-io/release/0.3.1
Browse files Browse the repository at this point in the history
Release 0.3.1
  • Loading branch information
jomatt authored Sep 30, 2022
2 parents 125c9d7 + 740b24b commit 8307b17
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Add the dependency to your pom.xml file:
<dependency>
<groupId>io.quantics</groupId>
<artifactId>multitenant-oauth2-spring-boot-starter</artifactId>
<version>0.3.0</version>
<version>0.3.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>io.quantics</groupId>
<artifactId>multitenant-oauth2-spring-boot-starter</artifactId>
<version>0.3.0</version>
<version>0.3.1</version>
<name>Spring Boot starter library for multi-tenant OAuth2 resource servers</name>

<licenses>
Expand Down
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();

}
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);

}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
*/
public interface TenantDetailsService {

Iterable<? extends TenantDetails> getAll();

Optional<? extends TenantDetails> getById(String id);

Optional<? extends TenantDetails> getByIssuer(String issuer);
Expand Down
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();

}
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);

}

0 comments on commit 8307b17

Please sign in to comment.