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 1.91 KB
Newer Older
1
2
3
4
//================================================================================
// Name        : dcdbglobals.h
// Author      : Axel Auweter
// Copyright   : Leibniz Supercomputing Centre
Michael Ott's avatar
Michael Ott committed
5
// Description : Internal global settings for libdcdb
6
7
8
9
//================================================================================

//================================================================================
// This file is part of DCDB (DataCenter DataBase)
10
// Copyright (C) 2011-2019 Leibniz Supercomputing Centre
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// 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
//================================================================================
26
27
28
29

/**
 * @file
 * @brief This file contains some global definitions and names
Michael Ott's avatar
Michael Ott committed
30
 * use by the libdcdb library.
31
32
33
34
35
 */

#ifndef DCDB_GLOBALS_H
#define DCDB_GLOBALS_H

36
37
38
39
40
/* Legend:
 *         CF = Column Family
 *         JD = Job Data
 */

41
42
#define KEYSPACE_NAME        "dcdb"
#define CF_SENSORDATA        "sensordata"
Axel Auweter's avatar
Axel Auweter committed
43
#define SENSORDATA_GC_GRACE_SECONDS "600"
44
45
46
47
48

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

49
#define JD_KEYSPACE_NAME KEYSPACE_NAME "_jobdata"
50
#define CF_JOBDATA  "jobdata"
51

52
#endif /* DCDB_GLOBALS_H */