aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model
AgeCommit message (Collapse)AuthorFilesLines
2019-08-09Merge "Add declarative acceptance tests"Dan Timoney30-15/+638
2019-08-09Merge "Fixed restconf Python scripts bugs caused by BPP refactor"Dan Timoney1-2/+0
2019-08-09Add sample test dsl type cbaBrinda Santh7-0/+349
Change-Id: I277588b4f38f8c99c33f3a1f65e8ca7c3919940d Issue-ID: CCSDK-1580 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Add property definition type DSL.Brinda Santh1-1/+1
Change-Id: I83a3d1391c60cd426236b55d0d399e273e7c15dc Issue-ID: CCSDK-1577 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Add CBA parent pom.Brinda Santh5-6/+111
Change-Id: Iddfb27d271bbb58375190c506173edccdd60b9e0 Issue-ID: CCSDK-1576 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Add declarative acceptance testsEliezio Oliveira30-15/+638
First two UATs are for blueprints Echo and "PNF Configuration". The body of the ODL mount request was changed from XML to JSON, so it can be represented in a YAML file. Initial documentation about the UATs can be found at components/model-catalog/blueprint-model/uat-blueprints/README.md BluePrintArchiveUtils.recurseFiles() replaced by compressFolder() that uses native Java 7. Removed commons-compress as dependency since is no longer used. Change-Id: I96a584ae12ca009f90fe8fe9485eb57ce05e8add Issue-ID: CCSDK-1569 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-08-09Fixed restconf Python scripts bugs caused by BPP refactorEliezio Oliveira1-2/+0
Change-Id: I9f064aca6f40c0427614d41a08be6b0e6288bcec Issue-ID: CCSDK-1573 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-30Add missing implementation and Operation Type.Brinda Santh1-10/+14
Change-Id: I739ad054fafc0c302fb6ad03999561f2b3cf9652 Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-25Add the vDNS CBA in the CDS sourceAbdelmuhaimen Seaudi26-0/+8971
Issue-ID: CCSDK-1533 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: Ie821dec3de708a529b291cb07690d4df2df9d488 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
2019-07-24Fix attribute validation for complex type.Brinda Santh1-19/+16
Change-Id: I7a3365c4c26fd44ed0b54bff115b64c52ee7b81e Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-24Fix missing capability cli models.Brinda Santh11-4/+230
Change-Id: Id5ad2f75cf27b7c09dc95a028997847098cd3d2e Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-23Fix for python executor unit test case failure.Brinda Santh1-1/+1
Change-Id: I193e2a092ff8cefe48419031096e1336e5c84fc1 Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-23Clean restconf duplicate models and Implementation.Brinda Santh5-87/+12
Change-Id: Id439ac5ded631aac0ee7fc69846ebe9bca650bb2 Issue-ID: CCSDK-1499 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-23Refactor Netconf script component parent.Brinda Santh1-36/+34
Change-Id: Ibbec8cd5785372a89e14a86d4e6ff7f9fed4aad2 Issue-ID: CCSDK-1499 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com> Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-07-10Refractor duplicate cli script functionBrinda Santh4-22/+12
Change-Id: Ida75e839668eeeabd4577629f2bc6ec3240d7734 Issue-ID: CCSDK-1428 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-04Enforce resolutionKey or resourceId/resourceTypeAlexis de Talhouët1-1/+7
There are three existing ways to perform the resolution: either we don't store the results at all, whether for resource or template either we store using the resolution key. The combination of blueprintName, blueprintVersion, artifactName and resolutionKey has to be unique. If it is re-used, it is considered as a new attempt for that specific resolution request, and process will only try to resolve resources not marked at SUCCESS in the database. either we store using the resourceId and resourceType. As previous point, the combination of blueprintName, blueprintVersion, artifactName and resolutionKey has to be unique. If it is re-used, it is considered as a new attempt for that specific resolution request, and process will only try to resolve resources not marked at SUCCESS in the database. TBD: add uni tests Issue-ID: CCSDK-1423 Change-Id: I6b7198453cf0002edfa7a0c9ea3179555211b5dc Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-25python-executor will provide output line-by-lineOleg Mitsura1-4/+7
* python-executor STDOUT contains cleaner logs * return status has been reworked to return a list of lines Issue-ID: CCSDK-1404 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Ib17495e92a136ff4f950bb6e049246a9e100eb7d
2019-06-03Improved error handling for remote ansible executor.Serge Simard1-2/+2
- Aligned error status with AWX job details status; i.e. lowercase - Fixed error message in Validation module; encountered during debug. - Added better handling of inventory name resolution failure. - Now supports json endpoint selector values, via DSL. Change-Id: I71735956e4b543e5ab62e891ef1e18f4963ffadb Issue-ID: CCSDK-1357 Signed-off-by: Serge Simard <serge@agilitae.com>
2019-05-30Merge "Remote AWX ansible playbook executor"Dan Timoney8-0/+261
2019-05-28Bug fix: Enrichment fails for processor-db sourceSteve Siani3-2/+18
Issue-ID: CCSDK-1324 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I21705485de9a11a65c1e032fc121c89917334104
2019-05-27Remote AWX ansible playbook executorSerge Simard8-0/+261
Issue-ID: CCSDK-1357 Change-Id: I794ce5450b341606829a1a37d9efed48abab32cc Signed-off-by: Serge Simard <serge@agilitae.com>
2019-05-23Add cli test blueprintsBrinda Santh3-0/+122
Change-Id: Ieab385f5e4ae60cca3d86f22c4304e4867e6fa96 Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-23Add cli executor modelsBrinda Santh2-23/+113
Change-Id: I611de175a265ea27dcb64fa08c33de5eb2dbffb6 Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-15Fix: Enrichment fails for processor-db sourceSteve Siani3-3/+3
Change-Id: I7a426323dc22cb19a1c3eb77f7f4f30cf7da32e0 Issue-ID: CCSDK-1324 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-25Finalize ansible usageAlexis de Talhouët13-109/+421
Change-Id: Iaca6bb573e31607eaa9a3a603e1e4beae60c817c Issue-ID: CCSDK-1215 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-24Multiples fixesAlexis de Talhouët6-111/+88
Change-Id: I83782006dc47a224e546b6877070d5e7e56dd2e6 Issue-ID: CCSDK-1215 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Delete the deployed blueprint if overriten Change-Id: I7e4f3a5c98388a965ef756467497ed31d23bc047 Issue-ID: CCSDK-1215 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Fix enhancement of workflow step for component Change-Id: I62c7904265495edb2b0a5bec0d64cfecd7573f97 Issue-ID: CCSDK-1168 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Update golden package Change-Id: I969fe9cf9b563911ebe4500fe8f3211aedb84593 Issue-ID: CCSDK-1231 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Do not fail to get execution property When prepareEnv fail, we should not fail by saying to property is not set. So set it as N/A until is get sets further done in the processing Change-Id: I06b9fcb9b1cf9e1605cef77864da9dbd18243800 Issue-ID: CCSDK-1215 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-24Rework remote command argumentsBrinda Santh2-6/+12
Change-Id: Ibd24ce87ed67aee6ae1a66fc9ec6af35bee5008a Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-23Support for dynamic property in command argsAlexis de Talhouët2-3/+21
Change-Id: I47c65557a553c79fefbbc28f8dab54b1c0a4a798 Issue-ID: CCCSDK-125 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-22Add support for requirements.txt for pip depsAlexis de Talhouët2-1/+2
Change-Id: I10bbe95a4d06ce9361d3ab6553953022e1196a3d Issue-ID: CCCSDK-125 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-22Update package type nameAlexis de Talhouët3-16/+43
- split log output: prepare-env and exec-cmd - fix proxy support when not provided Change-Id: I40cdf90e7e3ebe31b0152923f8b6a38f6b6e9ca0 Issue-ID: CCCSDK-125 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-19Merge "Add support for Ansible packages"Dan Timoney5-2/+128
2019-04-19Merge "Add support to command to execute for remote python"Dan Timoney3-0/+13
2019-04-19Merge "Integration Test - Component Executor"Dan Timoney2-22/+20
2019-04-19Merge "Add remote scripts cba"Dan Timoney9-0/+157
2019-04-18Add support for Ansible packagesAlexis de Talhouët5-2/+128
- rework how to provide packages - support proxy as parameters Change-Id: I1d10d921ead0837aa0f74b965cadf985424ceedc Issue-ID: CCCSDK-1215 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-16Add support to command to execute for remote pythonAlexis de Talhouët3-0/+13
Change-Id: I043ea301faf87fb487204180a3294de0a76d3543 Issue-ID: CCSDK-1164 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-16Integration Test - Component ExecutorAlexis de Talhouët2-22/+20
Change-Id: Icbe745b30c7bbb973bc9bb29bf547340b32f1b0f Issue-ID: CCSDK-1164 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-16Add remote scripts cbaBrinda Santh9-0/+157
Change-Id: Icc11ed1f2e229c92a7b46611087bb868ccd265b4 Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-15AAI Junit test and Blueprint support configsSteve Siani1-1/+89
Change-Id: I2bbfc80634f211b336c9ea85b86dbc8dcd2e1ee0 Issue-ID: CCSDK-1202 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-09Jinja template for Blueprint template serviceSteve Siani3-3/+11
Change-Id: Iec777e4500c2a040faccc8375b1d2dd24c27cb7f Issue-ID: CCSDK-1193 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-08Fix blueprint dataottero5-11/+11
Request parameter nf-id should be: pnf-id ODL key name ODL-private-key should be: ODL_private_key_0 Change-Id: I846112c3bd6a80d21a4b5de0845ce99d06b0515f Issue-ID: CCSDK-1208 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-04-05Retrieving PNF IP address from payloadottero6-35/+23
PNF IP is now retrieved from the payload Issue-ID: CCSDK-926 Change-Id: I6942fc0000564553ae16bd1067351f00ca254d10 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-04-02Merge "Complementary Junit test coverage"Dan Timoney3-0/+45
2019-04-01Complementary Junit test coverageSteve Siani3-0/+45
Change-Id: I5eec76918c63d1fa248a9fc353f8dc02ae925364 Issue-ID: CCSDK-1187 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-01Update vFW CBA for DublinAlexis de Talhouët18-3589/+4485
Change-Id: I2308aa6b86a44c05240c0ac54050423a99a14128 Issue-ID: CCSDK-1149 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-01Improve function interfacesMuthuramalingam, Brinda Santh5-23/+14
Change-Id: I24f45d39ac05491a4217101e00bcbf8d122e4e1a Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-31Merge "Update golden blueprint"Dan Timoney12-568/+509
2019-03-31Merge "Addressing last review comments"Dan Timoney1-1/+9
2019-03-29Update golden blueprintAlexis de Talhouët12-568/+509
Change-Id: Ib80de8dfed834b0ed062adafd1b029eb715be3e5 Issue-ID: CCSDK-1149 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-29Merge "Add Restconf Kotlin script sample"Dan Timoney5-18/+221