Clean project: remove test files, debug logs, and add documentation
This commit is contained in:
@@ -5,7 +5,7 @@ echo ===========================================================================
|
||||
echo.
|
||||
|
||||
echo [INFO] Test avec le compte existant test@unionflow.dev...
|
||||
curl -s -X POST "http://192.168.1.145:8180/realms/unionflow/protocol/openid-connect/token" -H "Content-Type: application/x-www-form-urlencoded" -d "username=test@unionflow.dev&password=test123&grant_type=password&client_id=unionflow-mobile" > test_result.json
|
||||
curl -s -X POST "http://192.168.1.11:8180/realms/unionflow/protocol/openid-connect/token" -H "Content-Type: application/x-www-form-urlencoded" -d "username=test@unionflow.dev&password=test123&grant_type=password&client_id=unionflow-mobile" > test_result.json
|
||||
|
||||
findstr "access_token" test_result.json >nul
|
||||
if %errorlevel%==0 (
|
||||
@@ -17,7 +17,7 @@ if %errorlevel%==0 (
|
||||
|
||||
echo.
|
||||
echo [INFO] Test avec le nouveau compte marie.active...
|
||||
curl -s -X POST "http://192.168.1.145:8180/realms/unionflow/protocol/openid-connect/token" -H "Content-Type: application/x-www-form-urlencoded" -d "username=marie.active&password=Marie123!&grant_type=password&client_id=unionflow-mobile" > marie_result.json
|
||||
curl -s -X POST "http://192.168.1.11:8180/realms/unionflow/protocol/openid-connect/token" -H "Content-Type: application/x-www-form-urlencoded" -d "username=marie.active&password=Marie123!&grant_type=password&client_id=unionflow-mobile" > marie_result.json
|
||||
|
||||
findstr "access_token" marie_result.json >nul
|
||||
if %errorlevel%==0 (
|
||||
@@ -29,7 +29,7 @@ if %errorlevel%==0 (
|
||||
|
||||
echo.
|
||||
echo [INFO] Test avec le nouveau compte superadmin...
|
||||
curl -s -X POST "http://192.168.1.145:8180/realms/unionflow/protocol/openid-connect/token" -H "Content-Type: application/x-www-form-urlencoded" -d "username=superadmin&password=SuperAdmin123!&grant_type=password&client_id=unionflow-mobile" > super_result.json
|
||||
curl -s -X POST "http://192.168.1.11:8180/realms/unionflow/protocol/openid-connect/token" -H "Content-Type: application/x-www-form-urlencoded" -d "username=superadmin&password=SuperAdmin123!&grant_type=password&client_id=unionflow-mobile" > super_result.json
|
||||
|
||||
findstr "access_token" super_result.json >nul
|
||||
if %errorlevel%==0 (
|
||||
|
||||
Reference in New Issue
Block a user