X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Frestconf-nb%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Frestconf%2Fnb%2Frfc8040%2Frests%2Futils%2FRestconfStreamsConstants.java;fp=restconf%2Frestconf-nb%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Frestconf%2Fnb%2Frfc8040%2Frests%2Futils%2FRestconfStreamsConstants.java;h=0000000000000000000000000000000000000000;hb=605ea7c96e5230b593e525035251d5a0fd37f369;hp=b3cffdd763f44c0048e7c9a136316825c505b12d;hpb=992b87d2709c9593bcda654f4962964a74422712;p=netconf.git diff --git a/restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/utils/RestconfStreamsConstants.java b/restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/utils/RestconfStreamsConstants.java deleted file mode 100644 index b3cffdd763..0000000000 --- a/restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/utils/RestconfStreamsConstants.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.restconf.nb.rfc8040.rests.utils; - -/** - * Constants for streams. - */ -public final class RestconfStreamsConstants { - public static final String DATASTORE_PARAM_NAME = "datastore"; - public static final String SCOPE_PARAM_NAME = "scope"; - - // Prefixes for stream names - public static final String DATA_SUBSCRIPTION = "data-change-event-subscription"; - public static final String NOTIFICATION_STREAM = "notification-stream"; - public static final String DEVICE_NOTIFICATION_STREAM = "device-notification-stream"; - - public static final String STREAMS_PATH = "ietf-restconf-monitoring:restconf-state/streams"; - public static final String STREAM_PATH_PART = "/stream="; - public static final String STREAM_PATH = STREAMS_PATH + STREAM_PATH_PART; - public static final String STREAM_ACCESS_PATH_PART = "/access="; - public static final String STREAM_LOCATION_PATH_PART = "/location"; - - private RestconfStreamsConstants() { - // Hidden on purpose - } -}