File tree Expand file tree Collapse file tree 4 files changed +17
-7
lines changed
src/main/java/org/onosproject/patchpanel/impl Expand file tree Collapse file tree 4 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 54
54
<!-- End of extra properties due to MEF SCA API -->
55
55
</properties >
56
56
57
+ <!-- Workaround for incompatible Carrier Ethernet app change-->
58
+ <repositories >
59
+ <repository >
60
+ <id >snapshots</id >
61
+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
62
+ <snapshots >
63
+ <enabled >true</enabled >
64
+ </snapshots >
65
+ </repository >
66
+ </repositories >
67
+
57
68
<dependencies >
58
69
<dependency >
59
70
<groupId >org.onosproject</groupId >
Original file line number Diff line number Diff line change 21
21
<parent >
22
22
<groupId >org.onosproject</groupId >
23
23
<artifactId >onos-dependencies</artifactId >
24
- <version >1.8.2 </version >
24
+ <version >1.12.0 </version >
25
25
<relativePath /><!-- parent is remote -->
26
26
</parent >
27
27
35
35
36
36
<properties >
37
37
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
38
- <onos .version>1.8.2 </onos .version>
38
+ <onos .version>1.12.0 </onos .version>
39
39
<onos .app.name>org.onosproject.patchpanel</onos .app.name>
40
40
<onos .app.title>Patch Panel</onos .app.title>
41
- <onos .app.origin>ON.Lab </onos .app.origin>
41
+ <onos .app.origin>ONOS Community </onos .app.origin>
42
42
<onos .app.category>Traffic Steering</onos .app.category>
43
43
<onos .app.url>http://onosproject.org</onos .app.url>
44
44
<onos .app.readme>Creates patches between ports on a switch</onos .app.readme>
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ private DataRequestHandler() {
79
79
}
80
80
81
81
@ Override
82
- public void process (long sid , ObjectNode payload ) {
82
+ public void process (ObjectNode payload ) {
83
83
DeviceService service = get (DeviceService .class );
84
84
ObjectNode result = objectNode ();
85
85
ArrayNode cps = arrayNode ();
@@ -104,7 +104,7 @@ private SecondDataRequestHandler() {
104
104
}
105
105
106
106
@ Override
107
- public void process (long sid , ObjectNode payload ) {
107
+ public void process (ObjectNode payload ) {
108
108
String deviceId = payload .get (RESULT ).get (0 ).asText ();
109
109
ConnectPoint cp1 = deviceConnectPoint (deviceId + SLASH + payload .get (RESULT ).get (1 ).asText ());
110
110
ConnectPoint cp2 = deviceConnectPoint (deviceId + SLASH + payload .get (RESULT ).get (2 ).asText ());
@@ -134,7 +134,7 @@ private ThirdDataRequestHandler() {
134
134
}
135
135
136
136
@ Override
137
- public void process (long sid , ObjectNode payload ) {
137
+ public void process (ObjectNode payload ) {
138
138
StringBuilder sb = new StringBuilder ();
139
139
for (int i = 0 ; i < previous .size (); i ++) {
140
140
sb .append (previous .get (i )).append (i % 2 == 0 ? WITH : EOL );
Original file line number Diff line number Diff line change 1
-
2
1
/*
3
2
* Copyright 2016-present Open Networking Foundation
4
3
*
You can’t perform that action at this time.
0 commit comments