aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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 Timoney48-102/+1238
2019-08-09Merge "Fixed restconf Python scripts bugs caused by BPP refactor"Dan Timoney2-5/+4
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-09Merge "Add sample test dsl type cba"Dan Timoney7-0/+349
2019-08-09Merge "Add resource assignment DSL."Dan Timoney2-11/+126
2019-08-09Merge "Add resource definition DSL."Dan Timoney2-0/+172
2019-08-09Merge "Add resource source template DSL."Dan Timoney5-139/+407
2019-08-09Merge "Add property definition type DSL."Dan Timoney10-27/+60
2019-08-09Merge "Add resource source node type DSL definitions."Dan Timoney2-0/+200
2019-08-09Merge "Add CBA parent pom."Dan Timoney10-18/+185
2019-08-09Add sample test dsl type cbaBrinda Santh7-0/+349
Change-Id: I277588b4f38f8c99c33f3a1f65e8ca7c3919940d Issue-ID: CCSDK-1580 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
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 Santh10-27/+60
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-09Merge "resource save/delete functionality"Dan Timoney2-173/+209
2019-08-09Merge "Changed URL in server for backend"Dan Timoney1-1/+1
2019-08-09Merge "Search from db components change"Dan Timoney1-6/+11
2019-08-09Merge "Changed template option label"Dan Timoney2-10/+6
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 Santh10-18/+185
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 Oliveira48-102/+1238
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-09Fixed restconf Python scripts bugs caused by BPP refactorEliezio Oliveira2-5/+4
Change-Id: I9f064aca6f40c0427614d41a08be6b0e6288bcec Issue-ID: CCSDK-1573 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 CBAEzhilarasi54-62/+66
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-08Changed URL in server for backendEzhilarasi1-1/+1
Changed Bleuprint controller link for backend Change-Id: If3e14f26a6cd8a059cab37325326c2f11a58c8dc Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-08-07Release CCSDK version 0.5.1elalto-edTimoney, Dan (dt5972)1-0/+5
Release version 0.5.1 of CCSDK artifacts Change-Id: Ibdd3730b8c8006ca72a4e1482eca925d27e27413 Issue-ID: CCSDK-1563 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-06Roll version to recreate release artifactsTimoney, Dan (dt5972)53-71/+66
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-05Changed template option labelEzhilarasi2-10/+6
Change-Id: Iff709cefa5a76ddf1f9a9bcab49f98526283baf2 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-08-05Search from db components changeEzhilarasi1-6/+11
Added notification alert and method for edit Change-Id: Iab4763956ea4a4c9fc96753b32e405ba1715e707 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-08-05resource save/delete functionalityArundathi Patil2-173/+209
Implemented code to, 1. Delete and save the added source option from the panel. 2. Save edited changes of a particular source option Issue-ID: CCSDK-707 Change-Id: I38bf8a67e7fff4c926fd5c84f834de5d817e9640 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-08-02Release ccsdk/cds 0.5.0Timoney, Dan (dt5972)1-0/+5
Release ccsdk/cds version 0.5.0 Change-Id: If1aa49d0fc202850ccbaf69c8b7036bfb8f3828d 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 Santh9-77/+271
Change-Id: I7888ac302da2a51ca34c531b7553d04af13786ac Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>