summaryrefslogtreecommitdiffstats
path: root/ms
AgeCommit message (Collapse)AuthorFilesLines
2019-08-22Merge "CCSDK-1637: Fix DGWorkflowExecutionServiceTest fail if run 1st"Dan Timoney1-0/+12
2019-08-22Merge "ControllerBP logs errors"Dan Timoney1-4/+12
2019-08-22Merge "Component node timeout implementation"Dan Timoney10-86/+235
2019-08-22Merge "Add support for AWX workflow_job_template execution to Remote Ansible ↵Brinda Santh Muthuramalingam1-36/+77
Executor."
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-21ControllerBP logs errorsOleg Mitsura1-4/+12
Issue-ID: CCSDK-1630 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Ie5e9ca67cc2e0aa9b1a36a7b13372687a94a71e7
2019-08-20Update input paramtype for populatePrimitiveValuesOleg Mitsura1-4/+4
Issue-Id: CCSDK-1614 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Iecd47868b4b9971a555d6ab0c8bbac8213b6b4c8
2019-08-19JacksonUtils.kt primitives bugfixOleg Mitsura1-4/+3
Issue-Id: CCSDK-1614 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I1991c1605889ea152fca2d93f5d31b073dd7985d
2019-08-16Component node timeout implementationBrinda Santh10-86/+235
Change-Id: I99fc9efba76595693d95772e409f0f982aeae9b1 Issue-ID: CCSDK-1619 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-16JacksonUtils.kt primitives bugfixOleg Mitsura2-33/+38
Issue-Id: CCSDK-1614 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I4b0f6390a1c635203cbf44332495a8c15cc52821
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-16Merge "Modify workflow execution service options."Dan Timoney8-163/+206
2019-08-16Merge "Add Imperative workflow execution service."Dan Timoney13-42/+359
2019-08-16Merge "Add imperative workflow service."Dan Timoney2-0/+522
2019-08-16Merge "Add workflow graph utils."Dan Timoney3-0/+91
2019-08-16Merge "Add blueprints graph models."Dan Timoney3-0/+320
2019-08-16Merge "Fixed validation of resource-assignment-params.config-assign"Dan Timoney6-89/+273
2019-08-16Modify workflow execution service options.Brinda Santh8-163/+206
Change-Id: I629b30f9ff2b8e84d6ae952946608d9bb3437d4c Issue-ID: CCSDK-1619 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-16Add Imperative workflow execution service.Brinda Santh13-42/+359
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-16Add imperative workflow service.Brinda Santh2-0/+522
Change-Id: Ic74bb7796244c466a0d8561eed27174fc1a14ebb Issue-ID: CCSDK-1617 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-16Add workflow graph utils.Brinda Santh3-0/+91
Change-Id: I944d71bf9241ee8fa185c169b15532bf6980da9d Issue-ID: CCSDK-1617 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-16Add blueprints graph models.Brinda Santh3-0/+320
Change-Id: I6743642c9f96002a963479eba56451eed2d9fe8f Issue-ID: CCSDK-1617 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
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-16Auto Rsc Mapping Service Kotlin changejananib2-210/+174
Kotlin code conv Issue-ID: CCSDK-1624 Change-Id: I4c82494cdc3dbf59e98d9b5e91eb41484eab4a7a Signed-off-by: jananib <janani.b@huawei.com>
2019-08-15Wrapper functions for placing output responseData and StatusSteve Siani0-0/+0
Issue-ID: CCSDK-1625 Change-Id: I80e6c0d8f04df3a05d9bfc230addda5f0501b1b1 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
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)47-55/+55
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 Santh10-22/+427
Change-Id: Ia42f56541bef0418dddb797c019ecda3afa6983b Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Add resource definition resolution service.Brinda Santh19-185/+402
Change-Id: Ife75d290540e3ed0e0dfd0a82785a498607a2d25 Issue-ID: CCSDK-1577 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Merge "Add declarative acceptance tests"Dan Timoney16-76/+598
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 "Add dynamic-properties as python script arg"Dan Timoney1-3/+3
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 Santh9-26/+59
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-09Add dynamic-properties as python script argAlexis de Talhouët1-3/+3
For the remote python executor, we have the ability to provide dynamic properties, that will end up marshall as Json. Through the gRPC session, it will be transform to a Google Proto Struct. Once in the remote python executor, we use utility method from Proto to convert the Struct into a Json string, and we pass it as the last argument of the script execution. That way, user can access them in their script, simply by loading the content using json.loads and then interact with the data through the python dict. Change-Id: Ib3552c06734aed252ec28f47173bc8668afe085d 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>