Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Krrupa committed Oct 3, 2023
2 parents 7f519fe + 269e4a3 commit 0b71b08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy_to_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ jobs:
env:
JWT_SECRET_KEY: ${{ secrets.JWT_SECRET_KEY }}
DB_SERVICE_URL: ${{ secrets.DB_SERVICE_URL }}
DB_SERVICE_TOKEN: ${{ secrets.DB_SERVICE_TOKEN }}

run: sam deploy --stack-name PortalBackendProd --s3-bucket af-portal-backend --s3-prefix staging --no-confirm-changeset --no-fail-on-empty-changeset --region ap-south-1 --capabilities CAPABILITY_IAM --parameter-overrides 'JwtSecretKey=$JWT_SECRET_KEY DbServiceUrl=$DB_SERVICE_URL'
1 change: 1 addition & 0 deletions .github/workflows/deploy_to_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
env:
JWT_SECRET_KEY: ${{ secrets.JWT_SECRET_KEY }}
DB_SERVICE_URL: ${{ secrets.DB_SERVICE_URL }}
DB_SERVICE_TOKEN: ${{ secrets.DB_SERVICE_TOKEN }}

run: sam deploy
--stack-name PortalBackendStaging
Expand Down
1 change: 1 addition & 0 deletions app/router/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def get_form_schema(request: Request):
query_params = helpers.validate_and_build_query_params(
request.query_params, ["id", "name"]
)

response = requests.get(
routes.form_db_url, params=query_params, headers=db_request_token()
)
Expand Down

0 comments on commit 0b71b08

Please sign in to comment.