Fixed duplicate package issue and javaDoc warnings
Change-Id: I3c6456b650516e978e446471a3ffc7b693dab9c4
Showing
11 changed files
with
34 additions
and
118 deletions
1 | -BUNDLES = [ | 1 | +COMPILE_DEPS = [ |
2 | - '//apps/scalablegateway/api:onos-apps-scalablegateway-api', | 2 | + '//lib:CORE_DEPS', |
3 | - '//apps/scalablegateway/app:onos-apps-scalablegateway-app', | ||
4 | ] | 3 | ] |
5 | 4 | ||
5 | +osgi_jar_with_tests ( | ||
6 | + deps = COMPILE_DEPS, | ||
7 | +) | ||
8 | + | ||
6 | onos_app ( | 9 | onos_app ( |
7 | title = 'Scalable GW App', | 10 | title = 'Scalable GW App', |
8 | category = 'Utility', | 11 | category = 'Utility', |
9 | url = 'http://onosproject.org', | 12 | url = 'http://onosproject.org', |
10 | - included_bundles = BUNDLES, | 13 | + description = 'Scalable gateway service', |
11 | ) | 14 | ) | ... | ... |
apps/scalablegateway/api/BUCK
deleted
100644 → 0
apps/scalablegateway/api/pom.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<!-- | ||
3 | - ~ Copyright 2016-present Open Networking Laboratory | ||
4 | - ~ | ||
5 | - ~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
6 | - ~ you may not use this file except in compliance with the License. | ||
7 | - ~ You may obtain a copy of the License at | ||
8 | - ~ | ||
9 | - ~ http://www.apache.org/licenses/LICENSE-2.0 | ||
10 | - ~ | ||
11 | - ~ Unless required by applicable law or agreed to in writing, software | ||
12 | - ~ distributed under the License is distributed on an "AS IS" BASIS, | ||
13 | - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
14 | - ~ See the License for the specific language governing permissions and | ||
15 | - ~ limitations under the License. | ||
16 | - --> | ||
17 | -<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
18 | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
19 | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
20 | - <modelVersion>4.0.0</modelVersion> | ||
21 | - | ||
22 | - <parent> | ||
23 | - <groupId>org.onosproject</groupId> | ||
24 | - <artifactId>onos-scalablegateway</artifactId> | ||
25 | - <version>1.6.0-SNAPSHOT</version> | ||
26 | - <relativePath>../pom.xml</relativePath> | ||
27 | - </parent> | ||
28 | - | ||
29 | - <artifactId>onos-app-scalablegateway-api</artifactId> | ||
30 | - <packaging>bundle</packaging> | ||
31 | - | ||
32 | - <dependencies> | ||
33 | - <dependency> | ||
34 | - <groupId>org.onosproject</groupId> | ||
35 | - <artifactId>onos-api</artifactId> | ||
36 | - </dependency> | ||
37 | - </dependencies> | ||
38 | - | ||
39 | -</project> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
apps/scalablegateway/app/BUCK
deleted
100644 → 0
apps/scalablegateway/app/pom.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<!-- | ||
3 | - ~ Copyright 2016-present Open Networking Laboratory | ||
4 | - ~ | ||
5 | - ~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
6 | - ~ you may not use this file except in compliance with the License. | ||
7 | - ~ You may obtain a copy of the License at | ||
8 | - ~ | ||
9 | - ~ http://www.apache.org/licenses/LICENSE-2.0 | ||
10 | - ~ | ||
11 | - ~ Unless required by applicable law or agreed to in writing, software | ||
12 | - ~ distributed under the License is distributed on an "AS IS" BASIS, | ||
13 | - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
14 | - ~ See the License for the specific language governing permissions and | ||
15 | - ~ limitations under the License. | ||
16 | - --> | ||
17 | -<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
18 | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
19 | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
20 | - <modelVersion>4.0.0</modelVersion> | ||
21 | - | ||
22 | - <parent> | ||
23 | - <groupId>org.onosproject</groupId> | ||
24 | - <artifactId>onos-scalablegateway</artifactId> | ||
25 | - <version>1.6.0-SNAPSHOT</version> | ||
26 | - <relativePath>../pom.xml</relativePath> | ||
27 | - </parent> | ||
28 | - | ||
29 | - <artifactId>onos-app-scalablegateway-app</artifactId> | ||
30 | - <packaging>bundle</packaging> | ||
31 | - | ||
32 | - <dependencies> | ||
33 | - <dependency> | ||
34 | - <groupId>org.onosproject</groupId> | ||
35 | - <artifactId>onos-api</artifactId> | ||
36 | - </dependency> | ||
37 | - <dependency> | ||
38 | - <groupId>org.onosproject</groupId> | ||
39 | - <artifactId>onos-app-scalablegateway-api</artifactId> | ||
40 | - <version>${project.version}</version> | ||
41 | - </dependency> | ||
42 | - </dependencies> | ||
43 | - | ||
44 | -</project> |
... | @@ -27,13 +27,26 @@ | ... | @@ -27,13 +27,26 @@ |
27 | </parent> | 27 | </parent> |
28 | 28 | ||
29 | <artifactId>onos-scalablegateway</artifactId> | 29 | <artifactId>onos-scalablegateway</artifactId> |
30 | - <packaging>pom</packaging> | 30 | + <packaging>bundle</packaging> |
31 | 31 | ||
32 | - <description>ONOS ScalableGateway applications</description> | 32 | + <description>ONOS Scalable Gateway applications</description> |
33 | 33 | ||
34 | - <modules> | 34 | + <properties> |
35 | - <module>api</module> | 35 | + <onos.app.name>org.onosproject.scalablegateway</onos.app.name> |
36 | - <module>app</module> | 36 | + <onos.app.title>Scalable Gateway App</onos.app.title> |
37 | - </modules> | 37 | + <onos.app.category>Utility</onos.app.category> |
38 | + <onos.app.url>http://onosproject.org</onos.app.url> | ||
39 | + <onos.app.readm>Scalable Gateway Application.</onos.app.readm> | ||
40 | + </properties> | ||
38 | 41 | ||
42 | + <dependencies> | ||
43 | + <dependency> | ||
44 | + <groupId>org.osgi</groupId> | ||
45 | + <artifactId>org.osgi.compendium</artifactId> | ||
46 | + </dependency> | ||
47 | + <dependency> | ||
48 | + <groupId>org.onosproject</groupId> | ||
49 | + <artifactId>onos-api</artifactId> | ||
50 | + </dependency> | ||
51 | + </dependencies> | ||
39 | </project> | 52 | </project> | ... | ... |
... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.scalablegateway; | 16 | +package org.onosproject.scalablegateway.api; |
17 | 17 | ||
18 | import com.google.common.collect.ImmutableList; | 18 | import com.google.common.collect.ImmutableList; |
19 | import org.onlab.packet.Ip4Address; | 19 | import org.onlab.packet.Ip4Address; | ... | ... |
... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.scalablegateway; | 16 | +package org.onosproject.scalablegateway.api; |
17 | 17 | ||
18 | import org.onosproject.core.GroupId; | 18 | import org.onosproject.core.GroupId; |
19 | import org.onosproject.net.DeviceId; | 19 | import org.onosproject.net.DeviceId; |
... | @@ -45,6 +45,7 @@ public interface ScalableGatewayService { | ... | @@ -45,6 +45,7 @@ public interface ScalableGatewayService { |
45 | /** | 45 | /** |
46 | * Returns group id for gateway load balance. | 46 | * Returns group id for gateway load balance. |
47 | * | 47 | * |
48 | + * @param srcDeviceId source device id | ||
48 | * @return The group id | 49 | * @return The group id |
49 | */ | 50 | */ |
50 | GroupId getGroupIdForGatewayLoadBalance(DeviceId srcDeviceId); | 51 | GroupId getGroupIdForGatewayLoadBalance(DeviceId srcDeviceId); | ... | ... |
... | @@ -17,4 +17,4 @@ | ... | @@ -17,4 +17,4 @@ |
17 | /** | 17 | /** |
18 | * Application for ScaleableGateway management. | 18 | * Application for ScaleableGateway management. |
19 | */ | 19 | */ |
20 | -package org.onosproject.scalablegateway; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
20 | +package org.onosproject.scalablegateway.api; | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -14,11 +14,13 @@ | ... | @@ -14,11 +14,13 @@ |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | -package org.onosproject.scalablegateway; | 17 | +package org.onosproject.scalablegateway.impl; |
18 | 18 | ||
19 | import org.onosproject.core.GroupId; | 19 | import org.onosproject.core.GroupId; |
20 | import org.onosproject.net.DeviceId; | 20 | import org.onosproject.net.DeviceId; |
21 | import org.onosproject.net.PortNumber; | 21 | import org.onosproject.net.PortNumber; |
22 | +import org.onosproject.scalablegateway.api.GatewayNode; | ||
23 | +import org.onosproject.scalablegateway.api.ScalableGatewayService; | ||
22 | 24 | ||
23 | import java.util.List; | 25 | import java.util.List; |
24 | 26 | ... | ... |
... | @@ -17,4 +17,4 @@ | ... | @@ -17,4 +17,4 @@ |
17 | /** | 17 | /** |
18 | * Application for ScaleableGateway management. | 18 | * Application for ScaleableGateway management. |
19 | */ | 19 | */ |
20 | -package org.onosproject.scalablegateway; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
20 | +package org.onosproject.scalablegateway.impl; | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment