Project

General

Profile

Revision 9791e4f3

Added by Marc Nicolas almost 9 years ago

Mise en place de la nouvelle API Pygal avec le nouveau bar_chart

View differences:

webstatDev/idoc_Maison/webstat/libStatSitoolsConstante.py
35 35
    # SZ CLUSTER INSTANCE
36 36
    if app == "SZCLUSTER":
37 37
        #PATH FOR  DEV
38
        dico_cst["listPathLogs"] = {"/home/marc/log/logSZ/"}
38
        #dico_cst["listPathLogs"] = {"/home/marc/log/logSZ/"}
39 39
        #PATH FOR PROD
40
        #dico_cst["listPathLogs"] = {"/usr/local/Sitools2_Logs/Sitools2_SZ_Cluster_DB/logs"}
40
        dico_cst["listPathLogs"] = {"/usr/local/Sitools2_Logs/Sitools2_SZ_Cluster_DB/logs"}
41 41
        dico_cst["patternAccessToSeek"] = "/sitools/client-user/SZCLUSTER_DATABASE/project-index.html"
42 42
        dico_cst["patternVoConeSearchToSeek"] = "/global_dataset/plugin/conesearch"
43 43
        dico_cst["patternVoSiaToSeek"] = ""
......
50 50
        # HESIOD INSTANCE
51 51
    elif app == "HESIOD":
52 52
        # PATH FOR DEV
53
        dico_cst["listPathLogs"] = {"/home/marc/log/logH", "/home/marc/log/logH_0.9.1", "/home/marc/log/logH_1.0","/home/marc/log/logH_2.0"}
53
        #dico_cst["listPathLogs"] = {"/home/marc/log/logH", "/home/marc/log/logH_0.9.1", "/home/marc/log/logH_1.0","/home/marc/log/logH_2.0"}
54 54
        #PATH FOR PROD
55
        #dico_cst["listPathLogs"]= {"/usr/local/Sitools2_Logs/Sitools2_Herschel/logs","/usr/local/Sitools2_Logs/old_Sitools2_instances/Sitools2_Herschel_old/Sitools2_Herschel_PROD_V1.0/workspace/fr.cnes.sitools.core/logs","/usr/local/Sitools2_Logs/old_Sitools2_instances/Sitools2_Herschel_old/Sitools2_Herschel_0.9.1_old/workspace/fr.cnes.sitools.core/logs"}
55
        dico_cst["listPathLogs"]= {"/usr/local/Sitools2_Logs/Sitools2_Herschel/logs","/usr/local/Sitools2_Logs/old_Sitools2_instances/Sitools2_Herschel_old/Sitools2_Herschel_PROD_V1.0/workspace/fr.cnes.sitools.core/logs","/usr/local/Sitools2_Logs/old_Sitools2_instances/Sitools2_Herschel_old/Sitools2_Herschel_0.9.1_old/workspace/fr.cnes.sitools.core/logs"}
56 56
        dico_cst["patternAccessToSeek"] = "/sitools/client-user/"
57 57
        dico_cst["patternVoConeSearchToSeek"] = ""
58 58
        dico_cst["patternVoSiaToSeek"] = "sia"
......
93 93
                                       "129.175.64.25"]
94 94
        dico_cst["dicoProject"] ={}
95 95

  
96
        # PICARD INSTANCE
96
    # PICARD INSTANCE
97
    elif app == "PICARD":
98

  
99
        dico_cst["listPathLogs"] = {"/home/marc/Projet/LOG_PICARD/logs"}
100
        dico_cst["patternAccessToSeek"] = "/sitools/client-user/Picard/project-index.html"
101
        dico_cst["patternVoConeSearchToSeek"] = ""
102
        dico_cst["patternVoSiaToSeek"] = ""
103
        dico_cst["listIpToExclude"] = ["129.175.64.124", "129.175.65.119", "129.175.64.65", "129.175.67.137",
104
                                       "129.175.64.230", "172.18.60.17", "129.175.65.131", "129.175.65.82",
105
                                       "129.175.66.42", "127.0.0.1", "129.175.66.43", "129.175.66.248", "129.175.68.20",
106
                                       "129.175.64.25","129.175.64.126","129.175.65.117","129.175.65.105"]
107
        dico_cst["dicoProject"] ={}
97 108
    return dico_cst

Also available in: Unified diff