package org.pdxfinder.services.constants;

public enum DataUrl {

    //http://www.ebi.ac.uk/ols/api/ontologies/ncit/terms/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FNCIT_C7057/hierarchicalChildren
    //http://www.ebi.ac.uk/ols/api/ontologies/doid/terms/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FNCIT_C7057/hierarchicalChildren

    HUGO_FILE_URL("https://www.genenames.org/cgi-bin/download/custom?col=gd_hgnc_id&col=gd_app_sym&col=gd_app_name&col=gd_status&col=gd_prev_sym&col=gd_aliases&col=gd_pub_acc_ids&col=gd_pub_refseq_ids&col=gd_name_aliases&col=gd_pub_ensembl_id&col=gd_pub_eg_id&status=Approved&hgnc_dbtag=on&order_by=gd_app_sym_sort&format=text&submit=submit"),
    DISEASES_BRANCH_URL("http://purl.obolibrary.org/obo/NCIT_C3262"),
    ONTOLOGY_URL("https://www.ebi.ac.uk/ols/api/ontologies/ncit/terms/"),
    EUROPE_PMC_URL("https://www.ebi.ac.uk/europepmc/webservices/rest/search"),
    K8_SERVICE_URL("www.ebi.ac.uk/pdxfinder/pdx-gun/v1/graphql"),
    COSMIC_URL("https://cancer.sanger.ac.uk/cosmic/mutation/overview?id"),
    CRAVAT_URL("https://run.opencravat.org/result/nocache/variant.html");


    private final String value;

    DataUrl(String val) {
        value = val;
    }

    public String get() {
        return value;
    }

}

package org.pdxfinder.services.constants;

public enum DataUrl {

    //http://www.ebi.ac.uk/ols/api/ontologies/ncit/terms/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FNCIT_C7057/hierarchicalChildren
    //http://www.ebi.ac.uk/ols/api/ontologies/doid/terms/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FNCIT_C7057/hierarchicalChildren

    HUGO_FILE_URL("https://www.genenames.org/cgi-bin/download/custom?col=gd_hgnc_id&col=gd_app_sym&col=gd_app_name&col=gd_status&col=gd_prev_sym&col=gd_aliases&col=gd_pub_acc_ids&col=gd_pub_refseq_ids&col=gd_name_aliases&col=gd_pub_ensembl_id&col=gd_pub_eg_id&status=Approved&hgnc_dbtag=on&order_by=gd_app_sym_sort&format=text&submit=submit"),
    DISEASES_BRANCH_URL("http://purl.obolibrary.org/obo/NCIT_C3262"),
    ONTOLOGY_URL("https://www.ebi.ac.uk/ols/api/ontologies/ncit/terms/"),
    EUROPE_PMC_URL("https://www.ebi.ac.uk/europepmc/webservices/rest/search"),
    K8_SERVICE_URL("https://www.ebi.ac.uk/pdxfinder/pdx-gun/v1/graphql"),
    COSMIC_URL("https://cancer.sanger.ac.uk/cosmic/mutation/overview?id"),
    CRAVAT_URL("https://run.opencravat.org/result/nocache/variant.html");


    private final String value;

    DataUrl(String val) {
        value = val;
    }

    public String get() {
        return value;
    }

}

Add "https://" to k8_service_url