You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-15Lines changed: 11 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ the local development setup.
11
11
12
12
## Module Information
13
13
14
-
**ss-api** : It contains utilities like constants, dtos, validators, utility classes. This will be published as a package and this can be used by other Java projects as a depedency
14
+
**ss-api** : It contains utilities like constants, dtos, validators, utility classes. This will be published as a package and this can be used by other Java projects as a depedency
15
15
16
16
**ss-dao** : It contains database entities and repositories.
| IDE | IntelliJ |https://www.jetbrains.com/idea/download/| Additionally the [envfile plugin](https://plugins.jetbrains.com/plugin/7861-envfile) is suggested |
28
+
| IDE | IntelliJ |https://www.jetbrains.com/idea/download/| Additionally the [envfile plugin](https://plugins.jetbrains.com/plugin/7861-envfile) is suggested |
3. Update your env variable in application.yaml file
39
-
4. Run [MainApplication.java](ss-web%2Fsrc%2Fmain%2Fjava%2Fss%2Fmod%2Fdemo%2FMainApplication.java)
40
-
in IDE
41
-
5. Open API doc on http://localhost:8080
42
-
6. Click on Authorize on swagger UI and on the dialog click again on Authorize.
43
-
7. Login with username=valid-user and password=password
36
+
1. Run [MainApplication.java](ss-web%2Fsrc%2Fmain%2Fjava%2Fss%2Fmod%2Fdemo%2FMainApplication.java) in IDE. It will up database and keycloak using docker compose(ref: [Spring boot support for docker compose](https://spring.io/blog/2023/06/21/docker-compose-support-in-spring-boot-3-1))
37
+
2. Open API doc on http://localhost:8080/api/app/ui/swagger-ui/index.html
38
+
3. Click on Authorize on swagger UI and on the dialog click again on Authorize.
39
+
4. Login with username=valid-user and password=password
44
40
45
41
## Build application locally
46
42
47
43
Build with test cases
48
44
49
45
```
50
-
./gradlew build
46
+
./gradlew build
51
47
```
52
48
53
49
Build without test cases
54
50
55
51
```
56
-
./gradlew build -i -x test
52
+
./gradlew build -i -x test
57
53
```
58
54
59
55
## Test Coverage
@@ -66,7 +62,7 @@ The generated HTML report can be found under `jacoco-report/html/`
66
62
To generate the report run the command
67
63
68
64
```
69
-
./gradlew jacocoTestReport
65
+
./gradlew testCodeCoverageReport
70
66
```
71
67
72
68
To check the coverage run the command
@@ -106,8 +102,8 @@ This process ensures that any issues with the database schema are resolved by re
0 commit comments