[VOL-4708] Expose existing AAA users via REST
Change-Id: I136dd589095c29cfb742afc226576cbd1d69d854
Signed-off-by: Gustavo Silva <gsilva@furukawalatam.com>
diff --git a/app/pom.xml b/app/pom.xml
index de61585..25ed405 100644
--- a/app/pom.xml
+++ b/app/pom.xml
@@ -35,6 +35,12 @@
<onos.app.category>Security</onos.app.category>
<onos.app.url>http://opencord.org</onos.app.url>
<onos.app.readme>802.1x authentication service.</onos.app.readme>
+
+ <web.context>/onos/aaa</web.context>
+ <api.version>1.0.0</api.version>
+ <api.title>AAA REST API</api.title>
+ <api.description>REST API to query AAA app information.</api.description>
+ <api.package>org.opencord.aaa.rest</api.package>
</properties>
<dependencies>
@@ -127,6 +133,15 @@
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
+ <_wab>src/main/webapp/</_wab>
+ <Include-Resource>
+ WEB-INF/classes/apidoc/swagger.json=target/swagger.json,
+ {maven-resources}
+ </Include-Resource>
+ <Import-Package>
+ *,org.glassfish.jersey.servlet
+ </Import-Package>
+ <Web-ContextPath>${web.context}</Web-ContextPath>
<Karaf-Commands>org.opencord.aaa.cli</Karaf-Commands>
</instructions>
</configuration>