Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
422 commits
Select commit Hold shift + click to select a range
b6abb1f
subscription upkeep and hold check
VishnuVimal Jul 10, 2018
abd6ff3
Merge pull request #723 from motech-implementations/feature_nic_new_l…
gudipatiharitha Jul 10, 2018
b9780b2
change of xml read in all the rch imports
VishnuVimal Jul 11, 2018
fb47cd9
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal Jul 11, 2018
bb3130d
Merge branch 'Web_service_locations_mcts_rch' of https://github.com/m…
VishnuVimal Jul 11, 2018
57d96e3
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal Jul 11, 2018
e188d9d
removed debug points
VishnuVimal Jul 11, 2018
427b893
Added HealthSubFacility import code and fixed null pointer exceptions…
sree21go Jul 11, 2018
f285aeb
Merge remote-tracking branch 'origin/Web_service_locations_mcts_rch' …
sree21go Jul 11, 2018
0daeeb5
deactivated beneficiary bug fix to consider completed subscription
VishnuVimal Jul 12, 2018
c330be0
Merge pull request #724 from motech-implementations/deactivatedBenefi…
gudipatiharitha Jul 12, 2018
b7cf024
Added code to trim extra spaces in Taluka code
sree21go Jul 12, 2018
d47a267
Merge remote-tracking branch 'origin/master' into CDR_processing_perf…
sudheer93 Jul 12, 2018
4c8a811
Added null check for Taluka code in csv and xml location updates
sree21go Jul 12, 2018
310632b
Merge pull request #725 from motech-implementations/feature_nic_new_l…
gudipatiharitha Jul 12, 2018
8dad38c
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal Jul 12, 2018
c271796
Added code to bulk import data to taluka-healthblock join table and …
sree21go Jul 12, 2018
0455d7d
Merge branch 'Web_service_locations_mcts_rch' of https://github.com/m…
VishnuVimal Jul 12, 2018
68c5c8c
Reactivation bug fix
VishnuVimal Jul 13, 2018
279756f
Merge pull request #726 from motech-implementations/deactivatedBenefi…
gudipatiharitha Jul 13, 2018
83640cd
Merge remote-tracking branch 'origin/master' into CDR_processing_perf…
sudheer93 Jul 13, 2018
d821d69
Added null checks to locations creation code
sree21go Jul 13, 2018
f3c4702
HealthBlock test
VishnuVimal Jul 13, 2018
92f2c80
Merge remote-tracking branch 'origin/Web_service_locations_mcts_rch' …
sree21go Jul 13, 2018
667a5f1
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal Jul 13, 2018
c261aa9
added unique check for callID and requestID
sudheer93 Jul 13, 2018
2518915
Merge branch 'CDR_processing_performance' into upkeep_subscriptions
sudheer93 Jul 13, 2018
9ad2423
Merge branch 'upkeep_subscriptions' of https://github.com/motech-impl…
VishnuVimal Jul 13, 2018
9e68400
Changed Taluka code to String in location xml response object
sree21go Jul 13, 2018
8aa8af6
district and phc
VishnuVimal Jul 13, 2018
a211865
Merge pull request #727 from motech-implementations/CDR_processing_pe…
gudipatiharitha Jul 16, 2018
1f20df4
added a file with sql queries for first time deployment
sudheer93 Jul 16, 2018
5b7d81f
Merge remote-tracking branch 'origin/master' into CDR_processing_perf…
sudheer93 Jul 16, 2018
635816d
Added RCH Web Service End Points for Village, HealthSubFacility, Vill…
sree21go Jul 18, 2018
31f896e
Fixed PMD Violations in region, kilkari and mcts modules
sree21go Jul 18, 2018
ff913e4
Merge pull request #728 from motech-implementations/CDR_processing_pe…
gudipatiharitha Jul 19, 2018
1ab9abc
Bug fixes for all subscription addition for hold functionality
VishnuVimal Jul 19, 2018
d087528
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal Jul 19, 2018
97a47a4
Merge pull request #729 from motech-implementations/upkeep_subscriptions
gudipatiharitha Jul 20, 2018
7264c30
upkeep bug fix
VishnuVimal Jul 20, 2018
6cf68fd
Merge pull request #730 from motech-implementations/upkeep_subscriptions
gudipatiharitha Jul 20, 2018
d351ad3
Handled Null Pointer while finding active subscriptions
sree21go Jul 23, 2018
f74d8db
Changed Logger statements of minor issues from error to debug
sree21go Jul 23, 2018
6f00815
Merge pull request #731 from motech-implementations/rch_parallel_import
gudipatiharitha Jul 23, 2018
5bc155e
chenging error statement to debug
vijay-26 Jul 23, 2018
25680c4
Merge pull request #732 from motech-implementations/upkeep_subscriptions
gudipatiharitha Jul 23, 2018
18be9f2
xml location update location change
vijay-26 Jul 23, 2018
65fa89d
Merge pull request #733 from motech-implementations/upkeep_subscriptions
gudipatiharitha Jul 23, 2018
4358f76
Changed healthblock select query from (taluka, code) to (district, code)
sree21go Jul 23, 2018
725866f
Merge branch 'master' of https://github.com/motech-implementations/nm…
sree21go Jul 23, 2018
61c73b9
Changed healthblock select query from (taluka, code) to (district, co…
sree21go Jul 23, 2018
2dff187
NullPointer if RCH Mother id is null
gudipatiharitha Jul 24, 2018
582806c
Merge branch 'master' into Web_service_locations_mcts_rch
sree21go Jul 24, 2018
d1450e5
Merge branch 'master' into Web_service_locations_mcts_rch
sree21go Jul 24, 2018
71afd82
Added date format string to LocationConstants
sree21go Jul 24, 2018
822e8ae
Fixing nullPointer exceptions (#736)
VishnuVimal Jul 24, 2018
e1c1c90
1. Changed rch mother and child read to work in parallel using thread
sree21go Jul 25, 2018
0d74d95
comment on why healthblock select was changed from (talukaId, code) t…
sree21go Jul 25, 2018
f6f27e1
asha location update fix for non unique (mctsid,stateid) (#738)
sudheer93 Jul 25, 2018
1206199
Java 8 and Spring Core - In Progress
gudipatiharitha Jul 26, 2018
6c44da1
Fixed Persistence manager and pre-persist errors in RCH xml read (#739)
sree21go Jul 26, 2018
a30f5f5
Added fix for processing location records with invalid data
sree21go Jul 26, 2018
ed83d58
addition of crons for 3 web location services
vijay-26 Jul 27, 2018
23376ec
Making location import a chain process
vijay-26 Jul 27, 2018
e70b70a
Added code to handle null pointer exception in location masters import
sree21go Jul 27, 2018
ace4ee8
Merge remote-tracking branch 'origin/Web_service_locations_mcts_rch' …
sree21go Jul 27, 2018
2595ef4
Added code to handle null pointer exceptions in query builders of loc…
sree21go Jul 27, 2018
4c83f9b
Added check in healthfacility creation that given taluka and healthbl…
sree21go Jul 27, 2018
a642e82
Added fix for empty file in location masters import
sree21go Jul 27, 2018
f585e8a
Added fix for handling empty file in location masters import
sree21go Jul 27, 2018
9174311
partitioned villages, health-facilities, health-sub-facilities querie…
sudheer93 Jul 30, 2018
e4ff9b8
Fixed null pointer error and empty query issue in location masters im…
sree21go Jul 30, 2018
f58483a
Fixed checkstyle violations in region module
sree21go Jul 30, 2018
92870a9
Fixed empty records issue and changed village_healthsubfacility query
sree21go Jul 31, 2018
09a72a9
Merge remote-tracking branch 'origin/Web_service_locations_mcts_rch' …
sree21go Jul 31, 2018
2b63724
Added sql scripts to add date columns in locations many-many tables
sree21go Jul 31, 2018
04d5ba6
change in location read time
vijay-26 Jul 31, 2018
e9165e6
Merge pull request #741 from motech-implementations/Web_service_locat…
gudipatiharitha Jul 31, 2018
de918c6
Added many-many relation fields to default fetch group. Improving ben…
sree21go Aug 1, 2018
4cf5203
Merge pull request #742 from motech-implementations/rch_import_perfor…
gudipatiharitha Aug 1, 2018
f94d4c0
created events for each location read instead of method call
vijay-26 Aug 1, 2018
a890d9a
Merge pull request #743 from motech-implementations/Web_service_locat…
gudipatiharitha Aug 1, 2018
b9dfdfb
running all locations despite errors
vijay-26 Aug 1, 2018
c16c3a9
Merge pull request #744 from motech-implementations/Web_service_locat…
gudipatiharitha Aug 1, 2018
4772bf8
Merge branch 'master' into rch_parallel_import
sree21go Aug 1, 2018
2f96f3b
Fixed null pointer exception in village, healthfacility and healthsub…
sree21go Aug 2, 2018
1a50cf4
Reverting eager fetch to lazy for many-many locations
sree21go Aug 2, 2018
7c1c75d
Merge pull request #745 from motech-implementations/reverting_locatio…
gudipatiharitha Aug 2, 2018
68345fe
Merge branch 'master' into rch_parallel_import
sree21go Aug 2, 2018
7deff4c
increased csr processing performance by adding bulk insert and added …
sudheer93 Aug 2, 2018
298b393
changed module versions to 1.0.38
sree21go Aug 2, 2018
f3fa301
Merge pull request #746 from motech-implementations/CSR_Processing_Pe…
gudipatiharitha Aug 3, 2018
9979f61
Merge branch 'master' into rch_parallel_import
sree21go Aug 3, 2018
57b9f08
parallelisation of web service import
vijay-26 Aug 3, 2018
5f9dd19
added one sided EAGER fetch to healthblock and healthsubfacility for …
sree21go Aug 6, 2018
2a31de7
Paralelisation of districts as well
vijay-26 Aug 6, 2018
9ffa30c
Paralelisation of Mother, child and asha
vijay-26 Aug 6, 2018
8196b0b
Datanucleus, spring and osgi eclipse blueprint versions
gudipatiharitha Aug 8, 2018
9275f1d
NullPointer if RCH Mother id is null
gudipatiharitha Jul 24, 2018
de03838
Java 8 and Spring Core - In Progress
gudipatiharitha Jul 26, 2018
613b9c2
Datanucleus, spring and osgi eclipse blueprint versions
gudipatiharitha Aug 8, 2018
e6d3ec5
Rebase master to nmsupgrade
gudipatiharitha Aug 8, 2018
982f2f8
Merge branch 'rch_parallel_import' of https://github.com/motech-imple…
vijay-26 Aug 10, 2018
c438d17
Bug fix for rch read
vijay-26 Aug 10, 2018
fdb3d77
Removed Eager and added few debug lines
gudipatiharitha Aug 11, 2018
a83f6b4
Added few debug lines
gudipatiharitha Aug 11, 2018
225c21f
Merge branch 'Web_service_locations_mcts_rch' into rch_xml_fix
gudipatiharitha Aug 11, 2018
4691966
Removed unnecessary transaction
gudipatiharitha Aug 13, 2018
a8fc978
Commented m:n relations in locations
gudipatiharitha Aug 13, 2018
87b2476
Time change for rch imports
vijay-26 Aug 17, 2018
74aacfe
Merge pull request #747 from motech-implementations/tag-1.0.38
gudipatiharitha Aug 17, 2018
95f01dc
Lazy fetch restored.
vijay-26 Aug 17, 2018
048a7ed
Datanucleus upgraded
gudipatiharitha Aug 17, 2018
e8caa97
Merge pull request #749 from motech-implementations/multipleSubcriberBug
gudipatiharitha Aug 17, 2018
f748936
Merge branch 'nmsupgrade' of https://github.com/motech-implementation…
gudipatiharitha Aug 17, 2018
37b23cf
Merge remote-tracking branch 'remotes/origin/master' into nmsupgrade
gudipatiharitha Aug 17, 2018
68ed872
Typo removed
gudipatiharitha Aug 17, 2018
065b64b
Rch import facilitator bug fix
vijay-26 Aug 20, 2018
d8ca0d0
Merge pull request #750 from motech-implementations/multipleSubcriberBug
gudipatiharitha Aug 20, 2018
f7885e6
Merge remote-tracking branch 'remotes/origin/master' into nmsupgrade
gudipatiharitha Aug 21, 2018
a11c47d
Locations remove of binding of many to many
vijay-26 Aug 23, 2018
ce474b5
Taluka correction
vijay-26 Aug 23, 2018
ea55e67
flw null pointer and child nullpointer correction
vijay-26 Aug 24, 2018
6defe36
Fixed Saved and Rejected count
gudipatiharitha Aug 25, 2018
a60ef3c
Set location fields csv from mother ( removed commented for performan…
gudipatiharitha Aug 25, 2018
9b9c45c
Set location fields csv from mother ( removed commented for performan…
gudipatiharitha Aug 25, 2018
31b1eca
Handling "" empty beneficaty Id in code
gudipatiharitha Aug 25, 2018
d56b8d8
Added Different Sync times fr rch
gudipatiharitha Aug 26, 2018
d5e548b
Merge branch 'commentedmn' of https://github.com/motech-implementatio…
gudipatiharitha Aug 26, 2018
969ff59
Taluka sync time changed abck to 6 pm
gudipatiharitha Aug 27, 2018
f1be44e
null pointer for couple of children - added rchid != nnull
gudipatiharitha Aug 27, 2018
fe20e6e
null pointer for couple of children - added null cehcks on rchid
gudipatiharitha Aug 27, 2018
e4a790a
Fixing bug where rejectionReason is wrong ie MSISDN already in use f…
vijay-26 Sep 4, 2018
c86f705
Extra Loggers for few prep persist error catch
vijay-26 Sep 5, 2018
e29d35e
Motech dependency to 0.27.8
gudipatiharitha Sep 7, 2018
b2249c9
Bug fix for reactivation lmp and dob check
vijay-26 Sep 7, 2018
f1eeea3
bumping up the version to 1.0.38.1
vijay-26 Sep 10, 2018
94dffe1
Activation date update in reactivation bug fix
vijay-26 Sep 19, 2018
38cd685
Merge branch 'master' of https://github.com/motech-implementations/nm…
vijay-26 Sep 20, 2018
9c4af87
Removed Spring test dependency to convert file to Multipart file.
atishbeehyv123 Sep 23, 2018
1585148
Fixed merge changes with master.
atishbeehyv123 Sep 23, 2018
035bdc7
Merge branch 'flw_duplicate_msisdn_error' of https://github.com/motec…
vijay-26 Sep 25, 2018
c3cfaba
reactivation 12 week check with minor code changes
vijay-26 Sep 26, 2018
273d47a
rch import time change
vijay-26 Sep 26, 2018
e047e70
Merge branch 'master' into nmsupgrade
gudipatiharitha Sep 27, 2018
3910612
Merge branch 'nmsbugfix' into nmsupgrade
gudipatiharitha Sep 27, 2018
99f7d27
Unit tests fixed with all latest versions
gudipatiharitha Sep 27, 2018
e534eb1
Fixed tomcat errors NMS bundles
gudipatiharitha Sep 28, 2018
395436c
Fixed tomcat deployment issues in NMS - bval, aspectj , commons-disco…
gudipatiharitha Sep 29, 2018
6a9d811
Merge pull request #753 from motech-implementations/reactivation_12We…
gudipatiharitha Oct 1, 2018
ac0a74c
Commons-io version changed and added Datanucleus import to few projects
gudipatiharitha Oct 4, 2018
91fc4fb
NMS tomcat errors
gudipatiharitha Oct 8, 2018
71a1106
NMS tomcat errors
gudipatiharitha Oct 8, 2018
fdcad44
NMS tomcat errors
gudipatiharitha Oct 8, 2018
81dcdfe
version updates NMS PIT
gudipatiharitha Oct 9, 2018
b9147ab
version updates NMS PIT
gudipatiharitha Oct 9, 2018
ebca153
fasterxml update
gudipatiharitha Oct 15, 2018
c0f44c7
removed codehaus jackson
gudipatiharitha Oct 15, 2018
6f5f483
Commented out track fields /class in entity classes - becasuse it cau…
gudipatiharitha Oct 17, 2018
4d1b912
Import
gudipatiharitha Oct 18, 2018
b08364f
Ignored 3 Testcases failing in flw and flwupgrade - fixed others in …
gudipatiharitha Oct 19, 2018
cf43feb
Upgrade in Filter = testing PIT fix
gudipatiharitha Oct 23, 2018
39f5781
Database Instructions - couple of them were not upfated in master txt…
gudipatiharitha Oct 23, 2018
3229bb3
DB Script to be run automatically before test cases
gudipatiharitha Oct 23, 2018
e3501ca
Readded tracking to check
gudipatiharitha Oct 23, 2018
dd6e17c
TrackCHangeUtils is changed a bit - so that Instead of trackedsetdeco…
gudipatiharitha Oct 25, 2018
3ed5895
Tracking PIT
gudipatiharitha Oct 25, 2018
493a746
kilkari_Inbox_handling_OBD and Region Module Fixes and Ignored tests
manojadharanikota Oct 26, 2018
a3791b7
Revert "kilkari_Inbox_handling_OBD and Region Module Fixes and Ignore…
manojadharanikota Oct 26, 2018
587ca69
Fixed class cast exception in UserControllerIT.
atishbeehyv123 Oct 31, 2018
f4ccd87
Review comments
gudipatiharitha Nov 2, 2018
b739007
Database instruction change, Upkeep limit check, audit records count …
vijay-26 Nov 2, 2018
cd66cb7
Fixed Rch Beneficiary Import Service Bundle IT.
atishbeehyv123 Nov 13, 2018
2a4ca24
Enable All It tests
atishbeehyv123 Nov 13, 2018
5581d27
Debug statements for healthblock import
karthikbeehyv Nov 16, 2018
c212249
Debug statements for healthblock import
karthikbeehyv Nov 16, 2018
0461c33
Debug statements for healthblock import
karthikbeehyv Nov 16, 2018
1606c2a
Changed file variable to f
atishbeehyv123 Nov 19, 2018
7de712e
hardcoded text/plain
atishbeehyv123 Nov 19, 2018
567768e
Fixing bug where rejectionReason is wrong ie MSISDN already in use f…
vijay-26 Sep 4, 2018
7cd403b
Extra Loggers for few prep persist error catch
vijay-26 Sep 5, 2018
6066c4b
Bug fix for reactivation lmp and dob check
vijay-26 Sep 7, 2018
f85c1e3
bumping up the version to 1.0.38.1
vijay-26 Sep 10, 2018
20a13a1
reactivation 12 week check with minor code changes
vijay-26 Sep 26, 2018
da7017c
rch import time change
vijay-26 Sep 26, 2018
96eb63f
Copied all the Pull Requests
LakshmiAmbikaV Nov 19, 2018
4eaa720
Removed pom.xml changes.
LakshmiAmbikaV Nov 19, 2018
1511bed
Changed File ==> f for IOUtils.copy(new FileInputStream(file)
atishbeehyv123 Nov 20, 2018
2338513
Added Logger to validate values in CSV.
atishbeehyv123 Nov 21, 2018
098dede
Merge branch 'master' into nmsupgrade
gudipatiharitha Nov 21, 2018
d673fe5
Logger sattemetns for location csv import
gudipatiharitha Nov 22, 2018
56725d2
Merge branch 'nmsupgrade' of https://github.com/motech-implementation…
gudipatiharitha Nov 22, 2018
43285d9
Debug statements csv import
gudipatiharitha Nov 22, 2018
fb38285
Debug statements csv import
gudipatiharitha Nov 22, 2018
1d13d89
Merge remote-tracking branch 'remotes/origin/testAllPITOnUpgrade' int…
atishbeehyv123 Nov 23, 2018
e07a086
Obd "language" detached error
gudipatiharitha Nov 24, 2018
fb55f39
Added exception to LOGGER.error
gudipatiharitha Nov 24, 2018
3b8568a
Obd error after completion in ImiController
gudipatiharitha Nov 24, 2018
e48659c
Obd error after completion in ImiController
gudipatiharitha Nov 24, 2018
b114185
Obd error while generation in ImiController
gudipatiharitha Nov 24, 2018
c84b740
Obd error while generation in ImiController
gudipatiharitha Nov 24, 2018
fad63aa
readded maxFetchDepth
gudipatiharitha Nov 24, 2018
5b47b20
Merge branch 'nmsupgrade' of https://github.com/motech-implementation…
atishbeehyv123 Nov 24, 2018
5a57c6a
Fixed PITs timeout
atishbeehyv123 Nov 24, 2018
bd37d2f
Fix for CDR
atishbeehyv123 Nov 28, 2018
c6884d1
Removed all refrences to findByNumber in subscriberDataservice which …
gudipatiharitha Nov 30, 2018
97c75a9
fix for rch xml testing
vijay-26 Nov 30, 2018
06ef519
Added logger to SmsNotificationServiceImpl
atishbeehyv123 Nov 30, 2018
791b560
Written_PITS_for_Bugs
beehyvmanoja Dec 3, 2018
4c8d92b
Revert "Written_PITS_for_Bugs"
beehyvmanoja Dec 3, 2018
ca1f8b3
Revert "Written_PITS_for_Bugs"
beehyvmanoja Dec 3, 2018
ba2037b
Merge pull request #766 from motech-implementations/nms_bug_pit
gudipatiharitha Dec 3, 2018
bd2c847
Entry type Death bug fix
vijay-26 Dec 5, 2018
dfe8a22
Gf status inactive recorded not creating rejection record bug fix
vijay-26 Dec 5, 2018
1a2d3df
Fixed UserController PITs
atishbeehyv123 Dec 5, 2018
866dddb
Merge pull request #768 from motech-implementations/PITFixesDev
gudipatiharitha Dec 6, 2018
b2be7f2
Fixed PIT for MobileAcademyControllerIT
atishbeehyv123 Dec 7, 2018
03b8656
Hold to pending activation fixed
VishnuVimal Dec 12, 2018
2c6703d
Update rch child name with csv import
VishnuVimal Dec 12, 2018
dfeb9f2
rejection sql query correction (non blocker)
VishnuVimal Dec 14, 2018
5a69263
Correction to the fix
VishnuVimal Dec 17, 2018
cba8c36
debug statemetnts to test time taken for delete subscription
gudipatiharitha Dec 17, 2018
93f6419
Merge remote-tracking branch 'origin/nmsupgrade' into nmsupgrade
gudipatiharitha Dec 17, 2018
b04a998
Fixed API tests.
atishbeehyv123 Dec 17, 2018
91e96b9
Correction to the fix
VishnuVimal Dec 18, 2018
7bc5961
Location names null/empty check
VishnuVimal Dec 20, 2018
0ee243c
Location update for INACTIVE flws
VishnuVimal Dec 21, 2018
a4a1fe7
Fixed test cases
gudipatiharitha Dec 24, 2018
eb27e9b
Removing retriveall methods unused.
gudipatiharitha Dec 24, 2018
ca0ec47
Fixed PIT named testForSubscriberAbsent for MCTS And RCH Beneficiary.
atishbeehyv123 Dec 24, 2018
f2a5884
Removed IVR and csv tests, changed IVR to MCTS_IMPORT and fixed the t…
LakshmiAmbikaV Dec 31, 2018
dbabf10
merged with master
VishnuVimal Jan 7, 2019
993690f
minor asha location bug fix
VishnuVimal Jan 8, 2019
f1736b7
updating conflicts
VishnuVimal Jan 8, 2019
eae5e0e
updating conflicts
VishnuVimal Jan 8, 2019
d9215b9
updating conflicts
VishnuVimal Jan 8, 2019
bb4e3e7
updating conflicts
VishnuVimal Jan 8, 2019
fabea30
adding changes from bug_fixes_upgrade
VishnuVimal Jan 8, 2019
6ef70b1
adding changes from miscellaneous_bug_fixes
VishnuVimal Jan 8, 2019
4e09ac6
Fixed MCTS and RCH failed tests by changing mobile number, beneficiar…
LakshmiAmbikaV Jan 9, 2019
55e73d4
Comments added as directed
VishnuVimal Jan 14, 2019
a8e3155
Merge pull request #771 from motech-implementations/Rch_fix_for_test
VishnuVimal Jan 16, 2019
d7d236c
Written location_xml_tests and Kilkari_retry_call_test
Rajithaboya Jan 16, 2019
9b24c67
Fixed MCTS and subscription related tests and Ignored one test
LakshmiAmbikaV Jan 17, 2019
359a6e1
Rejection reason MOBILE_NUMBER_ALREADY_IN_USE changed to MOBILE_NUMBE…
VishnuVimal Jan 17, 2019
99d8bba
Changed mother to taluka healthblock in error message from tHFileProc…
atishbeehyv123 Jan 17, 2019
b9d3ae1
Merge pull request #774 from motech-implementations/RemoveIgnoredTests
gudipatiharitha Jan 18, 2019
efc8c9b
Merge pull request #775 from motech-implementations/RejectionReason_c…
gudipatiharitha Jan 18, 2019
424fb9f
Merge branch 'master' of https://github.com/motech-implementations/nm…
Rajithaboya Jan 18, 2019
40645f0
Removed helper methods
Rajithaboya Jan 21, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 16 additions & 0 deletions AutoIncrementIDsScript.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
use motech_data_services;
SET FOREIGN_KEY_CHECKS=0;
ALTER TABLE `nms_districts` CHANGE COLUMN `id` `id` BIGINT(20) NOT NULL AUTO_INCREMENT ;
ALTER TABLE `nms_talukas` CHANGE COLUMN `id` `id` BIGINT(20) NOT NULL AUTO_INCREMENT ;
ALTER TABLE `nms_health_blocks` CHANGE COLUMN `id` `id` BIGINT(20) NOT NULL AUTO_INCREMENT;
ALTER TABLE `nms_health_facilities` CHANGE COLUMN `id` `id` BIGINT(20) NOT NULL AUTO_INCREMENT;
ALTER TABLE `nms_health_sub_facilities` CHANGE COLUMN `id` `id` BIGINT(20) NOT NULL AUTO_INCREMENT;
ALTER TABLE `nms_villages` CHANGE COLUMN `id` `id` BIGINT(20) NOT NULL AUTO_INCREMENT;
ALTER TABLE `nms_mother_rejects` CHANGE COLUMN `id` `id` BIGINT(20) NOT NULL AUTO_INCREMENT;
ALTER TABLE `nms_child_rejects` CHANGE COLUMN `id` `id` BIGINT(20) NOT NULL AUTO_INCREMENT;
ALTER TABLE `nms_imi_cdrs` CHANGE COLUMN `id` `id` BIGINT(20) NOT NULL AUTO_INCREMENT ;
ALTER TABLE `nms_imi_csrs` CHANGE COLUMN `id` `id` BIGINT(20) NOT NULL AUTO_INCREMENT ;
ALTER TABLE `motech_data_services`.`nms_taluka_healthblock` CHANGE COLUMN `id` `id` BIGINT(20) NOT NULL AUTO_INCREMENT;
ALTER TABLE `motech_data_services`.`nms_village_healthsubfacility` CHANGE COLUMN `id` `id` BIGINT(20) NOT NULL AUTO_INCREMENT;
SET FOREIGN_KEY_CHECKS=1;

337 changes: 183 additions & 154 deletions api/pom.xml
Original file line number Diff line number Diff line change
@@ -1,154 +1,183 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>nms</artifactId>
<groupId>org.motechproject.nms</groupId>
<version>1.0.31</version>
<relativePath>../</relativePath>
</parent>

<artifactId>api</artifactId>
<version>1.0.31</version>
<packaging>bundle</packaging>
<name>API module</name>

<properties>
<modules.root.dir>${basedir}/..</modules.root.dir>
</properties>

<dependencies>
<dependency>
<groupId>org.motechproject</groupId>
<artifactId>motech-platform-osgi-extender-fragment</artifactId>
<version>${motech.version}</version>
</dependency>

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>region</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>props</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>flw</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>kilkari</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>mobile-academy</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>mcts</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test-mvc</artifactId>
<scope>test</scope>
</dependency>

</dependencies>

<repositories>
<repository>
<id>motech-repo</id>
<name>MOTECH Maven Repository</name>
<url>http://nexus.motechproject.org/content/repositories/public</url>
</repository>
</repositories>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.5</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Blueprint-Enabled>true</Blueprint-Enabled>
<Resource-Path>api/resources</Resource-Path>
<Context-Path>api</Context-Path>
<Export-Package>
org.motechproject.nms.api.web.contract,
org.motechproject.nms.api.web.contract.kilkari,
org.motechproject.nms.api.web.contract.mobileAcademy,
org.motechproject.nms.api.web.contract.mobileAcademy.sms,
org.motechproject.nms.api.web.converter,
org.motechproject.nms.api.web.repository,
org.motechproject.nms.api.web.domain
</Export-Package>
<Import-Package>
org.motechproject.osgi.web,
org.aopalliance.aop,
org.springframework.aop,
org.springframework.aop.framework,
net.sf.cglib.core,
net.sf.cglib.proxy,
net.sf.cglib.reflect,
org.springframework.web.multipart.commons,
org.springframework.transaction,
org.motechproject.nms.kilkari.repository,
*
</Import-Package>
</instructions>
</configuration>
</plugin>

<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>copy-bundles</id>
<phase>package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${user.home}/.motech/bundles</outputDirectory>
<resources>
<resource>
<directory>target</directory>
<includes>
<include>*.jar</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>nms</artifactId>
<groupId>org.motechproject.nms</groupId>
<version>1.0.38.1</version>
<relativePath>../</relativePath>
</parent>

<artifactId>api</artifactId>
<version>1.0.38.1</version>
<packaging>bundle</packaging>
<name>API module</name>

<properties>
<modules.root.dir>${basedir}/..</modules.root.dir>
</properties>

<dependencies>
<dependency>
<groupId>org.motechproject</groupId>
<artifactId>motech-platform-osgi-extender-fragment</artifactId>
<version>${motech.version}</version>
</dependency>

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>region</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>props</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>flw</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>kilkari</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>mobile-academy</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>mcts</artifactId>
<version>${project.version}</version>
</dependency>

<!--<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test-mvc</artifactId>
</dependency>-->

<dependency>
<groupId>org.motechproject.nms</groupId>
<artifactId>rch</artifactId>
<version>1.0.38.1</version>
</dependency>
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.spring-test</artifactId>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.1.0.Final</version>

</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>

</dependencies>

<repositories>
<repository>
<id>motech-repo</id>
<name>MOTECH Maven Repository</name>
<url>http://nexus.motechproject.org/content/repositories/public</url>
</repository>
</repositories>

<build>
<plugins>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.5</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Blueprint-Enabled>true</Blueprint-Enabled>
<Resource-Path>api/resources</Resource-Path>
<Context-Path>api</Context-Path>
<Export-Package>
org.motechproject.nms.api.web.contract,
org.motechproject.nms.api.web.contract.kilkari,
org.motechproject.nms.api.web.contract.mobileAcademy,
org.motechproject.nms.api.web.contract.mobileAcademy.sms,
org.motechproject.nms.api.web.converter,
org.motechproject.nms.api.web.repository,
org.motechproject.nms.api.web.domain,
org.motechproject.nms.api.web.service
</Export-Package>
<Import-Package>
org.motechproject.osgi.web,
org.aopalliance.aop,
org.springframework.aop,
org.springframework.aop.framework,
net.sf.cglib.core,
net.sf.cglib.proxy,
net.sf.cglib.reflect,
org.springframework.web.multipart.commons,
org.springframework.transaction,
org.motechproject.nms.flw.repository,
org.motechproject.nms.mcts.service,
org.motechproject.nms.kilkari.repository,
org.motechproject.nms.kilkari.service,
org.motechproject.nms.kilkari.domain,
org.motechproject.nms.kilkari.utils,
org.motechproject.nms.rejectionhandler.service,
org.motechproject.nms.region.repository,
org.motechproject.nms.region.service,
org.motechproject.nms.rch.service,
org.datanucleus.enhancement,
org.springframework.validation.beanvalidation,
org.springframework.cglib.proxy,
org.springframework.cglib.core,
org.springframework.core,
org.springframework.cglib.reflect,
*
</Import-Package>
</instructions>
</configuration>
</plugin>

<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>copy-bundles</id>
<phase>package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${user.home}/.motech/bundles</outputDirectory>
<resources>
<resource>
<directory>target</directory>
<includes>
<include>*.jar</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -330,5 +330,7 @@ public void deactivateSubscription(@RequestBody SubscriptionRequest subscription
}

subscriptionService.deactivateSubscription(subscription, DeactivationReason.DEACTIVATED_BY_USER);

log("RESPONSE: /kilkari/subscription (DELETE)", "Success");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.motechproject.nms.api.web.exception.NotAuthorizedException;
import org.motechproject.nms.api.web.exception.NotDeployedException;
import org.motechproject.nms.api.web.exception.NotFoundException;
import org.motechproject.nms.flw.domain.FlwJobStatus;
import org.motechproject.nms.flw.domain.FrontLineWorker;
import org.motechproject.nms.flw.service.FrontLineWorkerService;
import org.motechproject.nms.props.domain.Service;
Expand Down Expand Up @@ -76,6 +77,7 @@ public void setUserLanguageLocationCode(@PathVariable String serviceName,
FrontLineWorker flw = frontLineWorkerService.getByContactNumber(callingNumber);
if (flw == null) {
flw = new FrontLineWorker(callingNumber);
flw.setJobStatus(FlwJobStatus.ACTIVE);
}

Language language = languageService.getForCode(languageLocationCode);
Expand Down
Loading