Netconf Device Notification
[netconf.git] / restconf / restconf-nb / src / main / java / org / opendaylight / restconf / nb / rfc8040 / rests / utils / RestconfStreamsConstants.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.restconf.nb.rfc8040.rests.utils;
9
10 /**
11  * Constants for streams.
12  */
13 public final class RestconfStreamsConstants {
14     public static final String DATASTORE_PARAM_NAME = "datastore";
15     public static final String SCOPE_PARAM_NAME = "scope";
16
17     public static final String DATA_SUBSCRIPTION = "data-change-event-subscription";
18     public static final String NOTIFICATION_STREAM = "notification-stream";
19
20     public static final String STREAMS_PATH = "ietf-restconf-monitoring:restconf-state/streams";
21     public static final String STREAM_PATH_PART = "/stream=";
22     public static final String STREAM_PATH = STREAMS_PATH + STREAM_PATH_PART;
23     public static final String STREAM_ACCESS_PATH_PART = "/access=";
24     public static final String STREAM_LOCATION_PATH_PART = "/location";
25     public static final String NOTIFICATION_TYPE = "notificationType";
26     public static final String DEVICE = "device";
27
28     private RestconfStreamsConstants() {
29         // Hidden on purpose
30     }
31 }