/
Procedure to change from "simpledemo.onap.org" to a custom domain

Procedure to change from "simpledemo.onap.org" to a custom domain

Tested with Firefox. Settings for mixed-mode HTTP/HTTPS in chrome seem to be hidden.

  1. Helm charts Approach

    1. Update portal hostname (this affects portal.properties)  but portalFEPort should also be the nodeport

      1. ~oom/kubernetes/portal/values.yaml:  portalHostName: "k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com"

        # for single sign on ecomp_redirect_url = http://{{.Values.global.portalHostName}}:{{.Values.global.portalFEPort}}/ONAPPORTAL/login.htm # URL of the ECOMP Portal REST API ecomp_rest_url = http://{{.Values.global.portalHostName}}:{{.Values.global.portalPort}}/ONAPPORTAL/auxapi



    2. Update portal-app system.properties

      ~oom/kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties:#cookie_domain = onap.org ~oom/kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties:cookie_domain = azure.com



  2. Kubectl edit config map approach with direct SSL port  approach (this is what I did)

    1. kubectl -n onap edit configmap dev-portal-portal-app-onapportal

          # for single sign on     ecomp_redirect_url = https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30225/ONAPPORTAL/login.htm     # URL of the ECOMP Portal REST API     ecomp_rest_url = https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30225/ONAPPORTAL/auxapi    frontend_url  = https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30225/ONAPPORTAL/applicationsHome       cookie_domain = azure.com



    2. https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30225/ONAPPORTAL/login.htm can be used to test.

  3. Update the APP onboarding entries as demo user to use the FQDN (and accept the ssl exception for the nodeports where applicable)

    1. sdc: http://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30206/sdc1/portal

    2. vid: https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30200/vid/welcome.htm

      1. https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30200/ to confirm SSL exception

    3. policy: https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30219/onap/policy

      1. https://k8s-host-xffbranchercluster1010.eastus.cloudapp.azure.com:30219/ to confirm SSL exception

    4. Continue with other applications you need