aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration.rst36
-rw-r--r--docs/consumedapis.rst22
2 files changed, 35 insertions, 23 deletions
diff --git a/docs/configuration.rst b/docs/configuration.rst
index 55c4751804..cf1bcd3220 100644
--- a/docs/configuration.rst
+++ b/docs/configuration.rst
@@ -1222,28 +1222,20 @@ BE-onboarding-configuration.yaml
truststorePath: /config/truststore
truststorePassword: <%= @cassandra_truststore_password %>
- # External Testing Configuration
- externalTestingConfig:
- #configuration to make available to the front end of this feature
- client:
- enabled: true
- #array of endpoints that SDC-BE should connect with for external testing
- endpoints:
- // ID for endpoint
- - id: vtp
- // what format of post request does the endpoint accept for runs - json or multi-part form
- postStyle: application/json
- // is this endpoint enabled or disabled.
- enabled: false
- // base URL for the endpoint
- url: http://ec2-34-237-35-152.compute-1.amazonaws.com:9090
- // optional api key to pass in header to endpoint
- apiKey: blahblahblah
- - id: certifications repository
- postStyle: application/json
- url: http://ec2-34-237-35-152.compute-1.amazonaws.com:9090
- enabled: true
- apiKey: blahblahblah2
+externaltesting-configuration.yaml
+**********************************
+
+::
+
+ # configuration to make available to the front end of this feature
+ client:
+ enabled: true
+ # array of endpoints that SDC-BE should connect with for external testing
+ # id,label,enabled,url[,scenariofilter][,apikey]
+ endpoints:
+ - vtp:VTP,true,http://<hostname>[:<port>]/onapapi/vnfsdk-marketplace,c.*
+ - repository:Repository,false,http://<ovphostname>[:<ovpport>]
+
vnfrepo-configuration.yaml
diff --git a/docs/consumedapis.rst b/docs/consumedapis.rst
index 0e2380f197..8e70210918 100644
--- a/docs/consumedapis.rst
+++ b/docs/consumedapis.rst
@@ -19,4 +19,24 @@ SDC allows the user to choose packages from VNF-SDK and start the onboarding fro
* - /onapapi/vnfsdk-marketplace/v1/PackageResource/csars
- get all available csar package data
* - /onapapi/vnfsdk-marketplace/v1/PackageResource/csars/{id}/files
- - Download CSAR by id \ No newline at end of file
+ - Download CSAR by id
+
+
+SDC invokes Compliance Checks via VNF Test Platform (VTP)
+
+.. list-table::
+ :widths: 60 40
+ :header-rows: 1
+
+ * - URL
+ - Description
+ * - /vtp/scenarios
+ - retrieve list available test scenarios
+ * - /vtp/scenarios/{scenario}/testsuites
+ - retrieve a list of available test suites in given scenario
+ * - /vtp/scenarios/{scenario}/testcases
+ - retrieve a list of available test cases in a given scenario
+ * - /vtp/scenarios/{scenario}/testsuites/{testSuiteName}/testcases/{testCaseName}
+ - retrieve test case parameters such as inputs and outputs in a given scenario and test suite
+ * - /vtp/executions
+ - execute a list of test cases