aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/development/actors/cds/cds.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/development/actors/cds/cds.rst b/docs/development/actors/cds/cds.rst
index eea6247b..d991f6c5 100644
--- a/docs/development/actors/cds/cds.rst
+++ b/docs/development/actors/cds/cds.rst
@@ -153,7 +153,7 @@ REST equivalent of the gRPC request from Policy to CDS to execute a CBA.
curl -X POST \
'http://{{ip}}:{{port}}/api/v1/execution-service/process' \
- -H 'Authorization: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==' \
+ -u 'ccsdkapps:ccsdkapps' \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
@@ -193,7 +193,7 @@ Sample CBA execute request generated by Policy for PNF target type when "data" f
curl -X POST \
'http://{{ip}}:{{port}}/api/v1/execution-service/process' \
- -H 'Authorization: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==' \
+ -u 'ccsdkapps:ccsdkapps' \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
@@ -236,7 +236,7 @@ Sample CBA execute request generated by Policy for VNF target type when "data" f
curl -X POST \
'http://{{ip}}:{{port}}/api/v1/execution-service/process' \
- -H 'Authorization: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==' \
+ -u 'ccsdkapps:ccsdkapps' \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
@@ -342,7 +342,7 @@ In the below rest endpoint, the hostname points to K8S service "policy-api" and
curl POST 'https://{$POLICY_API_URL}:{$POLICY_API_SERVICE_PORT}/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies/operational.modifyconfig/versions/1.0.0' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
- -H 'Authorization: Basic aGVhbHRoY2hlY2s6ZmlyZWFudHNfZGV2QHBvbGljeSE=' \
+ -u 'healthcheck:zb!XztG34' \
-d '{$vfw-tosca-policy}
Note: In order to create an operational policy when using APEX PDP use the policy-type:
@@ -359,7 +359,7 @@ In the rest endpoint URI, the hostname points to the service "policy-pap" and in
curl POST 'https://{$POLICY_PAP_URL}:{$POLICY_PAP_SERVICE_PORT}/policy/pap/v1/pdps/deployments/batch' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
- -H 'Authorization: Basic {$auth}' \
+ -u 'healthcheck:zb!XztG34' \
-d '{
"groups": [
{
@@ -384,10 +384,10 @@ To view the configured policies use the below REST API.
curl GET 'https://{$POLICY_API_URL}:{$POLICY_API_SERVICE_PORT}/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies/operational.modifyconfig/versions/1.0.0' \
-H 'Accept: application/json' \
- -H 'Authorization: Basic {$auth}'
+ -u 'healthcheck:zb!XztG34'
.. code-block:: bash
curl --location --request GET 'https://{$POLICY_PAP_URL}:{$POLICY_PAP_SERVICE_PORT}/policy/pap/v1/pdps' \
-H 'Accept: application/json' \
- -H 'Authorization: Basic {$auth}'
+ -u 'healthcheck:zb!XztG34'