Skip to content

Commit c9fb5ba

Browse files
committed
refactor(core): refactor app structure
1 parent 7fd5233 commit c9fb5ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+832
-90
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ nbdist/
4545

4646
/shardis-frontend/documentation/
4747

48-
### shardis-web ###
49-
/shardis-web/build/
48+
### shardis-webapp ###
49+
/shardis-webapp/build/
5050

5151
### shardis-common ###
5252
/shardis-common/build/

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ This project is still a work in progress
2727

2828
## Gradle tasks
2929

30-
### Running Spring Boot app
30+
### Running Spring Boot webapp
3131
```
32-
./gradlew shardis-web:bootRun
32+
./gradlew shardis-webapp:bootRun
3333
```
3434

3535
### Production build

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def configureGradleScriptKotlinOn(ProjectDescriptor project) {
77
project.children.each { configureGradleScriptKotlinOn(it) }
88
}
99

10-
include 'shardis-web'
10+
include 'shardis-webapp'
1111
include 'shardis-frontend'
1212
include 'shardis-common'
1313

shardis-common/src/test/kotlin/com/shardis/common/CommonServiceTest.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package com.shardis.common;
1+
package com.shardis.common
22

3-
import org.junit.Test;
4-
import org.junit.runner.RunWith;
3+
import org.junit.Test
4+
import org.junit.runner.RunWith
55
import org.springframework.beans.factory.annotation.Autowired
6-
import org.springframework.boot.test.context.SpringBootTest;
7-
import org.springframework.test.context.junit4.SpringRunner;
6+
import org.springframework.boot.test.context.SpringBootTest
7+
import org.springframework.test.context.junit4.SpringRunner
88
import kotlin.test.assertEquals
99
import kotlin.test.assertNotNull
1010

shardis-common/src/test/kotlin/com/shardis/ShardisTestApplication.kt renamed to shardis-common/src/test/kotlin/com/shardis/common/ShardisTestApplication.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.shardis
1+
package com.shardis.common
22

33
import org.springframework.boot.SpringApplication
44
import org.springframework.boot.autoconfigure.SpringBootApplication

0 commit comments

Comments
 (0)