-
Notifications
You must be signed in to change notification settings - Fork 36
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
Allowing configuring UI codec URL via flag #54
Conversation
server/ui.go
Outdated
TemporalGRPCAddress: c.TemporalGRPCAddress, | ||
EnableUI: c.EnableUI, | ||
Codec: uiconfig.Codec{ | ||
Endpoint: c.CodecEndpoint, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it okay if this is empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea the default value is empty. This means it's disabled
server/ui.go
Outdated
return cfg, nil | ||
} | ||
|
||
type uiConfig struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use uiconfig.Config
instead of creating this new struct and renaming NewUIConfig
to MergeWithConfigFile
?
This is a bit confusing to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point
What was changed
Added flag
--ui-codec-endpoint
for configuring codec endpoint used by UIcopy of temporalio/temporalite-archived#174
resolve #52
Why?
enables the use of codec via a single run comand
Checklist
Closes
How was this tested:
Manually