[JIRA] (IDP-2002) Non-module configuration file should also generate *.idpnew for convenience when upgrading

Rod Widdowson (Jira) jira at shibboleth.atlassian.net
Wed Sep 7 14:30:49 UTC 2022


Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *commented* on IDP-2002 ( https://shibboleth.atlassian.net/browse/IDP-2002?atlOrigin=eyJpIjoiNDIyOTI0ODE5NDg0NDEyYWFkYzk0ZmU2NTI4ZmNmYzEiLCJwIjoiaiJ9 )

Re: Non-module configuration file should also generate *.idpnew for convenience when upgrading ( https://shibboleth.atlassian.net/browse/IDP-2002?atlOrigin=eyJpIjoiNDIyOTI0ODE5NDg0NDEyYWFkYzk0ZmU2NTI4ZmNmYzEiLCJwIjoiaiJ9 )

> 
> 
> 
> without having to manually embed the entire file set in
> src/test/resources.
> 
> 

Just tossing this out - it might be a bad idea.
We could probably encompass this by writing some code inside the main() for the testbed. Something like

* unpack the “root” module contents into some temp space and mark it as delete on process exit.
* Add this temp directory onto the end of the injected classpath for jetty.
* You could extend this to simulate a “module enable” for any module inside the testbed which might even clean things up?

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

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#100206- sha1:e474d8f )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220907/fd5dd47f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-9b091e66-5634-45bc-9214-599b75f43e01
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220907/fd5dd47f/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-d416c99c-7ec8-4db3-a881-c4ceb16e96dd
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220907/fd5dd47f/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-c2bea0ad-1966-41f8-9cb9-f785b312540d
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220907/fd5dd47f/attachment-0005.png>


More information about the commits mailing list