Add OCSClient crossbar address override to wg kikusui agent #511
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This adds the ability for the Wiregrid Kikusui agent to pull the
SITE_HTTP
environment variable and use it for theOCSClient
connection to the wiregrid encoder agent. It also adds an argument to the agent that allows overriding the env var.Motivation and Context
At site the docker host running the wiregrid kikusui agent has a host wide configuration in the SCF for the docker network based address for the crossbar server, while the container runs in network mode host and uses the
SITE_HTTP
env var to override the host wide config, allowing the kikusui agent to start.However, it then crashes when trying to connect a client to interact with the encoder agent because that client connection tries to use the host wide configuration pointing to a name that can't be resolved.
As I write this I realize this could probably also be fixed by putting the internal docker domain name for the crossbar server in the hosts file...I'm going to try that too before merging this.
How Has This Been Tested?
This was tested at site.
Types of changes
Checklist: