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

Digit2.9 #29

Open
wants to merge 1,468 commits into
base: digit2.9_backup
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1468 commits
Select commit Hold shift + click to select a range
6fab4c6
Merge pull request #781 from rakesh-wt-egov/workbench
vinothrallapalli-eGov Jan 9, 2024
aa097aa
Merge branch 'master' into workbench
vinothrallapalli-eGov Jan 11, 2024
0315f0a
Modification for finicial year mdms v2
Chinmoy-96 Jan 12, 2024
eb6dec4
merge master to workbench
Chinmoy-96 Jan 12, 2024
b109a7e
UM-6649 MdmsV2 scripts
palak-egov Jan 12, 2024
6416c68
Merge branch 'workbench' of https://github.com/upyog/UPYOG into workb…
palak-egov Jan 12, 2024
4f5276d
merge master to workbench
Chinmoy-96 Jan 12, 2024
2942ece
gulp version check
Chinmoy-96 Jan 18, 2024
5f78e9c
MdmsV2 scripts
palak-egov Jan 18, 2024
d091b1a
Workbench backup update
Chinmoy-96 Jan 18, 2024
0e680f0
Merge master branch changes
vinothrallapalli-eGov Jan 19, 2024
a2a2630
Merge master
Chinmoy-96 Jan 19, 2024
bbfbc6e
FSM Road deatils Skip option added
Chinmoy-96 Jan 22, 2024
64de0a6
Added null check for road details
Chinmoy-96 Jan 23, 2024
cda6f90
Merge branch 'workbench' into upyog-digit-2.9
vinothrallapalli-eGov Jan 23, 2024
e30cc20
Merge remote-tracking branch 'origin/digitdev-2.9' into upyog-digit-2.9
palak-egov Jan 24, 2024
586e1dc
Merge branch 'upyog-digit-2.9' of https://github.com/upyog/UPYOG into…
palak-egov Jan 24, 2024
2538619
tl-service build error fix
palak-egov Feb 5, 2024
386ad1c
egov-hrms build fix
palak-egov Feb 5, 2024
ace144f
changes in propert-service for errors
sairamya-egov Feb 5, 2024
c51aec6
changes for land-services for errors
sairamya-egov Feb 5, 2024
b84e31b
FSM and Sw Changes
sairamya-egov Feb 6, 2024
a46a702
compilation errors fix
palak-egov Feb 6, 2024
466d02e
sw_calculator changes
sairamya-egov Feb 6, 2024
aa99b9f
Merge branch 'upyog-digit-2.9' into upyog-digit-2.9
sairamya-egov Feb 7, 2024
9ecc19a
changes in SwCacculationserviceImp file
sairamya-egov Feb 7, 2024
cf308ba
changes in land service
sairamya-egov Feb 7, 2024
5c08e7b
Merge pull request #874 from sairamya-egov/upyog-digit-2.9
vinothrallapalli-eGov Feb 7, 2024
800ecf7
build errors
palak-egov Feb 8, 2024
9928c06
changes in echallan-service
sairamya-egov Feb 9, 2024
4a776dd
build changes
palak-egov Feb 9, 2024
3ed86b8
Merge pull request #895 from sairamya-egov/upyog-digit-2.9
vinothrallapalli-eGov Feb 12, 2024
fdf4830
changing mdms-v2 configs
palak-egov Feb 22, 2024
71fc269
removing type from bulk url
palak-egov Feb 22, 2024
431bc7c
Update application.properties
palak-egov Feb 22, 2024
150f46e
Update BillingslabUtils.java
palak-egov Feb 23, 2024
5f8ea4e
Update BillingslabUtils.java
palak-egov Feb 23, 2024
9aefcbb
Update BillingslabUtils.java
palak-egov Feb 23, 2024
12a6b93
Update application.properties
palak-egov Feb 23, 2024
5f35de0
Update application.properties
palak-egov Feb 23, 2024
0feb717
url format change in indexer service
sairamya-egov Feb 26, 2024
398ebea
Merge pull request #932 from sairamya-egov/upyog-digit-2.9
vinothrallapalli-eGov Feb 26, 2024
4e02e1f
added logs in property-service in propertyservice file
sairamya-egov Feb 27, 2024
5dce3e6
Merge pull request #936 from sairamya-egov/upyog-digit-2.9
vinothrallapalli-eGov Feb 27, 2024
e1bdded
added logs in tl-service in TradeLicenseService file
sairamya-egov Feb 28, 2024
1a39fa9
added log in tl-service in TLRepository file
sairamya-egov Feb 28, 2024
14caa41
Merge pull request #948 from sairamya-egov/upyog-digit-2.9
vinothrallapalli-eGov Feb 28, 2024
b0405da
added logs in tl-service
sairamya-egov Feb 28, 2024
f025a85
Merge branch 'upyog:upyog-digit-2.9' into upyog-digit-2.9
sairamya-egov Feb 28, 2024
0b0490c
added logs in TLREpository file
sairamya-egov Feb 28, 2024
2414648
Merge pull request #949 from sairamya-egov/upyog-digit-2.9
vinothrallapalli-eGov Feb 28, 2024
a22c541
reindexing issue changes
sairamya-egov Feb 29, 2024
d318d4a
Merge pull request #952 from sairamya-egov/upyog-digit-2.9
vinothrallapalli-eGov Feb 29, 2024
0b4d298
changes in for reindexing
sairamya-egov Mar 1, 2024
50c1066
Merge pull request #958 from sairamya-egov/upyog-digit-2.9
vinothrallapalli-eGov Mar 1, 2024
b68d8e6
Update TLRepository.java
palak-egov Mar 1, 2024
924b171
Whole Pet Code is merged in Master branch
ShivankShuklaa Mar 12, 2024
9580b84
Merge pull request #30 from ShivankShuklaa/master
abhijniua Mar 12, 2024
9113478
Adding Backend code of pet module in prod
abhijniua Mar 12, 2024
1202149
Adding changes related to pet service in inbox
abhijniua Mar 12, 2024
94b74a6
removing ward
palak-egov Mar 15, 2024
da30ba0
Merge branch 'upyog-digit-2.9' of https://github.com/upyog/UPYOG into…
palak-egov Mar 15, 2024
f3a7967
Create readme
upyog-central-git Mar 15, 2024
9c0b6ad
Finance issue fix
deepikaarora88 Mar 18, 2024
f3b7a32
Finance issue fix
deepikaarora88 Mar 18, 2024
51b5518
Merge pull request #1007 from deepikaarora88/master
upyog-central-git Mar 18, 2024
d645e3c
Merge branch 'upyog:master' into master
abhijniua Mar 19, 2024
ccdfd49
prod release Mar 2024
deepikaarora88 Mar 19, 2024
478584e
Merge branch 'upyog:master' into master
deepikaarora88 Mar 19, 2024
bd4890d
added Dev2.0 changes to master branch for production release Q1-24
Mar 19, 2024
3617811
Merge pull request #1008 from deepikaarora88/master
upyog-central-git Mar 20, 2024
ec58ecd
Merge pull request #1010 from sriranjan-s/master
upyog-central-git Mar 20, 2024
6850e5a
Merge branch 'master' into master
abhijniua Mar 22, 2024
ede342b
Merge pull request #983 from abhijniua/master
upyog-central-git Mar 22, 2024
d9258c7
added changes for PT
Mar 22, 2024
bb6fb69
published mCollect
Mar 22, 2024
41635a3
added mono UI changes for Q1 24
Mar 22, 2024
c0de940
updated url for prod.
deepikaarora88 Mar 26, 2024
7b5840b
Merge pull request #1016 from upyog/deepikaarora88-patch-12
upyog-central-git Mar 26, 2024
e107889
Code published in NPM as well as removed from workspaces
ShivankShuklaa Mar 26, 2024
9214ab5
Merge pull request #31 from ShivankShuklaa/master
abhijniua Mar 26, 2024
54d0550
Merge pull request #1017 from abhijniua/master
upyog-central-git Mar 26, 2024
b6236a7
added loggers for billing slab search
deepikaarora88 Mar 27, 2024
20a3322
Merge pull request #1018 from upyog/deepikaarora88-patch-13
upyog-central-git Mar 27, 2024
1d0dd7f
Added changes
Mar 27, 2024
249b09d
added PT bug fix, OBPAS bug fix and removed digit
Mar 27, 2024
35cd753
Merge pull request #1020 from sriranjan-s/master
upyog-central-git Mar 27, 2024
34e6a60
pg redirection fix and download receipt issue
deepikaarora88 Mar 29, 2024
07fe1c3
Merge pull request #1024 from deepikaarora88/master
upyog-central-git Mar 29, 2024
28f0517
Added changes for Pet Module access and card from frontend
ShivankShuklaa Apr 1, 2024
2c17e7a
Merge pull request #32 from ShivankShuklaa/master
abhijniua Apr 1, 2024
2bd9b62
Merge pull request #1028 from abhijniua/master
upyog-central-git Apr 2, 2024
31961b6
UM-6735 - Showing null for fatherOrHusbandName and relationship
Taniya-eGov Apr 3, 2024
5fa0a7a
Merge pull request #1034 from Taniya-eGov/UM-6735
vinothrallapalli-eGov Apr 3, 2024
be4288a
FY fix for WS tax periods
deepikaarora88 Apr 4, 2024
bbbc684
Merge branch 'upyog:master' into master
deepikaarora88 Apr 4, 2024
984b7d7
FY fix for SW tax periods
deepikaarora88 Apr 4, 2024
fdad265
Merge branch 'master' of https://github.com/deepikaarora88/UPYOG
deepikaarora88 Apr 4, 2024
6b9b5bf
Merge pull request #1036 from deepikaarora88/master
upyog-central-git Apr 4, 2024
3f038e7
rate limiter increased for oauth
deepikaarora88 Apr 4, 2024
ea09ac5
Merge pull request #1038 from upyog/deepikaarora88-patch-14
upyog-central-git Apr 4, 2024
91f0e6d
fix for FY in ingest
deepikaarora88 Apr 5, 2024
7fae15c
Merge pull request #1043 from deepikaarora88/master
upyog-central-git Apr 5, 2024
fbcf288
Delete core-services/egov-notification-sms/src/main/resources/smsgwsm…
ashutoshpatnaik12 Apr 15, 2024
6be61f0
Merge pull request #1059 from upyog/ashutoshpatnaik12-patch-1
upyog-central-git Apr 15, 2024
1b46571
Add files via upload
ashutoshpatnaik12 Apr 15, 2024
e46161b
Merge pull request #1060 from upyog/ashutoshpatnaik12-patch-2
upyog-central-git Apr 15, 2024
ffd014e
Rename smsgwsmsgovin.cer.txt to smsgwsmsgovin.cer
ashutoshpatnaik12 Apr 15, 2024
2b122db
Merge pull request #1061 from upyog/ashutoshpatnaik12-patch-3
upyog-central-git Apr 15, 2024
3a2d187
removing type _doc
palak-egov Apr 15, 2024
8f868ce
changing topic name for testing ingesting data
palak-egov Apr 18, 2024
e619903
Update FSM Advance Pay Workflow
Taniya-eGov Apr 18, 2024
7677a93
Merge pull request #5 from egovernments/ISNE-16
vinothrallapalli-eGov Apr 18, 2024
1546ad9
Update application.properties
palak-egov Apr 18, 2024
d777cec
Update application.properties
palak-egov Apr 18, 2024
12fb857
Add files via upload
ashutoshpatnaik12 Apr 18, 2024
030927e
Merge pull request #1064 from upyog/ashutoshpatnaik12-patch-4
upyog-central-git Apr 18, 2024
9b4faea
changing index name acc to date interval
palak-egov Apr 24, 2024
c6ee181
Update TarentoServiceImpl.java
palak-egov Apr 24, 2024
fdf646b
Update TarentoServiceImpl.java
palak-egov Apr 24, 2024
d2534ac
Update TarentoServiceImpl.java
palak-egov Apr 24, 2024
86c4349
Adding mdms v2 change in calculator services also
abhijniua Apr 30, 2024
e4d192c
Update consumer.js
chinmoy-eGov May 2, 2024
60dbfa4
Merge pull request #9 from pulkitniua/digit2.9
vinothrallapalli-eGov May 6, 2024
9b522a5
Update consumer.js
vinothrallapalli-eGov May 6, 2024
edb041a
Mdms V2 added in obps and fsm
pulkitniua May 7, 2024
76bda7c
Merge pull request #10 from pulkitniua/digit2.9
vinothrallapalli-eGov May 7, 2024
cdb5f62
sending default interval as month
palak-egov May 14, 2024
ddf85d4
adding loggers
palak-egov May 14, 2024
1ae426e
adding loggers for testing
palak-egov May 14, 2024
0b86445
adding ward validation
palak-egov May 15, 2024
804ef1e
Add loggers
vinothrallapalli-eGov May 15, 2024
e3b6bf1
Add loggers
vinothrallapalli-eGov May 15, 2024
962f76c
Add loggers
vinothrallapalli-eGov May 15, 2024
ac07f4b
Add loggers
vinothrallapalli-eGov May 15, 2024
abfbe79
Added null check for interval
vinothrallapalli-eGov May 15, 2024
d31ab0e
Merge branch 'upyog-digit-2.9' of https://github.com/egovernments/upy…
palak-egov May 15, 2024
7cce154
loggers for testing
palak-egov May 15, 2024
4b2721c
removing hashing and adding loggers for testing
palak-egov May 15, 2024
fee308d
logger
palak-egov May 15, 2024
0d22dec
changing condition for indexName
palak-egov May 15, 2024
521426d
adding back caching
palak-egov May 16, 2024
2442b36
Re-assign index name after processing
vinothrallapalli-eGov May 16, 2024
1192202
adding ward
palak-egov May 16, 2024
e372e16
Merge branch 'upyog-digit-2.9' of https://github.com/egovernments/upy…
palak-egov May 16, 2024
b33ac50
Added loggers
vinothrallapalli-eGov May 16, 2024
8a266a6
Merge branch 'upyog-digit-2.9' of https://github.com/egovernments/upy…
palak-egov May 20, 2024
f5f31b5
changing interval to month for year interval
palak-egov May 20, 2024
bbe5b97
Added npm level changes for obps module
pulkitniua May 20, 2024
e2f9322
Added npm level changes for mCollect module.
pulkitniua May 22, 2024
d0e1fd1
handling undefined value for tenantId
palak-egov May 22, 2024
e92e43a
Changing mdms url and endpoint to mdmsv2 service for bpa, fsm, sw, ws…
abhijniua May 22, 2024
e10c6ad
Added npm level changes for ws module
pulkitniua May 27, 2024
0cbc763
Merge pull request #11 from pulkitniua/digit2.9
vinothrallapalli-eGov May 27, 2024
b184242
Merge pull request #12 from pulkitniua/upyog-digit-2.9
vinothrallapalli-eGov May 27, 2024
828b705
Set central instance flag default to false
vinothrallapalli-eGov May 27, 2024
3ac23a1
Merge digit 2.9 to master
chinmoy-eGov May 28, 2024
ac38f13
Merge digit 2.9 to master
chinmoy-eGov May 28, 2024
65a6aa2
Fixed tenantid issue and null issue
vinothrallapalli-eGov May 28, 2024
5b1bddd
Don't validate html content if value is null
vinothrallapalli-eGov May 28, 2024
1789e10
Don't validate html content if value is null
vinothrallapalli-eGov May 28, 2024
0a80cf0
Don't validate html content validation if data is null
vinothrallapalli-eGov May 28, 2024
3087f10
Update type null for landmark field
vinothrallapalli-eGov May 28, 2024
5930cff
Call user service instead of individual service
vinothrallapalli-eGov May 28, 2024
591680b
Update application.properties
vinothrallapalli-eGov May 29, 2024
516627c
Update the WS calculator mdms host
vinothrallapalli-eGov May 29, 2024
462d48f
2.9 merge with master
chinmoy-eGov May 29, 2024
82a5481
2.9 merge with master
chinmoy-eGov May 29, 2024
da571dd
2.9 merge with master
chinmoy-eGov May 29, 2024
f162b9a
2.9 merge with master
chinmoy-eGov May 29, 2024
f2fa9d1
2.9 merge with master
chinmoy-eGov May 29, 2024
ead034f
ISNE-109 added tenantId for download
chinmoy-eGov May 29, 2024
1373944
Merge branch 'master' into upyog-digit-2.9
palak-egov May 30, 2024
50652be
ISNE-109 added tenantId for download
chinmoy-eGov May 30, 2024
6756ce7
Reverting mdms v2 endpoint changes in municipal services
abhijniua Jun 3, 2024
be75487
Merge pull request #16 from pulkitniua/upyog-digit-2.9
vinothrallapalli-eGov Jun 3, 2024
1cf0a97
Revert "Reverting mdms v2 endpoint changes in municipal services"
vinothrallapalli-eGov Jun 3, 2024
e7b1d64
Merge pull request #19 from egovernments/revert-16-upyog-digit-2.9
vinothrallapalli-eGov Jun 3, 2024
6479bd0
merge 2.9 frontend code
chinmoy-eGov Jun 4, 2024
b05c793
"url change for mcollect-challan in pdf service"
sairamya-egov Jun 4, 2024
db92cb2
Merge pull request #20 from sairamya-egov/master
sairamya-egov Jun 4, 2024
ce4e6d8
merge 2.9 frontend code
chinmoy-eGov Jun 4, 2024
d2a96a9
"url change for mcollect-challan in pdf service"
sairamya-egov Jun 4, 2024
d39ccc8
Merge pull request #21 from sairamya-egov/upyog-digit-2.9
sairamya-egov Jun 4, 2024
31816ea
merge 2.9 frontend code
chinmoy-eGov Jun 4, 2024
d39f766
merge master 2.9
chinmoy-eGov Jun 4, 2024
61e5218
merge master 2.9
chinmoy-eGov Jun 4, 2024
94fde6a
merge 2.9 frontend code
chinmoy-eGov Jun 5, 2024
6f59a4c
merge master 2.9
chinmoy-eGov Jun 5, 2024
2a0666f
merge master 2.9
chinmoy-eGov Jun 5, 2024
e4cbfd1
merge 2.9 frontend code
chinmoy-eGov Jun 5, 2024
c64d685
merge master 2.9
chinmoy-eGov Jun 5, 2024
f20636e
merge master 2.9
chinmoy-eGov Jun 5, 2024
bb7b59f
Adding mdms v2 changes for echallan
abhijniua Jun 6, 2024
65ad280
Merge branch 'upyog-digit-2.9' into upyog-digit-2.9
abhijniua Jun 6, 2024
aba761a
Merge pull request #22 from pulkitniua/upyog-digit-2.9
vinothrallapalli-eGov Jun 6, 2024
00ef64e
merge master branch
chinmoy-eGov Jun 6, 2024
655cad8
merge master branch
chinmoy-eGov Jun 6, 2024
e6d489f
Version update for PT and React-Component
chinmoy-eGov Jun 6, 2024
daa26f9
Changes for mdmsv2 in bpa and wscalculator
abhijniua Jun 7, 2024
7a1330c
Version update for 2.9
chinmoy-eGov Jun 7, 2024
963a094
Merge pull request #23 from pulkitniua/upyog-digit-2.9
vinothrallapalli-eGov Jun 7, 2024
6abc5f7
Package.json change for pt and tl
chinmoy-eGov Jun 7, 2024
44aeaf2
Modification in docker file for bill and receipts
chinmoy-eGov Jun 7, 2024
aa4b433
Corrected error in echallan service for mdmsv2
abhijniua Jun 7, 2024
07220d9
Merge pull request #25 from egovernments/master
palak-egov Jun 7, 2024
fb55fb0
Merge pull request #24 from pulkitniua/upyog-digit-2.9
vinothrallapalli-eGov Jun 7, 2024
21c9174
Merge remote-tracking branch 'origin/upyog-digit-2.9' into master-copy-2
palak-egov Jun 7, 2024
03460fa
Merge pull request #26 from egovernments/master-copy-2
vinothrallapalli-eGov Jun 7, 2024
5bc8b0b
Update in package
chinmoy-eGov Jun 7, 2024
7ca3220
PTR module chnages
chinmoy-eGov Jun 7, 2024
caac174
ISNE-130 FSM changes
chinmoy-eGov Jun 9, 2024
4a11c99
removing uuid NA condition
palak-egov Jun 10, 2024
f587792
Merge pull request #28 from egovernments/palak-egov-patch-4
palak-egov Jun 10, 2024
6daf6b3
updating service port to 8080
palak-egov Jun 12, 2024
7a6bf04
mdms endpoint for dev
palak-egov Jun 12, 2024
3675461
adding mdms endpoints
palak-egov Jun 12, 2024
18904a8
Adding ptr and building
chinmoy-eGov Jun 13, 2024
660d493
Merge pull request #31 from egovernments/palak-egov-patch-5
palak-egov Jun 13, 2024
a674498
PTR removed
chinmoy-eGov Jun 13, 2024
2de19ce
ISNE-129
chinmoy-eGov Jun 13, 2024
74709fe
Reverted MDMS-V2 to MDMS in WS, OBPS and mCollect Module
ShivankShuklaa Jun 17, 2024
6e22584
Merge pull request #33 from niua-org/digit2.9
vinothrallapalli-eGov Jun 17, 2024
f4b360c
Reverting mdms v2 changes in bpa, echallan, ws and sw
abhijniua Jun 17, 2024
19fe1d2
Merge pull request #35 from egovernments/mdmsv2-removed
palak-egov Jun 18, 2024
0ca8b57
Merge with master
chinmoy-eGov Jun 18, 2024
19071a9
Merge with master
chinmoy-eGov Jun 18, 2024
b31ac52
PtR added to 2.9
chinmoy-eGov Jun 18, 2024
c2c1763
PtR added to 2.9
chinmoy-eGov Jun 18, 2024
76b5a99
version updated
chinmoy-eGov Jun 18, 2024
d71add4
version updated
chinmoy-eGov Jun 18, 2024
324f312
Version update
chinmoy-eGov Jun 18, 2024
b3efbb7
Merge digit2.9 to master
chinmoy-eGov Jun 18, 2024
c3e1f22
PGR update version
chinmoy-eGov Jun 19, 2024
280f2a5
ISNE-129 pgr modification in citizen side create function
chinmoy-eGov Jun 19, 2024
d7951a8
ISNE-129 pgr modification in citizen side create function
chinmoy-eGov Jun 19, 2024
9e3fc6c
ISNE-129 pgr modification in citizen side create function
chinmoy-eGov Jun 19, 2024
2952580
OBPS and FSM chnages for creating new application
chinmoy-eGov Jun 19, 2024
ee76749
FSM Citizin locality added
chinmoy-eGov Jun 20, 2024
bb527a2
FSM verion update
chinmoy-eGov Jun 20, 2024
ef7d46b
FSM select address modified for citizen
chinmoy-eGov Jun 20, 2024
85bce6d
FSM edit screen address modification for update
chinmoy-eGov Jun 21, 2024
5684ba2
FSM edit screen address modification for update
chinmoy-eGov Jun 21, 2024
dc3f252
Citizen application time line for FSM
chinmoy-eGov Jun 21, 2024
aa50a09
ISNE-147, ISNE-144
chinmoy-eGov Jun 25, 2024
d0fac06
Fixed the timeline showing pending pay even if it is not applicable
vinothrallapalli-eGov Aug 12, 2024
9f8a624
Update FSM version
vinothrallapalli-eGov Aug 12, 2024
df634f3
Fixed citizen side FSM timeline issue
vinothrallapalli-eGov Aug 13, 2024
335db24
Update vehicle number format
vinothrallapalli-eGov Aug 13, 2024
49e01b7
Update FSM package version
vinothrallapalli-eGov Aug 13, 2024
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/publishAllPackages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Node.js Publish UI Packages
on:
push:

