summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-05Fix exceptions overwritten when nested import service topologyshangxdy2-11/+39
Currently exceptions will be overwritten when import nested service topology, the patch will fix the issue. JIRA: PARSER-145 Change-Id: I531755efe55b43aef304fa972773c63613c915ff Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-09-01Merge "Add import file with suffix of yml testcases"julien zhang3-0/+35
2017-08-29Add import file with suffix of yml testcasesshangxdy3-0/+35
Add import file with suffix of yml testcases: 1.normal file with suffix of yml; 2.import file with suffix of yml. JIRA: PARSER-144 Change-Id: I24368f7248e782df2e57202a3129c677e1bf068f Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-08-29Add parameter validation in design timeshangxdy3-6/+28
Add validation for SDC from ONAP when use parse in design time: ignore parameter validation and only print warning message. JIRA: PARSER-142 Change-Id: I9372f20816f2acbda83c5f1e4f673f2ffc3c2e94 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-08-23Updated the PTL info for the projectrpaik1-2/+2
Change-Id: Ieac0444fd8451c68bf702f40657def321794a6e9 Signed-off-by: rpaik <rpaik@linuxfoundation.org>
2017-08-14Support costum datatype definition in parametersshangxdy2-3/+7
Currently, it's only allowed to define standard parameters in the input section, this patch support to define custom datatype in parameters. The patch will be submitted to OpenStack community. JIRA: PARSER-138 Change-Id: Ie83f446958f6daa301382d21d8a32128bf8dffc9 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-08-12Merge "Support yaml file with suffix of yml"xiaodong shang1-1/+1
2017-08-10Support yaml file with suffix of ymlshangxdy1-1/+1
Currently toscaparser only support service template file with suffix: yaml, zip and csar, need to support file with suffix of yml. the patch will be submitted to OpenStack JIRA: PARSER-137 Change-Id: I039bcfbfeb8e2aae47df133221162a68736ded55 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-08-10Support metadata validationshangxdy1-2/+2
When import service template, validata metadata validation in tosca_type_validation JIRA: PARSER-136 Change-Id: Ibb4a51e734c43364d92520f14f998ecf54789631 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-08-10Merge "Support costum datatype in capability"julien zhang2-3/+5
2017-08-09Support costum datatype in capabilityshangxdy2-3/+5
Support custom datatype definition in property for capability, a scenario if following: VDU: type: tosca.nodes.nfv.VDU.Compute capabilities: virtual_compute: properties: virtual_memory: virtual_mem_size: 24G requested_additional_capabilities: {} virtual_cpu: num_virtual_cpu: 4 node_types: tosca.nodes.nfv.VDU.Compute: derived_from: tosca.nodes.Root capabilities: virtual_compute: type: tosca.capabilities.nfv.VirtualCompute capability_types: tosca.capabilities.nfv.VirtualCompute: derived_from: tosca.capabilities.Root properties: virtual_memory: type: tosca.datatypes.nfv.VirtualMemory requested_additional_capabilities: entry_schema: type: tosca.datatypes.nfv.RequestedAdditionalCapability required: false type: map virtual_cpu: type: tosca.datatypes.nfv.VirtualCpu This patch will be submitted to Openstack. JIAR: PARSER-135 Change-Id: I7b5e3e909e0950de26b37123938fe719004d5417 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-08-08fix package init name for nfv-toscaparsershangxdy1-1/+1
When loading nfv-toscaparser use pbr tool, switch the version of tosco-parser to nfv-toscaparserf, which will affect the Modeling project in ONAP. JIRA: PARSER-134 Change-Id: If5934075af1fa725fea763083fcca7b597043818 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-07-26Modify the classifier Enviroment in setup cfgshangxdy4-3/+4
There is no OPNFV enviroment in setup cfg classifier, and it will be error when upload package to pypi JIRA: PRRSER-131 Change-Id: I1b0f52b03adbbfa0b803dc1966f2412b525e7677 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-07-26Merge "Setup parser as a entire project"xiaodong shang4-14/+51
2017-07-26Merge install and test scriptshangxdy2-9/+41
Merge installation and test script because functest will not called the script of parser_install.sh, and only call the script of functest_run.sh. JIRA: PARSER-130 Change-Id: I452010f0d635dfbd9fb802743f3b858d66b72b32 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-07-25Setup parser as a entire projectshangxdy4-14/+51
Modify the setup file JIRA: PARSER-125 Change-Id: I4f3f5e2c0a5ce22f6602954fdfbd1b610410dfc0 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-07-20Fix MANIFEST file in heat-translatorshangxdy1-0/+14
iWhen install heat-translator, it must provide manifest file to represent while files will be copied. JIRA: PARSER-129 Change-Id: I23f1981e8ddaeeabea17e8d7bef4d089f0ba585a Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-07-19rename all READM.rst to README.mdJulien10-4/+4
Change-Id: I95930de9fefd0897bd0b75d2aeb5a1d731332dad Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-07-19change some doc file namesJulien4-0/+0
upstream rst files kept in the project subdirectory which not meet the requirement of OPNFV(in docs/). issues in https://build.opnfv.org/ci/job/docs-verify-rtd-master/1590/console may be caused by parser project Change-Id: I096b84d76e7aba1bea181e640eb2e3710a779d3c Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-07-19Merge "Update cirros image to 0.3.5"xiaodong shang1-2/+1
2017-07-17Merge "synchronize upstream about tosca-parser"julien zhang25-40/+405
2017-07-17Update cirros image to 0.3.5jose.lausuch1-2/+1
The image that is offered by Functest in the container is 0.3.5 This changes avoids downloading 0.3.2 in Functest. See [1] [1] https://gerrit.opnfv.org/gerrit/#/c/37393/6/functest/ci/download_images.sh Change-Id: I04ecc9bbed77fb39774460dfb466c32db49b8d98 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-17Synchronize upstream version of 0.9shangxdy33-99/+887
Synchronize heat-translator wiht upstream versionn of 0.9 JIRA: PARSER-128 Change-Id: I4d2c62a0e81119d5c0305e3ac052415a6d5acee3 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-07-17synchronize upstream about tosca-parsershangxdy25-40/+405
synchronize tosca-parser with version of 0.81 JIRA: PARSER-128 Change-Id: Ib00e391bd6c1f4c69776796eb7b28062f14b92fc Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-07-17Merge "Add more test for nested import list"xiaodong shang3-1/+9
2017-07-13Make use of existing cirros image in the Functest containerjose.lausuch1-2/+6
Once [1] is merged, the image needed for this test case will be available in /home/opnfv/functest/images/ So, no need to download again. [1] https://gerrit.opnfv.org/gerrit/#/c/37393/ Change-Id: I219fc38cdf5e929ecdba1631d6315f6d076ae5d0 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-13Add more test for nested import listshangxdy3-1/+9
Currently the test about nested import list is not enough, the patch enhance the test. Change-Id: Ica25345062d316b9a32f4efb8c5c2a98b8bda497 JIRA: PARSER-127 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-07-13Add getting custom node by capabilityshangxdy4-10/+36
Currently _get_node_type_by_cap in nodetype definition is only concerned standard node, not consider custom node, the patch will support to get node by custom node. JIRA: PARSER-126 Change-Id: I822acc8bfb747562dc084783d863adf31603e794 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-07-12Fix import nested list bugsshangxdy1-0/+3
When import list yaml in top service template, and the nested template import also list yaml, the result type definition is not complete JIRA: PARSER-124 Change-Id: I0ee7f4367d7fabd27641e93c498646d1d0b127b8 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-04-18fix the command of testrdongwenjuan2-4/+4
Change-Id: Ie85940e7c3a755f6506eb75fa1bae286c4b038ca Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-03-17Add verigraph documentationserena.spinoso4-4/+343
Add user guide and test usage documentation. Add examples of service graphs to use verigraph. Change-Id: I3e454e03fa2de99bad0761e3e4a0eab98f2e0b23 Signed-off-by: serena.spinoso <serena.spinoso@polito.it>
2017-03-15Merge "Design document for yang2tosca patch set-4 Signed-off-by: ↵Zhipeng (Howard) Huang1-1/+56
shiva-charan <shiva-charan.m-s@hpe.com> Change-Id: Id3b8c198d08ea71130828d941dcc16ac5b23a421"
2017-03-14Merge "Modify documents about overview"Zhipeng (Howard) Huang3-173/+27
2017-03-14Design document for yang2tosca patch set-4shiva-charan1-1/+56
Signed-off-by: shiva-charan <shiva-charan.m-s@hpe.com> Change-Id: Id3b8c198d08ea71130828d941dcc16ac5b23a421
2017-03-14Modify documents about overviewshangxdy4-174/+28
Add overview about apigateway and tosca2heat. Change-Id: I2994ebcde39dcacd248bd09d33ab48823c12e9a1 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-03-13Design document for policy2tosca patch set-2shiva-charan2-1/+41
Signed-off-by: shiva-charan <shiva-charan.m-s@hpe.com> Change-Id: I9f1d1def0c49dadb03c5bcc1d704465eb60cc80a
2017-03-11Add top level git ignore filesshangxdy1-0/+63
Add more git ignore files for convenient use before submit. Change-Id: I133988323f8e1193efcde31cd6dd6c3f298c52d3 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-03-11Add apigateway docsshangxdy10-19/+102
Add documents for apigateway. JIRA:PARSER-123 Change-Id: Ibe8ebd6e3a3f62d58d8da0da4d9be8ceb673fb7b Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-03-10Add verigraph documentationriccardo.sisto4-0/+73
Add design doc and installation instructions (pointing to Readme in code base). User manual will be provided in next release Change-Id: I5118894e80a36c1fc0dc29b6e6c3b59637e1b6d0 Signed-off-by: riccardo.sisto <riccardo.sisto@polito.it>
2017-03-10Fix minor format issues in documentsJulien6-57/+38
Change-Id: I9a7267b116338f72f7256b23b517bd7795eba602 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-03-09Merge "Adding Labels"julien zhang7-0/+14
2017-03-09Fix docs bugshangxdy4-18/+112
Fix docs bug when install parser or run tox tools JIRA:PARSER-122 Change-Id: I247afee0b81e64ea691b061ab600e20ce55849c7 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-03-08Adding LabelsShubhamRathi7-0/+14
Labels serve as anchors/ refs when referenced from other documents This patch adds labels to docs/*/*/index.rst Change-Id: Idd352145f7b984c30aae1939cbe8cd6eb7e228ed Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-07Danube Release Docs Fixup patch 2zhipengh23-634/+37
This patch provide an initial content for the docs/ release/release-notes.rst file. Further work needed. Remove policy2tosca and yang2tosca doc files in the code folder, move tosca2heat diff files to release folder. Remove all the tosca2heat original upstream rst docs due to CI failures Change-Id: I789102a7974b5ac79445f90e08e3f8252e0f4169 Signed-off-by: zhipengh <huangzhipeng@huawei.com>
2017-03-06Init api gateway frameworkshangxdy40-0/+1137
Add api gateway init frame code JIRA:PARSER-112 Change-Id: I4e5cff09f8ded4107b02bcdd791e5e2b707e11c5 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-03-02Danube Release Docs Fixup patch 1zhipengh14-273/+153
Done in this patch 1. Fixes in overview.rst 2. Moves governance folder under docs 3. Adds arno release use case doc from https://wiki.opnfv.org/display/parser/Parser+Use+Cases to the requirement folder 4. Moves two old tosca2heat documents into developer/design/examples 5. Adds new empty tosca2heat and verigraph design document under developer/design. 6. Remove old contents in yang2tosca and policy2tosca design docs since they are all related to installation/execution, not design. 7. Fixes in installation.instruction.rst and usage,guide.rst To do in the following patches 1. Design doc writeup: Xiaodong(tosca2heat), Shiva(yang2tosca/policy2tosca), Serena(verigraph) 2. Release doc writeup: Xiaodong and Howard (postinstall.rst,scenario.description.rst), Serena(verigraph part of release-notes.rst), release-notes.rst Change-Id: If4f51067dd33acd2332e503ee31d6941b4df4c89 Signed-off-by: zhipengh <huangzhipeng@huawei.com>
2017-02-28Merge "Release D doc update"julien zhang35-329/+620
2017-02-27Release D doc updatezhipengh35-329/+620
Change-Id: I6b2749e5692cf6af2615ff5aff81ff060a1a25d3 Signed-off-by: zhipengh <huangzhipeng@huawei.com>
2017-02-27Merge "Add verigraph code base"Zhipeng (Howard) Huang157-0/+20321
2017-02-27Add verigraph code baseserena.spinoso157-0/+20321
JIRA: PARSER-111 Change-Id: Ie76e14fabbb6c388ebc89d9a15dd3021b25fa892 Signed-off-by: serena.spinoso <serena.spinoso@polito.it>