summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints
AgeCommit message (Collapse)AuthorFilesLines
2019-07-23Clean restconf duplicate models and Implementation.Brinda Santh5-1/+98
Change-Id: Id439ac5ded631aac0ee7fc69846ebe9bca650bb2 Issue-ID: CCSDK-1499 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-23Refactor Netconf script component parent.Brinda Santh4-10/+47
Change-Id: Ibbec8cd5785372a89e14a86d4e6ff7f9fed4aad2 Issue-ID: CCSDK-1499 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com> Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-07-23Merge "Improve service template access through cache."Dan Timoney8-16/+201
2019-07-23Merge "Improve script file accessing through cache."Dan Timoney17-264/+301
2019-07-19Improve service template access through cache.Brinda Santh8-16/+201
Change-Id: Ibcff2a27f338c6fd019545dac5457943eff4b024 Issue-ID: CCSDK-1503 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-19Improve script file accessing through cache.Brinda Santh17-264/+301
Change-Id: If94e837975701dc7b2235c38acb46b3b883a424b Issue-ID: CCSDK-1503 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-18Resolve Attribute and properties fails with subPropertyNameSteve Siani7-20/+36
Issue-ID: CCSDK-1489 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: If27c0dd301f2c0e63cecc662cd89b1a72d1b21f1
2019-07-18Merge "Fix missing constrains definitions."Dan Timoney5-56/+224
2019-07-17Added npmVersion to install NPMTimoney, Dan (dt5972)1-2/+1
To install local copy of npm, needed to make 2 changes to frontend-maven-plugin configuration: 1) Add tag <npmVersion>6.4.1</npmVersion> 2) Removed tag <npmDownloadRoot> Confirmed in local build that those changes result in npm being installed in local 'node' directory (which it was not before these changes). Also, changed parent version to 1.3.1-SNAPSHOT - this will be needed to prevent builds from breaking when new SAN certs are installed for ONAP gerrit. Change-Id: I576d8737eccfaa3024a36608edc1102535a55d26 Issue-ID: CCSDK-1491 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-17Merge "Remove application filter for controller blueprint"Brinda Santh Muthuramalingam1-98/+0
2019-07-17Remove application filter for controller blueprintAlexis de Talhouët1-98/+0
This is not used, nor needed for the broader ONAP scope. Change-Id: Id6ddc92145e944890aed413fccc20bc6fc0fd956 Issue-ID: CCSDK-1492 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-07-16Fix typo in logAlexis de Talhouët1-1/+1
Change-Id: I50799d9ba80002971c4149c80621fea98fa9184b Issue-ID: CCSDK-1493 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-07-16Merge "Python executor parameters sorted again."Brinda Santh Muthuramalingam1-1/+1
2019-07-16Merge "Fixed bugs/vulnerabilities reported by SonarQube"Brinda Santh Muthuramalingam2-9/+6
2019-07-15Fix missing constrains definitions.Brinda Santh5-56/+224
Change-Id: I1d60b1a24a5876f47af3a7b9936a48187bbf2d16 Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-15Merge "Refractor blueprint-script to avoid cyclic dependency. There is a ↵Dan Timoney16-86/+36
possibility of cyclic dependencies between blueprint-script module and code module. To avoid cyclic dependency blueprint-script implementation should be moved to Core module. This implementation has zero impact on code functionality and code testing."
2019-07-13Fixed bugs/vulnerabilities reported by SonarQubeEliezio Oliveira2-9/+6
Change-Id: Idc4be0d050d27fd419915210167b044b90fa2f0a Issue-ID: CCSDK-1483 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-10Bug fixes request input default valueBrinda Santh2-85/+100
Change-Id: I16afd71c2c35b7f270577ea784a9173ea3e0d604 Issue-ID: CCSDK-1357 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-10Refractor blueprint-script to avoid cyclic dependency.Brinda Santh16-86/+36
There is a possibility of cyclic dependencies between blueprint-script module and code module. To avoid cyclic dependency blueprint-script implementation should be moved to Core module. This implementation has zero impact on code functionality and code testing. Change-Id: Ic18ea848cb2e1e2e7a5f1c144714de26d1495cee Issue-ID: CCSDK-1469 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-10Python executor parameters sorted again.Oleg Mitsura1-1/+1
Issue-ID: CCSDK-1468 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: If8eb50fc2e8dfa084e486b02ace163eee1bfac77
2019-07-09SLF4J conflict: exclude logging in where it is redundantSteve Siani4-0/+30
Issue-ID: CCSDK-1461 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I25521090a2ab8e5b9d7a9edef3178ba83b463657
2019-07-09Velocity template engine implement a separate instanceSteve Siani3-16/+17
Issue-ID: CCSDK-1457 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I8fd9918df5e03e1f7c0cdcf4bc63ddc5846195b8
2019-07-04Refactor resolution controllersAlexis de Talhouët1-0/+5
tempalte and resources for get/put API Change-Id: Ia00bdb08f5f52231481edc6de232f850c66874e9 Issue-ID: CCSDK-1423 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-25Refractor blueprint script dependencyBrinda Santh2-4/+75
Change-Id: I2e6b4dd278c1a4a3069a44f648129599365909d4 Issue-ID: CCSDK-1428 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-06-25Merge "DSL to service template generator"Dan Timoney7-48/+482
2019-06-25Merge "Store resolution and expose with REST API"Dan Timoney1-6/+8
2019-06-25Merge "Allow multiple resolution for same node template"Dan Timoney2-91/+97
2019-06-25DSL to service template generatorBrinda Santh7-48/+482
Change-Id: I179bb3bf83d6c1688a13dce965a3d4388f011fcd Issue-ID: CCSDK-1421 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-06-25Store resolution and expose with REST APIAlexis de Talhouët1-6/+8
Change-Id: Ie1fe9c02542ccd5fbfa18f1e2d6ddb633f55c214 Issue-ID: CCSDK-1423 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-25Allow multiple resolution for same node templateAlexis de Talhouët2-91/+97
- also fixing default mechanism - fixes rest resolution when NullNode is returned as input value - fixes rest resolution when data type specified so raw json isn't returned, only the parsed json based on the data type Change-Id: I1f4a35c6c97000b52620c9b0cc911f15016c4e80 Issue-ID: CCSDK-1422 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-25Add blueprint domain DSLBrinda Santh9-26/+508
Change-Id: Id9f64605fa74f54d43af55357a521cf347fa8677 Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-06-21Add Jinja2 custom ResourceLocatorAlexis de Talhouët9-142/+92
This will allow to include template within template to create template hierarchy Change-Id: I21c5deaf51d391e1a51b9863a905c26b1891db16 Issue-ID: CCSDK-1417 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-18Fix wrong mapping of json to mapAlexis de Talhouët1-7/+9
This is causing jinja2 template rendering to be missing the nested element under a complex type within the json string. Change-Id: I607ee5ed8579a461a29b991e2bc77857048755d1 Issue-ID: CCSDK-1414 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-18Merge "Add service template types DSL"Dan Timoney7-72/+427
2019-06-18Merge "Add service template assignments DSL"Dan Timoney6-2/+793
2019-06-13Various bug fixes encountered during remote ansible executor development.Serge Simard2-2/+5
- 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-05Add service template types DSLBrinda Santh7-72/+427
Change-Id: I24684a6987150a02334b2b1b026893b240eb17a9 Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-06-04Add service template assignments DSLBrinda Santh6-2/+793
Change-Id: I6159874ef2c1cf12232f432338b4540154ec7c64 Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-06-03Improved error handling for remote ansible executor.Serge Simard1-1/+1
- 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-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 Timoney1-13/+33
2019-05-28Returning null for unresolved variablesottero4-1/+40
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 Siani1-13/+33
Issue-ID: CCSDK-1324 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I21705485de9a11a65c1e032fc121c89917334104
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 Santh8-54/+100
Change-Id: Ieab385f5e4ae60cca3d86f22c4304e4867e6fa96 Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-23Add cli executor optionsBrinda Santh1-0/+4
Change-Id: I55abe099997bad1666b762b7f8355b084f691001 Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-15Fix: Enrichment fails for processor-db sourceSteve Siani24-23/+26
Change-Id: I7a426323dc22cb19a1c3eb77f7f4f30cf7da32e0 Issue-ID: CCSDK-1324 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@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>
2019-04-30Roll master to El AltoTimoney, Dan (dt5972)11-12/+12
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-25Update to use released 1.2.2 parentTimoney, Dan (dt5972)2-4/+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>