[JIRA] (IDP-2099) Change the idp-conf tests to rely on file system for idp.home
Rod Widdowson (Jira)
jira at shibboleth.atlassian.net
Tue May 9 13:44:38 UTC 2023
Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *commented* on IDP-2099 ( https://shibboleth.atlassian.net/browse/IDP-2099?atlOrigin=eyJpIjoiMjY4MThlM2NkNTg5NDhhMzhkMTVkYzE3YmY3OWI2NmMiLCJwIjoiaiJ9 )
Re: Change the idp-conf tests to rely on file system for idp.home ( https://shibboleth.atlassian.net/browse/IDP-2099?atlOrigin=eyJpIjoiMjY4MThlM2NkNTg5NDhhMzhkMTVkYzE3YmY3OWI2NmMiLCJwIjoiaiJ9 )
The initial work is done and pushed to mainline. There is still test code committed and out of the box the code still runs from the classpath but this commits allows development of https://shibboleth.atlassian.net/browse/IDP-2002 to proceed.
To use this code
* Edit net.shibboleth.idp.test.flows.AbstractFlowTest
* Add the modules and test modules you want to invoke to the the MODULES field
* Modify and uncomment the code which pre-populates the idpHome we create with the vestigial contents of idp-conf main/test and idp-conf-impl test,
* Edit net.shibboleth.idp.test.TestEnvironmentApplicationContextInitializer
* Point idp.home and idp.webflows to the values it sets up and unpoint them from classpath
Note that modules are enabled after the idp-conf tree is pre-populated.
When everything is a module the kludge to preopulate idp.home must be removed. I’ll leave this case open and assigned to myself pending that,
( https://shibboleth.atlassian.net/browse/IDP-2099#add-comment?atlOrigin=eyJpIjoiMjY4MThlM2NkNTg5NDhhMzhkMTVkYzE3YmY3OWI2NmMiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-2099#add-comment?atlOrigin=eyJpIjoiMjY4MThlM2NkNTg5NDhhMzhkMTVkYzE3YmY3OWI2NmMiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- sha1:b79b7f6 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230509/a4f553d4/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-7df14131-70fa-471a-9755-65ceead92b27
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230509/a4f553d4/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-f63d4859-bc7d-4803-bc5b-f616c3ae66a8
Type: image/png
Size: 448 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230509/a4f553d4/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-cd5ad070-48ad-4e80-88c8-e58c8b61a3b2
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230509/a4f553d4/attachment-0005.png>
More information about the commits
mailing list