Skip to content

Commit 2ac0151

Browse files
Merge pull request #51 from ravishanigarapu/develop
CI CD Test
2 parents d6ea469 + 9292e6e commit 2ac0151

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

.github/workflows/build-on-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
ref: ${{ github.event.pull_request.head.ref }}
1414
repository: ${{ github.event.pull_request.head.repo.full_name }}
1515

16-
- name: Setup JDK 8
16+
- name: Setup JDK 17
1717
uses: actions/setup-java@v2
1818
with:
19-
java-version: 8
19+
java-version: 17
2020
distribution: 'adopt'
2121
- name: Build with Maven
2222
run: mvn clean install

.github/workflows/package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
- name: Checkout code
2323
uses: actions/checkout@v2
2424

25-
- name: Setup JDK 8
25+
- name: Setup JDK 17
2626
uses: actions/setup-java@v2
2727
with:
28-
java-version: 8
28+
java-version: 17
2929
distribution: 'adopt'
3030

3131
- name: Build with Maven
@@ -35,7 +35,7 @@ jobs:
3535
run: mvn -B package --file pom.xml
3636

3737
- name: Upload WAR file as artifact
38-
uses: actions/upload-artifact@v2
38+
uses: actions/upload-artifact@v3
3939
with:
4040
name: TM-API
4141
path: target/tmapi-v1.0.war

.github/workflows/sast.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
- name: Initialize CodeQL
3838
uses: github/codeql-action/init@v2
3939

40-
- name: Setup JDK 8
40+
- name: Setup JDK 17
4141
uses: actions/setup-java@v2
4242
with:
43-
java-version: 8
43+
java-version: 17
4444
distribution: 'adopt'
4545

4646
- name: Build with Maven

src/main/java/com/iemr/tm/controller/patientApp/master/PatientAppCommonMasterController.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,13 @@
4949

5050
public class PatientAppCommonMasterController {
5151

52-
private Logger logger = LoggerFactory.getLogger(CommonMasterController.class);
53-
@Autowired
52+
private Logger logger = LoggerFactory.getLogger(PatientAppCommonMasterController.class);
5453
private CommonPatientAppMasterService commonPatientAppMasterService;
5554

55+
@Autowired
56+
public void setCommonPatientAppMasterService(CommonPatientAppMasterService commonPatientAppMasterService) {
57+
this.commonPatientAppMasterService = commonPatientAppMasterService;
58+
}
5659
/**
5760
* @param visitCategoryID
5861
* @return nurse master data for the provided visitCategoryID

0 commit comments

Comments
 (0)