aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python
AgeCommit message (Collapse)AuthorFilesLines
2019-08-09Add declarative acceptance testsEliezio Oliveira1-78/+0
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-2/+0
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-5/+5
Change-Id: Id439ac5ded631aac0ee7fc69846ebe9bca650bb2 Issue-ID: CCSDK-1499 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-08Fix blueprint dataottero1-2/+2
Request parameter nf-id should be: pnf-id ODL key name ODL-private-key should be: ODL_private_key_0 Change-Id: I846112c3bd6a80d21a4b5de0845ce99d06b0515f Issue-ID: CCSDK-1208 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-04-05Retrieving PNF IP address from payloadottero1-2/+2
PNF IP is now retrieved from the payload Issue-ID: CCSDK-926 Change-Id: I6942fc0000564553ae16bd1067351f00ca254d10 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-28Addressing last review commentsottero1-1/+9
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 clientottero1-77/+22
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>
2019-03-26Implementing the requested improvementsottero1-54/+69
Addressing comments done in https://gerrit.onap.org/r/#/c/82315/ and in the subsequent CDS weekly call. (Resubmitting patch done on previous repo, https://gerrit.onap.org/r/#/c/83063/) Change-Id: I6f948dedf972c33ea6fe0f65884f23cd48adcfba Issue-ID: CCSDK-926 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-25Migrate ccsdk/apps to ccsdk/cdsAlexis de Talhouët1-1/+1
Issue-ID: CCSDK-1177 Issue-ID: CCSDK-1178 Change-Id: I0c02702fbec52211ca367abbba72aebecee8cbaa Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-17Adding custom headers capability to REST clientottero3-76/+112
For YANG PATCH requests to ODL to work, they need to have a Content- type header of application/yang.patch+json and should not have Accept as application/json Current REST client inserts a default header to the requests with this content: Content-Type: application/json Accept: application/json The solution was to add the possibility of sending custom headers alon- gside the other parameters. Change-Id: I2cf0cd2ef7b87f4f5a246d427dffafe266cb33f7 Issue-ID: CCSDK-926 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-11Blueprint for configuring a PNFottero2-0/+76
This is the first version of a blueprint, intended to be used to configure PNFs. The design considers that a blueprint will be created for each possible PNF. Change-Id: I4994149441257eb417b6d5f611e12cd81595177f Issue-ID: CCSDK-1107 Signed-off-by: ottero <rodrigo.ottero@est.tech>