Skip to content

Commit 0e3fbd9

Browse files
Sramcikrovarga
authored andcommitted
Move DataTreeChangeStreamTest
DataTreeChangeStreamTest is testing DataTreeChangeSource, move it to sal-remote-impl where it belongs. JIRA: NETCONF-1349 Change-Id: Iff68210e3a7f2bc351c90b6acece29cca40e7639 Signed-off-by: Robert Varga <robert.varga@pantheon.tech> Signed-off-by: Matej Sramcik <matej.sramcik@pantheon.tech>
1 parent d955dcc commit 0e3fbd9

47 files changed

Lines changed: 87 additions & 52 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/restconf-nb/pom.xml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
<groupId>org.opendaylight.netconf</groupId>
4545
<artifactId>transport-http</artifactId>
4646
</dependency>
47-
<dependency>
48-
<groupId>org.opendaylight.yangtools</groupId>
49-
<artifactId>binding-spec</artifactId>
50-
</dependency>
5147
<dependency>
5248
<groupId>org.opendaylight.yangtools</groupId>
5349
<artifactId>concepts</artifactId>
@@ -104,10 +100,6 @@
104100
<artifactId>mdsal-binding-dom-adapter</artifactId>
105101
<type>test-jar</type>
106102
</dependency>
107-
<dependency>
108-
<groupId>org.opendaylight.mdsal</groupId>
109-
<artifactId>mdsal-binding-test-utils</artifactId>
110-
</dependency>
111103
<dependency>
112104
<groupId>org.opendaylight.mdsal</groupId>
113105
<artifactId>mdsal-common-api</artifactId>
@@ -138,11 +130,6 @@
138130
<artifactId>netconf-client-mdsal</artifactId>
139131
<scope>test</scope>
140132
</dependency>
141-
<dependency>
142-
<groupId>org.opendaylight.netconf</groupId>
143-
<artifactId>netconf-dom-api</artifactId>
144-
<scope>test</scope>
145-
</dependency>
146133
<dependency>
147134
<groupId>org.opendaylight.netconf</groupId>
148135
<artifactId>restconf-mdsal-spi</artifactId>
@@ -162,30 +149,6 @@
162149
<artifactId>restconf-server-mdsal</artifactId>
163150
<scope>test</scope>
164151
</dependency>
165-
<dependency>
166-
<groupId>org.opendaylight.netconf</groupId>
167-
<artifactId>sal-remote-impl</artifactId>
168-
<scope>test</scope>
169-
</dependency>
170-
<dependency>
171-
<groupId>org.opendaylight.netconf.model</groupId>
172-
<artifactId>sal-remote</artifactId>
173-
<scope>test</scope>
174-
</dependency>
175-
<dependency>
176-
<groupId>org.opendaylight.netconf.model</groupId>
177-
<artifactId>test-models</artifactId>
178-
</dependency>
179-
<dependency>
180-
<groupId>org.opendaylight.yangtools</groupId>
181-
<artifactId>binding-generator</artifactId>
182-
<scope>test</scope>
183-
</dependency>
184-
<dependency>
185-
<groupId>org.opendaylight.yangtools</groupId>
186-
<artifactId>binding-runtime-spi</artifactId>
187-
<scope>test</scope>
188-
</dependency>
189152
<dependency>
190153
<groupId>org.opendaylight.yangtools</groupId>
191154
<artifactId>yang-data-api</artifactId>
@@ -196,11 +159,6 @@
196159
<artifactId>yang-data-spi</artifactId>
197160
<scope>test</scope>
198161
</dependency>
199-
<dependency>
200-
<groupId>org.opendaylight.yangtools</groupId>
201-
<artifactId>yang-data-tree-api</artifactId>
202-
<scope>test</scope>
203-
</dependency>
204162
<dependency>
205163
<groupId>org.opendaylight.yangtools</groupId>
206164
<artifactId>yang-data-util</artifactId>
@@ -225,14 +183,6 @@
225183
<groupId>org.opendaylight.yangtools</groupId>
226184
<artifactId>yang-test-util</artifactId>
227185
</dependency>
228-
<dependency>
229-
<groupId>org.skyscreamer</groupId>
230-
<artifactId>jsonassert</artifactId>
231-
</dependency>
232-
<dependency>
233-
<groupId>org.xmlunit</groupId>
234-
<artifactId>xmlunit-assertj</artifactId>
235-
</dependency>
236186
</dependencies>
237187

