Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.26 KB

proc-customizing-the-learning-paths-by-using-a-dedicated-service.adoc

File metadata and controls

23 lines (20 loc) · 1.26 KB

Customizing the Learning Paths by using a customization service

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.

Procedure
  1. 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.

  2. 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)
    1. Change to "false" in case of using self hosted cluster with a self-signed certificate