aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-06-18Added test.ts fileArundathi Patil1-0/+41
Added test.ts file required to run the unit test cases. Acts as entry point. Issue-ID: CCSDK-1411 Change-Id: I96d18f49f23d7ec192e415ee7941b371c1f6d624 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-06-13Various bug fixes encountered during remote ansible executor development.Serge Simard6-6/+14
- Upload CBA sometimes failed because Property files were left opened. - Default value were ignored on datatype elements. - Various erroneous error messages - Fixed job template lookup by name encoding when name contains blanks. Issue-ID: CCSDK-1357 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: If9d4b0339d647e6c99121f5464a1b6da787761a0 Signed-off-by: Serge Simard <serge@agilitae.com>
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-03Merge "Improved error handling for remote ansible executor. - Aligned ↵Dan Timoney3-18/+28
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."
2019-06-03Merge "Correction in Image references and CBA structure Issue-ID: CCSDK-1359"Dan Timoney4-134/+157
2019-06-03Merge "add SDNC MD-SAL Restconf URL settings"Dan Timoney1-1/+15
2019-06-03Improved error handling for remote ansible executor.Serge Simard3-18/+28
- 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-06-02add SDNC MD-SAL Restconf URL settingsAbdelmuhaimen Seaudi1-1/+15
Issue-ID: CCSDK-1376 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I2817e6282e982f07d60169b99adf4cb1c07d2541
2019-05-31Merge "Add logger to the server"Dan Timoney7-8/+41
2019-05-31Correction in Image references and CBA structureandreasgeissler4-134/+157
Issue-ID: CCSDK-1359 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: Iaea5733274bc78609ae2dd3ba04e456824de105d
2019-05-30Merge "Remote AWX ansible playbook executor"Dan Timoney19-0/+998
2019-05-30Add logger to the serverRami7-8/+41
- add logger with interceptor for requests Change-Id: Iecb6b6e51c28aadcc4eec3bb69dc38f4e0e346c5 Issue-ID: CCSDK-1295 Signed-off-by: Rami <rmohamed.ext@orange.com>
2019-05-29Merge "CCSDK-1308- Files sorting"Dan Timoney4-3/+66
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 Timoney63-440/+2203
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 Siani63-440/+2203
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 Simard19-0/+998
Issue-ID: CCSDK-1357 Change-Id: I794ce5450b341606829a1a37d9efed48abab32cc Signed-off-by: Serge Simard <serge@agilitae.com>
2019-05-27CCSDK-1308- Files sortingArundathi Patil4-3/+66
Files are now sorted in ascending order Issue-ID: CCSDK-1308 Change-Id: I4143a132a946815363f1c80b6ab37b6590ee242c Signed-off-by: Arundathi Patil <arundpil@in.ibm.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 Santh18-83/+328
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 modelsBrinda Santh3-23/+178
Change-Id: I611de175a265ea27dcb64fa08c33de5eb2dbffb6 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-21Fixed defect CCSDK-1339Arundathi Patil4-5/+40
Fixed defect ccsdk-1339 Issue-ID: CCSDK-1339 Change-Id: Iabf12c0c7430cda9a259d1917f344d58c432bd05 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-05-16Merge "BlueprintWebClientService: added return status"Dan Timoney5-152/+141
2019-05-16Merge "Fix: Enrichment fails for processor-db source"Dan Timoney31-84/+40
2019-05-16Merge "Bugfix: Blueprints Processor always return 200 OK"Dan Timoney5-9/+88
2019-05-16Merge "Resource dictionary- updated license text"Dan Timoney10-0/+20
2019-05-16Merge "Resource dictionary- updated license text"Dan Timoney10-0/+20
2019-05-16Merge "Resource dictionary- updated license text"Dan Timoney10-0/+20
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 Siani31-84/+40
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-13Merge "Resource dictionary- updated license text"Dan Timoney10-0/+20
2019-05-13Merge "Fixed defect CCSDK-1326"Dan Timoney4-5/+15
2019-05-13Merge "Modify CDS-UI server to allow communicating with external blueprint mS"Dan Timoney16-70/+89
2019-05-13Fixed defect CCSDK-1326Arundathi Patil4-5/+15
fixed defect ccsdk-1326 Issue-ID; CCSDK-1326 Change-Id: Ibfc6d6df0fa47569e326fd9e61227e08c36aa0c2 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-05-11Merge "Fixed the parsing path for CBA archive"Dan Timoney8-39/+95
2019-05-11Merge "Fixed defect CCSDK-1299"Dan Timoney1-0/+1
2019-05-11Merge "UT for Blueprint core"Dan Timoney3-2/+715
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-09Fixed defect CCSDK-1299Arundathi Patil1-0/+1
fixed defect ccsdk-1299 Issue-ID: CCSDK-1299 Change-Id: Ie0e02564cbf62fdc8314086d70bc3b7b38122323 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
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>