For advanced scenarios, you can host your {product} customization service to provide data to all configurable {product-short} pages. You can even use a different service for each page.
-
Deploy your {product-short} customization service on the same {ocp-short} cluster as your {product-short} instance. You can find an example at
red-hat-developer-hub-customization-provider
, that provides the same data as default {product-short} data. The customization service provides a Learning Paths data URL such as:http://rhdh-customization-provider/learning-paths
. -
Configure the {product-short} proxy to use your dedicated service to provide the Learning Path data, add the following to the
{my-app-config-file}
file:proxy: endpoints: '/developer-hub/learning-paths': target: <learning_path_data_url> changeOrigin: true qsecure: true # (1)
-
Change to "false" in case of using self hosted cluster with a self-signed certificate
-