[JIRA] (IDP-2099) Change the idp-conf tests to rely on file system for idp.home

Rod Widdowson (Jira) jira at shibboleth.atlassian.net
Sat May 6 15:27:47 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=eyJpIjoiZTUyMzYwNDQzZmExNDFhMWJhNTJhN2MxY2Y3NGUxMDEiLCJwIjoiaiJ9 )

Re: Change the idp-conf tests to rely on file system for idp.home ( https://shibboleth.atlassian.net/browse/IDP-2099?atlOrigin=eyJpIjoiZTUyMzYwNDQzZmExNDFhMWJhNTJhN2MxY2Y3NGUxMDEiLCJwIjoiaiJ9 )

It turns out that using Modules is *really* easy. This is really cool since it allows you to turn modules on (and indeed off) as part o the tests.

What is harder is to prove the code because we cannot copy the directory tree (because of Java’s insistence that there is no such thing as a current directory).

I’ll commit what I have once I’m happy with it; with the putative “what to turn on when there is an master module” code commented out.

I'll then liaise with Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) on testing this (I’ll probably mock up code to copy idp-conf/src/main/resources and idp-conf/src/test/resources ) just to convince myself that this all works.

( https://shibboleth.atlassian.net/browse/IDP-2099#add-comment?atlOrigin=eyJpIjoiZTUyMzYwNDQzZmExNDFhMWJhNTJhN2MxY2Y3NGUxMDEiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-2099#add-comment?atlOrigin=eyJpIjoiZTUyMzYwNDQzZmExNDFhMWJhNTJhN2MxY2Y3NGUxMDEiLCJwIjoiaiJ9 )

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:7f918b6 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230506/175e0d34/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-1d69bf09-117f-4d85-b7c3-02a19696c0e7
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230506/175e0d34/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-7f5fd0a9-5cb4-4b93-91c0-db7156ecada7
Type: image/png
Size: 448 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230506/175e0d34/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-3673073d-26e8-475d-bb0c-c915efe1cf64
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230506/175e0d34/attachment-0005.png>


More information about the commits mailing list