238188
<build>

apps/sal-remote-impl/pom.xml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,57 @@
119119
<artifactId>org.osgi.service.component.annotations</artifactId>
120120
</dependency>
121121

122+
<dependency>
123+
<groupId>com.vaadin.external.google</groupId>
124+
<artifactId>android-json</artifactId>
125+
<version>0.0.20131108.vaadin1</version>
126+
<scope>test</scope>
127+
</dependency>
122128
<dependency>
123129
<groupId>org.opendaylight.ietf.model</groupId>
124130
<artifactId>rfc8040-ietf-restconf-monitoring</artifactId>
125131
<scope>test</scope>
126132
</dependency>
133+
<dependency>
134+
<groupId>org.opendaylight.ietf.model</groupId>
135+
<artifactId>rfc8639</artifactId>
136+
</dependency>
137+
<dependency>
138+
<groupId>org.opendaylight.mdsal</groupId>
139+
<artifactId>mdsal-binding-api</artifactId>
140+
<scope>test</scope>
141+
</dependency>
142+
<dependency>
143+
<groupId>org.opendaylight.mdsal</groupId>
144+
<artifactId>mdsal-binding-dom-adapter</artifactId>
145+
<scope>test</scope>
146+
</dependency>
147+
<dependency>
148+
<groupId>org.opendaylight.mdsal</groupId>
149+
<artifactId>mdsal-binding-dom-adapter</artifactId>
150+
<type>test-jar</type>
151+
<scope>test</scope>
152+
</dependency>
153+
<dependency>
154+
<groupId>org.opendaylight.mdsal</groupId>
155+
<artifactId>mdsal-dom-broker</artifactId>
156+
<scope>test</scope>
157+
</dependency>
158+
<dependency>
159+
<groupId>org.opendaylight.mdsal</groupId>
160+
<artifactId>mdsal-dom-inmemory-datastore</artifactId>
161+
<scope>test</scope>
162+
</dependency>
163+
<dependency>
164+
<groupId>org.opendaylight.mdsal</groupId>
165+
<artifactId>mdsal-dom-spi</artifactId>
166+
<scope>test</scope>
167+
</dependency>
168+
<dependency>
169+
<groupId>org.opendaylight.mdsal</groupId>
170+
<artifactId>mdsal-singleton-api</artifactId>
171+
<scope>test</scope>
172+
</dependency>
127173
<dependency>
128174
<groupId>org.opendaylight.netconf</groupId>
129175
<artifactId>restconf-server-api-testlib</artifactId>
@@ -133,10 +179,49 @@
133179
<artifactId>restconf-server-mdsal</artifactId>
134180
<scope>test</scope>
135181
</dependency>
182+
<dependency>
183+
<groupId>org.opendaylight.netconf.model</groupId>
184+
<artifactId>test-models</artifactId>
185+
</dependency>
186+
<dependency>
187+
<groupId>org.opendaylight.yangtools</groupId>
188+
<artifactId>binding-generator</artifactId>
189+
<scope>test</scope>
190+
</dependency>
191+
<dependency>
192+
<groupId>org.opendaylight.yangtools</groupId>
193+
<artifactId>binding-runtime-api</artifactId>
194+
<scope>test</scope>
195+
</dependency>
196+
<dependency>
197+
<groupId>org.opendaylight.yangtools</groupId>
198+
<artifactId>binding-runtime-spi</artifactId>
199+
<scope>test</scope>
200+
</dependency>
201+
<dependency>
202+
<groupId>org.opendaylight.yangtools</groupId>
203+
<artifactId>dagger-yang-parser</artifactId>
204+
<scope>test</scope>
205+
</dependency>
206+
<dependency>
207+
<groupId>org.opendaylight.yangtools</groupId>
208+
<artifactId>yang-parser-api</artifactId>
209+
<scope>test</scope>
210+
</dependency>
136211
<dependency>
137212
<groupId>org.opendaylight.yangtools</groupId>
138213
<artifactId>yang-test-util</artifactId>
139214
</dependency>
215+
<dependency>
216+
<groupId>org.skyscreamer</groupId>
217+
<artifactId>jsonassert</artifactId>
218+
<scope>test</scope>
219+
</dependency>
220+
<dependency>
221+
<groupId>org.xmlunit</groupId>
222+
<artifactId>xmlunit-assertj</artifactId>
223+
<scope>test</scope>
224+
</dependency>
140225
</dependencies>
141226

