mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-09 14:31:17 +00:00
Move tests to utilities. Clarify missing functionality
This commit is contained in:
parent
ebcbf4db49
commit
cc00bb903c
@ -68,6 +68,7 @@ public class ManagedWebAccess {
|
||||
}
|
||||
|
||||
private static WebAccessPolicy accessPolicy = WebAccessPolicy.DIRECT; // for legacy reasons
|
||||
//TODO get this from fhir settings
|
||||
private static List<String> allowedDomains = new ArrayList<>();
|
||||
@Getter
|
||||
private static IWebAccessor accessor;
|
||||
|
@ -207,4 +207,10 @@ public void testTokenAuthFromSettings() throws IOException, InterruptedException
|
||||
null,
|
||||
null, DUMMY_API_KEY);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void verifyAllowedPaths() {
|
||||
//TODO the allowed paths cannot be set for now, meaning all will be allowed.
|
||||
ManagedWebAccess.inAllowedPaths("http://www.anywhere.com");
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user