Skip to content

refactor: externalize FMS host and port via environment variables#197

Merged
yabuta merged 1 commit into
developfrom
refactor/externalize-fms-config
Apr 30, 2026
Merged

refactor: externalize FMS host and port via environment variables#197
yabuta merged 1 commit into
developfrom
refactor/externalize-fms-config

Conversation

@yabuta
Copy link
Copy Markdown
Collaborator

@yabuta yabuta commented Apr 28, 2026

Summary

  • Remove hardcoded FMS domain and gateway port from signage_fms_client.py so internal infrastructure details are no longer baked into the public repository.
  • Read FMS_URL, AUTOWARE_IP, and AUTOWARE_PORT from environment variables instead.
  • Update README to document the new env-var-based configuration and reference the x2_signage_env_setup Ansible role that provisions them into autoware.env.

Companion change in autoware_ecu_system_setup adds the new autoware_pc_port variable to x2_signage_env_setup and exports AUTOWARE_PORT to autoware.env.

Test plan

  • Local PC: launched signage with FMS_URL, AUTOWARE_IP, AUTOWARE_PORT exported and confirmed FMS communication works.
  • Production vehicle (X2): verify after the companion ansible role change is deployed.

Remove hardcoded FMS domain and gateway port from the source so they
are no longer baked into the public repository. They are now read from
the FMS_URL, AUTOWARE_IP, and AUTOWARE_PORT environment variables,
which the x2_signage_env_setup Ansible role provisions into autoware.env
on production vehicles.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

@yabuta yabuta merged commit e691fd5 into develop Apr 30, 2026
3 of 5 checks passed
@operationtoolapp operationtoolapp Bot mentioned this pull request Apr 30, 2026
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.

1 participant