aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-09Merge "Controller Blueprints fails to lookup directory"Dan Timoney1-0/+3
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-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-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>
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>
2019-07-31Merge "Source template component- store update"Dan Timoney1-1/+15
2019-07-31Merge "Fix conflicting catalog service instance names."Dan Timoney13-49/+58
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 Timoney10-197/+312
2019-07-31Source template component- store updateArundathi Patil1-1/+15
Implemented code to store sourc list changes to store Issue-ID: CCSDK-707 Change-Id: If1ff2cd4cf624473a8962bf921225c00ff161ef5 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-31Fix conflicting catalog service instance names.Brinda Santh13-49/+58
Change-Id: Iec330d87f9609d42c05f8d4c7c8515fa37310a6e Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-30Add rest client DSL propertiesBrinda Santh4-0/+199
Change-Id: Ibb52f1c6581b532aff49e7410d29e19c645f7d23 Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-30Add resource resolution component DSLBrinda Santh3-0/+266
Change-Id: Icd12c87e017d4b8586bb60f63abce6cda3c7751c Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-30Add missing implementation and Operation Type.Brinda Santh10-197/+312
Change-Id: I739ad054fafc0c302fb6ad03999561f2b3cf9652 Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-30Resource-edit- store changesArundathi Patil3-3/+8
implemented code to save the changes made in resource edit component to the store Issue-ID: CCSDK-707 Change-Id: I5f6051cc34c246ee6c09b657ed764c2671914605 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-30Merge "Formatted text in index and Resource source"Dan Timoney2-23/+31
2019-07-30Merge "TemplateResolutionService default #occurrence 0->1"Dan Timoney2-7/+10
2019-07-30TemplateResolutionService default #occurrence 0->1Oleg Mitsura2-7/+10
JPA repository functions .findBy......... needs occurence value the API in the TemplateResolutionService was defaulting it to 1. Issue-Id: CCSDK-1526 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Iea1e7c50d57c60323eb5c71c0caf61d1ad573bfb
2019-07-30Formatted text in index and Resource sourceEzhilarasi2-23/+31
Change-Id: I340dac3a25aaefee52121557903687f20e254628 Issue-ID: CCSDK-1453 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-07-30Merge "Upgrade cds spring and kotlin versions."Dan Timoney5-28/+12
2019-07-29Search component display of CBAEzhilarasi4-26/+28
Create blueprint search blueprint Change-Id: Iaa7dfbb2406d43f533587d5208fbe6c04ac7d97c Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-07-29Merge "Blueprint client backend integration fix"Brinda Santh Muthuramalingam4-27/+30
2019-07-29Blueprint client backend integration fixEzhilarasi4-27/+30
Blueprint backend data integration fix Change-Id: If0e0b2c30bf07f06fc728ff26c509f265c5ee303 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-07-29Merge "Removed component and code not required"Brinda Santh Muthuramalingam5-115/+2
2019-07-29Removed component and code not requiredEzhilarasi5-115/+2
Removed duplicate code from CBA feature module Change-Id: Ieb1709953dbf1075b4d30f26dd45b753fd9e142d Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-07-29Merge "Added Blueprint URL to constant file"Brinda Santh Muthuramalingam1-0/+10
2019-07-29Merge "Blueprint controller loopback fix"Brinda Santh Muthuramalingam2-7/+8
2019-07-29Added Blueprint URL to constant fileEzhilarasi1-0/+10
Change-Id: I53ad62bf54e0dc7f69c21df1399922b2f580dc57 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-07-29Blueprint controller loopback fixEzhilarasi2-7/+8
Exported blueprint controller in index and changed uri path Change-Id: If83d2260912dfd92353b0923b1237726ff4baad3 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-07-28Source Options- Displaying propertiesArundathi Patil1-13/+14
Refactored code to display the source properties and not the source model Issue-ID: CCSDK-707 Change-Id: I1f17b51581fcc7a601734e4d81074b36878caacf Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-26Merge "Add the vDNS CBA in the CDS source"Dan Timoney26-0/+8971
2019-07-26Upgrade cds spring and kotlin versions.Brinda Santh5-28/+12
Change-Id: I0f323bd13c433d9ef0e207f51234d10cd8c22858 Issue-ID: CCSDK-1352 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-26Merge "Import ONAP root CA to CDS Blueprint Processor Java Truststore"Dan Timoney1-0/+2
2019-07-25Import ONAP root CA to CDS Blueprint Processor Java TruststoreAbdelmuhaimen Seaudi1-0/+2
Issue-ID: CCSDK-1534 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: Id5de634af72fc4a5962867f279d51fa35de25619 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
2019-07-25Add the vDNS CBA in the CDS sourceAbdelmuhaimen Seaudi26-0/+8971
Issue-ID: CCSDK-1533 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: Ie821dec3de708a529b291cb07690d4df2df9d488 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
2019-07-25Source option- avoiding duplicatesArundathi Patil2-14/+54
Implemented code to prevent adding duplicate resources in source list Issue-ID: CCSDK-707 Change-Id: I56caa3a248a2e2a611dceec0982820ea13c438a6 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-25Merge "Fix attribute validation for complex type."Dan Timoney7-29/+158
2019-07-25Merge "Fix missing capability cli models."Dan Timoney15-43/+272
2019-07-25Search mat card displayEzhilarasi4-31/+85
Create blueprint search from db matcard Change-Id: I411035385930f5637c84426c7b32c20c219aab73 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>