The default config.Config.ChatBotURL is the production URL.
As a result if an jobs.UpdateAppsJob is run locally, it will ping the new apps chat bot API endpoint and upload locally constructed apps to the production chat bot environment.
Action items:
[x] Make the default chat bot URL value a localhost value
Acceptance criteria:
(1) Run the serverless registry API locally:
% go run .
serverless-registry-api [DEBUG] loaded configuration: {...snip...
Ensure that the configuration printed on startup shows localhost values for the keys:
The default
config.Config.ChatBotURL
is the production URL.As a result if an
jobs.UpdateAppsJob
is run locally, it will ping the new apps chat bot API endpoint and upload locally constructed apps to the production chat bot environment.Action items:
Acceptance criteria:
Ensure that the configuration printed on startup shows localhost values for the keys:
ExternalURL
SiteURL
BotAPIURL