Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
389 commits
Select commit Hold shift + click to select a range
1cf8e01
Merge branch 'master' into bug_connecting_unconnected_mother_child_Wi…
gudipatiharitha Jun 28, 2018
0295999
Merge pull request #721 from motech-implementations/bug_connecting_un…
gudipatiharitha Jun 28, 2018
b387c14
Merge remote-tracking branch 'origin/master' into feature_nic_new_loc…
sree21go Jun 28, 2018
f32c0cd
Merge branch 'feature_nic_new_locations' of https://github.com/motech…
sree21go Jun 28, 2018
88233ab
Fixed Function calls in bulk child rejections (Caused by faulty merge)
sree21go Jun 28, 2018
38ce72f
Merge pull request #719 from motech-implementations/feature_nic_new_l…
gudipatiharitha Jun 28, 2018
88e9875
bumping up the version number to 1.0.37
VishnuVimal Jun 28, 2018
3f3e74c
Merge branch 'feature_nic_new_locations' into location_mapping_restru…
sree21go Jun 29, 2018
69941db
Fixed Null Pointer Exception Caused by Null TalukaId and Fixed commen…
sree21go Jun 29, 2018
1bd82db
Bug Fix: Mother rejection reason saving as null instead of MOBILE_NUM…
sree21go Jul 2, 2018
25b72d7
Merge pull request #722 from motech-implementations/feature_nic_new_l…
gudipatiharitha Jul 2, 2018
d73c52c
adding Taluka and health block services till saving to db
VishnuVimal Jul 2, 2018
4e390d3
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal Jul 2, 2018
30e2daf
Merge branch 'feature_nic_new_locations' into location_mapping_restru…
sree21go Jul 3, 2018
12ca157
Merge branch 'location_mapping_restructure' into Web_service_location…
sree21go Jul 3, 2018
93f89dd
Merge branch 'Web_service_locations_mcts_rch' of https://github.com/m…
VishnuVimal Jul 3, 2018
39668b6
Code for bulk insert for CDR processing
sudheer93 Jul 4, 2018
d842157
Added LocationEnum and mapped all Location string literals to enum
sree21go Jul 4, 2018
f691d09
Added logger statements and minor performance improvements
sudheer93 Jul 4, 2018
4a571aa
Merge branch 'Web_service_locations_mcts_rch' of https://github.com/m…
VishnuVimal Jul 5, 2018
06e2645
Changed Taluka_Id cell processor to String from Long
sree21go Jul 5, 2018
0401ba7
Web services for Talukas, HB and THB
VishnuVimal Jul 5, 2018
a45e620
Merge branch 'Web_service_locations_mcts_rch' of https://github.com/m…
VishnuVimal Jul 5, 2018
f4d24f7
Improved performance for reading location xml
sree21go Jul 5, 2018
8a5b06e
refactored variables in create locations work flow
sudheer93 Jul 6, 2018
bf6311c
Fixed Null Location ids in beneficiaries issue
sree21go Jul 9, 2018
20f0042
handling null pointer exception and xml file reading issue for no rec…
sudheer93 Jul 9, 2018
d7e036a
Merge remote-tracking branch 'origin/feature_nic_new_locations' into …
sudheer93 Jul 9, 2018
43e582b
Fixed healthfacility id and healthsubfacility id null for healthblock…
sree21go Jul 9, 2018
1d56413
Fixed Reflections issue caused by unrelated healthfacilityId - helath…
sree21go Jul 9, 2018
8d2e658
Fixed healthblock key generation in rch locations update
sree21go Jul 9, 2018
d8f396e
Fixed minor bugs for location import of Taluka, HealthBlock, HealthFa…
sree21go Jul 10, 2018
a54742a
subscription upkeep and hold check
VishnuVimal Jul 10, 2018
1c0b376
Merge pull request #723 from motech-implementations/feature_nic_new_l…
gudipatiharitha Jul 10, 2018
29826bc
change of xml read in all the rch imports
VishnuVimal Jul 11, 2018
01199b5
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal Jul 11, 2018
ee30807
Merge branch 'Web_service_locations_mcts_rch' of https://github.com/m…
VishnuVimal Jul 11, 2018
89b1ae9
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal Jul 11, 2018
40a80f0
removed debug points
VishnuVimal Jul 11, 2018
aeb9df0
Added HealthSubFacility import code and fixed null pointer exceptions…
sree21go Jul 11, 2018
a3fb666
Merge remote-tracking branch 'origin/Web_service_locations_mcts_rch' …
sree21go Jul 11, 2018
3fb9583
deactivated beneficiary bug fix to consider completed subscription
VishnuVimal Jul 12, 2018
2c051c9
Merge pull request #724 from motech-implementations/deactivatedBenefi…
gudipatiharitha Jul 12, 2018
072a2d0
Added code to trim extra spaces in Taluka code
sree21go Jul 12, 2018
2d612ab
Merge remote-tracking branch 'origin/master' into CDR_processing_perf…
sudheer93 Jul 12, 2018
8a8100f
Added null check for Taluka code in csv and xml location updates
sree21go Jul 12, 2018
61fc6ff
Merge pull request #725 from motech-implementations/feature_nic_new_l…
gudipatiharitha Jul 12, 2018
944f7ed
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal Jul 12, 2018
f9b9ccb
Added code to bulk import data to taluka-healthblock join table and …
sree21go Jul 12, 2018
01aa2ef
Merge branch 'Web_service_locations_mcts_rch' of https://github.com/m…
VishnuVimal Jul 12, 2018
281b6b3
Reactivation bug fix
VishnuVimal Jul 13, 2018
4a98046
Merge pull request #726 from motech-implementations/deactivatedBenefi…
gudipatiharitha Jul 13, 2018
f456f31
Merge remote-tracking branch 'origin/master' into CDR_processing_perf…
sudheer93 Jul 13, 2018
7d18399
Added null checks to locations creation code
sree21go Jul 13, 2018
eeadcdd
HealthBlock test
VishnuVimal Jul 13, 2018
ff1ac18
Merge remote-tracking branch 'origin/Web_service_locations_mcts_rch' …
sree21go Jul 13, 2018
54d3472
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal Jul 13, 2018
384e7d2
added unique check for callID and requestID
sudheer93 Jul 13, 2018
34f6f51
Merge branch 'CDR_processing_performance' into upkeep_subscriptions
sudheer93 Jul 13, 2018
c482cf4
Merge branch 'upkeep_subscriptions' of https://github.com/motech-impl…
VishnuVimal Jul 13, 2018
ff878cc
Changed Taluka code to String in location xml response object
sree21go Jul 13, 2018
550fe77
district and phc
VishnuVimal Jul 13, 2018
0aa57f1
Merge pull request #727 from motech-implementations/CDR_processing_pe…
gudipatiharitha Jul 16, 2018
e6dbefa
added a file with sql queries for first time deployment
sudheer93 Jul 16, 2018
7dc451e
Merge remote-tracking branch 'origin/master' into CDR_processing_perf…
sudheer93 Jul 16, 2018
684ef21
Added RCH Web Service End Points for Village, HealthSubFacility, Vill…
sree21go Jul 18, 2018
cb763cd
Fixed PMD Violations in region, kilkari and mcts modules
sree21go Jul 18, 2018
ade7391
Merge pull request #728 from motech-implementations/CDR_processing_pe…
gudipatiharitha Jul 19, 2018
612da03
Bug fixes for all subscription addition for hold functionality
VishnuVimal Jul 19, 2018
061fef2
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal Jul 19, 2018
3cceb0d
Merge pull request #729 from motech-implementations/upkeep_subscriptions
gudipatiharitha Jul 20, 2018
cc6d9a1
upkeep bug fix
VishnuVimal Jul 20, 2018
85b1b0a
Merge pull request #730 from motech-implementations/upkeep_subscriptions
gudipatiharitha Jul 20, 2018
820b171
Handled Null Pointer while finding active subscriptions
sree21go Jul 23, 2018
77b137a
Changed Logger statements of minor issues from error to debug
sree21go Jul 23, 2018
f4275ec
Merge pull request #731 from motech-implementations/rch_parallel_import
gudipatiharitha Jul 23, 2018
7fd3f53
chenging error statement to debug
vijay-26 Jul 23, 2018
ea9589a
Merge pull request #732 from motech-implementations/upkeep_subscriptions
gudipatiharitha Jul 23, 2018
d87aeeb
xml location update location change
vijay-26 Jul 23, 2018
91ea8e8
Merge pull request #733 from motech-implementations/upkeep_subscriptions
gudipatiharitha Jul 23, 2018
5e4a49a
Changed healthblock select query from (taluka, code) to (district, code)
sree21go Jul 23, 2018
d6af647
Merge branch 'master' of https://github.com/motech-implementations/nm…
sree21go Jul 23, 2018
0778baf
Changed healthblock select query from (taluka, code) to (district, co…
sree21go Jul 23, 2018
1851179
NullPointer if RCH Mother id is null
gudipatiharitha Jul 24, 2018
f31c9bb
Merge branch 'master' into Web_service_locations_mcts_rch
sree21go Jul 24, 2018
f90193c
Merge branch 'master' into Web_service_locations_mcts_rch
sree21go Jul 24, 2018
3ced062
Added date format string to LocationConstants
sree21go Jul 24, 2018
a385c49
Fixing nullPointer exceptions (#736)
VishnuVimal Jul 24, 2018
18ab60d
1. Changed rch mother and child read to work in parallel using thread
sree21go Jul 25, 2018
f93c358
comment on why healthblock select was changed from (talukaId, code) t…
sree21go Jul 25, 2018
5470b50
asha location update fix for non unique (mctsid,stateid) (#738)
sudheer93 Jul 25, 2018
9f69edf
Java 8 and Spring Core - In Progress
gudipatiharitha Jul 26, 2018
76b7a75
Fixed Persistence manager and pre-persist errors in RCH xml read (#739)
sree21go Jul 26, 2018
b8be772
Added fix for processing location records with invalid data
sree21go Jul 26, 2018
86d9cfe
addition of crons for 3 web location services
vijay-26 Jul 27, 2018
42c0473
Making location import a chain process
vijay-26 Jul 27, 2018
9b4e51d
Added code to handle null pointer exception in location masters import
sree21go Jul 27, 2018
bc1c2c7
Merge remote-tracking branch 'origin/Web_service_locations_mcts_rch' …
sree21go Jul 27, 2018
5b741c4
Added code to handle null pointer exceptions in query builders of loc…
sree21go Jul 27, 2018
8043ae0
Added check in healthfacility creation that given taluka and healthbl…
sree21go Jul 27, 2018
1c1699b
Added fix for empty file in location masters import
sree21go Jul 27, 2018
dcf47fb
Added fix for handling empty file in location masters import
sree21go Jul 27, 2018
42c2d21
partitioned villages, health-facilities, health-sub-facilities querie…
sudheer93 Jul 30, 2018
439feab
Fixed null pointer error and empty query issue in location masters im…
sree21go Jul 30, 2018
2766d0b
Fixed checkstyle violations in region module
sree21go Jul 30, 2018
dc18e09
Fixed empty records issue and changed village_healthsubfacility query
sree21go Jul 31, 2018
967378f
Merge remote-tracking branch 'origin/Web_service_locations_mcts_rch' …
sree21go Jul 31, 2018
0ec70d1
Added sql scripts to add date columns in locations many-many tables
sree21go Jul 31, 2018
842ba15
Merge pull request #741 from motech-implementations/Web_service_locat…
gudipatiharitha Jul 31, 2018
025acff
Added many-many relation fields to default fetch group. Improving ben…
sree21go Aug 1, 2018
b33ea40
Merge pull request #742 from motech-implementations/rch_import_perfor…
gudipatiharitha Aug 1, 2018
cedf8f5
created events for each location read instead of method call
vijay-26 Aug 1, 2018
32c0e41
Merge pull request #743 from motech-implementations/Web_service_locat…
gudipatiharitha Aug 1, 2018
5fdbd1e
running all locations despite errors
vijay-26 Aug 1, 2018
bb1cb64
Merge pull request #744 from motech-implementations/Web_service_locat…
gudipatiharitha Aug 1, 2018
0c603a0
Merge branch 'master' into rch_parallel_import
sree21go Aug 1, 2018
d11d426
Fixed null pointer exception in village, healthfacility and healthsub…
sree21go Aug 2, 2018
0bf9320
Reverting eager fetch to lazy for many-many locations
sree21go Aug 2, 2018
9d88b74
Merge pull request #745 from motech-implementations/reverting_locatio…
gudipatiharitha Aug 2, 2018
8faf1b7
Merge branch 'master' into rch_parallel_import
sree21go Aug 2, 2018
fbee0f2
increased csr processing performance by adding bulk insert and added …
sudheer93 Aug 2, 2018
075ca53
changed module versions to 1.0.38
sree21go Aug 2, 2018
cd271c9
Merge pull request #746 from motech-implementations/CSR_Processing_Pe…
gudipatiharitha Aug 3, 2018
1c2ea81
Merge branch 'master' into rch_parallel_import
sree21go Aug 3, 2018
e66ff6a
parallelisation of web service import
vijay-26 Aug 3, 2018
db8b9c5
added one sided EAGER fetch to healthblock and healthsubfacility for …
sree21go Aug 6, 2018
de9a58c
Paralelisation of districts as well
vijay-26 Aug 6, 2018
3fa92ad
Paralelisation of Mother, child and asha
vijay-26 Aug 6, 2018
16cfa88
Datanucleus, spring and osgi eclipse blueprint versions
gudipatiharitha Aug 8, 2018
cf72b41
NullPointer if RCH Mother id is null
gudipatiharitha Jul 24, 2018
922d2fd
Java 8 and Spring Core - In Progress
gudipatiharitha Jul 26, 2018
39b4cf6
Datanucleus, spring and osgi eclipse blueprint versions
gudipatiharitha Aug 8, 2018
7722f29
Rebase master to nmsupgrade
gudipatiharitha Aug 8, 2018
0de00e8
Merge branch 'rch_parallel_import' of https://github.com/motech-imple…
vijay-26 Aug 10, 2018
0e2690d
Bug fix for rch read
vijay-26 Aug 10, 2018
3118a46
Removed Eager and added few debug lines
gudipatiharitha Aug 11, 2018
feb3df3
Added few debug lines
gudipatiharitha Aug 11, 2018
f3961fd
Merge branch 'Web_service_locations_mcts_rch' into rch_xml_fix
gudipatiharitha Aug 11, 2018
eed58cb
Removed unnecessary transaction
gudipatiharitha Aug 13, 2018
0b93cb9
Commented m:n relations in locations
gudipatiharitha Aug 13, 2018
fa55817
Time change for rch imports
vijay-26 Aug 17, 2018
93e9b79
Merge pull request #747 from motech-implementations/tag-1.0.38
gudipatiharitha Aug 17, 2018
2b25c71
Lazy fetch restored.
vijay-26 Aug 17, 2018
c693bcc
Datanucleus upgraded
gudipatiharitha Aug 17, 2018
ee7a0fb
Merge pull request #749 from motech-implementations/multipleSubcriberBug
gudipatiharitha Aug 17, 2018
d3c37dd
Merge branch 'nmsupgrade' of https://github.com/motech-implementation…
gudipatiharitha Aug 17, 2018
890b250
Merge remote-tracking branch 'remotes/origin/master' into nmsupgrade
gudipatiharitha Aug 17, 2018
0f06103
Typo removed
gudipatiharitha Aug 17, 2018
8698da9
Rch import facilitator bug fix
vijay-26 Aug 20, 2018
be9b90a
Merge pull request #750 from motech-implementations/multipleSubcriberBug
gudipatiharitha Aug 20, 2018
c9b6598
Merge remote-tracking branch 'remotes/origin/master' into nmsupgrade
gudipatiharitha Aug 21, 2018
ee6d382
Locations remove of binding of many to many
vijay-26 Aug 23, 2018
bf3b0ec
Taluka correction
vijay-26 Aug 23, 2018
56cdd76
flw null pointer and child nullpointer correction
vijay-26 Aug 24, 2018
86e1a49
Fixed Saved and Rejected count
gudipatiharitha Aug 25, 2018
7962e25
Set location fields csv from mother ( removed commented for performan…
gudipatiharitha Aug 25, 2018
087b133
Set location fields csv from mother ( removed commented for performan…
gudipatiharitha Aug 25, 2018
ae61850
Handling "" empty beneficaty Id in code
gudipatiharitha Aug 25, 2018
54886fa
Added Different Sync times fr rch
gudipatiharitha Aug 26, 2018
828da63
Merge branch 'commentedmn' of https://github.com/motech-implementatio…
gudipatiharitha Aug 26, 2018
b81301e
null pointer for couple of children - added rchid != nnull
gudipatiharitha Aug 27, 2018
0ef93fb
null pointer for couple of children - added null cehcks on rchid
gudipatiharitha Aug 27, 2018
4cd5e0e
Fixing bug where rejectionReason is wrong ie MSISDN already in use f…
vijay-26 Sep 4, 2018
97858b9
Extra Loggers for few prep persist error catch
vijay-26 Sep 5, 2018
86bd7ab
Motech dependency to 0.27.8
gudipatiharitha Sep 7, 2018
f589773
Bug fix for reactivation lmp and dob check
vijay-26 Sep 7, 2018
93759bf
bumping up the version to 1.0.38.1
vijay-26 Sep 10, 2018
7bef478
Activation date update in reactivation bug fix
vijay-26 Sep 19, 2018
0e447b8
Merge branch 'master' of https://github.com/motech-implementations/nm…
vijay-26 Sep 20, 2018
84479e4
Removed Spring test dependency to convert file to Multipart file.
atishbeehyv123 Sep 23, 2018
705d60d
Fixed merge changes with master.
atishbeehyv123 Sep 23, 2018
780dcf8
Merge branch 'flw_duplicate_msisdn_error' of https://github.com/motec…
vijay-26 Sep 25, 2018
2a02cc9
reactivation 12 week check with minor code changes
vijay-26 Sep 26, 2018
95ae59d
rch import time change
vijay-26 Sep 26, 2018
6eec23c
Merge branch 'master' into nmsupgrade
gudipatiharitha Sep 27, 2018
f2df94f
Merge branch 'nmsbugfix' into nmsupgrade
gudipatiharitha Sep 27, 2018
1e509f2
Unit tests fixed with all latest versions
gudipatiharitha Sep 27, 2018
b59c67d
Fixed tomcat errors NMS bundles
gudipatiharitha Sep 28, 2018
01477bd
Fixed tomcat deployment issues in NMS - bval, aspectj , commons-disco…
gudipatiharitha Sep 29, 2018
b6dfa71
Merge pull request #753 from motech-implementations/reactivation_12We…
gudipatiharitha Oct 1, 2018
900b9dc
Commons-io version changed and added Datanucleus import to few projects
gudipatiharitha Oct 4, 2018
05fbb6b
NMS tomcat errors
gudipatiharitha Oct 8, 2018
e95cb1a
NMS tomcat errors
gudipatiharitha Oct 8, 2018
1b25555
NMS tomcat errors
gudipatiharitha Oct 8, 2018
a72b7a0
version updates NMS PIT
gudipatiharitha Oct 9, 2018
4eff7c7
version updates NMS PIT
gudipatiharitha Oct 9, 2018
61d06c0
fasterxml update
gudipatiharitha Oct 15, 2018
b7c5ab7
removed codehaus jackson
gudipatiharitha Oct 15, 2018
e2b83ca
Commented out track fields /class in entity classes - becasuse it cau…
gudipatiharitha Oct 17, 2018
541c04d
Import
gudipatiharitha Oct 18, 2018
a6a3340
Ignored 3 Testcases failing in flw and flwupgrade - fixed others in …
gudipatiharitha Oct 19, 2018
4c53866
Upgrade in Filter = testing PIT fix
gudipatiharitha Oct 23, 2018
3aa2bc4
Database Instructions - couple of them were not upfated in master txt…
gudipatiharitha Oct 23, 2018
c250129
DB Script to be run automatically before test cases
gudipatiharitha Oct 23, 2018
b86346f
Readded tracking to check
gudipatiharitha Oct 23, 2018
a26ae45
TrackCHangeUtils is changed a bit - so that Instead of trackedsetdeco…
gudipatiharitha Oct 25, 2018
6d844c9
Tracking PIT
gudipatiharitha Oct 25, 2018
603793d
kilkari_Inbox_handling_OBD and Region Module Fixes and Ignored tests
manojadharanikota Oct 26, 2018
edb09b9
Revert "kilkari_Inbox_handling_OBD and Region Module Fixes and Ignore…
manojadharanikota Oct 26, 2018
45b756d
Fixed class cast exception in UserControllerIT.
atishbeehyv123 Oct 31, 2018
6a3f737
Review comments
gudipatiharitha Nov 2, 2018
97b7e65
Fixed Rch Beneficiary Import Service Bundle IT.
atishbeehyv123 Nov 13, 2018
b81ce83
Enable All It tests
atishbeehyv123 Nov 13, 2018
2ea9b0f
Debug statements for healthblock import
karthikbeehyv Nov 16, 2018
00b97ee
Debug statements for healthblock import
karthikbeehyv Nov 16, 2018
90a13c9
Debug statements for healthblock import
karthikbeehyv Nov 16, 2018
cd7862e
Changed file variable to f
atishbeehyv123 Nov 19, 2018
94c8c8d
hardcoded text/plain
atishbeehyv123 Nov 19, 2018
01a9d18
Fixing bug where rejectionReason is wrong ie MSISDN already in use f…
vijay-26 Sep 4, 2018
0b722a8
Extra Loggers for few prep persist error catch
vijay-26 Sep 5, 2018
0531970
Bug fix for reactivation lmp and dob check
vijay-26 Sep 7, 2018
34bf6bf
bumping up the version to 1.0.38.1
vijay-26 Sep 10, 2018
c8a64cc
reactivation 12 week check with minor code changes
vijay-26 Sep 26, 2018
25f8fcc
rch import time change
vijay-26 Sep 26, 2018
98adb0e
Copied all the Pull Requests
LakshmiAmbikaV Nov 19, 2018
9feefb5
Removed pom.xml changes.
LakshmiAmbikaV Nov 19, 2018
954be97
Changed File ==> f for IOUtils.copy(new FileInputStream(file)
atishbeehyv123 Nov 20, 2018
75eb84a
Added Logger to validate values in CSV.
atishbeehyv123 Nov 21, 2018
9632d76
Merge branch 'master' into nmsupgrade
gudipatiharitha Nov 21, 2018
f1bab36
Logger sattemetns for location csv import
gudipatiharitha Nov 22, 2018
a95c848
Merge branch 'nmsupgrade' of https://github.com/motech-implementation…
gudipatiharitha Nov 22, 2018
8ca7471
Debug statements csv import
gudipatiharitha Nov 22, 2018
390cc7b
Debug statements csv import
gudipatiharitha Nov 22, 2018
38d591c
Merge remote-tracking branch 'remotes/origin/testAllPITOnUpgrade' int…
atishbeehyv123 Nov 23, 2018
c8ec71d
Obd "language" detached error
gudipatiharitha Nov 24, 2018
7d93a2f
Added exception to LOGGER.error
gudipatiharitha Nov 24, 2018
d18db9d
Obd error after completion in ImiController
gudipatiharitha Nov 24, 2018
a80f2fa
Obd error after completion in ImiController
gudipatiharitha Nov 24, 2018
01f2e85
Obd error while generation in ImiController
gudipatiharitha Nov 24, 2018
8dee54c
Obd error while generation in ImiController
gudipatiharitha Nov 24, 2018
82181f5
readded maxFetchDepth
gudipatiharitha Nov 24, 2018
c78a3bb
Merge branch 'nmsupgrade' of https://github.com/motech-implementation…
atishbeehyv123 Nov 24, 2018
4652b9e
Fixed PITs timeout
atishbeehyv123 Nov 24, 2018
896c55a
Fix for CDR
atishbeehyv123 Nov 28, 2018
54ab57e
Removed all refrences to findByNumber in subscriberDataservice which …
gudipatiharitha Nov 30, 2018
e45e233
Added logger to SmsNotificationServiceImpl
atishbeehyv123 Nov 30, 2018
8d728ea
Written_PITS_for_Bugs
beehyvmanoja Dec 3, 2018
8fec70e
Revert "Written_PITS_for_Bugs"
beehyvmanoja Dec 3, 2018
824d6e7
Revert "Written_PITS_for_Bugs"
beehyvmanoja Dec 3, 2018
605a393
Merge pull request #766 from motech-implementations/nms_bug_pit
gudipatiharitha Dec 3, 2018
e57e7fe
Fixed UserController PITs
atishbeehyv123 Dec 5, 2018
4ad5b7e
Merge pull request #768 from motech-implementations/PITFixesDev
gudipatiharitha Dec 6, 2018
35d3129
Fixed PIT for MobileAcademyControllerIT
atishbeehyv123 Dec 7, 2018
840af24
debug statemetnts to test time taken for delete subscription
gudipatiharitha Dec 17, 2018
425b8a4
Merge remote-tracking branch 'origin/nmsupgrade' into nmsupgrade
gudipatiharitha Dec 17, 2018
7c740d9
Fixed API tests.
atishbeehyv123 Dec 17, 2018
d6dc4f4
Fixed test cases
gudipatiharitha Dec 24, 2018
9e83ca7
Removing retriveall methods unused.
gudipatiharitha Dec 24, 2018
863a433
Fixed PIT named testForSubscriberAbsent for MCTS And RCH Beneficiary.
atishbeehyv123 Dec 24, 2018
770dc34
Adding RCH properties file
penugonda May 3, 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