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

NEDS-188: Merge upstream Domibus version '5.1.6' into AP '2.5.0' #47

Open
wants to merge 322 commits into
base: harmony-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
322 commits
Select commit Hold shift + click to select a range
cfca07c
[EDELIVERY-13421] simplify formatting
May 31, 2024
e5d0486
[EDELIVERY-13421] javadoc
May 31, 2024
0799bb1
Pull request #1436: EDELIVERY-13421 properties error when super user …
May 31, 2024
ea30710
Merge pull request #46 from nordic-institute/harmony-develop
petkivim Jun 1, 2024
97375a9
EDELIVERY-13425 Add password complexity check for all domibus passwords
Jun 4, 2024
41c13d2
EDELIVERY-13425 Add password complexity check for all domibus passwords
Jun 4, 2024
94bc849
EDELIVERY-13425 Add password complexity check for all domibus passwords
Jun 4, 2024
6952927
EDELIVERY-13425 clean
Jun 5, 2024
0fc4d3c
[EDELIVERY-13330] add property to allow password handling in GUI; ref…
Jun 5, 2024
ab1c87d
[EDELIVERY-13330] remove unused service
Jun 5, 2024
e82753f
[EDELIVERY-13330] validate also the set property method
Jun 5, 2024
d3d8803
EDELIVERY-13425 changes after PR
Jun 5, 2024
2107199
EDELIVERY-13425 correct IT test after changing the exception message
Jun 5, 2024
e0f154e
[EDELIVERY-13330] revert proxy port for node server
Jun 6, 2024
a904ffc
Pull request #1443: Bugfix/EDELIVERY-13425 Add password complexity ch…
Jun 6, 2024
ba71e81
[EDELIVERY-13330] common error messages to reuse methods
Jun 6, 2024
5497481
[EDELIVERY-13330] address PR comment
Jun 6, 2024
a5b10e0
Pull request #1445: EDELIVERY-13330 2 exposure of passwords to the su…
Jun 6, 2024
dd62f18
EDELIVERY-13305 - Re-initiate the Domibus Admin console password
Jun 6, 2024
56d662e
[EDELIVERY-13330] fix property write validation; activate test
Jun 7, 2024
95edf2b
Pull request #1450: EDELIVERY-13305 - Re-initiate the Domibus Admin c…
Jun 7, 2024
363bf9d
Pull request #1452: [EDELIVERY-13330] fix property write validation; …
Jun 10, 2024
b00545a
EDELIVERY-13489 Harmonize the behaviour of weak passwords warnings
Jun 10, 2024
295d755
Pull request #1455: EDELIVERY-13489 Harmonize the behaviour of weak p…
Jun 10, 2024
79e1299
EDELIVERY-13483 move domibusPropertyValidatorService.enforceValidatio…
Jun 13, 2024
78c953f
EDELIVERY-13483 fix tests
Jun 13, 2024
378bf1a
EDELIVERY-13483 refactor ShutdownUtils to make more sense
Jun 13, 2024
df44824
EDELIVERY-13412 [UI] Double click on a message should populate all fi…
Dec 12, 2023
019f490
Pull request #1464: EDELIVERY-13412 [UI] Double click on a message sh…
Jun 14, 2024
24630ae
EDELIVERY-13483 improve ShutdownUtils
Jun 14, 2024
6bbc019
Pull request #1465: Bugfix/EDELIVERY-13483 OPEN Domibus starts even i…
Jun 14, 2024
55e6efb
[EDELIVERY-13493] Update eDeliveryDs to disable Global transactions, …
Jun 14, 2024
379f43a
Pull request #1469: [EDELIVERY-13493] Update eDeliveryDs to disable G…
Jun 14, 2024
08fdd5c
[EDELIVERY-13519] Prepare the release
Jun 17, 2024
8e61ac8
Merge branch 'bugfix/5.1.5' into EDELIVERY-13519-merge-5.1.5-to-5.1.6
Jun 17, 2024
a918941
[EDELIVERY-13519] Update version to 5.1.6-SNAPSHOT
Jun 17, 2024
77e62ad
[EDELIVERY-13519] Update version to 5.1.6-SNAPSHOT
Jun 18, 2024
dffdd58
Pull request #1473: EDELIVERY-13519 merge bugfix/5.1.5 to bugfix/5.1.6
Jun 18, 2024
8506f4e
remove deprecated attribute mustUnderstand
Jun 19, 2024
f1e6189
Revert "remove deprecated attribute mustUnderstand"
Jun 20, 2024
dbf6ea2
remove field
Jun 20, 2024
6ffe552
Merge remote-tracking branch 'origin/bugfix/5.1.6' into bugfix/EDELIV…
Jun 20, 2024
360dadc
revert remove field
Jun 20, 2024
3416edb
remove mustUnderstand fields
Jun 20, 2024
19c38d4
remove mustUnderstand fields
Jun 20, 2024
d550407
EDELIVERY-13385 Attribute "mustUnderstand" present on the message hea…
Jun 20, 2024
aecde27
Pull request #1486: Bugfix/EDELIVERY-13385 Attribute mustUnderstand p…
Jun 24, 2024
045031e
[EDELIVERY-13553] avoid NPE when deleting RECEIVED messages that didn…
Jun 25, 2024
7bfb12b
Pull request #1491: [EDELIVERY-13553] avoid NPE when deleting RECEIVE…
Jun 25, 2024
9615eae
EDELIVERY-13524 -Get message errors request does not return the error…
Jun 26, 2024
cdad893
EDELIVERY-13524 -formatting
Jun 26, 2024
982b1fd
EDELIVERY-13524 -review comment fix
Jun 27, 2024
2eac4b9
[EDELIVERY-13506] [INC01870135] - [CCNEB] - Domibus/5.0.8: Message sa…
Azork Jun 25, 2024
817dd9a
[EDELIVERY-13506] [INC01870135] - [CCNEB] - Domibus/5.0.8: Message sa…
Azork Jun 26, 2024
88aa32e
[EDELIVERY-13506] [INC01870135] - [CCNEB] - Domibus/5.0.8: Message sa…
Azork Jun 26, 2024
ce7df43
[EDELIVERY-13506] [INC01870135] - [CCNEB] - Domibus/5.0.8: Message sa…
Azork Jun 25, 2024
e468325
[EDELIVERY-13506] [INC01870135] - [CCNEB] - Domibus/5.0.8: Message sa…
Azork Jul 3, 2024
37af005
[EDELIVERY-13506] [INC01870135] - [CCNEB] - Domibus/5.0.8: Message sa…
Azork Jul 3, 2024
8f948b2
[EDELIVERY-13500] UI - properties page : use input with type=password…
Jun 27, 2024
eb21182
Pull request #1508: [EDELIVERY-13500] UI - properties page : use inpu…
Jul 5, 2024
f9d3089
EDELIVERY-13593 OWASP Bamboo Plan Fai Even When Using an NVD API Key
Jul 4, 2024
5a0044f
Pull request #1509: EDELIVERY-13593 OWASP Bamboo Plan Fai Even When U…
Jul 5, 2024
de854d4
EDELIVERY-13498 Content Security Policy Error When Navigating Pages o…
Jun 19, 2024
fe8cdb9
Pull request #1511: EDELIVERY-13498 Content Security Policy Error Whe…
Jul 8, 2024
f8dd219
[EDELIVERY-13500] properties page - fix password inputs
Jul 8, 2024
087cd1f
Pull request #1517: [EDELIVERY-13500] properties page - fix password …
Jul 8, 2024
558835b
Merge branch 'refs/heads/bugfix/5.1.6' into bugfix/EDELIVERY-13613-do…
Azork Jul 8, 2024
052cff9
EDELIVERY-13611 [INC01951281] - [CCNEB] - Caused by: javax.xml.ws.soa…
Jul 9, 2024
bdc677a
[EDELIVERY-13613] Domibus/5.0.8: Message sanitizer fails at first mes…
Azork Jul 9, 2024
10d73d2
[EDELIVERY-13613] Domibus/5.0.8: Message sanitizer fails at first mes…
Azork Jul 9, 2024
fbf013f
Pull request #1518: Bugfix/EDELIVERY-13613 domibus 5.0.8 message sani…
Jul 9, 2024
9221b6f
[EDELIVERY-13575] [INC01967411] - [CCNEB] - Domibus/5.0.8: NPE at ear…
Azork Jul 2, 2024
f197fa1
[EDELIVERY-13575] [INC01967411] - [CCNEB] - Domibus/5.0.8: NPE at ear…
Azork Jul 2, 2024
300b7d5
[EDELIVERY-13575] [INC01967411] - [CCNEB] - Domibus/5.0.8: NPE at ear…
Azork Jul 2, 2024
1566e81
[EDELIVERY-13575] [INC01967411] - [CCNEB] - Domibus/5.0.8: NPE at ear…
Azork Jul 2, 2024
1300565
[EDELIVERY-13575] [INC01967411] - [CCNEB] - Domibus/5.0.8: NPE at ear…
Azork Jul 3, 2024
df8aa91
[EDELIVERY-13613] Domibus/5.0.8: Message sanitizer fails at first mes…
Azork Jul 10, 2024
61a7c3f
Pull request #1522: [URGENT][EDELIVERY-13613] Domibus/5.0.8: Message …
Jul 10, 2024
8d96cd2
EDELIVERY-13611 [INC01951281] - [CCNEB] - Caused by: javax.xml.ws.soa…
Jul 10, 2024
c161dd2
Pull request #1520: EDELIVERY-13611 [INC01951281] - [CCNEB] - Caused …
Jul 10, 2024
7693692
[EDELIVERY-13575] [INC01967411] - [CCNEB] - Domibus/5.0.8: NPE at ear…
Azork Jul 11, 2024
3dc4052
[EDELIVERY-13610]-EDELQUALITY maintenance (SPRINT 213) - suppress vul…
Jul 12, 2024
c2e05a0
[EDELIVERY-13575] [INC01967411] - [CCNEB] - Domibus/5.0.8: NPE at ear…
Azork Jul 12, 2024
ca69c94
Pull request #1525: [EDELIVERY-13610]-EDELQUALITY maintenance (SPRINT…
Jul 12, 2024
4640642
Merge branch 'refs/heads/bugfix/5.1.6' into bugfix/EDELIVERY-13612-do…
Azork Jul 12, 2024
6040ef8
EDELIVERY-13422 JMS plugin support for custom properties - 5.1.6
Jul 12, 2024
a5d2bd9
EDELIVERY-13422 JMS plugin support for custom properties - 5.1.6
Jul 12, 2024
9e3ce4a
Pull request #1521: Bugfix/EDELIVERY-13612 domibus 5.0.8 npe at earch…
Jul 12, 2024
cf76136
EDELIVERY-13422 transformFromSubmission knows to get custom payload p…
Jul 12, 2024
c348992
EDELIVERY-13422 transformFromSubmission knows to get custom payload p…
Jul 12, 2024
8fa29f6
EDELIVERY-13422 test with type for payload mimetype
Jul 16, 2024
75b527d
[EDELIVERY-13623] earchiving - reinitialize storage when earchiving i…
Jul 16, 2024
01870f1
EDELIVERY-13422 set payload custom property types
Jul 16, 2024
f3ce424
EDELIVERY-13422 clean payload constants in test
Jul 16, 2024
08c7c08
EDELIVERY-13422 be able to send custom payload props from JMS plugin
Jul 16, 2024
8b3ba45
Pull request #1530: Bugfix/EDELIVERY-13422 JMS plugin support for cus…
Jul 17, 2024
f0cf904
Pull request #1531: [EDELIVERY-13623] earchiving - reinitialize stora…
Jul 17, 2024
866de57
[EDELIVERY-12839] UI - new user form: fix issue with error not showin…
Jul 17, 2024
998ff91
Pull request #1536: [EDELIVERY-12839] UI - new user form: fix issue w…
Jul 23, 2024
fa773c4
EDELIVERY-13524 -formatting
Jul 23, 2024
5ec2eb2
Merge branch 'bugfix/5.1.6' of https://ec.europa.eu/digital-building-…
Jul 23, 2024
1eafa8e
EDELIVERY-13524 -formatting
Jul 23, 2024
bdc7906
[EDELIVERY 13693] propagate changes from 5.0.x
Jul 25, 2024
eb5b59b
Pull request #1550: [EDELIVERY 13693] propagate changes from 5.0.x
Jul 25, 2024
99acffe
[EDELIVERY-13359] admin console: fix loop of requests when the sessio…
Jul 27, 2024
220e3a0
EDELIVERY-13666 Improve BUS logs for TAPAS CESOP
Jul 29, 2024
0bd82f8
EDELIVERY-13524 -review comment fix
Jul 29, 2024
69de33b
Pull request #1554: [EDELIVERY-13359] admin console: fix loop of requ…
Jul 29, 2024
49fa2c5
[EDELIVERY-13692]-Upgrade Tomcat to the latest version on all branches
Jul 29, 2024
02e209b
EDELIVERY-13666 Improve BUS logs for TAPAS CESOP
Jul 29, 2024
55f7119
[EDELIVERY-13357] eulogin: fix url when clicking Login in the logout …
Jul 29, 2024
6f4ee60
Pull request #1560: [EDELIVERY-13357] eulogin: fix url when clicking …
Jul 29, 2024
01612e4
Pull request #1562: [EDELIVERY-13692]-Upgrade Tomcat to the latest ve…
Jul 30, 2024
6a28fcf
EDELIVERY-13666 Improve BUS logs for TAPAS CESOP
Jul 30, 2024
b1f75b6
Pull request #1494: Bugfix/EDELIVERY-13524 5.1.6 get message errors r…
Aug 1, 2024
e59b411
EDELIVERY-13666 Improve BUS logs for TAPAS CESOP
Aug 1, 2024
a645b61
[EDELIVERY-13357] fix re-login in eulogin environment
Aug 2, 2024
b580e98
EDELIVERY-13674 -Miss-referenced SQL scripts in Domibus upgrade instr…
Aug 2, 2024
541521e
Pull request #1568: EDELIVERY-13674 -Miss-referenced SQL scripts in D…
Aug 2, 2024
df95789
EDELIVERY-13666 Improve BUS logs for TAPAS CESOP
Aug 2, 2024
c462b71
EDELIVERY-13666 Improve BUS logs for TAPAS CESOP
Aug 2, 2024
7e9f985
EDELIVERY-13666 Improve BUS logs for TAPAS CESOP
Aug 2, 2024
a6fde6c
Pull request #1573: [EDELIVERY-13357] fix re-login in eulogin environ…
Aug 2, 2024
30ba2ef
Pull request #1571: Bugfix/EDELIVERY-13666 Improve BUS logs for TAPAS…
Aug 2, 2024
19e3485
[EDELIVERY-13728]-Fix OWASP vulnerabilities on 5.1.6
Aug 5, 2024
f15bc89
[EDELIVERY-13541] UI - eulogin - fix userdomain check before disablin…
Aug 5, 2024
f843f32
[EDELIVERY-13541] ui - eulogin domains - improve comment
Aug 6, 2024
aa5f214
Pull request #1578: [EDELIVERY-13541] UI - eulogin - fix userdomain c…
Aug 6, 2024
3976e8d
[EDELIVERY-13728]-Fix OWASP vulnerabilities on 5.1.6 - update the dyn…
Aug 6, 2024
a038109
[EDELIVERY-13719] earchiving - when handling the 'ARCHIVED' notificat…
Aug 6, 2024
17731b8
Merge branch 'bugfix/5.1.6' into bugfix/EDELIVERY-13719-inc02216711-c…
Aug 6, 2024
6451225
Merge branch 'bugfix/5.1.6' into EDELIVERY-13728-Fix_OWASP_vulnerabil…
Aug 6, 2024
1a99ce3
[EDELIVERY-13673] Consider QUEUED batches in batch sanitiser - 5.1.6
Azork Aug 6, 2024
9623ecb
[EDELIVERY-13728]-Fix OWASP vulnerabilities on 5.1.6
Aug 6, 2024
831f1a2
[EDELIVERY-13728]-Fix OWASP vulnerabilities on 5.1.6 - add method doc
Aug 6, 2024
19e5471
[EDELIVERY-13728]-Fix OWASP vulnerabilities on 5.1.6 - remove TODO wh…
Aug 7, 2024
a373e58
Pull request #1587: EDELIVERY-13728 Fix OWASP vulnerabilities on 5.1.6
Aug 7, 2024
a6cde49
[EDELIVERY-13719] change handling of earchiving dispatch exception
Aug 8, 2024
da8fbe8
Pull request #1585: [EDELIVERY-13673] Consider QUEUED batches in batc…
Aug 8, 2024
610a314
[EDELIVERY-13171] Exception thrown by retentionWorkerJob in domibus C2
Azork Aug 8, 2024
86a76e6
[EDELIVERY-13171] Exception thrown by retentionWorkerJob in domibus C2
Azork Aug 8, 2024
f46d0b5
[EDELIVERY-13171] Exception thrown by retentionWorkerJob in domibus C2
Azork Aug 8, 2024
34e5a7f
Pull request #1590: [EDELIVERY-13171] Exception thrown by retentionWo…
Aug 8, 2024
27e3011
Merge branch 'bugfix/5.1.6' into bugfix/EDELIVERY-13719-2-inc02216711…
Aug 8, 2024
81b5857
[EDELIVERY-13719] fix earchive listener tests
Aug 8, 2024
d7b9f31
[EDELIVERY-13234] fs plugin: if the sent file is not found when tryin…
Aug 8, 2024
358c44a
Pull request #1589: Bugfix/EDELIVERY-13719 2 inc02216711 ccneb domibu…
Aug 8, 2024
89698e2
EDELIVERY-13735 Extra node present in retrieveMessage response
Aug 9, 2024
4260da3
Pull request #1592: EDELIVERY-13735 Extra node present in retrieveMes…
Aug 9, 2024
d0565d1
Merge branch 'bugfix/5.1.6' into bugfix/EDELIVERY-13234-fsplugin-the-…
Aug 13, 2024
4940ac8
[EDELIVERY-13234] fsplugin - increase sleep before recheck to 3sec
Aug 14, 2024
f852db6
Pull request #1594: [EDELIVERY-13234] fs plugin: if the sent file is …
Aug 14, 2024
f399bb2
[EDELIVERY-13774] fsplugin - avoid NPE when clearing the observed fil…
Aug 19, 2024
3788005
[EDELIVERY-13780]- Domibus/5.1.2: Command propagation fails as long a…
Aug 19, 2024
21a22dd
[EDELIVERY-13780]- Domibus/5.1.2: Command propagation fails as long a…
Aug 19, 2024
5d51f6b
[EDELIVERY-13774] fsplugin - clearing observed files - improve condit…
Aug 19, 2024
089695c
[EDELIVERY-13749] multitenancy - improve logs when a domain is miscon…
Aug 20, 2024
bf634ea
Pull request #1601: EDELIVERY-13780 INC02283883] CCNEB] Domibus/…
Aug 20, 2024
34df5fa
[EDELIVERY-13806]-Investigate and fix vulnerabilities on 5.1.6-upgrad…
Aug 21, 2024
caf63bf
[EDELIVERY-13806]-Investigate and fix vulnerabilities on 5.1.6-upgrad…
Aug 21, 2024
39fbeb3
Pull request #1603: EDELIVERY-13806 Investigate and fix vulnerabiliti…
Aug 21, 2024
0e5ef79
[EDELIVERY-13758] ui - improve logging when authorization fails
Aug 22, 2024
08ab8e7
[EDELIVERY-13748] ui - more detailed logs when authentication/authori…
Aug 22, 2024
2bf2b1b
Pull request #1605: Bugfix/EDELIVERY-13748 login button is not workin…
Aug 22, 2024
f7f0162
Pull request #1602: [EDELIVERY-13749] multitenancy - improve logs whe…
Aug 22, 2024
d0bc2f5
Pull request #1600: [EDELIVERY-13774] fsplugin - avoid NPE when clear…
Aug 22, 2024
45fc66e
EDELIVERY-13304 - Default value of ws plugin property "wsplugin.messa…
Aug 26, 2024
8fadcb2
Pull request #1612: EDELIVERY-13304 - Default value of ws plugin prop…
Aug 27, 2024
dbd0b4c
[EDELIVERY-13759] Error thrown by eArchiveSanitizerJob
Azork Aug 27, 2024
aa2a614
[EDELIVERY-13748] eulogin - fix npe when ecas is misconfigured and im…
Aug 28, 2024
dffa494
Pull request #1614: [EDELIVERY-13748] eulogin - fix npe when ecas is …
Aug 28, 2024
36b7295
Pull request #1613: [EDELIVERY-13759] Error thrown by eArchiveSanitiz…
Aug 28, 2024
acbb4f2
[EDELIVERY-13686] Exception when dropping partition.
Aug 28, 2024
f233a6c
[EDELIVERY-13686] Exception when dropping partition.
Aug 28, 2024
a2e5783
EDELIVERY-13722 - INC02222083 Question on Domibus update in relations…
Aug 28, 2024
d7109f0
[EDELIVERY-13768] [INC02270160] - [CCNEB] - Domibus/5.1.2: Exception …
Azork Aug 28, 2024
04f2a50
Pull request #1618: EDELIVERY-13722 - INC02222083 Question on Domibus…
Aug 29, 2024
b631162
[EDELIVERY-13768] [INC02270160] - [CCNEB] - Domibus/5.1.2: Exception …
Azork Aug 29, 2024
4733198
[EDELIVERY-13686] Exception when dropping partition.
Aug 29, 2024
87fb58d
Pull request #1617: Bugfix/EDELIVERY-13686 inc02166442 ccneb domibus …
Aug 29, 2024
06919c4
[EDELIVERY-13699] ui: add exported, downloaded, acknowledged fields t…
Aug 29, 2024
b4c4b38
Pull request #1619: [EDELIVERY-13768] [INC02270160] - [CCNEB] - Domib…
Aug 29, 2024
3552f08
Pull request #1621: [EDELIVERY-13699] ui: add exported, downloaded, a…
Aug 29, 2024
ed28715
[EDELIVERY-13846] Get message errors request does not return the erro…
Azork Aug 29, 2024
cca8cb5
Pull request #1622: [EDELIVERY-13846] Get message errors request does…
Aug 30, 2024
ff9ff16
[EDELIVERY-13821] add domibus.pmode.legconfiguration.diagnostics.enab…
Aug 30, 2024
a651fc2
Pull request #1624: [EDELIVERY-13821] add domibus.pmode.legconfigurat…
Aug 30, 2024
73a43d1
EDELIVERY-13867 - Switched from INFO to DEBUG for checking if the pro…
Aug 30, 2024
867cc67
Pull request #1626: EDELIVERY-13867 - Switched from INFO to DEBUG for…
Aug 30, 2024
64cfe5a
EDELIVERY-8420 - ECAS: Alert management:Authentication module should …
Sep 3, 2024
3161855
EDELIVERY-13694 - Crossvalidation vs Domibus's Documentation
Sep 3, 2024
7bb3457
Pull request #1628: EDELIVERY-8420 - ECAS: Alert management:Authentic…
Sep 3, 2024
7a41437
[EDELIVERY-13694] -AgreementRef validation in FS and JMS plugin
Sep 4, 2024
d123fd5
[EDELIVERY-13694] -AgreementRef validation with StringUtils.isEmpty(
Sep 4, 2024
2b24ff9
EDELIVERY-13694 - StringUtils.isNotBlank for empty AgreementRef valid…
Sep 5, 2024
0366cb9
Pull request #1630: EDELIVERY-13694 - Crossvalidation vs Domibus's Do…
Sep 9, 2024
4e398fa
EDELIVERY-13694 - Bamboo Build failure fix
Sep 10, 2024
78d8061
Pull request #1636: URGENT -EDELIVERY-13694 - Bamboo Build failure fix
Sep 10, 2024
4424d04
EDELIVERY-13884 - Cant find keystore's key for alias in 5.1.6
Sep 10, 2024
eea4d6a
Pull request #1637: EDELIVERY-13884 - Cant find keystore's key for al…
Sep 10, 2024
d7ba9c4
EDELIVERY-13714 Ansible Fix the Deployment of Domibus 5.2 on Weblogic…
Sep 12, 2024
8f9ef1e
Pull request #1641: EDELIVERY-13714 Ansible Fix the Deployment of Dom…
Sep 12, 2024
81ecc73
EDELIVERY-13902 - Fix this error that seems to affect all the Wildfly…
Sep 12, 2024
08a9c99
EDELIVERY-13902 - review comment fix
Sep 12, 2024
536aca7
EDELIVERY-13902 - review comment fix
Sep 12, 2024
87c179b
Pull request #1642: URGENT-EDELIVERY-13902 - Fix this error that seem…
Sep 12, 2024
2e243f3
[EDELIVERY-13853] Add more loging when submission fails
Sep 12, 2024
f1e5406
[EDELIVERY-13853] Add diagnostic property
Sep 13, 2024
fb19c29
[EDELIVERY-13895] use private key password when copying key pairs fro…
Sep 13, 2024
826961e
[EDELIVERY-13895] add description for upload keystore; custom titles …
Sep 13, 2024
b69d05b
[EDELIVERY-13877] Upgrade info - there are no sql upgrade scripts.
Sep 13, 2024
c6e3dc5
[EDELIVERY-13877] Upgrade info - there are no sql upgrade scripts.
Sep 13, 2024
dedb7bb
Pull request #1643: [EDELIVERY-13895] use private key password when c…
Sep 13, 2024
af5d283
[EDELIVERY-13895] fix code when replacing a truststore
Sep 16, 2024
21435a6
[EDELIVERY-13910]-Vulnerabilities check for 5.1.6
Sep 16, 2024
4005e37
EDELIVERY-13909 - Payload PartInfo Message properties - remove mimeCo…
Sep 16, 2024
40f55b5
Pull request #1645: [EDELIVERY-13895] FIX BUILD- fix code when replac…
Sep 16, 2024
ac1a831
Pull request #1644: [EDELIVERY-13877] Upgrade info - there are no sql…
Sep 16, 2024
c9195d0
EDELIVERY-13909 - Payload PartInfo Message properties - remove mimeCo…
Sep 16, 2024
3e89603
Pull request #1646: [EDELIVERY-13910]-Vulnerabilities check for 5.1.6
Sep 16, 2024
5d903bc
Merge branch 'refs/heads/bugfix/5.1.6' into bugfix/EDELIVERY-13909---…
Sep 16, 2024
f30f87a
[EDELIVERY-13877] Fix messageId in replyQueue when the message is not…
Sep 16, 2024
e9f9882
[EDELIVERY-13853] Fix warn log
Sep 17, 2024
67108ad
[EDELIVERY-13853] Formatting
Sep 17, 2024
b903ef5
Pull request #1647: Bugfix/EDELIVERY-13909 Payload PartInfo Message…
Sep 17, 2024
0d63629
[EDELIVERY-13853] Update test
Sep 18, 2024
1e847d9
[EDELIVERY-13853] Update test
Sep 18, 2024
fab6f72
[EDELIVERY-13853] Update test
Sep 18, 2024
9ebf430
Pull request #1648: EDELIVERY-13853 improve the logging on the jms pl…
Sep 18, 2024
e9a4eb1
Update changelog.txt for the release notes
Sep 18, 2024
e576a61
Update changelog.txt for the release notes
Sep 18, 2024
a6e7454
Fix missing property
Sep 18, 2024
7924979
Fix description condition
Sep 24, 2024
9cdfe58
Fix description condition
Sep 24, 2024
a88850f
NEDS-188: Merge upstream version '5.1.6'
diemartin Dec 18, 2024
6338956
NEDS-188: Update version to 2.5.0
diemartin Dec 19, 2024
150221f
NEDS-188: Use root as base href
diemartin Dec 19, 2024
cbeeab6
NEDS-188: Update dependencies with vulnerabilities
diemartin Dec 19, 2024
9713909
NEDS-188: Fix conflicting dependencies
diemartin Dec 20, 2024
39d7acd
NEDS-188: Disable failing test
diemartin Dec 24, 2024
8ad6d20
Update SoapUI tests
diemartin Jan 8, 2025
195f0c7
NEDS-188: Update SoapUI tests
diemartin Jan 8, 2025
3bba19d
NEDS-188: Update SoapUI tests
diemartin Jan 8, 2025
ec3b82d
NEDS-188: Update SoapUI tests
diemartin Jan 9, 2025
5dd4bc5
NEDS-188: Update SoapUI tests
diemartin Jan 9, 2025
0b6c796
NEDS-188: Update SoapUI tests
diemartin Jan 9, 2025
dfe8670
NEDS-188: Update SoapUI tests
diemartin Jan 9, 2025
b7537d1
NEDS-188: Add SoapUI test steps modifying the domibus property "domib…
diemartin Jan 10, 2025
e2f11dc
NEDS-188: Add SoapUI test steps modifying the domibus property "domib…
diemartin Jan 10, 2025
d4c5ab4
NEDS-188: Revert initiator/responder changes in SoapUI test suite
diemartin Jan 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Core/Domibus-MSH-angular/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"namedChunks": true,
"baseHref": "/"
},
"configurations": {
"production": {
Expand All @@ -48,6 +49,7 @@
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"baseHref": "./",
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
Expand Down
2 changes: 1 addition & 1 deletion Core/Domibus-MSH-angular/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.niis</groupId>
<artifactId>core</artifactId>
<version>2.4.0</version>
<version>2.5.0</version>
</parent>
<artifactId>harmony-msh-angular</artifactId>
<packaging>jar</packaging>
Expand Down
11 changes: 10 additions & 1 deletion Core/Domibus-MSH-angular/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,16 @@ export class AppComponent implements OnInit {
console.log('onHttpEventService in app component error=', error)
if (error && (error.status === Server.HTTP_UNAUTHORIZED || error.status === Server.HTTP_FORBIDDEN)) {
this.securityService.clearAppData(SessionState.EXPIRED_INACTIVITY_OR_ERROR);
this.router.navigate(['/login']);

// don't go to login page if we are in the login page already
let currentRoute = this.router.url;
if (currentRoute === '/login' || currentRoute === '/logout') {
console.debug('no redirect, staying on current page: ' + currentRoute);
return;
}

// don't go to login page if we're using external authentication, go to logout instead
this.router.navigate([this.isExtAuthProviderEnabled() ? '/logout' : '/login']);
}
}

Expand Down
2 changes: 2 additions & 0 deletions Core/Domibus-MSH-angular/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ import {NgxMatMomentModule} from '@angular-material-components/moment-adapter';
import {MatDatepickerModule} from '@angular/material/datepicker';
import {ManageBackendsComponent} from './messagefilter/manageBackends-form/manageBackends-form.component';
import {DateService} from './common/customDate/date.service';
import {HelperService} from './common/helper.service';

const CUSTOM_MOMENT_FORMATS: NgxMatDateFormats = {
parse: {
Expand Down Expand Up @@ -268,6 +269,7 @@ const CUSTOM_MOMENT_FORMATS: NgxMatDateFormats = {
PluginUserValidatorService,
DialogsService,
PropertiesService,
HelperService,
FileUploadValidatorService,
ApplicationContextService,
DatePipe,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class AuthenticatedAuthorizedGuard {
async canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {
const isAuthenticated = await this.securityService.isAuthenticated();
if (!isAuthenticated) {
console.log(`[${this.securityService.getCurrentUser()?.username}] not authenticated`);
this.handleNotAuthenticated();
return this.getNotAuthenticatedRoute(state);
}
Expand All @@ -42,7 +43,7 @@ export class AuthenticatedAuthorizedGuard {
} else {
allowedRoles = routeData.checkRoles
}
return this.securityService.isCurrentUserInRole(allowedRoles);
return this.securityService.isCurrentUserInRole(allowedRoles, true /* logWarning */);
}

private getNotAuthorizedRoute(): UrlTree {
Expand All @@ -56,11 +57,12 @@ export class AuthenticatedAuthorizedGuard {

private async getNotAuthenticatedRoute(state: RouterStateSnapshot): Promise<UrlTree> {
let isExtAuthProvider = await this.domibusInfoService.isExtAuthProviderEnabled();
// not logged in so redirect to login page with the return url
if (!isExtAuthProvider) {
// Domibus Login: not logged in so redirect to login page with the return url
return this.router.createUrlTree(['/login'], {queryParams: {returnUrl: state.url}});
} else {
// EU Login: redirect to logout
return this.router.createUrlTree(['/logout']);
}
// EU Login redirect to logout
return this.router.createUrlTree(['/logout']);
}
}
42 changes: 42 additions & 0 deletions Core/Domibus-MSH-angular/src/app/common/helper.service.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import {Injectable} from '@angular/core';
import {PropertiesService} from '../properties/support/properties.service';

@Injectable()
export class HelperService {

constructor() {
}

arrayBufferToBase64(buffer) {
let binary = '';
const bytes = new Uint8Array(buffer);
const len = bytes.byteLength;
for (let i = 0; i < len; i++) {
binary += String.fromCharCode(bytes[i]);
}
return window.btoa(binary);
}

base64ToArrayBuffer(base64) {
const binaryString = window.atob(base64);
const len = binaryString.length;
const bytes = new Uint8Array(len);
for (let i = 0; i < len; i++) {
bytes[i] = binaryString.charCodeAt(i);
}
return bytes.buffer;
}

arrayBufferToPem(buffer: ArrayBuffer): string {
let binary = '';
const bytes = new Uint8Array(buffer);
const len = bytes.byteLength;
for (let i = 0; i < len; i++) {
binary += String.fromCharCode(bytes[i]);
}
const base64 = window.btoa(binary);
return `-----BEGIN PUBLIC KEY-----\n${base64}\n-----END PUBLIC KEY-----`;
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@ import {PageGridComponent} from './page-grid.component';
template: `
<ul class="pager">
<li [class.disabled]="!canPrevious()">
<a role="button" aria-label="go to first page" href="javascript:void(0)" (click)="selectPage(1)">
<a role="button" aria-label="go to first page" (click)="selectPage(1)">
<i class="{{ pagerPreviousIcon }}"></i>
</a>
</li>
<li [class.disabled]="!canPrevious()">
<a role="button" aria-label="go to previous page" href="javascript:void(0)" (click)="prevPage()">
<a role="button" aria-label="go to previous page" (click)="prevPage()">
<i class="{{ pagerLeftArrowIcon }}"></i>
</a>
</li>
<li role="button" [attr.aria-label]="'page ' + pg.number" class="pages"
*ngFor="let pg of pages" [class.active]="pg.number === page">
<a href="javascript:void(0)" (click)="selectPage(pg.number)">
<a (click)="selectPage(pg.number)">
{{ pg.text }}
</a>
</li>
<li [class.disabled]="!canNext()">
<a role="button" aria-label="go to next page" href="javascript:void(0)" (click)="nextPage()">
<a role="button" aria-label="go to next page" (click)="nextPage()">
<i class="{{ pagerRightArrowIcon }}"></i>
</a>
</li>
<li [class.disabled]="!canNext()">
<a role="button" aria-label="go to last page" href="javascript:void(0)" (click)="selectPage(totalPages)">
<a role="button" aria-label="go to last page" (click)="selectPage(totalPages)">
<i class="{{ pagerNextIcon }}"></i>
</a>
</li>
Expand Down
20 changes: 14 additions & 6 deletions Core/Domibus-MSH-angular/src/app/domains/domains.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {DomainService} from '../security/domain.service';
import {Domain} from '../security/domain';
import { UserService } from 'app/user/support/user.service';
import { SecurityService } from 'app/security/security.service';
import {DomibusInfoService} from "../common/appinfo/domibusinfo.service";

/**
* @author Ion Perpegel
Expand All @@ -37,7 +38,7 @@ export class DomainsComponent extends mix(BaseListComponent).with(ClientPageable
@ViewChild('monitorStatus') statusTemplate: TemplateRef<any>;

constructor(private alertService: AlertService, private domainService: DomainService, private changeDetector: ChangeDetectorRef,
private userService: UserService, private securityService: SecurityService) {
private userService: UserService, private securityService: SecurityService, private domibusInfoService: DomibusInfoService) {
super();
}

Expand Down Expand Up @@ -96,11 +97,18 @@ export class DomainsComponent extends mix(BaseListComponent).with(ClientPageable
if (currentDomain && currentDomain.code == domain.code) {
throw `Cannot disable the current domain`;
}
let currentUserName: string = (await this.securityService.getCurrentUserFromServer()).username;
let users = await this.userService.getUsers();
let currentUser = users.find(u => u.userName == currentUserName);
if (currentUser.domain == domain.code) {
throw `Cannot disable the domain of the current user`;

const isUserFromExternalAuthProvider = await this.domibusInfoService.isExtAuthProviderEnabled();
if (isUserFromExternalAuthProvider) {
// don't check the domain of the current user if external auth provider is used,
// as the notion of 'preferred domain' is not the same in this case
} else {
let currentUserName: string = (await this.securityService.getCurrentUserFromServer()).username;
let users = await this.userService.getUsers();
let currentUser = users.find(u => u.userName == currentUserName);
if (currentUser.domain == domain.code) {
throw `Cannot disable the domain of the current user`;
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ <h2 mat-dialog-title>Message details</h2>
<input matInput value="{{message.downloaded | domibusDate}}" readonly/>
</mat-form-field>

<mat-form-field style="width:100%">
<mat-label>Acknowledged</mat-label>
<input matInput value="{{message.acknowledged | domibusDate}}" readonly/>
</mat-form-field>

<mat-form-field style="width:100%">
<mat-label>AP Role</mat-label>
Expand Down Expand Up @@ -68,6 +72,16 @@ <h2 mat-dialog-title>Message details</h2>
<input matInput value="{{message.messageType}}" readonly/>
</mat-form-field>

<mat-form-field style="width:100%">
<mat-label>Exported</mat-label>
<input matInput value="{{message.exported | domibusDate}}" readonly/>
</mat-form-field>

<mat-form-field style="width:100%">
<mat-label>Archived</mat-label>
<input matInput value="{{message.archived | domibusDate}}" readonly/>
</mat-form-field>

<mat-form-field style="width:100%">
<mat-label>Deleted</mat-label>
<input matInput value="{{message.deleted | domibusDate }}" readonly/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,37 @@
import {Component, OnInit, Inject} from '@angular/core';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
import {HttpClient, HttpParams} from '@angular/common/http';
import {CustomURLEncoder} from '../../common/custom-url-encoder';
import {MessageLogComponent} from '../messagelog.component';
import {MessageLogResult} from '../support/messagelogresult';

@Component({
selector: 'app-messagelog-details',
templateUrl: './messagelog-details.component.html',
styleUrls: ['./messagelog-details.component.css']
templateUrl: './messagelog-details.component.html'
})
export class MessagelogDetailsComponent {
export class MessagelogDetailsComponent implements OnInit {

message;

constructor(public dialogRef: MatDialogRef<MessagelogDetailsComponent>, @Inject(MAT_DIALOG_DATA) public data: any) {
constructor(public dialogRef: MatDialogRef<MessagelogDetailsComponent>,
@Inject(MAT_DIALOG_DATA) public data: any,
private http: HttpClient) {
this.message = data.message;
}

async ngOnInit() {
if (!this.data.fetchData) {
return;
}
let filterParams = new HttpParams({encoder: new CustomURLEncoder()});
filterParams = filterParams.append('messageType', this.message['messageType'])
filterParams = filterParams.append('messageId', this.message['messageId'])
filterParams = filterParams.append('mshRole', this.message['mshRole'])
filterParams = filterParams.append('applyDefaultFilters', 'false')
this.data.fields.forEach(field => filterParams = filterParams.append('fields', field));
const res = <MessageLogResult>await this.http.get<any>(MessageLogComponent.MESSAGE_LOG_URL, {params: filterParams}).toPromise();
if (res && res.count == 1) {
this.message = res.messageLogEntries[0];
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,12 @@ export class MessageLogComponent extends mix(BaseListComponent)
width: 200,
minWidth: 190
},
{
cellTemplate: this.rowWithDateFormatTpl,
name: 'Downloaded',
width: 200,
minWidth: 190
},
{
name: 'AP Role',
prop: 'mshRole',
Expand Down Expand Up @@ -348,6 +354,12 @@ export class MessageLogComponent extends mix(BaseListComponent)
width: 100,
minWidth: 90
},
{
cellTemplate: this.rowWithDateFormatTpl,
name: 'Acknowledged',
width: 200,
minWidth: 190
},
{
cellTemplate: this.rowWithDateFormatTpl,
name: 'Failed',
Expand All @@ -360,6 +372,12 @@ export class MessageLogComponent extends mix(BaseListComponent)
width: 200,
minWidth: 190
},
{
cellTemplate: this.rowWithDateFormatTpl,
name: 'Exported',
width: 200,
minWidth: 190
},
{
cellTemplate: this.rowWithDateFormatTpl,
name: 'Archived',
Expand Down Expand Up @@ -653,8 +671,11 @@ export class MessageLogComponent extends mix(BaseListComponent)
}

showDetails(selectedRow: any) {
let allColumns = <any[]>this.columnPicker.allColumns;
const allFields = allColumns.map(col => col.prop);
let fetchData = allColumns.some(col => !col.isSelected);
this.dialogsService.open(MessagelogDetailsComponent, {
data: {message: selectedRow}
data: {message: selectedRow, fields: allFields, fetchData}
});
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* TODO(mdc-migration): The following rule targets internal classes of input that may no longer apply for the MDC version. */
.panel mat-input-container, .panel mat-select, .panel md2-datepicker, .panel mat-select {
width: 100% !important;
Expand All @@ -7,7 +6,7 @@
.property-value {
border: solid 1px transparent;
padding: 0 4px;
width: calc(100% - 84px);
width: calc(100% - 100px);
}

.property-value:focus, .property-value:hover {
Expand All @@ -23,12 +22,6 @@
position: relative;
}

.property-edit-buttons {
position: absolute;
top: -6px;
right: 0;
}

.property-edit-buttons.disabled button {
color: silver;
}
Expand All @@ -49,3 +42,20 @@
border: solid 0.5px red;
color: red;
}

.property-edit-buttons {
/*margin-top: -4px;*/
position: absolute;
top: -6px;
right: 0;
}
.property-edit-buttons mat-icon {
padding-top: 3px;
}

::ng-deep .ngx-datatable.material .datatable-body .datatable-body-row .datatable-body-cell .mat-mdc-icon-button {
/*height: inherit !important;*/
margin-top: 0px !important;
padding-bottom: 0;
padding-top: 0px;
}
Loading