Commit Graph

9 Commits

Author SHA1 Message Date
Hamid Reza Sharifi 7af516d159 Bael 5407: Multitenancy with Spring Data JPA (#12507)
* BAEL-5407: add entity, repository, controller, main class

* BAEL-5407: add starter-web and postgres dependencies

* BAEL-5407: add sample script

* BAEL-5407: add tenant definition file

* BAEL-5407: add tenant filter

* BAEL-5407: add AbstractRoutingDataSource class

* BAEL-5407: add TenantContext class

* BAEL-5407: add MultitenantConfiguration class

* BAEL-5407: replace Object with String

* BAEL-5407: improve indentation

* BAEL-5407: remove printStackTrace()

* BAEL-5407: add security classes

* BAEL-5407: add security dependencies

* BAEL-5407: get Tenant from JWT token

* BAEL-5407: improve indent

* BAEL-5407: improve code quality

Co-authored-by: h_sharifi <h_sharifi@modernisc.com>
2022-08-23 22:33:31 +01:00
Krzysiek 5242966787 JAVA-9486: Use guava.version defined in the parent pom 2022-01-18 09:42:21 +01:00
sampadawagde ae27c57803 JAVA-5223: Fix formatting of POMs (Persistence Modules - Part 3) 2021-05-10 20:06:48 +05:30
Krzysztof Woyke f17aec8395 JAVA-3593: Use byte-buddy version inherited from the main pom.xml 2021-03-29 23:11:42 +02:00
Krzysztof Woyke 95f98baeb3 JAVA-3710: Use hibernate-core in spring-jpa-2 2020-12-24 12:45:51 +01:00
fdpro c6b1da4180 [JAVA-1669] Added missing byte-buddy dependency 2020-09-26 08:23:21 +02:00
fdpro 4e4ac650fa [JAVA-2306] Moved articles from spring-persistence-simple
* https://www.baeldung.com/the-persistence-layer-with-spring-and-jpa went into spring-jpa-2

* https://www.baeldung.com/hibernate-5-spring went to spring-jpa-2

* https://www.baeldung.com/transaction-configuration-with-jpa-and-spring went to spring-jpa-2

* https://www.baeldung.com/persistence-layer-with-spring-and-hibernate went to spring-jpa-2

* https://www.baeldung.com/simplifying-the-data-access-layer-with-spring-and-java-generics went to spring-jpa-2

* https://www.baeldung.com/the-persistence-layer-with-spring-data-jpa went to spring-data-jpa-repo-2

* https://www.baeldung.com/spring-data-jpa-query went to spring-data-jpa-query-2

* https://www.baeldung.com/spring-jdbc-jdbctemplate moved to spring-jdbc

* Removed spring-persistence-simple module as all articles have been moved
2020-09-02 20:22:44 +02:00
mikr ab056706ac Java-70 Remove unnecessary files from spring-jpa-2 + include in main persistence pom file 2020-08-15 20:02:21 +02:00
mikr 3ac4049cae Java-65 split persistence-modules/spring-jpa 2020-08-04 22:39:30 +02:00