Use Hibernate as a database (#32)

* Basic hibernate structure.

* Commit stash.

* Improve a lot of things.

* Implement Feed, PubSub, query optimizations.

* Update video views on channel visits.

* Allow mass importing subscriptions.

* Allow configuring database in config.properties.

* Major multi-threading and pubsub improvements.

* PubSub query improvements and fix for postgres.

* Revert docker-compose change.

* Disable showing sql statements.
This commit is contained in:
FireMasterK 2021-07-17 04:10:46 +05:30 committed by GitHub
parent 5ab5635fc4
commit dfca88952a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 1324 additions and 163 deletions

View file

@ -16,7 +16,6 @@ dependencies {
implementation 'it.unimi.dsi:fastutil-core:8.5.4'
implementation 'commons-codec:commons-codec:1.15'
implementation 'org.bouncycastle:bcprov-jdk15on:1.69'
implementation 'org.mongodb:mongodb-driver-sync:4.2.2'
implementation 'com.github.TiA4f8R.NewPipeExtractor:NewPipeExtractor:df53170023ff5b97ad1d7ccc74bfce74c3998bcc'
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
implementation 'com.fasterxml.jackson.core:jackson-core:2.12.4'
@ -32,7 +31,11 @@ dependencies {
implementation 'io.activej:activej-boot:4.3'
implementation 'io.activej:activej-specializer:4.3'
implementation 'io.activej:activej-launchers-http:4.3'
implementation 'net.java.dev.jna:jna-platform:5.8.0'
implementation 'org.postgresql:postgresql:42.2.19'
implementation 'org.hibernate:hibernate-core:5.4.30.Final'
implementation 'org.hibernate:hibernate-hikaricp:5.4.30.Final'
implementation 'org.springframework.security:spring-security-crypto:5.5.1'
implementation 'commons-logging:commons-logging:1.2'
}
shadowJar {