summaryrefslogtreecommitdiffstats
path: root/components/scripts/python/ccsdk_restconf
AgeCommit message (Collapse)AuthorFilesLines
2019-08-15Wrapper functions for placing output responseData and StatusSteve Siani2-0/+5
Issue-ID: CCSDK-1625 Change-Id: I80e6c0d8f04df3a05d9bfc230addda5f0501b1b1 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-08-09Add declarative acceptance testsEliezio Oliveira1-2/+2
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 Oliveira1-3/+4
Change-Id: I9f064aca6f40c0427614d41a08be6b0e6288bcec Issue-ID: CCSDK-1573 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-23Clean restconf duplicate models and Implementation.Brinda Santh1-1/+12
Change-Id: Id439ac5ded631aac0ee7fc69846ebe9bca650bb2 Issue-ID: CCSDK-1499 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-06-06Fixing restconf_client.py scriptottero1-1/+1
The restconf_client.py script uses BlueprintWebClientService to send REST requests to ODL. When the methods of that interface have the type of the returns changed from String to WebClientResponse, the script stopped working. This fix changes the way the response is manipulated, to act upon a WebClientResponse and not on a String Change-Id: I3876c5b27d65058f0b5b77da17f9225fc04779c6 Issue-ID: CCSDK-1384 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-28Addressing last review commentsottero1-18/+26
Addressing comments done in the last review: https://gerrit.onap.org/r/#/c/83516/ Change-Id: I5bdac316fd07b5a82eea7a67425d8c402514c46a Issue-ID: CCSDK-926 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-27Creating a reusable Restconf clientottero2-0/+74
The code in RestconfConfigDeploy.py that was responsible for making the Restconf connections was extracted to another script, making it reusa- ble by other blueprints Change-Id: Ib7d8870f29c76b120ccd3e3e5ba7e13765414269 Issue-ID: CCSDK-926 Signed-off-by: ottero <rodrigo.ottero@est.tech>