142227
<build>
@@ -146,6 +231,7 @@
146231
<configuration>
147232
<ignoredNonTestScopedDependencies>
148233
<ignoredNonTestScopedDependency>org.opendaylight.netconf:netconf-common</ignoredNonTestScopedDependency>
234+
<ignoredNonTestScopedDependency>org.opendaylight.ietf.model:rfc8639</ignoredNonTestScopedDependency>
149235
</ignoredNonTestScopedDependencies>
150236
</configuration>
151237
</plugin>

apps/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/streams/DataTreeChangeStreamTest.java renamed to apps/sal-remote-impl/src/test/java/org/opendaylight/netconf/sal/remote/impl/DataTreeChangeStreamTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
66
* and is available at http://www.eclipse.org/legal/epl-v10.html
77
*/
8-
package org.opendaylight.restconf.nb.rfc8040.streams;
8+
package org.opendaylight.netconf.sal.remote.impl;
99

1010
import static org.hamcrest.CoreMatchers.allOf;
1111
import static org.hamcrest.CoreMatchers.containsString;
@@ -40,7 +40,6 @@
4040
import org.opendaylight.mdsal.dom.api.DOMNotificationService;
4141
import org.opendaylight.mdsal.dom.spi.FixedDOMSchemaService;
4242
import org.opendaylight.mdsal.singleton.api.ClusterSingletonServiceProvider;
43-
import org.opendaylight.netconf.sal.remote.impl.DataTreeChangeSource;
4443
import org.opendaylight.restconf.api.query.ChangedLeafNodesOnlyParam;
4544
import org.opendaylight.restconf.api.query.ChildNodesOnlyParam;
4645
import org.opendaylight.restconf.api.query.LeafNodesOnlyParam;

apps/restconf-nb/src/test/resources/listener-adapter-test/notif-changed-leaves-create.json renamed to apps/sal-remote-impl/src/test/resources/listener-adapter-test/notif-changed-leaves-create.json

File renamed without changes.

apps/restconf-nb/src/test/resources/listener-adapter-test/notif-changed-leaves-create.xml renamed to apps/sal-remote-impl/src/test/resources/listener-adapter-test/notif-changed-leaves-create.xml

File renamed without changes.

apps/restconf-nb/src/test/resources/listener-adapter-test/notif-changed-leaves-delete.json renamed to apps/sal-remote-impl/src/test/resources/listener-adapter-test/notif-changed-leaves-delete.json

File renamed without changes.

apps/restconf-nb/src/test/resources/listener-adapter-test/notif-changed-leaves-delete.xml renamed to apps/sal-remote-impl/src/test/resources/listener-adapter-test/notif-changed-leaves-delete.xml

File renamed without changes.

apps/restconf-nb/src/test/resources/listener-adapter-test/notif-changed-leaves-update.json renamed to apps/sal-remote-impl/src/test/resources/listener-adapter-test/notif-changed-leaves-update.json

File renamed without changes.

apps/restconf-nb/src/test/resources/listener-adapter-test/notif-changed-leaves-update.xml renamed to apps/sal-remote-impl/src/test/resources/listener-adapter-test/notif-changed-leaves-update.xml

File renamed without changes.

apps/restconf-nb/src/test/resources/listener-adapter-test/notif-child-nodes-only-create.json renamed to apps/sal-remote-impl/src/test/resources/listener-adapter-test/notif-child-nodes-only-create.json

File renamed without changes.

0 commit comments

Comments
 (0)