summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor
AgeCommit message (Collapse)AuthorFilesLines
2019-08-26Fix sonar buildTimoney, Dan (dt5972)1-0/+4
Set sonar.skip to true in empty module designer-api Change-Id: I9330fb7c8b8adfc53a2284e907cb02376a3640dd Issue-ID: CCSDK-1655 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-23Prevent obscure NPE when mocks aren't properly configuredebo1-2/+4
Change-Id: Ibccc712e9ff6b022a55b1ffaaf284d203c8b0dfb Issue-ID: CCSDK-1638 Signed-off-by: ebo <eliezio.oliveira@est.tech>
2019-08-22Merge "CCSDK-1637: Fix DGWorkflowExecutionServiceTest fail if run 1st"Dan Timoney1-0/+12
2019-08-22Merge "Component node timeout implementation"Dan Timoney4-26/+73
2019-08-22CCSDK-1637: Fix DGWorkflowExecutionServiceTest fail if run 1stebo1-0/+12
The failure depends on the ordering of the test classes, which in turn depends on the file system ordering (Surefire plugin's default. See https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#runOrder) This class is sharing the same SB context configuration of the BlueprintServiceLogicTest, but the later manually changes the global BluePrintDependencyService. It was fixed by repeating the same change on the DGWorkflowExecutionServiceTest. Change-Id: I6f76948a766f8d56446a987cb61a781dc0d3f501 Issue-ID: CCSDK-1637 Signed-off-by: ebo <eliezio.oliveira@est.tech>
2019-08-16Component node timeout implementationBrinda Santh4-26/+73
Change-Id: I99fc9efba76595693d95772e409f0f982aeae9b1 Issue-ID: CCSDK-1619 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-16Add support for AWX workflow_job_template execution to Remote Ansible Executor.Serge Simard1-36/+77
Issue-ID: CCSDK-1357 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: Id0014834f528a437d26127aa9fe1da4a8316bf22
2019-08-16Modify workflow execution service options.Brinda Santh5-99/+145
Change-Id: I629b30f9ff2b8e84d6ae952946608d9bb3437d4c Issue-ID: CCSDK-1619 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-16Add Imperative workflow execution service.Brinda Santh8-7/+311
Workflow implementation based on multiple steps in blueprint model. Change-Id: I21eaf5d08621ae6eac2fa0a5db2aca0291928d52 Issue-ID: CCSDK-1619 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-16Merge "Modify workflow execution service options."Dan Timoney5-99/+145
2019-08-16Merge "Add Imperative workflow execution service."Dan Timoney8-7/+311
2019-08-16Fixed validation of resource-assignment-params.config-assignebo6-89/+273
- In order to preserve the validation of the whole BPP response, I added a normalization step that will convert any non-JSON part of the response into a JSON-equivalent representation. This normalization is carried out by the JSLT library that provides many JSON manipulations using a JSON-like specification. See https://github.com/schibsted/jslt for more details. - Fix UAT not being run by maven The Surefire plugin does accept '*Tests.java' but DOESN'T '*Tests.kt'! The UAT test class was renamed to use the 'Test' suffix only. - Improved maintainability of UAT-Engine by switching from explicitly field handling to POJO-based parsing using Jackson along with SnakeYaml. UAT-related POJOs created on new module UatDefinition.kt - Added a Protobuf-like description of an UAT YAML document. Change-Id: Id1178489caa4e97808747a99bc9324fc84e9b96e Issue-ID: CCSDK-1620 Signed-off-by: ebo <eliezio.oliveira@est.tech>
2019-08-15Merge "application-dev.properties missing python modules paths resulting in ↵Dan Timoney1-1/+5
failure to execute Jython netconf calls."
2019-08-15Update to NeonTimoney, Dan (dt5972)31-36/+36
Update to neon versions Change-Id: I095b46cefa264006bea5722b952c789374870370 Issue-ID: CCSDK-1389 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-15application-dev.properties missing python modulesOleg Mitsura1-1/+5
paths resulting in failure to execute Jython netconf calls. Issue-Id: CCSDK-1622 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I9c255e2c5ca8dca85f3b2fbd34c4c823c6f6bf69
2019-08-14Fixes logs not showing up.Oleg Mitsura1-1/+0
Issue-Id: CCSDK-1621 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I4c24ee7ae04d30c4284520afa385339ed478cb98
2019-08-13Merge "Resource Configuration Snapshots Executor and API"Brinda Santh Muthuramalingam26-3/+1775
2019-08-13Resource Configuration Snapshots Executor and APISerge Simard26-3/+1775
Issue-ID: CCSDK-1604 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: I349c649e941431b48a309123489d26fb22e0e50a Signed-off-by: Serge Simard <serge@agilitae.com>
2019-08-12Handle all Data Type and DD with complex typeSteve Siani4-105/+99
Issue-ID: CCSDK-1611 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I6bb9878ab4fea7024125fa4ce6293bfb8faee316
2019-08-12Merge "Resource resolution should return a string"Dan Timoney1-4/+4
2019-08-12Resource resolution should return a stringAlexis de Talhouët1-4/+4
When being called by SDNC, expected response format is a String, not a Json, then within SDNC we call jsonToTCtx by passing the String as input. When we receive the Json instead of a string, that function throw an exception because it expects a String. Also, SDNC marshall directly within the SLI context the Json object, but the path isn't the one being looked for. Finally, resource resolution, by its definition, as per as its model, should set the returned value as a string, not a json. Change-Id: Iffae3128507069c2546e179c17e50fb16e43f310 Issue-ID: CCSDK-1606 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-08-09Add Json unit diff option.Brinda Santh1-0/+11
Change-Id: Icfdef05e40b0638afc8570962bdc750aee1acc25 Issue-ID: CCSDK-1608 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Add class model for workflow and resource data type.Brinda Santh3-0/+15
Change-Id: Ia42f56541bef0418dddb797c019ecda3afa6983b Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Add resource definition resolution service.Brinda Santh14-176/+365
Change-Id: Ife75d290540e3ed0e0dfd0a82785a498607a2d25 Issue-ID: CCSDK-1577 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Merge "Add declarative acceptance tests"Dan Timoney10-18/+525
2019-08-09Merge "Fix occurrence really optional"Dan Timoney1-1/+1
2019-08-09Merge "Set resource data value when fetch from database"Dan Timoney1-3/+7
2019-08-09Merge "Default resolution status when storing result"Dan Timoney1-1/+1
2019-08-09Add resource assignment DSL.Brinda Santh2-11/+126
Change-Id: I44a3596c05b02faa171f90b9207f774ce34976a6 Issue-ID: CCSDK-1577 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Add resource definition DSL.Brinda Santh2-0/+172
Change-Id: I66d340727918842a26f07e8609a043c37e5089f4 Issue-ID: CCSDK-1577 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Add resource source template DSL.Brinda Santh5-139/+407
Change-Id: If68ce2e944700cb19380d34ff3b466a9c8633472 Issue-ID: CCSDK-1577 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Add property definition type DSL.Brinda Santh6-18/+20
Change-Id: I83a3d1391c60cd426236b55d0d399e273e7c15dc Issue-ID: CCSDK-1577 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Add resource source node type DSL definitions.Brinda Santh2-0/+200
Change-Id: If21c4964bda08e5d50e6fd11fb1d657e5bf8785c Issue-ID: CCSDK-1577 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Set resource data value when fetch from databaseAlexis de Talhouët1-3/+7
When doing resource resolution, if the same resolution-key, or the same resource-id/resource-type combo, is used, then the process will only try to resolve the resources set with a "failure" status from the RESOURCE_RESOLUTION db table. In the case the resource has previsously successfully been resolved, then we need to set its value in the resource assignemnt resolution store so it can be used later in the processing, for instance if another resource depends on it. Change-Id: Ifa3957fe3d2365e1f4347aa61ed963124f8a69f7 Issue-ID: CCSDK-1606 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-08-09Default resolution status when storing resultAlexis de Talhouët1-1/+1
It can happen the resolve fails, and the status end up not being set, hence to avoid any exception, we default to failure. Change-Id: Ia5fb9ad954c109f394425f33c506e66d7e1969e4 Issue-ID: CCSDK-1606 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-08-09Add CBA parent pom.Brinda Santh3-4/+74
Change-Id: Iddfb27d271bbb58375190c506173edccdd60b9e0 Issue-ID: CCSDK-1576 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Add declarative acceptance testsEliezio Oliveira10-18/+525
First two UATs are for blueprints Echo and "PNF Configuration". The body of the ODL mount request was changed from XML to JSON, so it can be represented in a YAML file. Initial documentation about the UATs can be found at components/model-catalog/blueprint-model/uat-blueprints/README.md BluePrintArchiveUtils.recurseFiles() replaced by compressFolder() that uses native Java 7. Removed commons-compress as dependency since is no longer used. Change-Id: I96a584ae12ca009f90fe8fe9485eb57ce05e8add Issue-ID: CCSDK-1569 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-08-09Fix occurrence really optionalEliezio Oliveira1-1/+1
Change-Id: I18c4d0803e20ed18e4dde553288d37143dff936a Issue-ID: CCSDK-1572 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-08-09Unified Http server configurationEliezio Oliveira3-61/+1
To allow UA tests with both servers listening on random TCP ports. Change-Id: I9f125b8f2568797b8f7a747b7d8b7bd9a163d30e Issue-ID: CCSDK-1568 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-08-09Removed redundant BlueprintProcessorApplicationTestEliezio Oliveira1-55/+0
Change-Id: I9d3fa66e7185938f30447884753c3e9c2644c0cc Issue-ID: CCSDK-1567 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-08-09Added service for Edit CBAEzhilarasi28-28/+28
Added service for search result CBA Change-Id: Iba00f048abc59878e6dcda9d1de9f0fc823d9130 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-08-06Roll version to recreate release artifactsTimoney, Dan (dt5972)28-37/+32
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-01Modify POM, properties and docker distributions.Brinda Santh9-9/+148
Change-Id: I541edfc36c0866fa7669129a46140fb21a63c6ba Issue-ID: CCSDK-1574 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-01Add remote python executor DSL propertiesBrinda Santh7-76/+266
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 Santh1-0/+6
Change-Id: Ibede4a378980717d49708f7665ab295534a092a0 Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-31Merge "Fix conflicting catalog service instance names."Dan Timoney8-36/+47
2019-07-31Merge "Add rest client DSL properties"Dan Timoney4-0/+199
2019-07-31Merge "Add resource resolution component DSL"Dan Timoney3-0/+266
2019-07-31Merge "Add missing implementation and Operation Type."Dan Timoney6-157/+144
2019-07-31Fix conflicting catalog service instance names.Brinda Santh8-36/+47
Change-Id: Iec330d87f9609d42c05f8d4c7c8515fa37310a6e Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>