Visitar URL original
feat: Adding SSL support for online server by lokeshrangineni · Pull Request #4677 · feast-dev/feast · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
* Update docs/reference/feature-servers/python-feature-server.md
* fixing the integration test failure.

Signed-off-by: lrangine <19699092+lokeshrangineni@users.noreply.github.com>
  • Loading branch information
lokeshrangineni committed Oct 25, 2024
commit 1ca37f3b1d47c25cce51130f62192022afcc410e
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ def _overwrite_remote_client_feature_store_yaml(
ssl_cert_path: str = "",
):
repo_config = os.path.join(repo_path, "feature_store.yaml")
config_content = dedent(

config_content = "entity_key_serialization_version: 2\n" + auth_config
config_content += dedent(
f"""
project: {PROJECT_NAME}
registry: {registry_path}
Expand All @@ -242,7 +244,5 @@ def _overwrite_remote_client_feature_store_yaml(
if ssl_cert_path:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

config_content += f" ssl_cert_path: {ssl_cert_path}\n"

config_content += " entity_key_serialization_version: 2\n" + auth_config

with open(repo_config, "w") as repo_config_file:
repo_config_file.write(config_content)