Ensuring up-to-date status for SDX-L2

Changes:
- Implements commands: sdxl2-clean
- Removes check for active circuit
- Removes intents when deleting SDX
- Adds completers: mac (sdxl2cp-add), placeholder, null
- Introduces enum-like for the VC types
- Modifies app name and description
- Updates README, pom, BUCK files
- Updates and refactors unit tests
- Reduces checkstyle warnings with more javadoc and restricted visibility

Change-Id: Ic672c81168e51690080d9d6466afe9f12b19e397
diff --git a/sdx-l2/pom.xml b/sdx-l2/pom.xml
index 892dbb4..42ef399 100644
--- a/sdx-l2/pom.xml
+++ b/sdx-l2/pom.xml
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <!--
   ~ Copyright 2016-present Open Networking Laboratory
   ~
@@ -15,148 +14,163 @@
   ~ See the License for the specific language governing permissions and
   ~ limitations under the License.
   -->
+
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
+<modelVersion>4.0.0</modelVersion>
+<parent>
     <artifactId>onos-app-samples</artifactId>
     <groupId>org.onosproject</groupId>
     <version>1.7.0-SNAPSHOT</version>
-  </parent>
+</parent>
 
-    <groupId>org.onosproject</groupId>
-    <artifactId>onos-app-sdx-l2</artifactId>
-    <version>1.7.0-SNAPSHOT</version>
-    <packaging>bundle</packaging>
+<groupId>org.onosproject</groupId>
+<artifactId>onos-app-sdx-l2</artifactId>
+<version>1.7.0-SNAPSHOT</version>
+<packaging>bundle</packaging>
 
-    <description>SDX-L2 application for ONOS project developed by GEANT</description>
-    <url>http://www.geant.org</url>
+<description>SDX-L2 application to create and manage Ethernet circuits</description>
+<url>http://www.geant.org</url>
 
-    <properties>
-        <onos.version>1.7.0-SNAPSHOT</onos.version>
-        <onos.app.name>org.onosproject.sdx-l2</onos.app.name>
-        <onos.app.origin>GN4 project</onos.app.origin>
-    </properties>
+<properties>
+    <onos.version>1.7.0-SNAPSHOT</onos.version>
+    <onos.app.name>org.onosproject.sdx-l2</onos.app.name>
+    <onos.app.title>SDX-L2 App</onos.app.title>
+    <onos.app.category>Utility</onos.app.category>
+    <onos.app.url>
+        https://wiki.onosproject.org/display/ONOS/SDX-L2+application
+    </onos.app.url>
+    <onos.app.readme>SDX-L2 application to create and manage Ethernet
+        circuits
+    </onos.app.readme>
+    <onos.app.origin>GN4 project</onos.app.origin>
+</properties>
 
-    <dependencies>
-        <dependency>
+<dependencies>
+    <dependency>
+        <groupId>org.onosproject</groupId>
+        <artifactId>onos-api</artifactId>
+    </dependency>
+
+    <dependency>
+        <groupId>org.onosproject</groupId>
+        <artifactId>onos-core-dist</artifactId>
+        <version>${onos.version}</version>
+    </dependency>
+
+    <dependency>
+        <groupId>org.onosproject</groupId>
+        <artifactId>onlab-junit</artifactId>
+        <scope>test</scope>
+    </dependency>
+
+    <dependency>
+        <groupId>org.onosproject</groupId>
+        <artifactId>onos-api</artifactId>
+        <scope>test</scope>
+        <classifier>tests</classifier>
+    </dependency>
+
+    <dependency>
+        <groupId>com.google.guava</groupId>
+        <artifactId>guava-testlib</artifactId>
+        <scope>test</scope>
+    </dependency>
+
+    <dependency>
+        <groupId>org.onosproject</groupId>
+        <artifactId>onos-cli</artifactId>
+        <version>${onos.version}</version>
+        <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+        <groupId>org.osgi</groupId>
+        <artifactId>org.osgi.core</artifactId>
+        <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+        <groupId>org.apache.karaf.shell</groupId>
+        <artifactId>org.apache.karaf.shell.console</artifactId>
+        <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+        <groupId>org.osgi</groupId>
+        <artifactId>org.osgi.compendium</artifactId>
+    </dependency>
+
+</dependencies>
+
+<build>
+    <plugins>
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+                <useFile>false</useFile>
+                <redirectTestOutputToFile>false</redirectTestOutputToFile>
+            </configuration>
+        </plugin>
+        <plugin>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>maven-bundle-plugin</artifactId>
+            <extensions>true</extensions>
+        </plugin>
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+                <source>1.8</source>
+                <target>1.8</target>
+            </configuration>
+        </plugin>
+        <plugin>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>maven-scr-plugin</artifactId>
+            <executions>
+                <execution>
+                    <id>generate-scr-srcdescriptor</id>
+                    <goals>
+                        <goal>scr</goal>
+                    </goals>
+                </execution>
+            </executions>
+            <configuration>
+                <supportedProjectTypes>
+                    <supportedProjectType>bundle</supportedProjectType>
+                    <supportedProjectType>war</supportedProjectType>
+                </supportedProjectTypes>
+            </configuration>
+        </plugin>
+        <plugin>
             <groupId>org.onosproject</groupId>
-            <artifactId>onos-api</artifactId>
-        </dependency>
+            <artifactId>onos-maven-plugin</artifactId>
+            <executions>
+                <execution>
+                    <id>cfg</id>
+                    <phase>generate-resources</phase>
+                    <goals>
+                        <goal>cfg</goal>
+                    </goals>
+                </execution>
+                <execution>
+                    <id>swagger</id>
+                    <phase>generate-sources</phase>
+                    <goals>
+                        <goal>swagger</goal>
+                    </goals>
+                </execution>
+                <execution>
+                    <id>app</id>
+                    <phase>package</phase>
+                    <goals>
+                        <goal>app</goal>
+                    </goals>
+                </execution>
+            </executions>
+        </plugin>
+    </plugins>
+</build>
 
-        <dependency>
-            <groupId>org.onosproject</groupId>
-            <artifactId>onos-core-dist</artifactId>
-            <version>${onos.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.onosproject</groupId>
-            <artifactId>onlab-junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.onosproject</groupId>
-            <artifactId>onos-api</artifactId>
-            <scope>test</scope>
-            <classifier>tests</classifier>
-        </dependency>
-
-        <dependency>
-            <groupId>org.onosproject</groupId>
-            <artifactId>onos-cli</artifactId>
-            <version>${onos.version}</version>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.karaf.shell</groupId>
-            <artifactId>org.apache.karaf.shell.console</artifactId>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <configuration>
-                    <useFile>false</useFile>
-                    <redirectTestOutputToFile>false</redirectTestOutputToFile>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.8</source>
-                    <target>1.8</target>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>generate-scr-srcdescriptor</id>
-                        <goals>
-                            <goal>scr</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <supportedProjectTypes>
-                        <supportedProjectType>bundle</supportedProjectType>
-                        <supportedProjectType>war</supportedProjectType>
-                    </supportedProjectTypes>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.onosproject</groupId>
-                <artifactId>onos-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>cfg</id>
-                        <phase>generate-resources</phase>
-                        <goals>
-                            <goal>cfg</goal>
-                        </goals>
-                    </execution>
-                    <execution>
-                        <id>swagger</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>swagger</goal>
-                        </goals>
-                    </execution>
-                    <execution>
-                        <id>app</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>app</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>
+</project>
\ No newline at end of file