Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscription new cases #757

Open
wants to merge 334 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
334 commits
Select commit Hold shift + click to select a range
a2035cb
Deleted SystemReqSpec Docs in specs module
sree21go May 10, 2018
5cac11e
Fixed Violations in rejection-handler module
sree21go May 10, 2018
25e49f4
Fixed Violations in import methods in kilkari module
sree21go May 10, 2018
812be57
Deleted SystemReqSpec files from specs module
sree21go May 10, 2018
7bd7172
Fixed Violations in Thread Processor methods and Controllers in kilka…
sree21go May 10, 2018
3e35b12
Fixed Checkstyle Violations in import methods and controllers in kilk…
sree21go May 10, 2018
1c133ac
reactivation of deactivated subscriptions due to low listenership and…
VishnuVimal May 11, 2018
30a2593
Merge branch 'Reactivation_Deactivated_Subscriptions' of https://gith…
VishnuVimal May 11, 2018
0b1547f
Merge pull request #716 from motech-implementations/Reactivation_Deac…
VishnuVimal May 14, 2018
9dcc9a8
1) Made 'set locations to beneficiary' transactional
sree21go May 15, 2018
8cf2284
Fixed CPD violation issues in import service methods
sree21go May 16, 2018
0907fcc
Removed Beneficiary update controller, services and related code in t…
sree21go May 16, 2018
8cfaa3d
Implemented bulk insert of rejections for mcts, rch web import of mo…
sree21go May 16, 2018
8c04dd5
fixed pmd violations in kilkari, mcts, rch modules
sree21go May 16, 2018
ff6f83e
Made 'splitRecords' method for csv private to CSV reader class
sree21go May 17, 2018
438b3b6
Merge branch 'master' into rebase_temp
sree21go May 18, 2018
31d121d
Merge branch 'master' into rebase_temp
sree21go May 18, 2018
b9ba5e1
Minor fixes after merging with master
sree21go May 18, 2018
d4a573d
Removed 'MctsBeneficiaryUpdateService' from Kilkari blueprint
sree21go May 21, 2018
88e98e8
corrections in child import, removing nullpointer exceptions
VishnuVimal May 22, 2018
6f4a3bf
Merge pull request #718 from motech-implementations/Reactivation_Deac…
gudipatiharitha May 23, 2018
8343ea8
Initial probing into HealthBlock-Taluka many-to-many mapping
sree21go May 23, 2018
c587506
Merge remote-tracking branch 'origin/master'
sree21go May 24, 2018
8f1a0c8
Correction in Mother web service import, removing NullPointerException
sree21go May 24, 2018
80daf9b
Added new manytomany join table 'nms_taluka_healthblock'
sree21go May 28, 2018
d76f8b8
Handled Bulk insert/update of rejections query failure
sree21go May 28, 2018
b703c91
Created Taluka-HealthBlock many-to-many relationship using 'nms_taluk…
sree21go May 30, 2018
871d198
Location update till csv file write for Rch mother and child from xml
VishnuVimal May 31, 2018
00b47ac
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal May 31, 2018
eb0b125
child update with mother null bug fix
VishnuVimal Jun 4, 2018
2d39f47
child date of birth update in child table bug fix
VishnuVimal Jun 5, 2018
da83190
changes done as suggested in code review
VishnuVimal Jun 6, 2018
bb29ebe
Merge pull request #720 from motech-implementations/child_mother_null…
gudipatiharitha Jun 7, 2018
f3b2861
Created Village-HealthSubFacility many-to-many relationship using 'nm…
sree21go Jun 12, 2018
bdaef26
Merge branch 'location_mapping_restructure' into feature_nic_new_loca…
sree21go Jun 12, 2018
f7fbe8a
Fixed Mother import null pointer exception due to null phone number
sree21go Jun 12, 2018
ed4c3d1
Changed SQL query type from String to StringBuffer. Added method comm…
sree21go Jun 12, 2018
c0cde5f
Merge remote-tracking branch 'origin/master' into rch_import_location…
sree21go Jun 12, 2018
364d4c8
query changes to health block and village
VishnuVimal Jun 13, 2018
75f03b8
Update for correction of updation of unconnected mother-child combo w…
VishnuVimal Jun 18, 2018
8f107ac
Removed TODO comments for tasks already done
sree21go Jun 19, 2018
0baa668
Location Update(CSV) added for Mother, Child, Asha
sudheer93 Jun 19, 2018
19d19ce
Merge branch 'feature_nic_new_locations' of https://github.com/motech…
sudheer93 Jun 19, 2018
c929714
adding transactional to activateHoldSubscription method of upkeep cro…
VishnuVimal Jun 20, 2018
b7d1355
addition of max active subscription case to pending activation
VishnuVimal Jun 21, 2018
a8a3d64
mcts csv to location csv
VishnuVimal Jun 22, 2018
2d2d2b4
Added code to create Locations from csv through bulk insert
sree21go Jun 24, 2018
688eaf5
Merge branch 'location_mapping_restructure' into feature_nic_new_loca…
sree21go Jun 24, 2018
f992cc2
Code to update locations from csv to database added
sudheer93 Jun 25, 2018
ab882c8
Added log for missing files
sree21go Jun 25, 2018
8026b3c
CSV Reading issue fix for updating locations
sudheer93 Jun 25, 2018
7f39b39
checkstyle error fixed
sudheer93 Jun 25, 2018
af87c90
bug-fixes for beneficiaries locations update
sudheer93 Jun 27, 2018
ac2f824
Fixed State_ID column in stateHashmap key
sree21go Jun 28, 2018
7dcf784
Merge pull request #717 from motech-implementations/rch_import_locati…
gudipatiharitha Jun 28, 2018
92c1c97
Merge branch 'master' into bug_connecting_unconnected_mother_child_Wi…
gudipatiharitha Jun 28, 2018
07eeb29
Merge pull request #721 from motech-implementations/bug_connecting_un…
gudipatiharitha Jun 28, 2018
b709541
changed remote response directory from /usr/local/RCH/rch-records-rem…
sudheer93 Jun 28, 2018
530ed25
Merge remote-tracking branch 'origin/master' into feature_nic_new_loc…
sree21go Jun 28, 2018
b41b915
Merge branch 'feature_nic_new_locations' of https://github.com/motech…
sree21go Jun 28, 2018
b0e39ad
Fixed Function calls in bulk child rejections (Caused by faulty merge)
sree21go Jun 28, 2018
b89997b
Merge pull request #719 from motech-implementations/feature_nic_new_l…
gudipatiharitha Jun 28, 2018
611b654
bumping up the version number to 1.0.37
VishnuVimal Jun 28, 2018
2dd5cbb
Merge branch 'feature_nic_new_locations' into location_mapping_restru…
sree21go Jun 29, 2018
9abd5e7
Fixed Null Pointer Exception Caused by Null TalukaId and Fixed commen…
sree21go Jun 29, 2018
e0c53c2
Bug Fix: Mother rejection reason saving as null instead of MOBILE_NUM…
sree21go Jul 2, 2018
8e6591b
Merge pull request #722 from motech-implementations/feature_nic_new_l…
gudipatiharitha Jul 2, 2018
e68cb75
adding Taluka and health block services till saving to db
VishnuVimal Jul 2, 2018
910c5eb
Merge branch 'master' of https://github.com/motech-implementations/nm…
VishnuVimal Jul 2, 2018
84ca713
Merge branch 'feature_nic_new_locations' into location_mapping_restru…
sree21go Jul 3, 2018
960b84b
Merge branch 'location_mapping_restructure' into Web_service_location…
sree21go Jul 3, 2018
36f9131
Merge branch 'Web_service_locations_mcts_rch' of https://github.com/m…
VishnuVimal Jul 3, 2018
136d156
Code for bulk insert for CDR processing
sudheer93 Jul 4, 2018
1043eeb
Added LocationEnum and mapped all Location string literals to enum
sree21go Jul 4, 2018
6c4f66d
Added logger statements and minor performance improvements
sudheer93 Jul 4, 2018
65eebf8
Merge branch 'Web_service_locations_mcts_rch' of https://github.com/m…
VishnuVimal Jul 5, 2018
7556922
Changed Taluka_Id cell processor to String from Long
sree21go Jul 5, 2018
7f2149b
Web services for Talukas, HB and THB
VishnuVimal Jul 5, 2018
88e5b0e
Merge branch 'Web_service_locations_mcts_rch' of https://github.com/m…
VishnuVimal Jul 5, 2018
4afd757
Improved performance for reading location xml
sree21go Jul 5, 2018
6630577
refactored variables in create locations work flow
sudheer93 Jul 6, 2018
150a560
Fixed Null Location ids in beneficiaries issue
sree21go Jul 9, 2018
e687e37
handling null pointer exception and xml file reading issue for no rec…
sudheer93 Jul 9, 2018
457c7f9
Merge remote-tracking branch 'origin/feature_nic_new_locations' into …
sudheer93 Jul 9, 2018
fc63f93
Fixed healthfacility id and healthsubfacility id null for healthblock…
sree21go Jul 9, 2018
6ca382a
Fixed Reflections issue caused by unrelated healthfacilityId - helath…
sree21go Jul 9, 2018
b4e440d
Fixed healthblock key generation in rch locations update
sree21go Jul 9, 2018
c4694a1
Fixed minor bugs for location import of Taluka, HealthBlock, HealthFa…
sree21go Jul 10, 2018
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
e29d35e
Motech dependency to 0.27.8
gudipatiharitha Sep 7, 2018
94dffe1
Activation date update in reactivation bug fix
vijay-26 Sep 19, 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
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
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
568d91a
Added new test cases for subscriptions.
sarikarajety Oct 26, 2018
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
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions AutoIncrementIDsScript.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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</version>
<relativePath>../</relativePath>
</parent>

<artifactId>api</artifactId>
<version>1.0.38</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</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 @@ -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