branches: [ 'digit2.9eGov' ]
branches: [ 'digit2.9' ]

paths:
- 'frontend/micro-ui/web/micro-ui-internals/**'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ public BillResponseV2 fetchBill(GenerateBillCriteria billCriteria, RequestInfoWr
if (CollectionUtils.isEmpty(bills))
{
log.info( "If bills are empty" +bills.size());
//if(!billCriteria.getBusinessService().equalsIgnoreCase("WS") && !billCriteria.getBusinessService().equalsIgnoreCase("SW"))
//if(!billCriteria.getBusinessService().equalsIgnoreCase("SW"))
updateDemandsForexpiredBillDetails(billCriteria.getBusinessService(), billCriteria.getConsumerCode(), billCriteria.getTenantId(), requestInfoWrapper);
return generateBill(billCriteria, requestInfo);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public String getVisualizationChartV2( @RequestBody RequestDto requestDto, @Requ
StringBuilder finalString = new StringBuilder(requestBodyString).append(headersString);
requestInfo.setHashKey(finalString.toString().hashCode());

logger.info("hashKey:: "+finalString.toString().hashCode());
Map<String, Object> headers = requestDto.getHeaders();
String response = "";
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public interface IResponseHandler {
public static final String IS_ROUND_OFF = "isRoundOff";

public static Double BOUNDARY_VALUE = 50.0;

public static final String DIVISION = "division";

/**
Expand Down Expand Up @@ -148,12 +148,10 @@ default void addComputedField(Data data, String newfield, String partField, Stri
* @return
*/
default Double percentageValue(List<Double> values, boolean isRoundOff) {

logger.info("values for percentage are " + values);
double val = (values.get(0)/values.get(1) * 100);

val = Math.round(val);

if(isRoundOff) {
val = Math.round(val);
}
return (values.size() > 1 && values.get(0) != 0.0 && values.get(1) != 0.0) ? val : 0.0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import com.tarento.analytics.dto.Plot;
import com.tarento.analytics.helper.ComputeHelper;
import com.tarento.analytics.helper.ComputeHelperFactory;
import com.tarento.analytics.utils.ResponseRecorder;

/**
* This handles ES response for single index, multiple index to represent single data value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.io.IOException;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
Expand All @@ -25,7 +26,6 @@
import com.tarento.analytics.dto.AggregateRequestDto;
import com.tarento.analytics.dto.CummulativeDataRequestDto;
import com.tarento.analytics.dto.DashboardHeaderDto;
import com.tarento.analytics.dto.Plot;
import com.tarento.analytics.dto.RoleDto;
import com.tarento.analytics.enums.ChartType;
import com.tarento.analytics.exception.AINException;
Expand Down Expand Up @@ -71,6 +71,7 @@ public class TarentoServiceImpl implements ClientService {
@Cacheable(value="versions", key="#request.hashKey")
public AggregateDto getAggregatedData(AggregateRequestDto request, List<RoleDto> roles) throws AINException, IOException {
// Read visualization Code
logger.info("inside Tarento AggregateDto");
String internalChartId = request.getVisualizationCode();
ObjectNode aggrObjectNode = JsonNodeFactory.instance.objectNode();
ObjectNode insightAggrObjectNode = JsonNodeFactory.instance.objectNode();
Expand All @@ -84,10 +85,48 @@ public AggregateDto getAggregatedData(AggregateRequestDto request, List<RoleDto>
filters.put("tenantId", filters.get("ulb"));
}

Map<String, String> indexes = new HashMap<>();

// Load Chart API configuration to Object Node for easy retrieval later
ObjectNode node = configurationLoader.get(Constants.ConfigurationFiles.CHART_API_CONFIG);
ObjectNode chartNode = (ObjectNode) node.get(internalChartId);
// added pivot code from here
ArrayNode queries = (ArrayNode) chartNode.get(Constants.JsonPaths.QUERIES);
queries.forEach(query -> {
String module = query.get(Constants.JsonPaths.MODULE).asText();
String indexName = "";
if (request.getModuleLevel().equals(Constants.Modules.HOME_REVENUE) ||
request.getModuleLevel().equals(Constants.Modules.HOME_SERVICES) ||
query.get(Constants.JsonPaths.MODULE).asText().equals(Constants.Modules.COMMON) ||
request.getModuleLevel().equals(module)) {

indexName = query.get(Constants.JsonPaths.INDEX_NAME).asText();
String initialIndexName = indexName;
boolean isDefaultPresent = false;
boolean isRequestContainsInterval = null == request.getRequestDate() ? false : (request.getRequestDate().getInterval() != null && !request.getRequestDate().getInterval().isEmpty());
String interval = isRequestContainsInterval ? request.getRequestDate().getInterval() : (isDefaultPresent ? chartNode.get(Constants.JsonPaths.INTERVAL).asText() : "");
logger.info("interval :: {} "+interval);
logger.info("VisualizationCode :: {} "+request.getVisualizationCode());
logger.info("Before constructing indexName :: {} "+indexName);
if (indexName.contains("*") && !StringUtils.isBlank(interval)) {
logger.info("entered into if block :: "+indexName);
//if interval is coming as year changed to month to match data
if(interval.equals("year")){
interval = "month";
}
indexName = indexName.replace("*", interval);
} else if (indexName.contains("*") && StringUtils.isBlank(interval)) {
logger.info("entered into else if block :: "+indexName);
indexName = indexName.replace("*", "month");
}
indexes.put(indexName, initialIndexName);
logger.info("after constructing indexName :: {} "+indexName);
}
logger.info("Before setting indexName to NODE :: {} "+indexName);
((ObjectNode) query).put(Constants.JsonPaths.INDEX_NAME, indexName);

});
((ObjectNode) chartNode).put(Constants.JsonPaths.QUERIES, queries);
InsightsConfiguration insightsConfig = null;
if(chartNode.get(Constants.JsonPaths.INSIGHT) != null) {
insightsConfig = mapper.treeToValue(chartNode.get(Constants.JsonPaths.INSIGHT), InsightsConfiguration.class);
Expand All @@ -96,7 +135,9 @@ public AggregateDto getAggregatedData(AggregateRequestDto request, List<RoleDto>
boolean isDefaultPresent = chartType.equals(ChartType.LINE) && chartNode.get(Constants.JsonPaths.INTERVAL)!=null;
boolean isRequestContainsInterval = null == request.getRequestDate() ? false : (request.getRequestDate().getInterval()!=null && !request.getRequestDate().getInterval().isEmpty()) ;
String interval = isRequestContainsInterval? request.getRequestDate().getInterval(): (isDefaultPresent ? chartNode.get(Constants.JsonPaths.INTERVAL).asText():"");

ObjectMapper mapper1 = new ObjectMapper();
String json1 = mapper1.writerWithDefaultPrettyPrinter().writeValueAsString(chartNode);
logger.info("CHART NODE before executeConfiguredQueries:: {}"+json1);
executeConfiguredQueries(chartNode, aggrObjectNode, nodes, request, interval);
request.setChartNode(chartNode);
ResponseRecorder responseRecorder = new ResponseRecorder();
Expand Down Expand Up @@ -133,7 +174,19 @@ Data is fetched with updated RequestDates (updated in getInsightsDate which subt
aggregateDto = insightsHandler.getInsights(aggregateDto, request.getVisualizationCode(), request.getModuleLevel(), insightsConfig,request.getResponseRecorder());
}
}


if(!queries.isEmpty())
queries.forEach(query -> {
String indexName = indexes.get(query.get(Constants.JsonPaths.INDEX_NAME).asText());
logger.info("VisualizationCode During indexname reset :: {} "+request.getVisualizationCode());
logger.info("Index name from CHART NODE:::::::"+query.get(Constants.JsonPaths.INDEX_NAME).asText());
logger.info("Index name from Map:::::::"+indexName);
if(!StringUtils.isBlank(indexName))
((ObjectNode) query).put(Constants.JsonPaths.INDEX_NAME, indexName);
});
ObjectMapper mapper = new ObjectMapper();
String json = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(chartNode.get(Constants.JsonPaths.QUERIES));
logger.info("Index name after resetting CHART NODE :: {}"+json);
return aggregateDto;
}

Expand All @@ -147,6 +200,7 @@ Data is fetched with updated RequestDates (updated in getInsightsDate which subt
* be fetched from AggregateRequestDto
*/
private void executeConfiguredQueries(ObjectNode chartNode, ObjectNode aggrObjectNode, ObjectNode nodes, AggregateRequestDto request, String interval) {
logger.info("nodes :: {}"+nodes);
preHandle(request, chartNode, mdmsApiMappings);

ArrayNode queries = (ArrayNode) chartNode.get(Constants.JsonPaths.QUERIES);
Expand All @@ -159,6 +213,7 @@ private void executeConfiguredQueries(ObjectNode chartNode, ObjectNode aggrObjec
request.getModuleLevel().equals(module)) {

String indexName = query.get(Constants.JsonPaths.INDEX_NAME).asText();
logger.info("indexName in executeConfiguredQueries:: {}"+indexName);
ObjectNode objectNode = queryService.getChartConfigurationQuery(request, query, indexName, interval);
try {
JsonNode aggrNode = restService.search(indexName,objectNode.toString());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@

package com.tarento.analytics.service.impl;

import static javax.servlet.http.HttpServletRequest.BASIC_AUTH;
import static org.apache.commons.codec.CharEncoding.US_ASCII;
import static org.springframework.http.HttpHeaders.AUTHORIZATION;

import java.io.IOException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;

import org.apache.tomcat.util.codec.binary.Base64;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
import org.springframework.web.client.HttpClientErrorException;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import static javax.servlet.http.HttpServletRequest.BASIC_AUTH;
import static org.apache.commons.codec.CharEncoding.US_ASCII;
import static org.springframework.http.HttpHeaders.AUTHORIZATION;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import org.apache.tomcat.util.codec.binary.Base64;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
import org.springframework.web.client.HttpClientErrorException;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;

@Component
Expand Down Expand Up @@ -61,13 +61,13 @@ public JsonNode search(String index, String searchQuery) {
LOGGER.info("Index Name : " + index);
LOGGER.info("Searching ES for Query: " + searchQuery);
HttpEntity<String> requestEntity = new HttpEntity<>(searchQuery, headers);
JsonNode responseNode = null;

JsonNode responseNode = null;

try {
ResponseEntity<Object> response = retryTemplate.postForEntity(url, requestEntity);
responseNode = new ObjectMapper().convertValue(response.getBody(), JsonNode.class);
LOGGER.info("RestTemplate response :- "+responseNode);
//LOGGER.info("RestTemplate response :- "+responseNode);

} catch (HttpClientErrorException e) {
e.printStackTrace();
Expand Down Expand Up @@ -162,4 +162,4 @@ private String getBase64Value(String userName, String password) {
}

}

11 changes: 10 additions & 1 deletion business-services/egov-hrms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>
<groupId>org.egov</groupId>
<artifactId>egov-hrms</artifactId>
<version>1.2.5-SNAPSHOT</version>
<version>1.2.6-SNAPSHOT</version>
<name>egov-hrms</name>
<description>HR Management System</description>
<properties>
Expand Down Expand Up @@ -97,6 +97,12 @@
<artifactId>jsoup</artifactId>
<version>1.10.2</version>
</dependency>
<dependency>
<groupId>org.egov.common</groupId>
<artifactId>health-services-models</artifactId>
<version>1.0.6-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
<repositories>
<repository>
Expand All @@ -108,6 +114,9 @@
<id>repo.egovernments.org.snapshots</id>
<name>eGov ERP Releases Repository</name>
<url>https://nexus-repo.egovernments.org/nexus/content/repositories/snapshots/</url>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@

import javax.annotation.PostConstruct;

import lombok.extern.slf4j.Slf4j;
import org.egov.common.utils.MultiStateInstanceUtil;
import org.egov.hrms.config.PropertiesManager;
import org.egov.hrms.repository.RestCallRepository;
import org.egov.hrms.service.DefaultUserService;
import org.egov.hrms.service.IndividualService;
import org.egov.hrms.service.UserService;
import org.egov.tracer.config.TracerConfiguration;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand All @@ -55,10 +62,12 @@

import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.context.annotation.Primary;

@SpringBootApplication
@ComponentScan(basePackages = { "org.egov.hrms", "org.egov.hrms.web.controllers" , "org.egov.hrms.config"})
@ComponentScan(basePackages = { "org.egov.hrms", "org.egov.hrms.web.controller" , "org.egov.hrms.config"})
@Import({TracerConfiguration.class, MultiStateInstanceUtil.class})
@Slf4j
public class EgovEmployeeApplication {

@Value("${app.timezone}")
Expand All @@ -77,6 +86,34 @@ public ObjectMapper getObjectMapper() {
return objectMapper;
}

@Bean
@Primary
public UserService getUserService(@Value("${egov.hrms.user.service.qualifier}") String userServiceQualifier,
@Autowired PropertiesManager propertiesManager,
@Autowired RestCallRepository restCallRepository,
@Autowired ObjectMapper objectMapper,
@Autowired MultiStateInstanceUtil multiStateInstanceUtil,
@Value("${egov.user.create.endpoint}") String userCreateEndpoint,
@Value("${egov.user.update.endpoint}") String userUpdateEndpoint,
@Value("${egov.user.search.endpoint}") String userSearchEndpoint) {
if (userServiceQualifier.equalsIgnoreCase("individualService")) {
log.info("using individual module as user service");
return new IndividualService(propertiesManager, restCallRepository);
}
else {
log.info("using egov-user module as user service");
DefaultUserService userService = new DefaultUserService();
userService.setPropertiesManager(propertiesManager);
userService.setRestCallRepository(restCallRepository);
userService.setObjectMapper(objectMapper);
userService.setCentralInstanceUtil(multiStateInstanceUtil);
userService.setUserCreateEndpoint(userCreateEndpoint);
userService.setUserUpdateEndpoint(userUpdateEndpoint);
userService.setUserSearchEndpoint(userSearchEndpoint);
return userService;
}
}

public static void main(String[] args) {
SpringApplication.run(EgovEmployeeApplication.class, args);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,22 @@ public class PropertiesManager {

@Value("${decryption.abac.enable}")
private Boolean isDecryptionEnable;

@Value("${egov.individual.host}")
private String individualHost;

@Value("${egov.individual.create.endpoint}")
private String individualCreateEndpoint;

@Value("${egov.individual.update.endpoint}")
private String individualUpdateEndpoint;

@Value("${egov.individual.delete.endpoint}")
private String individualDeleteEndpoint;

@Value("${egov.individual.search.endpoint}")
private String individualSearchEndpoint;

@Value("${egov.hrms.auto.generate.password}")
private boolean autoGeneratePassword;
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ public class Employee {


@Valid
@NotEmpty
@Size(min = 1)
private List<Assignment> assignments = new ArrayList<>();

@Valid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,6 @@ public class EmployeeQueries {
public static final String HRMS_GET_ASSIGNMENT = "select distinct(employeeid) from eg_hrms_assignment assignment where assignment.tenantid notnull ";

public static final String HRMS_COUNT_EMP_QUERY = "SELECT active, count(*) FROM eg_hrms_employee WHERE tenantid ";

public static final String HRMS_GET_UNASSIGNED_EMPLOYEES = "SELECT employee.uuid from eg_hrms_employee employee LEFT JOIN eg_hrms_assignment assignment ON employee.uuid = assignment.employeeid where assignment.employeeid is null";
}
Loading
Loading