mirror of
https://github.com/mvvasilev/personal-finances.git
synced 2025-04-11 18:35:02 +03:00
Rename submodules, add frontend as submodule
This commit is contained in:
parent
126d9abf6b
commit
b63d099562
166 changed files with 45 additions and 100 deletions
1
.idea/.name
generated
Normal file
1
.idea/.name
generated
Normal file
|
@ -0,0 +1 @@
|
|||
pefi
|
8
.idea/gradle.xml
generated
8
.idea/gradle.xml
generated
|
@ -5,13 +5,15 @@
|
|||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleHome" value="/usr/share/java/gradle" />
|
||||
<option name="gradleJvm" value="21" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
<option value="$PROJECT_DIR$/APIGateway" />
|
||||
<option value="$PROJECT_DIR$/Common" />
|
||||
<option value="$PROJECT_DIR$/PersonalFinancesService" />
|
||||
<option value="$PROJECT_DIR$/pefi-api-gateway" />
|
||||
<option value="$PROJECT_DIR$/pefi-common" />
|
||||
<option value="$PROJECT_DIR$/pefi-frontend" />
|
||||
<option value="$PROJECT_DIR$/pefi-monolith" />
|
||||
</set>
|
||||
</option>
|
||||
</GradleProjectSettings>
|
||||
|
|
2
.idea/sqldialects.xml
generated
2
.idea/sqldialects.xml
generated
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="SqlDialectMappings">
|
||||
<file url="file://$PROJECT_DIR$/PersonalFinancesService/src/main/java/dev/mvvasilev/finances/persistence/RawTransactionValueGroupRepository.java" dialect="GenericSQL" />
|
||||
<file url="file://$PROJECT_DIR$/pefi-monolith/src/main/java/dev/mvvasilev/finances/persistence/RawTransactionValueGroupRepository.java" dialect="GenericSQL" />
|
||||
<file url="PROJECT" dialect="PostgreSQL" />
|
||||
</component>
|
||||
</project>
|
|
@ -1 +0,0 @@
|
|||
rootProject.name = 'api-gateway'
|
|
@ -1,13 +0,0 @@
|
|||
package dev.mvvasilev.gateway;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class ApiGatewayApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
}
|
||||
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
rootProject.name = 'personal-finances-service'
|
|
@ -1,13 +0,0 @@
|
|||
package dev.mvvasilev.finances;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class PersonalFinancesServiceApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
}
|
||||
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
package dev.mvvasilev.finances.services;
|
||||
|
||||
import dev.mvvasilev.finances.CategorizationBuilder;
|
||||
import dev.mvvasilev.finances.persistence.CategorizationRepository;
|
||||
import dev.mvvasilev.finances.persistence.ProcessedTransactionCategoryRepository;
|
||||
import dev.mvvasilev.finances.persistence.ProcessedTransactionRepository;
|
||||
import dev.mvvasilev.finances.persistence.TransactionCategoryRepository;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.boot.test.mock.mockito.MockBean;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
@SpringBootTest
|
||||
class CategoryServiceTest {
|
||||
|
||||
@MockBean
|
||||
private TransactionCategoryRepository transactionCategoryRepository;
|
||||
|
||||
@MockBean
|
||||
private CategorizationRepository categorizationRepository;
|
||||
|
||||
@MockBean
|
||||
private ProcessedTransactionRepository processedTransactionRepository;
|
||||
|
||||
@MockBean
|
||||
private ProcessedTransactionCategoryRepository processedTransactionCategoryRepository;
|
||||
|
||||
@Autowired
|
||||
private CategoryService service;
|
||||
|
||||
@Test
|
||||
void matchesRule() {
|
||||
|
||||
}
|
||||
}
|
10
build.gradle
10
build.gradle
|
@ -1,10 +0,0 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
}
|
||||
|
||||
group = 'dev.mvvasilev'
|
||||
version = '1.0-SNAPSHOT'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
|
@ -21,17 +21,16 @@ ext {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
// implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
|
||||
// implementation 'org.springframework.boot:spring-boot-starter-security'
|
||||
// implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
|
||||
implementation 'org.springframework.cloud:spring-cloud-starter-gateway'
|
||||
implementation 'org.springframework.session:spring-session-core'
|
||||
implementation 'org.springframework.session:spring-session-data-redis'
|
||||
|
||||
implementation 'io.lettuce:lettuce-core'
|
||||
// testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||||
// testImplementation 'org.springframework.security:spring-security-test'
|
||||
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||||
testImplementation 'org.springframework.security:spring-security-test'
|
||||
}
|
||||
|
||||
dependencyManagement {
|
1
pefi-api-gateway/settings.gradle
Normal file
1
pefi-api-gateway/settings.gradle
Normal file
|
@ -0,0 +1 @@
|
|||
rootProject.name = 'pefi-api-gateway'
|
1
pefi-common/settings.gradle
Normal file
1
pefi-common/settings.gradle
Normal file
|
@ -0,0 +1 @@
|
|||
rootProject.name = 'pefi-common'
|
7
pefi-frontend/build.gradle
Normal file
7
pefi-frontend/build.gradle
Normal file
|
@ -0,0 +1,7 @@
|
|||
plugins {
|
||||
id 'com.github.node-gradle.node' version '7.0.1'
|
||||
}
|
||||
|
||||
tasks.register('build', NpmTask) {
|
||||
args = ['run', 'build']
|
||||
}
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
1
pefi-frontend/settings.gradle
Normal file
1
pefi-frontend/settings.gradle
Normal file
|
@ -0,0 +1 @@
|
|||
rootProject.name = 'pefi-frontend'
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 4 KiB |
|
@ -34,7 +34,7 @@ dependencies {
|
|||
implementation 'org.apache.poi:poi:5.2.5'
|
||||
implementation 'org.apache.poi:poi-ooxml:5.2.5'
|
||||
|
||||
implementation project(":Common")
|
||||
implementation project(":pefi-common")
|
||||
|
||||
runtimeOnly 'com.h2database:h2'
|
||||
runtimeOnly 'org.postgresql:postgresql'
|
1
pefi-monolith/settings.gradle
Normal file
1
pefi-monolith/settings.gradle
Normal file
|
@ -0,0 +1 @@
|
|||
rootProject.name = 'pefi-monolith'
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue