[java-identity-provider] branch master updated: IDP-1170 - REST DataConnector

Rod Widdowson rdw at steadingsoftware.com
Fri Aug 11 08:03:18 EDT 2017


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

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

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=1b16d9bd5019481d2e21aa9e52e64de308d0e553

The following commit(s) were added to refs/heads/master by this push:
       new  1b16d9b   IDP-1170 - REST DataConnector
1b16d9b is described below

commit 1b16d9bd5019481d2e21aa9e52e64de308d0e553
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Aug 11 13:01:58 2017 +0100

    IDP-1170 - REST DataConnector
    
    https://issues.shibboleth.net/jira/browse/IDP-1170
    
    Make the "its OK to 404" location somewhere to build.shibboleth.net
    (wordpress eats the 404 at shibboleth.net)
---
 .../spring/dc/http/HTTPDataConnectorParserTest.java | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/idp-attribute-resolver-spring/src/test/java/net/shibboleth/idp/attribute/resolver/spring/dc/http/HTTPDataConnectorParserTest.java b/idp-attribute-resolver-spring/src/test/java/net/shibboleth/idp/attribute/resolver/spring/dc/http/HTTPDataConnectorParserTest.java
index 3422ba0..548d90f 100644
--- a/idp-attribute-resolver-spring/src/test/java/net/shibboleth/idp/attribute/resolver/spring/dc/http/HTTPDataConnectorParserTest.java
+++ b/idp-attribute-resolver-spring/src/test/java/net/shibboleth/idp/attribute/resolver/spring/dc/http/HTTPDataConnectorParserTest.java
@@ -22,6 +22,15 @@ import java.util.Arrays;
 import java.util.HashSet;
 import java.util.Map;
 
+import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
+import org.springframework.context.support.ConversionServiceFactoryBean;
+import org.springframework.context.support.GenericApplicationContext;
+import org.springframework.core.env.PropertySource;
+import org.springframework.mock.env.MockPropertySource;
+import org.testng.Assert;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.Test;
+
 import net.shibboleth.ext.spring.config.DurationToLongConverter;
 import net.shibboleth.ext.spring.config.StringToIPRangeConverter;
 import net.shibboleth.ext.spring.config.StringToResourceConverter;
@@ -30,18 +39,10 @@ import net.shibboleth.idp.attribute.IdPAttribute;
 import net.shibboleth.idp.attribute.resolver.ResolutionException;
 import net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext;
 import net.shibboleth.idp.attribute.resolver.dc.http.impl.HTTPDataConnector;
+import net.shibboleth.idp.attribute.resolver.spring.dc.http.impl.HTTPDataConnectorParser;
 import net.shibboleth.idp.saml.impl.TestSources;
 import net.shibboleth.utilities.java.support.repository.RepositorySupport;
 
-import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
-import org.springframework.context.support.ConversionServiceFactoryBean;
-import org.springframework.context.support.GenericApplicationContext;
-import org.springframework.core.env.PropertySource;
-import org.springframework.mock.env.MockPropertySource;
-import org.testng.Assert;
-import org.testng.annotations.AfterMethod;
-import org.testng.annotations.Test;
-
 /** Test for {@link HTTPDataConnectorParser}. */
 public class HTTPDataConnectorParserTest {
 
@@ -149,7 +150,7 @@ public class HTTPDataConnectorParserTest {
     
     @Test public void v2MissingOk() throws Exception {
         
-        final MockPropertySource propSource = singletonPropertySource("serviceURL", "http://shibboleth.net/test.json");
+        final MockPropertySource propSource = singletonPropertySource("serviceURL", "http://build.shibboleth.net/test.json");
         propSource.setProperty("scriptPath", (isV8() ? SCRIPT_PATH_V8 : SCRIPT_PATH) + "test.js");
         
         final HTTPDataConnector connector =

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


More information about the commits mailing list