<commit_before>angular.module('pvcloudApp').controller('_mycloud_mydevices', function ($scope, UtilityService, DeviceRegistryService, sessionService) {
    console.log("This is my devices controller being invoked");
    console.log($scope);
    $scope.AddingDevice = false;
    $scope.AddDevice_device_nickname = "";
    $scope.AddDevice_device_description = "";
    $scope.SelectedDevice = undefined;
    $scope.SelectedAccountID = sessionService.GetCurrentAccountID();
    $scope.LoadingListOfDevicesComplete = false;
    
    var protocol = window.location.protocol;
    //TODO: Making protocol for WGET to be HTTPS until we find an easy way to install wget-ssl in Galileo
    //pvcloud_api.js driver will anyway interact ONLY with HTTPS
    
    protocol = "https:";
    var hostname = window.location.host;
    var port = window.location.port;

    if (port === 9000) {
        $scope.URLBegin = protocol + "//" + window.location.hostname + ":8080";
    } else {
        $scope.URLBegin = protocol + "//" + hostname;
    }

    getListOfDevicesForAccountID();<commit_msg>Force wget to be http for now<commit_after>angular.module('pvcloudApp').controller('_mycloud_mydevices', function ($scope, UtilityService, DeviceRegistryService, sessionService) {
    console.log("This is my devices controller being invoked");
    console.log($scope);
    $scope.AddingDevice = false;
    $scope.AddDevice_device_nickname = "";
    $scope.AddDevice_device_description = "";
    $scope.SelectedDevice = undefined;
    $scope.SelectedAccountID = sessionService.GetCurrentAccountID();
    $scope.LoadingListOfDevicesComplete = false;
    
    var protocol = window.location.protocol;
    //TODO: Making protocol for WGET to be HTTP until we find an easy way to install wget-ssl in Galileo
    //pvcloud_api.js driver will anyway interact ONLY with HTTPS
    
    protocol = "http:";
    var hostname = window.location.host;
    var port = window.location.port;

    if (port === 9000) {
        $scope.URLBegin = protocol + "//" + window.location.hostname + ":8080";
    } else {
        $scope.URLBegin = protocol + "//" + hostname;
    }

    getListOfDevicesForAccountID();
{'fraction_non_alphanumeric': 0.11449676823638043, 'fraction_numerical': 0.007386888273314866, 'mean_word_length': 3.6204690831556503, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1206061', 'n_tokens_mistral': 635, 'n_tokens_neox': 612, 'n_words': 153}