cloud-pipeline
cloud-pipeline copied to clipboard
[Quick Launcher] Allow for user to specifiy additional tool endpoints when run application
Quick Launcher is a great way for user to quickly run some pre-configured setup (rstudio/shiny app). However sometimes user wants to have more power in way to configure tool before launch it (f.e. specify additional tool endpoint).
Lets allow for user to add additional endpoints for run configuration.
For settings config file of quick-launcher introduce new configuration entry:
"customToolEnpointsEnabled" : true
If this setting is set to true user shall be able to configure various number of endpoints with the next steps:
- Click settings icon within an application to be launched
- There is should be a
Additional endpointsand button+ Add - After
+ Addis clicked new pop-up should appear with possibility to configure endpoint - similar to Cloud-Pipeline tool settings
endpoint-port - required
endpoint-name
additional-nginx-configuration
endpoint-number
ssl-backend
same-tab
- When run is launched for each endpoint all these properties should be exposed as
Run Parameterswith prefixCP_CAP_CUSTOM_TOOL_ENDPOINT_<num>_:
endpoint-port - CP_CAP_CUSTOM_TOOL_ENDPOINT_<num>_PORT
endpoint-name - CP_CAP_CUSTOM_TOOL_ENDPOINT_<num>_NAME
additional-nginx-configuration - CP_CAP_CUSTOM_TOOL_ENDPOINT_<num>_ADDITIONAL
endpoint-number - CP_CAP_CUSTOM_TOOL_ENDPOINT_<num>_NUM
ssl-backend - CP_CAP_CUSTOM_TOOL_ENDPOINT_<num>_SSL_BACKEND
same-tab - CP_CAP_CUSTOM_TOOL_ENDPOINT_<num>_SAME_TAB