From 9795ef3c128c63620c34c88f6f53a74968f616bc Mon Sep 17 00:00:00 2001 From: Harshith Umesh Date: Thu, 15 Feb 2024 00:55:09 -0500 Subject: [PATCH 1/2] print --- app2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app2.py b/app2.py index c8f9e0b..14698d1 100644 --- a/app2.py +++ b/app2.py @@ -41,6 +41,7 @@ def verify_password(username, password): def create_user(): data = request.json username = data['username'] + print() if request.args: return make_response('', 400, {'Cache-Control': 'no-cache'}) @@ -158,4 +159,4 @@ def health_options_end_point(): return make_response('', 405, {'Cache-Control': 'no-cache'}) if __name__ == '__main__': - app.run(host='0.0.0.0',port= 8080, debug=True) \ No newline at end of file + app.run(host='0.0.0.0',port= 8080, debug=True) From c5f8fcc2373c951ca34929f241c4632233b59601 Mon Sep 17 00:00:00 2001 From: Harshith Umesh Date: Thu, 15 Feb 2024 01:02:10 -0500 Subject: [PATCH 2/2] fix ci file --- .github/workflows/ci_integration_tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_integration_tests.yml b/.github/workflows/ci_integration_tests.yml index 54a7197..2fbcc5c 100644 --- a/.github/workflows/ci_integration_tests.yml +++ b/.github/workflows/ci_integration_tests.yml @@ -35,7 +35,8 @@ jobs: - name: Configure Application run: | - echo "SQLALCHEMY_DATABASE_URI=mysql+pymysql://root:password@localhost/Users" > .env + echo "SQLALCHEMY_DATABASE_URI=mysql+pymysql://root:password@mysql/Users" > .env + # Additional step for initializing the database - name: Initialize Database