summaryrefslogtreecommitdiffstats
path: root/components
AgeCommit message (Collapse)AuthorFilesLines
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-30Merge "Upgrade cds spring and kotlin versions."Dan Timoney1-5/+0
2019-07-26Upgrade cds spring and kotlin versions.Brinda Santh1-5/+0
Change-Id: I0f323bd13c433d9ef0e207f51234d10cd8c22858 Issue-ID: CCSDK-1352 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 Santh7-153/+24
Change-Id: Id439ac5ded631aac0ee7fc69846ebe9bca650bb2 Issue-ID: CCSDK-1499 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-23Refactor Netconf script component parent.Brinda Santh3-103/+100
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-23Fix Non-ASCII character on module ccsdk_netconf/common.pyEliezio Oliveira1-1/+1
Change-Id: Id21362059f7fb3cfb6756f12adfc60d051764b5e Issue-ID: CCSDK-1517 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-18Resolve Attribute and properties fails with subPropertyNameSteve Siani1-2/+3
Issue-ID: CCSDK-1489 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: If27c0dd301f2c0e63cecc662cd89b1a72d1b21f1
2019-07-10Refractor duplicate cli script functionBrinda Santh5-31/+13
Change-Id: Ida75e839668eeeabd4577629f2bc6ec3240d7734 Issue-ID: CCSDK-1428 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-09Velocity template engine implement a separate instanceSteve Siani1-1/+8
Issue-ID: CCSDK-1457 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I8fd9918df5e03e1f7c0cdcf4bc63ddc5846195b8
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-25Merge "Allow multiple resolution for same node template"Dan Timoney1-0/+6
2019-06-25Allow multiple resolution for same node templateAlexis de Talhouët1-0/+6
- also fixing default mechanism - fixes rest resolution when NullNode is returned as input value - fixes rest resolution when data type specified so raw json isn't returned, only the parsed json based on the data type Change-Id: I1f4a35c6c97000b52620c9b0cc911f15016c4e80 Issue-ID: CCSDK-1422 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-25python-executor will provide output line-by-lineOleg Mitsura3-7/+13
* 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-14Python executor: Execution command and prepare environment logSteve Siani1-0/+26
Also fix error messages return when something goes wrong. Issue-ID: CCSDK-1404 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: Ifff396d8cee8d6608b6fb32d3a8e941a253ba24c
2019-06-06Fixing restconf_client.py scriptottero1-1/+1
The restconf_client.py script uses BlueprintWebClientService to send REST requests to ODL. When the methods of that interface have the type of the returns changed from String to WebClientResponse, the script stopped working. This fix changes the way the response is manipulated, to act upon a WebClientResponse and not on a String Change-Id: I3876c5b27d65058f0b5b77da17f9225fc04779c6 Issue-ID: CCSDK-1384 Signed-off-by: ottero <rodrigo.ottero@est.tech>
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 Timoney9-0/+326
2019-05-28Bug fix: Enrichment fails for processor-db sourceSteve Siani60-425/+2140
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 Simard9-0/+326
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 Santh3-23/+178
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 Siani5-51/+4
Change-Id: I7a426323dc22cb19a1c3eb77f7f4f30cf7da32e0 Issue-ID: CCSDK-1324 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-30Roll master to El AltoTimoney, Dan (dt5972)3-4/+4
Roll master version to El Alto versions Change-Id: I75400c5d7dda6b306b0b2e3aa5cd583380dab461 Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.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 Santh3-7/+13
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ët3-3/+26
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ët7-28/+58
- 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 Timoney10-15/+196
2019-04-19Merge "Add support to command to execute for remote python"Dan Timoney4-0/+18
2019-04-19Merge "Integration Test - Component Executor"Dan Timoney3-35/+27
2019-04-19Merge "Add remote scripts cba"Dan Timoney10-2/+160
2019-04-19Merge "Add grpc execution service"Dan Timoney1-12/+15
2019-04-18Add support for Ansible packagesAlexis de Talhouët10-15/+196
- 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-18Merge "Add remote python executor"Dan Timoney1-0/+42
2019-04-18Merge "Add command executor proto"Dan Timoney1-0/+59
2019-04-16Add support to command to execute for remote pythonAlexis de Talhouët4-0/+18
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ët3-35/+27
Change-Id: Icbe745b30c7bbb973bc9bb29bf547340b32f1b0f Issue-ID: CCSDK-1164 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-16Add remote scripts cbaBrinda Santh10-2/+160
Change-Id: Icc11ed1f2e229c92a7b46611087bb868ccd265b4 Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-16Add grpc execution serviceBrinda Santh1-12/+15
Change-Id: Icfbd9cef8775f2f72329ec726309d14377b9188a Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-16Add remote python executorBrinda Santh1-0/+42
Change-Id: I288e182847f250c8e26e9bc10b8f3124afc2f583 Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-16Add command executor protoBrinda Santh1-0/+59
Change-Id: I54bad33968131042118a028433d4fb1543289fd4 Issue-ID: CCSDK-1214 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-16Add grpc property serviceBrinda Santh0-0/+0
Change-Id: Ifa1975235433ef3e84b0ed1261375108809946f4 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 Siani4-3/+19
Change-Id: Iec777e4500c2a040faccc8375b1d2dd24c27cb7f Issue-ID: CCSDK-1193 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>