Name: omn
Owner: World Wide Web Consortium
Description: W3C Federated Infrastructures Community Group
Created: 2014-04-07 09:41:23.0
Updated: 2017-12-17 01:00:11.0
Pushed: 2018-01-10 12:43:16.0
Size: 16219
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repository contains the work conducted in the W3C Federated Infrastructures Community Group. It includes a formal information model for federated infrastructures (omn) and a Java library (omnlib) to translate between our Open-Multinet Ontology, GENI v3 RSpecs (plus extensions), OASIS TOSCA, and the IETF NFV models.
The Java library helps developers to work with Open-Multinet related ontologies and includes a translator to convert between RDF, GENI RSpec XMLs, and TOSCA XML.
mvn compile
cd omnlib
./src/main/bin/omnlib -o ttl -i ./src/test/resources/geni/request/request_bound.xml
Assuming you have a running WildFly instance
cd omnweb
mvn clean install
mvn wildfly:deploy
Then convert the file
curl --data-urlencode content@../omnlib/src/test/resources/geni/request/request_bound.xml http://127.0.0.1:8080/omnweb/convert/request/ttl
curl --data-urlencode content@../omnlib/src/test/resources/geni/request/request_bound.xml http://demo.fiteagle.org:8080/omnweb/convert/request/ttl
Add this repository to your pom.xml file:
<project>
...
<repositories>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
</repositories>
...
<dependencies>
<dependency>
<groupId>info.open-multinet</groupId>
<artifactId>omnlib</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
...
</project>
./bin/runQuery.sh
./bin/runQuery.sh example2
./bin/runQuery.sh advertisement-fp getnodestatus