The expiration time for new job artifacts in CI/CD pipelines is now 30 days (GitLab default). Previously generated artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

dcdbglobals.h 2.25 KB
Newer Older
1
2
3
//================================================================================
// Name        : dcdbglobals.h
// Author      : Axel Auweter
Micha Müller's avatar
Micha Müller committed
4
// Contact     : info@dcdb.it
5
// Copyright   : Leibniz Supercomputing Centre
Michael Ott's avatar
Michael Ott committed
6
// Description : Internal global settings for libdcdb
7
8
9
10
//================================================================================

//================================================================================
// This file is part of DCDB (DataCenter DataBase)
11
// Copyright (C) 2011-2019 Leibniz Supercomputing Centre
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
//================================================================================
27
28
29
30

/**
 * @file
 * @brief This file contains some global definitions and names
31
 * used by the libdcdb library.
32
33
34
35
36
 */

#ifndef DCDB_GLOBALS_H
#define DCDB_GLOBALS_H

37
/* Legend:
38
39
40
 *   CED = Caliper Event Data
 *   CF  = Column Family
 *   JD  = Job Data
41
42
 */

43
44
#define KEYSPACE_NAME        "dcdb"
#define CF_SENSORDATA        "sensordata"
Axel Auweter's avatar
Axel Auweter committed
45
#define SENSORDATA_GC_GRACE_SECONDS "600"
46
#define SENSORDATA_COMPACTION "{'class' : 'TimeWindowCompactionStrategy', 'compaction_window_unit' : 'DAYS', 'compaction_window_size' : 1 }"
47
#define PAGING_SIZE 10000
48
49
50
51
52

#define CONFIG_KEYSPACE_NAME KEYSPACE_NAME "_config"
#define CF_PUBLISHEDSENSORS  "publishedsensors"
#define CF_VIRTUALSENSORS    "virtualsensors"

53
54
55
#define CED_KEYSPACE_NAME KEYSPACE_NAME "_calievtdata"
#define CF_CALIEVTDATA "calievtdata"

56
#define JD_KEYSPACE_NAME KEYSPACE_NAME "_jobdata"
57
#define CF_JOBDATA  "jobdata"
58
#define CF_JOBDATAVIEW "jobdata_bytime"
59

60
#endif /* DCDB_GLOBALS_H */