From 8d66710a9b919fd7c42944ced79b1e25bc6c5482 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Wed, 7 Mar 2018 19:23:30 +0800 Subject: refactor config process in testapiclient substitue config file with env variable Change-Id: Ie8243a7dd429708998bde9d612c9a4552a76c14f Signed-off-by: SerenaFeng --- testapi/testapi-client/etc/client.creds | 3 +++ testapi/testapi-client/etc/config.ini | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 testapi/testapi-client/etc/client.creds delete mode 100644 testapi/testapi-client/etc/config.ini (limited to 'testapi/testapi-client/etc') diff --git a/testapi/testapi-client/etc/client.creds b/testapi/testapi-client/etc/client.creds new file mode 100644 index 0000000..a082047 --- /dev/null +++ b/testapi/testapi-client/etc/client.creds @@ -0,0 +1,3 @@ +export testapi_url=http://localhost:8000/api/v1 +export testapi_cas_signin_return=/auth/signin_return +export testapi_cas_auth_url=https://identity.linuxfoundation.org/user/login?destination=cas/login%3Fservice%3D \ No newline at end of file diff --git a/testapi/testapi-client/etc/config.ini b/testapi/testapi-client/etc/config.ini deleted file mode 100644 index dde4bdd..0000000 --- a/testapi/testapi-client/etc/config.ini +++ /dev/null @@ -1,6 +0,0 @@ -[api] -url = http://localhost:8000/api/v1 - -[cas] -signin_return = /auth/signin_return -auth_url = https://identity.linuxfoundation.org/user/login?destination=cas/login%3Fservice%3D \ No newline at end of file -- cgit 1.2.3-korg