Test fix
This commit is contained in:
parent
17ac097050
commit
d091665ab6
|
@ -58,7 +58,13 @@ public class SubscriptionInterceptorLoader {
|
||||||
}
|
}
|
||||||
if (myDaoConfig.isSubscriptionMatchingEnabled()) {
|
if (myDaoConfig.isSubscriptionMatchingEnabled()) {
|
||||||
ourLog.info("Registering subscription matcher interceptor");
|
ourLog.info("Registering subscription matcher interceptor");
|
||||||
|
|
||||||
|
if (mySubscriptionMatcherInterceptor == null) {
|
||||||
|
mySubscriptionMatcherInterceptor = myAppicationContext.getBean(SubscriptionMatcherInterceptor.class);
|
||||||
|
}
|
||||||
|
|
||||||
myDaoConfig.registerInterceptor(mySubscriptionMatcherInterceptor);
|
myDaoConfig.registerInterceptor(mySubscriptionMatcherInterceptor);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,9 +78,6 @@ public class SubscriptionInterceptorLoader {
|
||||||
if (mySubscriptionActivatingInterceptor == null) {
|
if (mySubscriptionActivatingInterceptor == null) {
|
||||||
mySubscriptionActivatingInterceptor = myAppicationContext.getBean(SubscriptionActivatingInterceptor.class);
|
mySubscriptionActivatingInterceptor = myAppicationContext.getBean(SubscriptionActivatingInterceptor.class);
|
||||||
}
|
}
|
||||||
if (mySubscriptionMatcherInterceptor == null) {
|
|
||||||
mySubscriptionMatcherInterceptor = myAppicationContext.getBean(SubscriptionMatcherInterceptor.class);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
|
|
|
@ -17,7 +17,7 @@ public class UhnFhirTestApp {
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
|
|
||||||
int myPort = 8888;
|
int myPort = 8889;
|
||||||
String base = "http://localhost:" + myPort + "/baseDstu2";
|
String base = "http://localhost:" + myPort + "/baseDstu2";
|
||||||
|
|
||||||
// new File("target/testdb").mkdirs();
|
// new File("target/testdb").mkdirs();
|
||||||
|
|
Loading…
Reference in New Issue