Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
03040d0
project
MdTabraiz Apr 19, 2022
15d2feb
added role based login
MdTabraiz Apr 22, 2022
b1f3bdc
sonar integration demo
MdTabraiz Apr 22, 2022
c6b2d69
sonar updation-1
MdTabraiz Apr 22, 2022
5166e24
sonar updations
MdTabraiz Apr 22, 2022
63c2309
sonar
MdTabraiz Apr 22, 2022
2a25b68
code smell fixes
MdTabraiz Apr 22, 2022
414135e
sonar code fix
MdTabraiz Apr 22, 2022
645f60c
sonar code fix
MdTabraiz Apr 22, 2022
0428d0a
resolved vulnerabilities
MdTabraiz Apr 23, 2022
7548097
sonar fixes
MdTabraiz Apr 23, 2022
19dc493
code smell fix
MdTabraiz Apr 23, 2022
8200676
code smell
MdTabraiz Apr 23, 2022
e393fa5
duplication
MdTabraiz Apr 23, 2022
dc6b2e3
minor fixes
MdTabraiz Apr 23, 2022
19336db
added constraints
MdTabraiz Apr 23, 2022
4703650
test added
MdTabraiz Apr 26, 2022
6acfa37
test demo
MdTabraiz Apr 26, 2022
5af3d3a
added h2 dialect
MdTabraiz Apr 26, 2022
6a4163b
fix
MdTabraiz Apr 26, 2022
4b1b4b9
h2 props
MdTabraiz Apr 26, 2022
a076008
h2
MdTabraiz Apr 26, 2022
1eeffb7
test
MdTabraiz Apr 26, 2022
85003a2
prop
MdTabraiz Apr 26, 2022
68e8620
jacoco
MdTabraiz Apr 26, 2022
481c754
blog service test
MdTabraiz Apr 26, 2022
4e4718a
test
MdTabraiz Apr 26, 2022
ab3fe4a
blog dto
MdTabraiz Apr 26, 2022
8e40019
test cases added
MdTabraiz Apr 26, 2022
26e6658
blog controller test
MdTabraiz Apr 27, 2022
483d366
blog controller test-2
MdTabraiz Apr 27, 2022
a94428c
signup controller
MdTabraiz Apr 27, 2022
7f38530
user test
MdTabraiz Apr 27, 2022
ececd9a
rest
MdTabraiz Apr 27, 2022
0c50c32
tests
MdTabraiz Apr 27, 2022
d6e26db
test added
MdTabraiz Apr 27, 2022
dd80132
test
MdTabraiz Apr 27, 2022
7d2829c
Rest test
MdTabraiz Apr 28, 2022
6549fcc
test cases added
MdTabraiz Apr 28, 2022
ba440fd
readme updated
MdTabraiz Apr 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build
on:
push:
branches:
- master
- features
pull_request:
types: [opened, synchronize, reopened]
paths:
-"Spring-Final/**"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cache SonarCloud packages
uses: actions/cache@v1
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=Spring
33 changes: 33 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/
Binary file added .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
2 changes: 2 additions & 0 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.4/apache-maven-3.8.4-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
## Description
A simple blog app using Spring Boot JPA and Thymeleaf with Spring Security.
App has performs all Crud operations.


[![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=Spring)](https://sonarcloud.io/summary/new_code?id=Spring)
Loading