[java-support] branch master updated: IDP-1380 Move to new CA for testing

Rod Widdowson rdw at steadingsoftware.com
Thu Dec 13 10:22:47 EST 2018


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=9576076b9c93d6cb5ff166bf10895077da551f47

The following commit(s) were added to refs/heads/master by this push:
       new  9576076   IDP-1380 Move to new CA for testing
9576076 is described below

commit 9576076b9c93d6cb5ff166bf10895077da551f47
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Dec 13 14:54:54 2018 +0000

    IDP-1380 Move to new CA for testing
    
    https://issues.shibboleth.net/jira/browse/IDP-1380
    
    In practice the http: resources stay where they are the https move to
    https://test.shibboleth.net/git/view....
    
    Requires significant down stream changes to the tests
---
 .../utilities/java/support/repository/RepositorySupport.java      | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/test/java/net/shibboleth/utilities/java/support/repository/RepositorySupport.java b/src/test/java/net/shibboleth/utilities/java/support/repository/RepositorySupport.java
index da05fc1..b31062c 100644
--- a/src/test/java/net/shibboleth/utilities/java/support/repository/RepositorySupport.java
+++ b/src/test/java/net/shibboleth/utilities/java/support/repository/RepositorySupport.java
@@ -61,8 +61,12 @@ public final class RepositorySupport {
             path = path.substring(1);
         }
         
-        return String.format("%s://git.shibboleth.net/view/?p=%s.git&a=blob_plain&f=%s&hb=master", 
-                https ? "https" : "http", repo, path);
+        if (https) {
+            return String.format("https://test.shibboleth.net/git/view/?p=%s.git&a=blob_plain&f=%s&hb=master", repo, path);    
+        } else {
+            return String.format("http://git.shibboleth.net/view/?p=%s.git&a=blob_plain&f=%s&hb=master", repo, path);    
+        }
+        
     }
 
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list