aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/preload
AgeCommit message (Collapse)AuthorFilesLines
2020-08-06Aligned test with updated R-610030HEADmasteristanbulhonoluluguilinLovett, Trevor1-3/+1
An incremental module must have a server or volume Change-Id: I579f7303cbeb2785fbb3e1e85b10af77433292fa Issue-ID: VVP-451 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2020-07-16[VVP] preload generation enhancementsstark, steven1-1/+8
Add "0" digit to end of VNF type If "module" has file extension, remove extension before parsing CSAR for module information. Issue-ID: VVP-440 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I9dae8643e4c602867cbbbfec1416ca67a0a1ad4f
2020-01-14Excluding platform provided params from vnf-paramsLovett, Trevor1-0/+1
Issue-ID: VVP-356 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com> Change-Id: I2f307147453712f24311477974f5ff4c73552049
2019-12-04[VVP] Support pluggable data sources for preload dataLovett, Trevor6-141/+765
Change-Id: Ia7fcfa25203a93eac93381f472e3ba1e6c11235f Issue-ID: VVP-339 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-10-29[VVP] Make Preload Generation more reslient to failuresLovett, Trevor1-1/+2
Ensure that errors during preload do not prevent validation report creation Issue-ID: VVP-335 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com> Change-Id: I0cfd411b6a034422e349b96c462e68a4f0ceb876
2019-10-08[VVP] Flag duplicate parameters in .env filesLovett, Trevor2-2/+3
Also some minor tweaks to preload generation so it doesn't fail on partial heat templates Change-Id: If39288dde645b0b53a338e7672336807ffa1b6d7 Issue-ID: VVP-284 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-09-20Merge "[VVP] Misc tweaks and fixes to preload generation"steven stark2-5/+21
2019-09-20[VVP] Misc tweaks and fixes to preload generationLovett, Trevor2-5/+21
* Use VALUE_FOR if value is still CHANGE me in .env file * Fix issues with improper parameters being put in VNF parameters in the preload * Fix issue where lists of parameter values pulled from env file could only be put in one template * Exclude platform provided parameters from VNF parameters in preload * Fixed issues with parameter validations * Updated heat requirements * implemented missing test for new requirement that all incremental modules must have a nova server Issue-ID: VVP-312 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com> Change-Id: I1a1225097544b690fb9b854c8a3d9e036f694d6a
2019-09-19[VVP] Removed additional f-string for build-upload issueLovett, Trevor1-1/+1
Also made heat req't json and req't mapping optional in checks.py Change-Id: I38367e768de704cca3727bccb8f8bcdb04f9b193 Issue-ID: VVP-311 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-09-18[VVP] Replaced test.csar in preload_testsLovett, Trevor1-2/+2
Issue-ID: VVP-311 Change-Id: I8b669a31511348a70915ccc91be597b8df097ae2 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-09-06Enforce black code format via pre-commit hookLovett, Trevor2-2/+1
Issue-ID: VVP-203 Change-Id: If0de5b4bc1be0c9514decea1f4ff6f5ec79dc41b Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-09-05[VVP] Preload Generation Enhancements and FixesLovett, Trevor3-19/+60
- All values flow to preload env templates (availability zones were not) - defaults.yaml should be in preload_env (includes vnf_name) - Ensure SDC Model Identifiers are documented in VNF API format (ex: vnf-type, etc.) - Ensure CSAR is used in VNF and GR API where appropriate and available - Flag populated preload templates with _incomplete when they are not fully resolved - If a value is still set to CHANGEME in the preload env, then revert to the original VALUE FOR from the blank preload template - Ensure app_tests/preload_tests/sample_heat passes all vvp validations - Added missing depedency (bandit) to requirements.txt Change-Id: Idf1d5e6e5237debcf3e94bed5fcf7c15e41c9e82 Issue-ID: VVP-283 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-08-27[VVP] Generated completed preload from env filesLovett, Trevor4-0/+982
User can supply an optional directory containing .env files and/or CSAR VSP which can be used to generate populated preloads in the requested format. The nested directories can be used to create sub-environments that inherit their settings from the parent directories. Optionally, values can be specified in a defaults.yaml and they will be used if that value is not defined in the .env file. This is useful if the parameter name and value will be the same in all modules. Issue-ID: VVP-278 Change-Id: Icd9846c63463537793db908be8ce5dba13c4bda3 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>