Skip to content

Commit def5975

Browse files
Grievance Runtime issues and CICD file committed
1 parent bcad2f6 commit def5975

File tree

10 files changed

+460
-381
lines changed

10 files changed

+460
-381
lines changed

src/main/environment/common_ci.properties

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,14 @@ spring.main.allow-circular-references=true
142142

143143
#ELK logging file name
144144
logging.file.name=@env.COMMON_API_LOGGING_FILE_NAME@
145+
146+
##grievance API call
147+
updateGrievanceDetails = https://grievance1097naco.piramalswasthya.org/grsbepro/igemr1097/public/api/v1/state-wise/grievance-list
148+
updateGrievanceTransactionDetails=https://grievance1097naco.piramalswasthya.org/grsbepro/igemr1097/public/api/v1/grievance_details/
149+
150+
## grievance variables
151+
grievanceUserName = <Enter Grievance username>
152+
grievancePassword = <Enter Grievance password>
153+
154+
grievanceUserAuthenticate = <Enter Grievance UserAuthenticate>
155+
grievanceDataSyncDuration = 15

src/main/environment/common_dev.properties

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ nhm.agent.real.time.data.url= http://175.101.1.83/apps/utility/alive_api.php
115115
nhm.agent.real.time.data.cron.scheduler=0 */2 * ? * *
116116
nhm.agent.real.time.data.cron.flag=true
117117

118+
##----------------------------------------------------#grievance data sync-----------------------------------------------------------
119+
120+
start-grievancedatasync-scheduler=false
121+
cron-scheduler-grievancedatasync=0 0/5 * * * ? *
122+
118123
carestream_socket_ip = 192.168.43.39
119124
carestream_socket_port = 1235
120125

@@ -166,3 +171,13 @@ spring.main.allow-circular-references=true
166171

167172
fileBasePath =<Enter your required basepath here>/Doc
168173

174+
##grievance API call
175+
updateGrievanceDetails = https://grievance1097naco.piramalswasthya.org/grsbepro/igemr1097/public/api/v1/state-wise/grievance-list
176+
updateGrievanceTransactionDetails=https://grievance1097naco.piramalswasthya.org/grsbepro/igemr1097/public/api/v1/grievance_details/
177+
178+
## grievance variables
179+
grievanceUserName = <Enter Grievance username>
180+
grievancePassword = <Enter Grievance password>
181+
182+
grievanceUserAuthenticate = <Enter Grievance UserAuthenticate>
183+
grievanceDataSyncDuration = 15

src/main/environment/common_example.properties

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ spring.mail.properties.mail.smtp.starttls.enable=true
5353
start-email-scheduler=true
5454
cron-scheduler-email=0 0/1 * * * ? *
5555

56+
##----------------------------------------------------#grievance data sync-----------------------------------------------------------
57+
58+
start-grievancedatasync-scheduler=false
59+
cron-scheduler-grievancedatasync=0 0/5 * * * ? *
60+
5661
### generate Beneficiary Config
5762
genben-api=http://localhost:8080/bengenapi-v1.0
5863

@@ -110,3 +115,13 @@ eausadhaAuthorization=<Enter eausadha authorization key>
110115
spring.main.allow-bean-definition-overriding=true
111116
spring.main.allow-circular-references=true
112117

118+
##grievance API call
119+
updateGrievanceDetails = https://grievance1097naco.piramalswasthya.org/grsbepro/igemr1097/public/api/v1/state-wise/grievance-list
120+
updateGrievanceTransactionDetails=https://grievance1097naco.piramalswasthya.org/grsbepro/igemr1097/public/api/v1/grievance_details/
121+
122+
## grievance variables
123+
grievanceUserName = <Enter Grievance username>
124+
grievancePassword = <Enter Grievance password>
125+
126+
grievanceUserAuthenticate = <Enter Grievance UserAuthenticate>
127+
grievanceDataSyncDuration = 15

src/main/environment/common_test.properties

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ cron-scheduler-registration=0 34 19 * * ? *
8080

8181
start-everwelldatasync-scheduler=false
8282
cron-scheduler-everwelldatasync=0 0/5 * * * ? *
83+
84+
##----------------------------------------------------#grievance data sync-----------------------------------------------------------
85+
86+
start-grievancedatasync-scheduler=false
87+
cron-scheduler-grievancedatasync=0 0/5 * * * ? *
8388
##-----------------------------------------------#NHM data dashboard schedular----------------------------------------------------------------
8489
# run at everyday 12:01AM
8590
start-nhmdashboard-scheduler=true
@@ -167,4 +172,13 @@ spring.main.allow-circular-references=true
167172

