summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-11-29Merge "toscaparser: Avoid exception when creating our own"1.1.1Shang Xiaodong4-2/+32
2018-11-28toscaparser: Avoid exception when creating our ownLianhao Lu4-2/+32
Fixed the bug that new exception is thrown when we're creating our own exceptions. JIRA: PARSER-187 Change-Id: If4c445eb9b5c6ff26d40cf6b3fa7f19cd31fd425 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-11-07Skip Installing Parse when building documentationTrevor Bramwell1-0/+2
'usedevelop = True' is set in the tox '[testenv]', so every tox env including documentation will build and install the parser code. Disabling this for the docs and docs-linkcheck environments should speed up builds and feedback on documentation changes. Change-Id: I72780b852ff56608313efb099ad1eeb4b665143b Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-09-10Local Docs Builds1.1.0Trevor Bramwell5-1/+32
Added local sphinx documentation build following this guide: https://docs.opnfv.org/en/latest/how-to-use-docs/local-build-transition.html Change-Id: I8d0c430e6fff46dc1bf869fd54f304b0994aca8a Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-09-04modify nrpv for parametershangxdy1-1/+1
JIRA: PARSER-181 Change-Id: I3d439f3f80e5f936fdc24dea74b19dd3cace8492 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2018-08-17Merge "Add CLI in verigraph."xiaodong shang54-0/+4855
2018-08-15Merge "parameter -nrpv not fuctioning in toscaparser"xiaodong shang1-3/+7
2018-08-15parameter -nrpv not fuctioning in toscaparsershangxdy1-3/+7
In opnfv-toscaparer ver 1.0.1, when passing -nrpv to prohibit the input parameter validation, i.e. toscaparser --template-file <file> -nrpv The exceptions of type MissingRequiredParameterError are still got raised. Seems that -nrpv parameter is not working. JIRA: PARSER-181 Change-Id: If44eefcc2b7bdb360eae023ed2c2cd67789c2128 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2018-08-14Bug fixe version info printshangxdy1-3/+4
If parser Tosca error happens, it may not exist version info; So it needs a process before print it. JIRA: PARSER-183 Change-Id: I283d1d794b0db19f83a9abc0eee3962e94e21572 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2018-04-29Add CLI in verigraph.serena.spinoso54-0/+4855
JIRA: PARSER-180 Add CLI to select one of the available interfaces (i.e. REST or gRPC), one of the supported service descriptor formats (i.e. TOSCA/XML, TOSCA/YAML, JSON), and the operations to perform (i.e. read, create, update, delete graphs and run verifications). Change-Id: I02f4d86e221baf0ac583d0ffd0ebe028aa6209be Signed-off-by: serena.spinoso <serena.spinoso@polito.it>
2018-04-26Support TOSCA in verigraph (gRPC service)serena.spinoso15-67/+2743
JIRA: PARSER-179 Add TOSCA service description in gRPC server. Add a TOSCA-based client to use the new functionality. Add a JUnit class for testing gRPC service with TOSCA descriptor Change-Id: Id3217a674f076714cd48e3b7e4236e7445d89cd2 Signed-off-by: serena.spinoso <serena.spinoso@polito.it>
2018-04-26Merge "Fix aarch64 image naming in parser"opnfv-6.0.01.0.1xiaodong shang2-7/+20
2018-04-26Merge "Update release notes for fraser"xiaodong shang1-24/+174
2018-04-26Update release notes for frasershangxdy1-24/+174
Update release notes for new release JIRA: PARSER-178 Change-Id: I9caf66a24b532c96137d5af88b0d62d2a666b052 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2018-04-26Modify user guide for Fraseshangxdy1-21/+145
Update user guide for nfv-toscaprser JIRA: PARSER-177 Change-Id: I68f65c37c4e0c69627467a4c2e1814183638535e Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2018-04-10Fix aarch64 image naming in parserCharalampos Kominos2-7/+20
Some hardcoded values within the parser project create problems for opnfv-armband. In this patch we fix image naming for parser, at least for the testcase we run in opnfv-ci. 1)Tosca functions like get_attribute() or get_item() could in theory be used but due to the current structure of the vRNC file it is not possible. JIRA: ARMBAND-369 JIRA: PARSER-175 Change-Id: I8cdc82b9e5c9008f3a3a5110d65706440d208ab8 Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
2018-03-28[p/parser] Add aarch64 download optionCharalampos Kominos1-18/+42
Hardcoded values within the parser project create problems for opnfv-armband. In this patch we : 1) Add aarch64 image download conditional 2) Fix typos and comments JIRA: ARMBAND-369 JIRA: PARSER-175 Change-Id: I001087a8783fef66336e9bddc8d67342f6810a1f Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com>
2018-03-27Merge "Auto Generated INFO.yaml file"xiaodong shang1-0/+72
2018-03-27Auto Generated INFO.yaml fileagardner1-0/+72
INFO.yaml meant to be machine readable. This file was auto generated from an ldap lookup and your projects INFO file. Meeting times are not currently filled out. please ammend this patchset to complete Going forward comitter promotions should be done against this file. PTLs: Must be merged for you to gain delete access on testresults.opnfv.org If project_lead: is missing (my script could not parse) please amend with same from commiters section eg: project_lead: &opnfv_$project_ptl name: 'Lead Name' email: 'lead email' id: 'lead lfid' company: 'lead company' Change-Id: Id3dea3ab924bb3069aa3580848c682d8b1277fc6 Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-03-20Handle flavor before imageshangxdy1-6/+14
JIRA: PARSER-174 Change-Id: I891398e634846db617081b0baed9adf0662743b7 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2018-03-15Add documents for Relase Fshangxdy1-0/+137
nfv-toscaprser api document JIRA: PARSER-173 Change-Id: I94603ce8f6698f424f5249ab1008c15199c35845 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2018-02-02Add default flavorshangxdy1-3/+14
Add default falvor since there is not any flavor for some installers. JIRA: PARSER-172 Change-Id: I5fb0fdc4857a35840399c8cec8f051055a3a4eac Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2018-01-03Merge "Replace relative path with absolute path for functest script"xiaodong shang1-4/+4
2018-01-03Replace relative path with absolute path for functest scriptshangxdy1-4/+4
urrent parser script for functest is supposed that functest enterns the tests directory of parser firstly, and then call functest_parser.sh; it need to use absolute path instead of relative path as work directory. This modification is from functest patch: https://gerrit.opnfv.org/gerrit/#/c/49649/ JIRA: PARSER-171 Change-Id: I55b3ce882e6ddd48edf9f43eb8fae8334c5458aa Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-12-11Add dependency for openstackcleintshangxdy1-0/+1
Currently, the ci test result is error after the functest team modified the parser dockerfile. ========= 1/4. Preparing VM image for parser... ========= Download image cirros-0.3.5-x86_64-disk.img... ./functest_run.sh: line 72: openstack: command not found Registe image cirros-0.3.2-x86_64-uec... ./functest_run.sh: line 79: openstack: command not found Clean-up the environment... ./functest_run.sh: line 243: openstack: command not found Delete local image file cirros-0.3.2-x86_64-uec.img after test. Delete local URL image file cirros-0.3.5-x86_64-disk.img after test. ./functest_run.sh: line 275: openstack: command not found Delete user parser's role from project parser ./functest_run.sh: line 283: openstack: command not found Delete user parser ./functest_run.sh: line 290: openstack: command not found Delete project parser ./functest_run.sh: line 295: openstack: command not found ======================={ Parser functest end }========================== it need to add python-openstackclient requirement in parser project. JIRA: PARSER-166 Change-Id: I8b38325c602b508823d36709a93b1dd8739156f9 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-11-25Synchronize requirements with stable/pikeCédric Ollivier2-4/+4
All packages included in Functest should be strictly conform with OpenStack Pike global requirements. The next python packages are fine: - nfv-heattranslator - nfv-toscaparser - nfv-parser Change-Id: I2d6440232e6b282338dfa77a60d8d51a0d057a51 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-09Added a license metadata line to specify Apache-2.0rpaik5-1/+5
Change-Id: I567522d47fa30efa03e84e5292360481e81f30ad Signed-off-by: rpaik <rpaik@linuxfoundation.org>
2017-10-19Update notes for release Eopnfv-5.1.0stable/euphratesshangxdy3-13/+74
Update userguide and release-notes JIRA:PARSER-163 Change-Id: I3b15aa40afcb86a415997fc7e2471894bf3c9f06 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-10-19Update notes for release Eshangxdy3-13/+74
Update userguide and release-notes JIRA:PARSER-163 Change-Id: I3b15aa40afcb86a415997fc7e2471894bf3c9f06 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-10-10Fix integration error when no role of heat_stack_ownershangxdy1-1/+1
If there is no role of heat_stack_owner in openstack, integration will be error, the patch will fix it. JIRA: PARSER-162 Change-Id: I74d4e70153a312c1a64c75e0ff956b7ab2219adf Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-10-10Fix integration error when no role of heat_stack_ownershangxdy1-1/+1
If there is no role of heat_stack_owner in openstack, integration will be error, the patch will fix it. JIRA: PARSER-162 Change-Id: I74d4e70153a312c1a64c75e0ff956b7ab2219adf Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-10-09Fix test for apexshangxdy2-4/+4
Currently the test in apex is error, the patch will fix it. JIRA: PARSER-160 Change-Id: I0c290f7819468e1f400f1610fc87bceb72086b92 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-10-09Fix test for apexshangxdy2-4/+4
Currently the test in apex is error, the patch will fix it. JIRA: PARSER-160 Change-Id: I0c290f7819468e1f400f1610fc87bceb72086b92 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-10-09Remove python limitation for codeshipshangxdy1-1/+0
When publish nfv-toscaparser to onap through codefish, the python version of 2.7.13 doesn't support again, so it will be delete in .python-verson JIRA: PARSER-161 Change-Id: I90f1be241c539a405edc7c674e411c20de3e4ae1 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-10-09Remove python limitation for codeshipshangxdy1-1/+0
When publish nfv-toscaparser to onap through codefish, the python version of 2.7.13 doesn't support again, so it will be delete in .python-verson JIRA: PARSER-161 Change-Id: I90f1be241c539a405edc7c674e411c20de3e4ae1 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-10-09Merge "Add coverage test item"xiaodong shang5-6/+15
2017-09-28Add coverage test itemshangxdy5-6/+15
Currently there is no coverage report, so it's necessary to add covrage test for parser. JIRA: PARSER-159 Change-Id: I7688b2c7e3adc8d0009e5edf33be41c7c75a5d87 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-09-28Add coverage test itemshangxdy5-6/+15
Currently there is no coverage report, so it's necessary to add covrage test for parser. JIRA: PARSER-159 Change-Id: I7688b2c7e3adc8d0009e5edf33be41c7c75a5d87 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-09-27Fix user role list bugshangxdy1-1/+1
Currently the query misses a option of --user, the patch will fix it. JIRA: PARSER-158 Change-Id: I324d843b00271f7fb333b02c5372cb061d09ae70 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-09-27Fix user role list bugshangxdy1-1/+1
Currently the query misses a option of --user, the patch will fix it. JIRA: PARSER-158 Change-Id: I324d843b00271f7fb333b02c5372cb061d09ae70 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-09-23Fix heat_stack_owner bugshangxdy1-4/+7
In env installed by apex, there is no role of heat_stack_owner, so it need to separate the condition in script. JIRA:PARSER-157 Change-Id: Ie40715268a1124b57f0bf36ddc566bbcdbed964b Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn> (cherry picked from commit 51a4cb9a4026037147da64b2353ec44002c7a7a7)
2017-09-23Fix heat_stack_owner bugshangxdy1-4/+7
In env installed by apex, there is no role of heat_stack_owner, so it need to separate the condition in script. JIRA:PARSER-157 Change-Id: Ie40715268a1124b57f0bf36ddc566bbcdbed964b Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-09-15Merge "Add required parameters validation for nested service"xiaodong shang2-6/+11
2017-09-14Add required parameters validation for nested serviceshangxdy2-6/+11
Add validation for SDC from ONAP when use parse in design time: ignore nested parameters(inputs and outputs) validation and only print warning message. JIRA: PARSER-141 Change-Id: Idd3b35a197594e9a7ff38024f16acfa650728bd1 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-09-14Merge "Fix functest_run script for role of heat_stack_owner"xiaodong shang1-1/+3
2017-09-14Merge "Disable syslog in heat-translator for functest integration"xiaodong shang1-2/+2
2017-09-14Fix functest_run script for role of heat_stack_ownershangxdy1-1/+3
When update openstack to ocata and run test in functest, the following error happends: ERROR: Missing required credential: roles ['heat_stack_owner'] It need to add role heat_stack_owner to parser user JIRA: PARSER-156 Change-Id: Ie0417c53c7dbd28efe8d9c4eb3fda23de8e1f841 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-09-13Disable syslog in heat-translator for functest integrationshangxdy1-2/+2
Since run in container with the base image of alpine, in which no service and rsyslog installed, it need to delete syslog in heat-translator: reference patch: https://gerrit.opnfv.org/gerrit/#/c/41115/ JIRA: PARSER-149 Change-Id: Iddd8c5fa54556fff2670a9439653de7e97b8aa18 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-09-13Merge "Fix substitution mapping assigned value to nodetemplate"julien zhang2-9/+11
2017-09-12Merge "update verigraph"julien zhang245-19519/+16624