git clone https://@opensourceprojects.eu/git/p/timbus/context-model/converters/json-xml/rcaap-network-topology-converter timbus-context-model-converters-json-xml-rcaap-network-topology-converter



File Date Author Commit
META-INF 2014-12-05 miguelnunes miguelnunes [ea0fe7] Modified format
input 2014-07-11 Luís Marques Luís Marques [df087a] First commit
output 2014-07-11 Luís Marques Luís Marques [df087a] First commit
src 2015-01-02 miguelnunes miguelnunes [8073b8] Added TIMBUS headers
.gitignore 2014-07-11 Luís Marques Luís Marques [df087a] First commit
Readme.md 2015-01-14 miguelnunes miguelnunes [a9bf07] Updated Readme
pom.xml 2014-12-05 miguelnunes miguelnunes [ea0fe7] Modified format

Read Me

Rcaap Network Topology Converter

Rcaap Network Topology Converter converts the JSON output from the Rcaap Network Topology Extractor and converts it to Context, required for further preservation.

 

How to get the code

git clone https://opensourceprojects.eu/git/p/timbus/context-model/converters/json-xml/rcaap-network-topology-converter

 

Install Requirements

  1. Oracle Java JDK 1.7
  2. Apache Maven installed

 

Format UUID

This version of Linux Hardware converter accepts the format 3c7ebef7-568f-3fc9-be8b-baa211c5c54bf

 

Building the code

Apache Maven is used to manage dependencies and build the project, and all that's needed to successfully build the project is running the following command in the base directory:

1
mvn clean package

This command will freshly create a target directory and place the output jar file there.

 

Running the bundle module

The bundle needs to be deployed in the Virgo container. A tutorial on how to install Virgo and deploy artefacts, including the usage of converters can be found here

Note: A typical extraction within the Context Population Framework will encapsulate the result with the following header:

1
2
3
4
5
6
7
8
{
    "format": {
        "multiple": false,
        "id": "3c7ebef7-568f-3fc9-be8b-baa211c5c54bf"
    },
    "UUID": "923fdec6-2ebf-11e4-bc19-ce2b29c0123d",
    "result": {
        ... ... ...

The converter expects solely the result JSON Object. Any other format or header will result in an error.

 

Expected output

This module converts from JSON to OWL, more specifically to DIO, CUDF DSO and Dspace DSO.

alt text

 

Author

Miguel Gama Nunes miguel.nunes@caixamagica.pt

 

License

Copyright (c) 2014, Caixa Magica Software Lda (CMS).
The work has been developed in the TIMBUS Project and the above-mentioned are Members of the TIMBUS Consortium.
TIMBUS is supported by the European Union under the 7th Framework Programme for research and technological development and demonstration activities (FP7/2007-2013) under grant agreement no. 269940.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTIBITLY, or FITNESS FOR A PARTICULAR PURPOSE. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law or agreed to in writing, shall any Contributor be liable for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work.
See the License for the specific language governing permissions and limitation under the License.