168173
fileBasePath =<Enter your required basepath here>/Doc
169174

175+
##grievance API call
176+
updateGrievanceDetails = https://grievance1097naco.piramalswasthya.org/grsbepro/igemr1097/public/api/v1/state-wise/grievance-list
177+
updateGrievanceTransactionDetails=https://grievance1097naco.piramalswasthya.org/grsbepro/igemr1097/public/api/v1/grievance_details/
178+
179+
## grievance variables
180+
grievanceUserName = <Enter Grievance username>
181+
grievancePassword = <Enter Grievance password>
170182

183+
greivanceUserAuthenticate = <Enter Grievance UserAuthenticate>
184+
grievanceDataSyncDuration = 15

src/main/environment/common_uat.properties

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ cron-scheduler-email=0 0/1 * * * ? *
5656
start-ctidatacheck-scheduler=true
5757
cron-scheduler-ctidatacheck=0 10 00 * * *
5858

59+
##----------------------------------------------------#grievance data sync-----------------------------------------------------------
60+
61+
start-grievancedatasync-scheduler=false
62+
cron-scheduler-grievancedatasync=0 0/5 * * * ? *
63+
5964
### generate Beneficiary IDs URL
6065
genben-api=<Enter your socket address here>/bengenapi-v1.0
6166

@@ -139,3 +144,13 @@ spring.main.allow-circular-references=true
139144

140145
fileBasePath =<Enter your required basepath here>/Doc
141146

147+
##grievance API call
148+
updateGrievanceDetails = https://grievance1097naco.piramalswasthya.org/grsbepro/igemr1097/public/api/v1/state-wise/grievance-list
149+
updateGrievanceTransactionDetails=https://grievance1097naco.piramalswasthya.org/grsbepro/igemr1097/public/api/v1/grievance_details/
150+
151+
## grievance variables
152+
grievanceUserName = <Enter Grievance username>
153+
grievancePassword = <Enter Grievance password>
154+
155+
grievanceUserAuthenticate = <Enter Grievance UserAuthenticate>
156+
grievanceDataSyncDuration = 15

src/main/java/com/iemr/common/data/grievance/GrievanceTransaction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.iemr.common.data.grievance;
22

33

4-
import javax.persistence.*;
4+
import jakarta.persistence.*;
55

66
import com.google.gson.annotations.Expose;
77

src/main/java/com/iemr/common/repository/grievance/GrievanceDataRepo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@Repository
1313
public interface GrievanceDataRepo extends CrudRepository<GrievanceDetails, Long>{
1414

15-
@Query("SELECT COUNT(g) > 0 FROM GrievanceDetails g WHERE g.complaintId = :complaintId")
15+
@Query("SELECT COUNT(g) > 0 FROM GrievanceDetails g WHERE g.complaintID = :complaintId")
1616
boolean existsByComplaintId(@Param("complaintId") String complaintId);
1717

1818
@Query("select count(request) "

src/main/java/com/iemr/common/repository/grievance/GrievanceFetchBenDetailsRepo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@Repository
1515
public interface GrievanceFetchBenDetailsRepo extends CrudRepository<FeedbackDetails, Long> {
1616

17-
@Query("select f.requestID, f.benCallID, f.beneficiaryRegID, f.providerServiceMapID, f.stateID "
17+
@Query("select f.requestID, f.benCallID, f.beneficiaryRegID, f.serviceID, f.stateID "
1818
+ " from FeedbackDetails f where f.requestID = :requestID order by f.requestID desc")
1919
public ArrayList<Object[]> findByComplaintId(@Param("requestID") String requestID);
2020

src/main/java/com/iemr/common/repository/location/LocationStateRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public interface LocationStateRepository extends CrudRepository<States, Integer>
5151

5252
States findByStateID(Integer stateID);
5353

54-
@Query("select state.state from States state where state.stateID = :id")
54+
@Query("select stateName from States where stateID = :id")
5555
public String findByStateIDForGrievance(@Param("id") int id);
5656

5757

0 commit comments

Comments
 (0)