Updating links.js

To convert your links.js file from Oceana 3.3 to Oceana 3.4:

1. Take note of the hostnames in your current links.js file.
2. Replace the links.js file with the new one.
3. Change the 'webChatHost' variable to match the hostname of the OCP cluster
4. Change the 'contextStoreHost' variable to match the hostname of the cluster 
    which hosts OceanaCoreDataService, ContextStore and the CustomerManagementServoce

Replace the following line in webChat.js:
    request.open('POST', links.estimatedWaitTimeUrl);
    
With the following:
    request.open('POST', links.getEstimatedWaitTimeUrl());

Replace the following line in webChatSocket.js:
    webSocket = new WebSocket(links.webChatUrl);
    
With the following:
    webSocket = new WebSocket(links.getWebChatUrl());
    
Replace the following line in customerJourneyCommon.js:
    var url = links.customerManagementUrl + '/rest/customers/customerId?' + paramName + '=' + paramValue;
With the following:
    var url = links.getCustomerManagementUrl() + '/rest/customers/customerId?' + paramName + '=' + paramValue;
    
Replace the following lines:
    links.secureContextStore = urls.secureContextStore;
    links.oceanaCoreDataServicesUrl = urls.oceanaCoreDataServicesUrl;
    links.customerManagementUrl = 'http://'+links.contextStoreHost+'/services/CustomerManagement';
    if (links.secureContextStore) {
        links.customerManagementUrl = links.customerManagementUrl.replace('http://', 'https://');
    }
    
With the following:
    links.secureAllConnections = urls.secureAllConnections;
    
Replace any mention of "links.oceanaCoreDataServicesUrl" with "links.getOceanaCoreDataServicesUrl()" in oceanaCoreData.js
    
Remove the row for "Estimated Wait Time URL" from the configuration panel.
Remove the row for "Oceana Core Data Service URL" from the configuration panel.
Change the placeholders for the remaining URL inputs to a.b.c.d or e.f.g.h

