Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to configure the webserver port #1858

Merged
merged 4 commits into from
Nov 29, 2022

Conversation

ThomasLaPiana
Copy link
Contributor

@ThomasLaPiana ThomasLaPiana commented Nov 28, 2022

Closes #1797

Code Changes

  • add a port param to the start_webserver function
  • log the values used to start the webserver
  • Add an option to the fides webserver command for a port

Steps to Confirm

  • pip install the branch and try fides webserver --port 8081, observe the logged configuration values and confirm. Additionally check used ports and notice 8081 is being used

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Documentation Updated:
    • documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
    • documentation issue created (tag docs-team to complete issue separately)
  • Issue Requirements are Met
  • Relevant Follow-Up Issues Created
  • Update CHANGELOG.md

Description Of Changes

This is a small QOL fix to make deployments easier

Logs should now look something like this when using the flag:

fides webserver -p 8081
2022-11-28 17:40:23.349 | INFO     | fides.api.main:start_webserver:342 - Starting webserver - Host: 0.0.0.0, Port: 8081, Log Level: 30

@ThomasLaPiana ThomasLaPiana self-assigned this Nov 28, 2022
@ThomasLaPiana ThomasLaPiana marked this pull request as ready for review November 28, 2022 09:43
@ThomasLaPiana
Copy link
Contributor Author

@RobertKeyser ready for your eyes! 🙂

@seanpreston
Copy link
Contributor

Nice change thanks @ThomasLaPiana

@ThomasLaPiana ThomasLaPiana merged commit 2bd902c into main Nov 29, 2022
@ThomasLaPiana ThomasLaPiana deleted the ThomasLaPiana-configure-webserver-port branch November 29, 2022 08:11
Copy link

cypress bot commented Feb 14, 2025

fides    Run #12474

Run Properties:  status check passed Passed #12474  •  git commit 7d822d154e ℹ️: Merge 41c998293dffd5c2965e00a4cba419a7bdddcf61 into b7cdc5604ac8efa10e55f65b0bcd...
Project fides
Branch Review LJ-378-snap-dsr-erasure-ignore-400
Run status status check passed Passed #12474
Run duration 00m 53s
Commit git commit 7d822d154e ℹ️: Merge 41c998293dffd5c2965e00a4cba419a7bdddcf61 into b7cdc5604ac8efa10e55f65b0bcd...
Committer Facundo Lopez Janza
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 5
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

Copy link

cypress bot commented Feb 14, 2025

fides    Run #12477

Run Properties:  status check passed Passed #12477  •  git commit b53126f9cf: Snap Erasure Ignore 400 Error (#1858)
Project fides
Branch Review main
Run status status check passed Passed #12477
Run duration 00m 51s
Commit git commit b53126f9cf: Snap Erasure Ignore 400 Error (#1858)
Committer Facundo Lopez Janza
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 5
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Fides Webserver Port Configurable
3 participants