summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/modules
AgeCommit message (Collapse)AuthorFilesLines
2019-08-06Roll version to recreate release artifactsTimoney, Dan (dt5972)6-6/+6
Roll versions to 0.5.1 - need to re-release El Alto early release Change-Id: Ifc0d4af8920065ca4ae8f509c63f98dc6e112322 Issue-ID: CCSDK-1563 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-01Add remote python executor DSL propertiesBrinda Santh1-1/+1
Change-Id: I7888ac302da2a51ca34c531b7553d04af13786ac Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-31Fix compiler cache to hold for next transaction.Brinda Santh3-6/+13
Change-Id: Ibede4a378980717d49708f7665ab295534a092a0 Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-31Fix conflicting catalog service instance names.Brinda Santh5-13/+11
Change-Id: Iec330d87f9609d42c05f8d4c7c8515fa37310a6e Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-30Add missing implementation and Operation Type.Brinda Santh3-30/+154
Change-Id: I739ad054fafc0c302fb6ad03999561f2b3cf9652 Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-26Upgrade cds spring and kotlin versions.Brinda Santh1-12/+10
Change-Id: I0f323bd13c433d9ef0e207f51234d10cd8c22858 Issue-ID: CCSDK-1352 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-24Fix attribute validation for complex type.Brinda Santh4-4/+35
Change-Id: I7a3365c4c26fd44ed0b54bff115b64c52ee7b81e Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-24Fix missing capability cli models.Brinda Santh2-20/+19
Change-Id: Id5ad2f75cf27b7c09dc95a028997847098cd3d2e Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
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-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 Muthuramalingam1-8/+5
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 Timoney15-81/+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 Oliveira1-8/+5
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 Santh15-81/+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 Siani2-0/+18
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 Siani2-14/+14
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