Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/parser from branch 'master'
- Local Docs Builds
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>
|
|
* Update docs/submodules/parser from branch 'master'
- modify nrpv for parameter
JIRA: PARSER-181
Change-Id: I3d439f3f80e5f936fdc24dea74b19dd3cace8492
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Add CLI in verigraph."
- Add CLI in verigraph.
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "parameter -nrpv not fuctioning in toscaparser"
- parameter -nrpv not fuctioning in toscaparser
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Bug fixe version info print
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Support TOSCA in verigraph (gRPC service)
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Fix aarch64 image naming in parser"
- Fix aarch64 image naming in parser
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Update release notes for fraser"
- Update release notes for fraser
Update release notes for new release
JIRA: PARSER-178
Change-Id: I9caf66a24b532c96137d5af88b0d62d2a666b052
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Modify user guide for Frase
Update user guide for nfv-toscaprser
JIRA: PARSER-177
Change-Id: I68f65c37c4e0c69627467a4c2e1814183638535e
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- [p/parser] Add aarch64 download option
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Auto Generated INFO.yaml file"
- Auto Generated INFO.yaml file
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Handle flavor before image
JIRA: PARSER-174
Change-Id: I891398e634846db617081b0baed9adf0662743b7
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Add documents for Relase F
nfv-toscaprser api document
JIRA: PARSER-173
Change-Id: I94603ce8f6698f424f5249ab1008c15199c35845
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Add default flavor
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Replace relative path with absolute path for functest script"
- Replace relative path with absolute path for functest script
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>
- Update notes for release E
Update userguide and release-notes
JIRA:PARSER-163
Change-Id: I3b15aa40afcb86a415997fc7e2471894bf3c9f06
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
- Fix integration error when no role of heat_stack_owner
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>
- Fix test for apex
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>
- Remove python limitation for codeship
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>
- Add coverage test item
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>
- Fix user role list bug
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>
- Fix heat_stack_owner bug
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)
|
|
* Update docs/submodules/parser from branch 'master'
- Add dependency for openstackcleint
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Synchronize requirements with stable/pike
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Added a license metadata line to specify Apache-2.0
Change-Id: I567522d47fa30efa03e84e5292360481e81f30ad
Signed-off-by: rpaik <rpaik@linuxfoundation.org>
|
|
* Update docs/submodules/parser from branch 'master'
- Update notes for release E
Update userguide and release-notes
JIRA:PARSER-163
Change-Id: I3b15aa40afcb86a415997fc7e2471894bf3c9f06
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Fix integration error when no role of heat_stack_owner
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Fix test for apex
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Remove python limitation for codeship
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Add coverage test item"
- Add coverage test item
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Fix user role list bug
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Fix heat_stack_owner bug
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Add required parameters validation for nested service"
- Add required parameters validation for nested service
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Fix functest_run script for role of heat_stack_owner"
- Fix functest_run script for role of heat_stack_owner
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Disable syslog in heat-translator for functest integration"
- Disable syslog in heat-translator for functest integration
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Fix substitution mapping assigned value to nodetemplate"
- Fix substitution mapping assigned value to nodetemplate
Currently the assignment mapped template value to nodetemplate is error,
and additionally debug_mode is not transfered to nested template. So the
patch will fix them.
JIRA: PARSER-155
Change-Id: I8c5801b00ae56b9ba2eb92a6f14357c2f5328718
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "update verigraph"
- update verigraph
JIRA: PARSER-154
code optimizations about graph manipulation and formula generation.
Change-Id: Idebef19b128281aa2bc40d1aeab6e208c7ddd93d
Signed-off-by: serena.spinoso <serena.spinoso@polito.it>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Update heat-translator requirement"
- Update heat-translator requirement
Currently heat-translator use openstack tosca-parser other than
nfv-toscaparser, this patch modifies the requriement since nfv-toscaparser
has tagged and published to pypi.
JIRA: PARSER-150
Change-Id: Ib1ddf28f0932fbe19f25627ad4ef5df2d16dca0a
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Fix StatefulEntityType when entitytype is not define"
- Fix StatefulEntityType when entitytype is not define
Currently, if a entity type is not defined, the defs in
StatefulEntityType will be none, then the access to self.defs will raise
error, finally the parser will be crushed. this patch will enhance it.
JIRA: PARSER-153
Change-Id: I5db50102e9c63428298ce6c8ecbf38e3bd8e57f8
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "fix costum datatype definition in parameters"
- fix costum datatype definition in parameters
Currently, support customized datatype in parameters is error when
transfer custom_defs in DataEntity.validate_datatype(self.type, value,
None, datatype), it should be full custom definitions , not only one
definition. the patch will fix it.
JIRA: PARSER-152
Change-Id: If6d59f21fa75cbdf4e8e16f093e3d807910ad234
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Add debug mode parameter"
- Add debug mode parameter
In debug mode, it's not allowed to raise exceptions as possible for
convinient to debug more details, this patch will add parameter to
enable such scenario.
The requirement is from ONAP
JIRA: PARSER-148
Change-Id: Ide8acec333d17331bd6ed400110a141391fd3593
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Refactor heat-translator setup.py"
- Refactor heat-translator setup.py
Overwrite setup.py in heat-translator project to uninstall openstack
heat-translator before build/install nfv-heattranslator.
JIRA: PARSER-151
Change-Id: I65da014439e3c07b866b3baf8643e569d813165c
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Package for funectest"
- Package for funectest
Modify the install script
JIRA: PARSER-125
Change-Id: Ia43687286fb8ac3b18b816aa5e4928ce9a12beec
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Stop installing librairies during tests
Functest is in charge of installing libraries and it's forbidden by
tests. No syslog service is provided in the container too.
Change-Id: I4de16e091a4eea1b4fad1cb11fcff9abb62f82cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* Update docs/submodules/parser from branch 'master'
- Update the parser's version after publish 0.5.0 for onap
1. git tag 0.5.0 git push origin 0.5.0
2. set apigateway version empty
set toscaparser version empty
set heat-translator version empty
version management use git tag, note: tag name must be started with
digit
JIRA: PARSER-147
Change-Id: I71cc9b910bce57eebf4c07976bd24efd441048fa
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Support version of tosca_simple_yaml_1_1"
- Support version of tosca_simple_yaml_1_1
Currently tosca-parser only support tosca_version_1_0, this patch will
enable it to support tosca_version_1_1.
This requirement is from ONAP, but not need to submit to OpenStack
currently
JIRA:PARSER-146
Change-Id: If1bc470e3f2d18a606b312425241f27be33b65b4
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|
|
* Update docs/submodules/parser from branch 'master'
- Fix exceptions overwritten when nested import service topology
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Add import file with suffix of yml testcases"
- Add import file with suffix of yml testcases
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Add parameter validation in design time
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Updated the PTL info for the project
Change-Id: Ieac0444fd8451c68bf702f40657def321794a6e9
Signed-off-by: rpaik <rpaik@linuxfoundation.org>
|
|
* Update docs/submodules/parser from branch 'master'
- Support costum datatype definition in parameters
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Support yaml file with suffix of yml"
- Support yaml file with suffix of yml
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Support metadata validation
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Support costum datatype in capability"
- Support costum datatype in capability
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>
|
|
* Update docs/submodules/parser from branch 'master'
- fix package init name for nfv-toscaparser
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Modify the classifier Enviroment in setup cfg
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>
|
|
* Update docs/submodules/parser from branch 'master'
- Merge "Setup parser as a entire project"
- Setup parser as a entire project
Modify the setup file
JIRA: PARSER-125
Change-Id: I4f3f5e2c0a5ce22f6602954fdfbd1b610410dfc0
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
|