Skip to content
Snippets Groups Projects
Commit b2193b72 authored by carignani's avatar carignani
Browse files

improve documentation

parent 929b5263
No related branches found
No related tags found
No related merge requests found
*.pyc
env
build/
\ No newline at end of file
FROM ubuntu:latest
MAINTAINER ETSI CTI "cti_support@etsi.org"
LABEL maintainer="ETSI CTI - cti_support@etsi.org"
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
......
LICENSE 0 → 100644
Copyright 2019-2020 ETSI
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
# Tosca Import/Export
Tools to import/export TOSCA definitions in YAML from/to ETSI Specifications in Docx format.
Currently supports ETSI GS NFV-SOL 001.
This tool is provided as-is, no guarantees are applicable on the correctnes of the output.
Use at your own risk.
## Create `env` file
cp env_example env
......
TOSCAIE_SECRET='super_secret_key'
\ No newline at end of file
#!/bin/bash
# Copyright ETSI
# See LICESEN files
#
# Stops or restarts the Docker image containing the web-app for doc2tosca and tosca2doc
#
CNT=$(docker ps | grep tosca-ie | cut -d " " -f1)
if [ "$CNT" != "" ] ; then
......
tests.sh 0 → 100644
#!/bin/bash
# Copyright ETSI 2019-2020
# See LICENSE file
#
# Executes doc2tosca on every file in the 'test_data' folder.
# Results are written in the 'build' folder
mkdir -p build
cd build
test_files=$(ls ../test_data)
for file in $test_files ; do
python3 ../src/doc2tosca.py ../test_data/"$file"
done
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment