summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor
AgeCommit message (Collapse)AuthorFilesLines
2019-06-06Fixing restconf_client.py script0.4.5dublinottero24-24/+24
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-05-29Merge "Roll to next snapshot" into dublinDan Timoney24-24/+24
2019-05-29Returning null for unresolved variablesottero2-1/+90
When Blueprints Processor was not able to evaluate a variable, it would set its value to null. The expected behaviour would be to set the value to the default repres- entation in the formal notation as defined by Apache Velocity, which is a dollar followed by the name of the variable between curly braces. For example, if the value of the variable pnf-id could not be evaluated in runtime, its value would be defined as the string "${pnf-id}". The problem happened during evaluation of the variables that would be later sent to the template-meshing code for processing. The fix was to add a check before the value was assigned to the varia- ble; if the was not null, the assignment will happen normally. Otherwi- se, if the evaluation resolves to null, the variable receives the defa- ult value (string "${<variable name>}"). Besides the tests that were put in place to test the code changed for this fix, two tests were added to the existing test case of the templa- te meshing code, to act as regression test. Change-Id: I635afb1eba4c0d45b821811f0119fa6c87ea9542 Issue-ID: CCSDK-1358 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-05-28Roll to next snapshotTimoney, Dan (dt5972)24-24/+24
Roll to next snapshot version (0.4.4-SNAPSHOT) Change-Id: I4b6256324796a424a4f064e118a812c108f14e4f Issue-ID: CCSDK-1362 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-22Fix payload has not been init in aysncAlexis de Talhouët1-1/+1
Change-Id: I6c8c0fca6ffd7f7cc9814a5b88889c5f67cbd52f Issue-ID: CCSDK-1354 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-05-21BlueprintWebClientService: added return statusOleg Mitsura5-152/+141
Issue-ID: CCSDK-1331 Change-Id: I8dab8ad4eaebf1863f11c4d38c52cf7f64b0a4d5 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> (cherry picked from commit 9eb8b8a88bfac860a94b62b203b00c64330a1be7)
2019-05-16Merge "Fix: Enrichment fails for processor-db source" into dublinDan Timoney2-10/+10
2019-05-16Fix: Enrichment fails for processor-db sourceSteve Siani2-10/+10
Change-Id: I7a426323dc22cb19a1c3eb77f7f4f30cf7da32e0 Issue-ID: CCSDK-1324 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> (cherry picked from commit bc91fee937f819dc86c33564a02f4699cd410fe7)
2019-05-16Bugfix: Blueprints Processor always return 200 OKottero5-9/+88
Currently the Blueprints Processor mS replies with a 200 OK HTTP status code even if an exception occurs in the server side while executing the request. Thus, the only way for a REST client to determine if the request was successful or not is by analysing the response and evaluate the content of the element status.code This bugfix modifies the HTTP status code of the response to match the one inside the response. Issue-ID: CCSDK-1327 Change-Id: I05a58cb3ab9359319172f2d8f1a665fdcdc1230b Signed-off-by: ottero <rodrigo.ottero@est.tech> (cherry picked from commit 5801ed7abaa58f7ef728ad68c496a3780d438194)
2019-05-15Upates in sdc-listener notification part.prathamesh morde1-2/+1
-Added COMPOENT_DONE_OK status if sdc-listener fails to parse the CBA archive. -Make use of IComponentDoneStatusMessage instead of IFinalDistrStatusMessage. -Added DownloadStausMessage to handle download CSAR notification. -Change the sli-version in blueprint-processor to 0.5.0-SNAPSHOT. Change-Id: Ie6bb0569e6daffb13e06532f670aac27af1f935e Issus-ID:CCSDK-1319 Signed-off-by: prathamesh morde <prathamesh.morde@bell.ca>
2019-05-03Merge "UT for GRPC lib" into dublinDan Timoney1-6/+82
2019-05-02UT for Rest libjanani b1-2/+20
Added the lib test cases which will not cause jenkins delay Issue-ID: CCSDK-1229 Change-Id: I1aff85ec3956fdcef806a9657ee3472a35b27f74 Signed-off-by: janani b <janani.b@huawei.com> (cherry picked from commit d5fd5d487248a82af1536d562e5a55c1a9df80e6)
2019-05-02UT for GRPC libjanani b1-6/+82
GRPC code UT Issue-ID: CCSDK-1229 Change-Id: Ia49647abcfcd24038736932c434929216f562f32 Signed-off-by: janani b <janani.b@huawei.com> (cherry picked from commit c92e294c4f5e053a641b36b969fad3ed73269ab8)
2019-04-30Roll to next snapshotTimoney, Dan (dt5972)24-24/+24
Roll dublin branch to next snapshot (0.4.3-SNAPSHOT) Change-Id: I05111e4a8bc75d6edfffa740a236ab3cbfb60f13 Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-26Merge "UT for Execution Service"0.4.2Dan Timoney4-2/+128
2019-04-26Merge "UT for python executor"Dan Timoney2-1/+142
2019-04-26UT for Execution Servicejanani b4-2/+128
Abstract Component Script Function test cases Issue-ID: CCSDK-1243 Change-Id: I76915c3f21d8cec81be30b8edcf727c501718aa2 Signed-off-by: janani b <janani.b@huawei.com>
2019-04-26UT for python executorjanani b2-1/+142
Remote python executor with processNB Issue-ID: CCSDK-1243 Change-Id: I4c46617a38be098f247d1123ede3f9bd3cce11ee Signed-off-by: janani b <janani.b@huawei.com>
2019-04-25Update to use released 1.2.2 parentTimoney, Dan (dt5972)2-7/+3
Update to use released 1.2.2 version of parent poms. Change-Id: I76012b413e289f39e6a8fc412a19d5b4cd3b5a2a Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-24Multiples fixesAlexis de Talhouët4-3/+13
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-24Merge "Rework remote command arguments"Dan Timoney3-31/+32
2019-04-24Merge "UT for execution service"Dan Timoney2-0/+178
2019-04-24Rework remote command argumentsBrinda Santh3-31/+32
Change-Id: Ibd24ce87ed67aee6ae1a66fc9ec6af35bee5008a Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-24UT for execution servicejanani b2-0/+178
AbstractComponentFunction test case Issue-ID: CCSDK-1242 Change-Id: Ib7ab97bf8c061b0d23bc22ce352c97953172b526 Signed-off-by: janani b <janani.b@huawei.com>
2019-04-23Support for dynamic property in command argsAlexis de Talhouët1-3/+6
Change-Id: I47c65557a553c79fefbbc28f8dab54b1c0a4a798 Issue-ID: CCCSDK-125 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-22Update package type nameAlexis de Talhouët2-17/+8
- 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 Timoney4-24/+23
2019-04-19Merge "Add support to command to execute for remote python"Dan Timoney1-1/+3
2019-04-19Merge "Integration Test - Component Executor"Dan Timoney3-36/+52
2019-04-19Merge "Add remote scripts cba"Dan Timoney2-11/+100
2019-04-19Merge "Add grpc execution service"Dan Timoney15-32/+402
2019-04-18Add support for Ansible packagesAlexis de Talhouët4-24/+23
- 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 grpc property service"Dan Timoney8-1/+260
2019-04-18Merge "Add remote python executor"Dan Timoney3-0/+173
2019-04-18Merge "AAI Junit test and Blueprint support configs"Dan Timoney10-18/+432
2019-04-16Add support to command to execute for remote pythonAlexis de Talhouët1-1/+3
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-36/+52
Change-Id: Icbe745b30c7bbb973bc9bb29bf547340b32f1b0f Issue-ID: CCSDK-1164 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-16Add remote scripts cbaBrinda Santh2-11/+100
Change-Id: Icc11ed1f2e229c92a7b46611087bb868ccd265b4 Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-16Add grpc execution serviceBrinda Santh15-32/+402
Change-Id: Icfbd9cef8775f2f72329ec726309d14377b9188a Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-16Add grpc property serviceBrinda Santh8-1/+260
Change-Id: Ifa1975235433ef3e84b0ed1261375108809946f4 Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-16Add remote python executorBrinda Santh3-0/+173
Change-Id: I288e182847f250c8e26e9bc10b8f3124afc2f583 Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-15AAI Junit test and Blueprint support configsSteve Siani10-18/+432
Change-Id: I2bbfc80634f211b336c9ea85b86dbc8dcd2e1ee0 Issue-ID: CCSDK-1202 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-15Fix wrong package for workflow-serviceAlexis de Talhouët9-9/+11
Change-Id: I167a4e58a89b2e9636480e3b827e13fa1b10468e Issue-ID: CCSDK-1177 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-15Do start netty server when grpc server enabledAlexis de Talhouët3-6/+60
Change-Id: I7a4154f752bedd32c6c5789c21da82917336c7a6 Issue-ID: CCSDK-1182 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-11netconf-executor: NetconfSessionImp removed useless methodOleg Mitsura1-12/+1
Issue-ID: CCSDK-1126 Change-Id: I40fa7a5d83d14a33d8e06fe28394828f86f857fd Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-11netconf-executor: NetconfSessionImplTest improvementsOleg Mitsura3-34/+42
Issue-ID: CCSDK-1126 Change-Id: Ied0360a37f8f22801c63c2aeb70ee73d45cc7b4b Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-10Merge "netconf-executor: NetconfSessionImplTest"Dan Timoney6-313/+580
2019-04-10netconf-executor: NetconfSessionImplTestOleg Mitsura6-313/+580
Issue-ID: CCSDK-1126 patchset 6: test: undid most of NetconfSessionImpl and muted some tests it affected Change-Id: Iff406705fa06a00c2629d248010192354d9e2a41 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-10netconf-executor: RpcMessageUtilsTest improvementOleg Mitsura2-5/+33
Issue-ID: CCSDK-1126 Change-Id: I245661bb6ca1afa6aece98c83a1758a7a6f93621 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-10netconf-executor: Moving NetconfSessionListenerImpl out of ↵Oleg Mitsura3-14/+162
NetconfSessionImpl, and adding test for it. Issue-ID: CCSDK-1126 Change-Id: I8674c247e64efdf48faf35b8d21eae5eaed14d95 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>