Clean up SSE stream name handling 12/108812/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 1 Nov 2023 23:19:41 +0000 (00:19 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 1 Nov 2023 23:22:59 +0000 (00:22 +0100)
commit2a279c91f4cd70d7c0e4c76b0134ba25e3fd7963
tree456bfbd828c6f011a0c831a5acba02ca6944ded6
parent4f8732db7b56071cd78115464641ef2df1404c32
Clean up SSE stream name handling

We are using JAX-RS to extract the stream name for the request URL. This
means we should not be talking to createStreamNameFromUri(), as it is
either a no-op or it actively corrupts the input.

Also ditch @Encoded, as we do not perform any decoding -- and hence the
container should deal with decoding the URL.

JIRA: NETCONF-1102
Change-Id: If06a0bf6e7af65bb7d58c9cc7c972c162c53b82a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RestconfDataStreamServiceImpl.java