Fix web pattern propagation 50/102350/5
authorIvan Martiniak <ivan.martiniak@pantheon.tech>
Mon, 12 Sep 2022 05:20:49 +0000 (07:20 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 12 Sep 2022 15:15:28 +0000 (17:15 +0200)
commitb11fbcc3c678788022d8a46762dcd5c0096e106b
tree768ee6455c30593600047217cd0e0905f1ab2a61
parent35f4e66fa6af45ba119a8483ba7fd7e6433436f8
Fix web pattern propagation

Adding additional "contextPath" to URL patterns caused its doubling.
For instance, the pattern "apidoc/openapi3/apis/single" was represented
as "/apidoc/apidoc/openapi3/apis/single".

New whiteboard implementation adds this "contextPath" automatically,
because of its specification in the constant
HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_PATH.
This is the difference against older pax-web implementation.

JIRA: AAA-230
Change-Id: I969706594f8cae10781d7a251cc689454982b83e
Signed-off-by: Ivan Martiniak <ivan.martiniak@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
web/impl-osgi/src/main/java/org/opendaylight/aaa/web/osgi/WhiteboardWebServer.java