Bug 262 - Issues with the generation of SOL001 Annex A examples
Summary: Issues with the generation of SOL001 Annex A examples
Status: RESOLVED FIXED
Alias: None
Product: Forge
Classification: Unclassified
Component: TOSCA tools (show other bugs)
Version: v1
Hardware: PC Windows
Assignee: admin_forge
 
Reported: 2021-05-21 09:12 CEST by Bruno Chatras
Modified: 2021-07-30 09:15 CEST (History)
2 users (show)

See Also:
Version number of the related document:
OpenAPI issue category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Chatras 2021-05-21 09:12:36 CEST
The YAML files generated from SOL001ed351v030309_clean.docx in  https://docbox.etsi.org/ISG/NFV/Open/Drafts/SOL001ed351__TOSCA-based_NFV_descriptors_spec/NFV-SOL001ed351v339.zip have the following issues

1) For clause A.12, the same file is generated twice  with two different names. Only the second one should be generated.
example_A.12-MyExampleNs_Type.yaml
example_A.12-MyExampleNs_TypeBis.yaml

2) For clause A.14 the several files are generated twice with two different names. Only the last 3 files should have been generated.

example_A.14-etsi_nfv_example_vnf1.yaml
example_A.14-etsi_nfv_example_vnf2.yaml
example_A.14-etsi_nfv_example_vnf3.yaml
example_A.14-example_vnf1.yaml
example_A.14-example_vnf2.yaml
example_A.14-example_vnf3.yaml

3) In A.15.3, the following files are not properly generated (only the first lines are included):
example_A.15.3-example_VNF1.yaml
example_A.15.3-example_VNF2.yaml

4) In A.17, the file with MyScalableNs_Type is not generated
Comment 1 Miguel Angel Reina Ortega 2021-07-30 09:15:20 CEST
Fixed by https://labs.etsi.org/rep/cti-tools/tosca2doc/commit/0a2c03ff2c96e5bc796732999bc4d8e624af9991

1) and 2) No change required. Issues disappeared with the latest version of the docx source file

3) Fixed by handling of newline character

4) Fixed by handling end of text block