summaryrefslogtreecommitdiffstats
path: root/ms
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2019-08-09Add CBA parent pom.Brinda Santh4-8/+74
Change-Id: Iddfb27d271bbb58375190c506173edccdd60b9e0 Issue-ID: CCSDK-1576 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Merge "Controller Blueprints fails to lookup directory"Dan Timoney1-0/+3
2019-08-09Add declarative acceptance testsEliezio Oliveira16-76/+598
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 CBAEzhilarasi44-47/+47
Added service for search result CBA Change-Id: Iba00f048abc59878e6dcda9d1de9f0fc823d9130 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-08-09Controller Blueprints fails to lookup directoryPiotr Darosz1-0/+3
Create directory for saving CBA package in case one does not exist Issue-ID: CCSDK-1607 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com> Change-Id: I0f5b547ec781bf7211414507ee847e756402f0e7
2019-08-06Roll version to recreate release artifactsTimoney, Dan (dt5972)44-56/+51
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 Santh8-77/+267
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 Santh4-6/+19
Change-Id: Ibede4a378980717d49708f7665ab295534a092a0 Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>