"/notif" is actually tied through WebInitializer, make sure that
connection is expressed in code.
Change-Id: I893fbece36ab8ec4d2fe30b3db9947f1521c9c71
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
import static org.opendaylight.restconf.nb.rfc8040.rests.utils.RestconfStreamsConstants.DATA_SUBSCRIPTION;
import static org.opendaylight.restconf.nb.rfc8040.rests.utils.RestconfStreamsConstants.NOTIFICATION_STREAM;
import static org.opendaylight.restconf.nb.rfc8040.utils.RestconfConstants.BASE_URI_PATTERN;
+import static org.opendaylight.restconf.nb.rfc8040.utils.RestconfConstants.NOTIF;
import javax.annotation.PreDestroy;
import javax.inject.Inject;
.asyncSupported(true)
.build())
.addServlet(ServletDetails.builder()
- .addUrlPattern("/notif/*")
+ .addUrlPattern("/" + NOTIF + "/*")
.servlet(servletSupport.createHttpServletBuilder(webAppNotif).build())
.name("notificationServlet")
.asyncSupported(true)