aboutsummaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/modules
AgeCommit message (Collapse)AuthorFilesLines
2019-06-06Fixing restconf_client.py script0.4.5dublinottero14-14/+14
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-28Roll to next snapshotTimoney, Dan (dt5972)14-14/+14
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 Mitsura2-137/+119
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-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)14-14/+14
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-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-25Update to use released 1.2.2 parentTimoney, Dan (dt5972)1-5/+2
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ët3-3/+12
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 Timoney1-4/+5
2019-04-24Merge "UT for execution service"Dan Timoney2-0/+178
2019-04-24Rework remote command argumentsBrinda Santh1-4/+5
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-22Update package type nameAlexis de Talhouët1-1/+1
- 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-18Add support for Ansible packagesAlexis de Talhouët2-16/+15
- 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-16Integration Test - Component ExecutorAlexis de Talhouët1-17/+10
Change-Id: Icbe745b30c7bbb973bc9bb29bf547340b32f1b0f Issue-ID: CCSDK-1164 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-16Add grpc execution serviceBrinda Santh10-7/+341
Change-Id: Icfbd9cef8775f2f72329ec726309d14377b9188a Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-16Add grpc property serviceBrinda Santh7-0/+259
Change-Id: Ifa1975235433ef3e84b0ed1261375108809946f4 Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-16Add remote python executorBrinda Santh2-0/+72
Change-Id: I288e182847f250c8e26e9bc10b8f3124afc2f583 Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.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-09Jinja template for Blueprint template serviceSteve Siani1-3/+2
Change-Id: Iec777e4500c2a040faccc8375b1d2dd24c27cb7f Issue-ID: CCSDK-1193 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-04Merge "Improve step data access."Dan Timoney4-39/+35
2019-04-04Improve step data access.Muthuramalingam, Brinda Santh4-39/+35
Change-Id: I3917905b1e38cebcb26e4422784a5553e2dbac9f Issue-ID: CCSDK-1127 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-04-03BluePrintManagmentGRPC handler should send failure message back to the client.prathamesh morde1-2/+2
-Added StreamObserver.onError so the client would be aware of failure if any. Change-Id: Iecd019ef4ff4b4b4c522e0eb6e242770afdcdfcd Issue-ID: CCSDK-1197 Signed-off-by: prathamesh morde <prathamesh.morde@bell.ca>
2019-04-02Fix: Complementary JUnit tests in BlueprintProcessorSteve Siani1-7/+3
Change-Id: I4fdad443f46e674d7cf61604105c7797e2889e11 Issue-ID: CCSDK-1187 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-02Merge "Complementary Junit test coverage"Dan Timoney9-16/+294
2019-04-02Merge "Handle expection in REST handler"Dan Timoney3-24/+26
2019-04-02Handle expection in REST handlerAlexis de Talhouët3-24/+26
Change-Id: Iacd46791b276266e19898b187d1ffbe8afa9156c Issue-ID: CCSDK-1120 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-02Updating Rest code for AAI resolutionjanani b12-181/+825
This commit includes, i) Updated the SSL based rest connection for different auth support ii) Checked the co-routines based rest connection Issue-ID: CCSDK-692 Change-Id: Ic2fe5e5292c9190670d2a573598d78e94f59efb0 Signed-off-by: janani b <janani.b@huawei.com>
2019-04-01Complementary Junit test coverageSteve Siani9-16/+294
Change-Id: I5eec76918c63d1fa248a9fc353f8dc02ae925364 Issue-ID: CCSDK-1187 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-01Improve save and delete cbaMuthuramalingam, Brinda Santh3-16/+47
Change-Id: I1dbfb6d8155e5a58663d7061de468c6d70bb29df Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-04-01Improve function interfacesMuthuramalingam, Brinda Santh9-28/+157
Change-Id: I24f45d39ac05491a4217101e00bcbf8d122e4e1a Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-29Fix logging dependency conflictAlexis de Talhouët1-2/+2
- use spring logging framework - get rid of EELF - do not get sl4fj transitivly Change-Id: I1d47749b53dca2f3a815a2d9898b7a0388725655 Issue-ID: SDNC-710 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Signed-off-by: prathamesh morde <prathamesh.morde@bell.ca>
2019-03-29Merge "Add Restconf Kotlin script sample"Dan Timoney3-3/+3
2019-03-29Merge "Improve Rest Service API"Dan Timoney1-3/+136
2019-03-29Merge "Improve blueprint save"Dan Timoney10-144/+249
2019-03-27Merge "Update starter-type"Dan Timoney3-1/+1
2019-03-27Add Restconf Kotlin script sampleMuthuramalingam, Brinda Santh3-3/+3
Change-Id: Ia6196c7e45b1f3d8a3598f858f0d8380a3463ae9 Issue-ID: CCSDK-1080 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-27Improve Rest Service APIMuthuramalingam, Brinda Santh1-3/+136
Change-Id: I4addb046f5e20f36f0c5d810bc547b02a70d4c17 Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-27Improve blueprint saveMuthuramalingam, Brinda Santh10-144/+249
Change-Id: Ibac2ef9cd7e217db809a6a695ea0ee39a6bd2e21 Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-27Update starter-typeAlexis de Talhouët3-1/+1
Change-Id: Ib9ed9aaa75896ad7870778420cd09e997dbbf592 Issue-ID: CCSDK-1181 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-26Implementing the requested improvementsottero4-14/+1
Addressing comments done in https://gerrit.onap.org/r/#/c/82315/ and in the subsequent CDS weekly call. (Resubmitting patch done on previous repo, https://gerrit.onap.org/r/#/c/83063/) Change-Id: I6f948dedf972c33ea6fe0f65884f23cd48adcfba Issue-ID: CCSDK-926 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-25Add workflow output processingMuthuramalingam, Brinda Santh8-63/+96
Change-Id: Ie1ff465e7fba07bc5280166275a9109fbdded379 Issue-ID: CCSDK-1175 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-25Migrate ccsdk/apps to ccsdk/cdsAlexis de Talhouët93-535/+535
Issue-ID: CCSDK-1177 Issue-ID: CCSDK-1178 Change-Id: I0c02702fbec52211ca367abbba72aebecee8cbaa Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>