diff options
author | Varun Seereeram <vseereer@cisco.com> | 2016-02-04 05:15:51 -0800 |
---|---|---|
committer | Robert Varga <nite@hq.sk> | 2016-02-04 17:32:32 +0100 |
commit | 882ddc69b05a4001718d90aa9c57f1e13d80aa0d (patch) | |
tree | 1345178f9dba4b72906836b47477c67ba2809431 /vbd/gui/bundle | |
parent | 517c7d143f399e7343082e2e7978ace2260271a8 (diff) |
GUI initial commit
- open ui on http://controllerIp:8181/index.html
- added interfaces to vpp topo.
- fixed VPP mounting
- fixed VPP Editing and deleting
Change-Id: I6ae2c6e5781d3e0cdb78b112d706b9f5076301d5
Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk>
Signed-off-by: Varun Seereeram <vseereer@cisco.com>
Signed-off-by: Robert Varga <nite@hq.sk>
Diffstat (limited to 'vbd/gui/bundle')
-rw-r--r-- | vbd/gui/bundle/pom.xml | 95 | ||||
-rw-r--r-- | vbd/gui/bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml | 20 |
2 files changed, 115 insertions, 0 deletions
diff --git a/vbd/gui/bundle/pom.xml b/vbd/gui/bundle/pom.xml new file mode 100644 index 000000000..c5f9d4804 --- /dev/null +++ b/vbd/gui/bundle/pom.xml @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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> + <groupId>io.fd.honeycomb.vbd</groupId> + <artifactId>vbd-aggregator</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../</relativePath> + </parent> + + <groupId>io.fd.honeycomb.vbd</groupId> + <artifactId>vbd-ui-bundle</artifactId> + <name>vbd-ui-bundle</name> + <version>1.0.0-SNAPSHOT</version> + <packaging>bundle</packaging> + + <dependencies> + <dependency> + <groupId>org.osgi</groupId> + <artifactId>org.osgi.core</artifactId> + <version>5.0.0</version> + </dependency> + <dependency> + <groupId>org.osgi</groupId> + <artifactId>org.osgi.compendium</artifactId> + <version>5.0.0</version> + </dependency> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.osgi.compendium</artifactId> + <version>1.4.0</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jcl-over-slf4j</artifactId> + <version>1.7.14</version> + </dependency> + <dependency> + <groupId>org.opendaylight.dlux</groupId> + <artifactId>loader</artifactId> + <version>0.3.0-SNAPSHOT</version> + </dependency> + </dependencies> + + <build> + <resources> + <resource> + <directory>target/generated-resources</directory> + </resource> + <resource> + <directory>src/main/resources</directory> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.6</version> + <executions> + <!--loader Resources--> + <execution> + <id>unpack-loader-resources</id> + <goals> + <goal>unpack-dependencies</goal> + </goals> + <phase>generate-resources</phase> + <configuration> + <outputDirectory>${project.build.directory}/generated-resources</outputDirectory> + <groupId>org.openvpp.vbd</groupId> + <includeArtifactIds>vbd-ui-module</includeArtifactIds> + <excludes>META-INF\/**</excludes> + <excludeTransitive>true</excludeTransitive> + <ignorePermissions>false</ignorePermissions> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <instructions> + <Import-Package>org.osgi.service.http, + org.osgi.framework;version="1.0.0", + org.opendaylight.dlux.loader, + org.slf4j + </Import-Package> + <Export-Package></Export-Package> + </instructions> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/vbd/gui/bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml b/vbd/gui/bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml new file mode 100644 index 000000000..b8c866da4 --- /dev/null +++ b/vbd/gui/bundle/src/main/resources/OSGI-INF/blueprint/blueprint.xml @@ -0,0 +1,20 @@ +<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> + <reference id="httpService" availability="mandatory" activation="eager" interface="org.osgi.service.http.HttpService"/> + <reference id="loader" availability="mandatory" activation="eager" interface="org.opendaylight.dlux.loader.DluxModuleLoader"/> + <bean id="bundle" init-method="initialize" destroy-method="clean" class="org.opendaylight.dlux.loader.DluxModule"> + <property name="httpService" ref="httpService"/> + <property name="loader" ref="loader"/> + <property name="moduleName" value="vpp"/> + <property name="url" value="/src/app/vpp"/> + <property name="directory" value="/vpp"/> + <property name="requireJs" value="app/vpp/main"/> + <property name="angularJs" value="app.vpp"/> + <property name="cssDependencies"> + <list> + <value>src/app/vpp/vpp.css</value> + <value>src/app/vpp/assets/css/next.css</value> + <value>src/app/vpp/bower_components/angular-material/angular-material.min.css</value> + </list> + </property> + </bean> +</blueprint> |