diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2018-03-07 19:23:30 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2018-03-07 19:23:30 +0800 |
commit | 8d66710a9b919fd7c42944ced79b1e25bc6c5482 (patch) | |
tree | e6ae2ff14a8570bbdd63eddca1020c99e6598e25 /testapi/testapi-client/etc | |
parent | f9a4011f025ed60cbc49a3058aa7f35b8396e74f (diff) |
refactor config process in testapiclient
substitue config file with env variable
Change-Id: Ie8243a7dd429708998bde9d612c9a4552a76c14f
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/testapi-client/etc')
-rw-r--r-- | testapi/testapi-client/etc/client.creds | 3 | ||||
-rw-r--r-- | testapi/testapi-client/etc/config.ini | 6 |
2 files changed, 3 insertions, 6 deletions
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 |