summaryrefslogtreecommitdiffstats
path: root/ms
AgeCommit message (Collapse)AuthorFilesLines
2019-05-30Merge "Remote AWX ansible playbook executor"Dan Timoney10-0/+672
2019-05-29Merge "Include orig err in CBA upload errmsg"Dan Timoney1-2/+2
2019-05-28Merge "Bug fix: Enrichment fails for processor-db source"Dan Timoney3-15/+63
2019-05-28Returning null for unresolved variablesottero6-2/+130
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-28Bug fix: Enrichment fails for processor-db sourceSteve Siani3-15/+63
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 Simard10-0/+672
Issue-ID: CCSDK-1357 Change-Id: I794ce5450b341606829a1a37d9efed48abab32cc Signed-off-by: Serge Simard <serge@agilitae.com>
2019-05-23make templating service support JsonNode instead of any.Steve Siani2-18/+18
Issue-ID: CCSDK-1360 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I374a6a013514df9062ffdfc1ab278bd9e00776d9
2019-05-23Include orig err in CBA upload errmsgOleg Mitsura1-2/+2
Issue-ID: CCSDK-1363 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I064a9d8654e0ccd612b60f9a3a195980a0c16d0f
2019-05-23Add cli test blueprintsBrinda Santh15-83/+206
Change-Id: Ieab385f5e4ae60cca3d86f22c4304e4867e6fa96 Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-23Add cli executor optionsBrinda Santh6-0/+45
Change-Id: I55abe099997bad1666b762b7f8355b084f691001 Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-23Add cli executor componentBrinda Santh15-104/+322
Change-Id: I0997e9bc71b74bdff57bd2405a9b1ec962130715 Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-23Add ssh client configuration serviceBrinda Santh11-1/+515
Change-Id: I88515b430311e7937ea45516cc0fb07b4dab3c2f Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-23Add Kafka client servicesBrinda Santh10-0/+467
Change-Id: I76cf52f6df10e114539c4d65620f431e0f747644 Issue-ID: CCSDK-1349 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-22Fix payload has not been init in aysncAlexis de Talhouët1-1/+1
Change-Id: I6c8c0fca6ffd7f7cc9814a5b88889c5f67cbd52f Issue-ID: SO-1587 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-05-16Merge "BlueprintWebClientService: added return status"Dan Timoney5-152/+141
2019-05-16Merge "Fix: Enrichment fails for processor-db source"Dan Timoney26-33/+36
2019-05-16Merge "Bugfix: Blueprints Processor always return 200 OK"Dan Timoney5-9/+88
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>
2019-05-15Fixed I/O error and removed unwanted finally clause.prathamesh morde2-13/+3
Change-Id: Id1993a4983ca103ac28655b57481bb96aa89f1f1 Issue-ID:CCSDK-1318 Signed-off-by: prathamesh morde <prathamesh.morde@bell.ca>
2019-05-15BlueprintWebClientService: added return statusOleg Mitsura5-152/+141
Issue-ID: CCSDK-1331 Change-Id: I8dab8ad4eaebf1863f11c4d38c52cf7f64b0a4d5 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-05-15Fix: Enrichment fails for processor-db sourceSteve Siani26-33/+36
Change-Id: I7a426323dc22cb19a1c3eb77f7f4f30cf7da32e0 Issue-ID: CCSDK-1324 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-05-15Upates in sdc-listener notification part.prathamesh morde8-50/+124
-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-11Merge "Fixed the parsing path for CBA archive"Dan Timoney8-39/+95
2019-05-10Fixed the parsing path for CBA archiveprathamesh morde8-39/+95
- Added the parsing path as per the new requirements. - Error handling logic if the parser fails to find the CBA archive or fails to store/read cba or csar archive Change-Id: I33de939cb39f7d9afb68230b226f8ee6d7544fe4 Issue-ID:CCSDK-1318 Signed-off-by: prathamesh morde <prathamesh.morde@bell.ca>
2019-05-09UT for Blueprint coreRami3-2/+715
CustomFunctions and BluePrintContext Issue-ID: CCSDK-1244 Change-Id: I0d676714684ffc9f913f8e296b73f867278df8c2 Signed-off-by: Rami <rmohamed.ext@orange.com>
2019-05-03Change the incorrect license header.prathamesh morde6-18/+37
Change-Id: Ibbe2d363051c64e2f557c5ae4bb3164fe3087d3d Issue-ID: CCSDK-1304 Signed-off-by: prathamesh morde <prathamesh.morde@bell.ca>
2019-05-02Merge "UT for Rest lib"Dan Timoney1-2/+20
2019-05-02Merge "UT for GRPC lib"Dan Timoney1-6/+82
2019-05-02Merge "Use of .yaml extension instead of .yml for consistency."Dan Timoney1-0/+0
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>
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>
2019-04-30Roll master to El AltoTimoney, Dan (dt5972)41-44/+44
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-30Use of .yaml extension instead of .yml for consistency.prathamesh morde1-0/+0
Change-Id: I0f8ff8c6a7b47f13494199378d1bad85a487e019 Issue-ID: CCSDK-1144 Signed-off-by: prathamesh morde <prathamesh.morde@bell.ca>
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)7-17/+8
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-25Finalize ansible usageAlexis de Talhouët1-3/+12
Change-Id: Iaca6bb573e31607eaa9a3a603e1e4beae60c817c Issue-ID: CCSDK-1215 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-25Fix docker tagTimoney, Dan (dt5972)1-0/+1
command-executor was using the default timestamp format when creating docker tag, which is invalid and breaks docker build. Added maven property setting to change timestamp format to remove offending dashes. Change-Id: I102340d493a5b9c03ca1a9e10f1bd51fc4b582d1 Issue-ID: CCSDK-1287 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-24Multiples fixesAlexis de Talhouët7-11/+29
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 Timoney4-31/+38
2019-04-24Merge "UT for execution service"Dan Timoney2-0/+178
2019-04-24Rework remote command argumentsBrinda Santh4-31/+38
Change-Id: Ibd24ce87ed67aee6ae1a66fc9ec6af35bee5008a Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-24Merge "SDC Listner Docker touchup"Dan Timoney35-346/+712
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-23SDC Listner Docker touchupOleg Mitsura35-346/+712
1.Reworked Dockerization of SDC Listener to follow application/distribution+parent style; 2.Renamed CDS-SDClistener to just SDCListener Issue-ID: CCSDK-1145 Change-Id: I007373d3a48fb8eb7042150bdbb37fc7fec346b3 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-23Support for dynamic property in command argsAlexis de Talhouët2-4/+10
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ët1-5/+11
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ët5-34/+28
- 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>