aboutsummaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/functions/resource-resolution/src
AgeCommit message (Collapse)AuthorFilesLines
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-21BlueprintWebClientService: added return statusOleg Mitsura3-15/+22
Issue-ID: CCSDK-1331 Change-Id: I8dab8ad4eaebf1863f11c4d38c52cf7f64b0a4d5 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> (cherry picked from commit 9eb8b8a88bfac860a94b62b203b00c64330a1be7)
2019-04-15AAI Junit test and Blueprint support configsSteve Siani8-18/+420
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-22/+25
Change-Id: Iec777e4500c2a040faccc8375b1d2dd24c27cb7f Issue-ID: CCSDK-1193 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-04Improve data type handlingMuthuramalingam, Brinda Santh3-61/+88
Change-Id: I5ebcfcecdf1781e30be1ca929b4bf9e1526691a3 Issue-ID: CCSDK-1127 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-04-04Improve step data access.Muthuramalingam, Brinda Santh9-74/+101
Change-Id: I3917905b1e38cebcb26e4422784a5553e2dbac9f Issue-ID: CCSDK-1127 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-04-02Fix: Complementary JUnit tests in BlueprintProcessorSteve Siani1-25/+26
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/+393
2019-04-01Complementary Junit test coverageSteve Siani9-16/+393
Change-Id: I5eec76918c63d1fa248a9fc353f8dc02ae925364 Issue-ID: CCSDK-1187 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-01Improve bulk processingMuthuramalingam, Brinda Santh4-84/+98
Change-Id: Ia8bd447563072284aa71e00eab0ef9b93e1776b1 Issue-ID: CCSDK-1127 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-04-01Improve function interfacesMuthuramalingam, Brinda Santh11-99/+162
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-3/+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-27Add Restconf Kotlin script sampleMuthuramalingam, Brinda Santh1-0/+36
Change-Id: Ia6196c7e45b1f3d8a3598f858f0d8380a3463ae9 Issue-ID: CCSDK-1080 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-25Migrate ccsdk/apps to ccsdk/cdsAlexis de Talhouët21-223/+223
Issue-ID: CCSDK-1177 Issue-ID: CCSDK-1178 Change-Id: I0c02702fbec52211ca367abbba72aebecee8cbaa Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-18Ressource resolution using configurable databasevinal patel3-55/+64
Change-Id: I40338a221884d6f4df4c8a7dc3dac1f58f142074 Issue-ID: CCSDK-1092 Signed-off-by: vinal patel <vinal.narendrabhai.patel@ibm.com>
2019-03-18Propagate exceptions correctlyAlexis de Talhouët8-5/+22
Change-Id: Idaf66eeaa6e57d27c576099fd6ffdeb8b6d8d6c6 Issue-ID: CCSDK-1120 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-13Improve RA capability processor.Muthuramalingam, Brinda Santh5-154/+81
Change-Id: I44a8157c9e2a27b49aa8af00a857ebc7b3e845c3 Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-12Empty MissingNode from input during RRAlexis de Talhouët4-23/+24
Change-Id: Ib09e5403b17d62d61272e64a6c990de42b1aa58f Issue-ID: CCSDK-1137 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-11Mesh input-key-mapping using velocityAlexis de Talhouët3-45/+37
Change-Id: Ic7190c86fc4e3f66fe7223c1c3575279c2c1d105 Issue-ID: CCSDK-1131 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-11Enhance / fix REST resource resolutionAlexis de Talhouët4-23/+58
- provide sync web client - add support for VERB - add support for payload - fix URI resolution from input-key-mapping Change-Id: Id4f1973a15778ad4f2ab0f7e2a4b2c61054a234d Issue-ID: CCSDK-1131 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-11Add blueprint runtime validatorMuthuramalingam, Brinda Santh8-63/+78
Change-Id: I9e2aa1aec392fc4191d547115fa90e8811f0f9e9 Issue-ID: CCSDK-1110 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-07Add support for resource-resolution storageAlexis de Talhouët7-253/+454
Change-Id: I0113191075804f6b77ce54c741bf0a1ccd356c77 Issue-ID: CCSDK-338 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-06Merge "Ressource resolution using configurable database"Dan Timoney6-55/+51
2019-03-06Ressource resolution using configurable databasevinal patel7-60/+53
Change-Id: I8589e4db45ba3d5bcb906f25bcc76b5136159608 Issue-ID: CCSDK-1092 Signed-off-by: vinal patel <vinal.narendrabhai.patel@ibm.com>
2019-03-06Resource resolution using RESTvinal patel1-6/+3
-bug fix Change-Id: I47c9b3738bbca84e1d3a734e16c4ea6ae7e93a23 Issue-ID: CCSDK-1131 Signed-off-by: vinal patel <vinal.narendrabhai.patel@ibm.com>
2019-03-04Fix Default and DB sources for RAAlexis de Talhouët2-29/+51
Change-Id: I1f1ce8133ccf5ae41eb3d10955888f88b0801273 Issue-ID: CCSDK-1116 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-04Use protobuf JsonFormatAlexis de Talhouët1-3/+9
Instead of manually parsing Struct to ObjectNode, uses JsonFormat Change-Id: I5a457f10e3d106f189f9636fbcc166b12e3915fd Issue-ID: CCSDK-947 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-01Get DSL Property in Resource ResolutionMuthuramalingam, Brinda Santh13-75/+149
Change-Id: I768c2515bc4b0eaa829213ac4d045628ca960adb Issue-ID: CCSDK-1106 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-02-20Add component function scripting serviceMuthuramalingam, Brinda Santh5-60/+62
Change-Id: I7c5b49617823dd623566fb4be4d431012420e17c Issue-ID: CCSDK-959 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-02-17restconf resolution serviceMuthuramalingam, Brinda Santh3-36/+54
Change-Id: I643430d8c7fb8a29f5333297a2ca022082481dc2 Issue-ID: CCSDK-1086 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-02-15Merge "Python library for Jython execution"Dan Timoney3-20/+8
2019-02-15Python library for Jython executionSteve Alphonse Siani3-20/+8
Change-Id: Iee2701b4dade7207950f17c92ea1265c361cf803 Issue-ID: CCSDK-696 Signed-off-by: Steve Alphonse Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-02-15Resource resolution with prime-dbVinal Patel1-1/+2
-Bug fix Change-Id: Ie078fc9d5db36edb9d6640e5158709f6a3ce1ae5 Issue-ID: CCSDK-1082 Signed-off-by: Vinal Patel <vinal.narendrabhai.patel@ibm.com>
2019-02-12Add netconf script component functionMuthuramalingam, Brinda Santh2-5/+5
Change-Id: I094025fba5626bae0b4b13320f1cbbb76cda3bfd Issue-ID: CCSDK-790 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-02-12Fixes: manual integration test of CDSAlexis de Talhouët3-13/+8
- support to overwrite cba - fix map to json - finish meshing - fix python context not having the bluePrintRuntimeService injected - load all properties in the properties store Issue-ID: CCSDK-414 Change-Id: I6b65201529d0ffd9c3e18023a33e0081236b01de Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-12Jython execution component and serviceSteve Alphonse Siani7-9/+157
Change-Id: I2610e73a9c7ba073b5fa9d148dcd6fb5b9ad9ae3 Issue-ID: CCSDK-696 Signed-off-by: Steve Alphonse Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-02-08Refactor test blueprint catalogMuthuramalingam, Brinda Santh3-3/+3
Change-Id: I948067b25787c7a79f769ac4055c34ffdd2f172d Issue-ID: CCSDK-1047 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-02-04blueprint scripting servicesMuthuramalingam, Brinda Santh4-13/+138
Change-Id: I834b83e0c2716eceadeec8a5f17a7604e938166a Issue-ID: CCSDK-941 Signed-off-by: Muthuramalingam, Brinda Santh <bs2796@att.com>
2019-01-29Resource Resolution Service: Rest and DBSingal, Kapil (ks220y)3-3/+3
Emhancement to Primary-Data and Rest Resource Assignment Processor and respective services Change-Id: I9cc125f9e6396d9c26f72ebd05d2f0422a301f1c Issue-ID: CCSDK-699 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-01-20Resource Resolution Service: Source RestSingal, Kapil (ks220y)2-7/+129
Complex Data Processing for Primary-Config-Data DataSource Resource Resolution Service Change-Id: I62492b5c4e3c0b831f9027df5d42c6b80186debc Issue-ID: CCSDK-674 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-01-20Resource Resolution Service: Source Primary-DBSingal, Kapil (ks220y)1-44/+43
Complex Data Processing for Primary-DB DataSource Resource Resolution Service Change-Id: Icef1332ebd0e747e422e6ea1d24cb8f63f02565c Issue-ID: CCSDK-673 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-01-18Resource Resolution Service: Source DefaultSingal, Kapil (ks220y)1-3/+29
Complex Data Processing for Default DataSource Resource Resolution Service Change-Id: Idc2007695cb65e76e128d7abd75bdbfd37138be6 Issue-ID: CCSDK-676 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-01-17Resource Resolution Service: Source InputSingal, Kapil (ks220y)2-2/+11
Complex Data Processing for Input Data Resource Resolution Service Change-Id: I7940ac1023c67b0ed13f103de9e04cfb8c7a3f9d Issue-ID: CCSDK-675 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-01-17Resource Resolution Service: Primary DBSingal, Kapil (ks220y)5-13/+189
Adding Primary-DB Resource Resolution Processor Service to resolve Resources of source primary-db Change-Id: I156f7958b681e51b7c3bfdee92b6fbd196591e73 Issue-ID: CCSDK-942 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-01-17Resource Resolution ServiceSingal, Kapil (ks220y)6-58/+267
Enhancement to the Resource Resolution Service to add ResourceResolutionRunTimeService Change-Id: Ia0799447e8a71e7455c5a18abc08dce503db6d35 Issue-ID: CCSDK-958 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-01-16Merge "Add blueprint Kotlin script support."Dan Timoney2-0/+46
2019-01-14Add blueprint Kotlin script support.Muthuramalingam, Brinda Santh2-0/+46
Change-Id: I92b8e9850ea07c7f671e7aada9770713854534c3 Issue-ID: CCSDK-941 Signed-off-by: Muthuramalingam, Brinda Santh <bs2796@att.com>
2019-01-11Resource Resolution Service : 2Singal, Kapil (ks220y)11-175/+18
Changes for Primary-DB Resource Resolution Processor Service Change-Id: Iaf6ad6277d36787d87881819ae530de1d7038a2e Issue-ID: CCSDK-942 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-01-11Resource Resoulution ServiceSingal, Kapil (ks220y)5-2/+214
Implement Input Resource Resolution Processor Service along with Resource Resolution Utilities Change-Id: Ibb4899e415f4b79cd6cd1b190b0f4969b09c3fe4 Issue-ID: CCSDK-936 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-01-10Add Java Capability resource assignment processorMuthuramalingam, Brinda Santh12-99/+265
Change-Id: I21cea850d8fbe1c9f0a01fdc72f7147a2827ae03 Issue-ID: CCSDK-665 Signed-off-by: Muthuramalingam, Brinda Santh <bs2796@att.com>