X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frest%2Fimpl%2FAbstractIdentifierAwareJaxRsProvider.java;h=b158cbc4ced612ef2833b9bd55baeb45dfa21234;hp=978ae0d9c5205e528a0bee6de31702251fd180f4;hb=68837dc673653f47995e792f897870cc3cb5004c;hpb=e71922c94cec22e9f37648a2d04bf2eb3274cf2f diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/AbstractIdentifierAwareJaxRsProvider.java b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/AbstractIdentifierAwareJaxRsProvider.java index 978ae0d9c5..b158cbc4ce 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/AbstractIdentifierAwareJaxRsProvider.java +++ b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/AbstractIdentifierAwareJaxRsProvider.java @@ -13,7 +13,7 @@ public class AbstractIdentifierAwareJaxRsProvider { private UriInfo uriInfo; protected final String getIdentifier() { - return uriInfo.getPathParameters().getFirst(RestconfConstants.IDENTIFIER); + return uriInfo.getPathParameters(false).getFirst(RestconfConstants.IDENTIFIER); } protected final Optional getIdentifierWithSchema() {