aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/test/resources')
-rw-r--r--framework/src/test/resources/onap.properties16
1 files changed, 13 insertions, 3 deletions
diff --git a/framework/src/test/resources/onap.properties b/framework/src/test/resources/onap.properties
index b2b4fee8..84a86e83 100644
--- a/framework/src/test/resources/onap.properties
+++ b/framework/src/test/resources/onap.properties
@@ -1,7 +1,6 @@
-cli.ignore_auth=true
+cli.ignore_auth=false
cli.version=1.0
-http.api_key=X-Auth-Token
-http.api_key_use_cookies=true
+cli.http.api_key_use_cookies=true
cli.service_name=onap-cli
cli.api_gateway=msb
@@ -12,3 +11,14 @@ cli.exclude_params_internal_cmd=onap-username,onap-password,host-url,no-auth
cli.no_auth_disable_include_params_external_cmd=onap-username,onap-password,host-url,no-auth
cli.no_auth_enable_exclude_params_external_cmd=onap-username,onap-password,no-auth
cli.no_auth_enable_include_params_external_cmd=host-url
+
+cli.service.auth=aaf
+cli.http.basic.common_headers=x-auth-token,x-transaction-id,x-app-id
+cli.http.basic.common_headers.x-auth-token=Authorization
+cli.http.basic.common_headers.x-transaction-id=X-TransactionId
+cli.http.basic.common_headers.x-transaction-id.value=req-uuid
+cli.http.basic.common_headers.x-app-id=X-FromAppId
+cli.http.basic.common_headers.x-app-id.value=onap-cli
+
+#TODO mrkanag add support for aaf like defined above for basic
+#cli.service.auth=aaf \ No newline at end of file