icinga2/lib/base
Michael Friedrich 97513965e6 Introduce IcingaApplication#environment
Precedence as follows:

- DEnvironment=...
- const Environment = ...
- object IcingaApplication "app" { environment = "..." }

The wrapped script constant handling is required
since we cannot directly link from libremote (SNI handling)
to libicinga where the object resides. Instead we'll
use the Application class helpers for hiding the ScriptGlobal
calls.
2018-08-10 12:49:48 +02:00
..
CMakeLists.txt Introduce IcingaApplication#environment 2018-08-10 12:49:48 +02:00
application-environment.cpp Introduce IcingaApplication#environment 2018-08-10 12:49:48 +02:00
application-version.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
application.cpp Update output for `--version` 2018-08-07 18:46:18 +02:00
application.hpp Introduce IcingaApplication#environment 2018-08-10 12:49:48 +02:00
application.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
array-script.cpp Implement Array::Unique() and add unit tests 2018-05-09 17:25:55 +02:00
array.cpp Implement Array::Unique() and add unit tests 2018-05-09 17:25:55 +02:00
array.hpp Implement Array::Unique() and add unit tests 2018-05-09 17:25:55 +02:00
base64.cpp Apply clang-tidy fix 'modernize-use-auto' 2018-01-04 12:24:57 +01:00
base64.hpp Build libraries as static libraries 2018-01-02 23:29:48 +01:00
boolean-script.cpp Use initializer lists for arrays and dictionaries 2018-01-16 12:27:44 +01:00
boolean.cpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
boolean.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
configobject-script.cpp Rename macro RequireNotNull to REQUIRE_NOT_NULL 2018-02-21 13:47:46 +01:00
configobject.cpp Remove unused includes 2018-01-22 09:52:29 +01:00
configobject.hpp Fix compatibility with CMake < 3.1 2018-01-18 15:12:46 +01:00
configobject.ti Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
configtype.cpp Apply clang-tidy fix 'modernize-use-auto' 2018-01-04 12:24:57 +01:00
configtype.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
configwriter.cpp Remove unused includes 2018-01-22 09:52:29 +01:00
configwriter.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
console.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
console.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
context.cpp Remove unused includes 2018-01-22 09:52:29 +01:00
context.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
convert.cpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
convert.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
datetime-script.cpp Rename macro RequireNotNull to REQUIRE_NOT_NULL 2018-02-21 13:47:46 +01:00
datetime.cpp Fix compatibility with CMake < 3.1 2018-01-18 15:12:46 +01:00
datetime.hpp Fix compatibility with CMake < 3.1 2018-01-18 15:12:46 +01:00
datetime.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
debug.hpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
debuginfo.cpp Apply clang-tidy fix 'modernize-use-default-member-init' 2018-01-04 12:24:58 +01:00
debuginfo.hpp Apply clang-tidy fix 'modernize-use-default-member-init' 2018-01-04 12:24:58 +01:00
dependencygraph.cpp Apply clang-tidy fix 'modernize-use-emplace' 2018-01-04 12:24:57 +01:00
dependencygraph.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
dictionary-script.cpp Implement the Dictionary#clear script function 2018-08-02 08:45:19 +02:00
dictionary.cpp Implement support for frozen arrays and dictionaries 2018-01-30 12:22:04 +01:00
dictionary.hpp Implement support for frozen arrays and dictionaries 2018-01-30 12:22:04 +01:00
exception.cpp Remove duplicate semicolons 2018-01-24 12:07:52 +01:00
exception.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
fifo.cpp Apply clang-tidy fix 'modernize-use-default-member-init' 2018-01-04 12:24:58 +01:00
fifo.hpp Apply clang-tidy fix 'modernize-use-default-member-init' 2018-01-04 12:24:58 +01:00
filelogger.cpp Log something when the Filelogger has been started 2018-07-19 12:48:29 +02:00
filelogger.hpp Fix compatibility with CMake < 3.1 2018-01-18 15:12:46 +01:00
filelogger.ti Add activation priorities for config object types 2018-05-04 11:25:47 +02:00
function-script.cpp Rename macro RequireNotNull to REQUIRE_NOT_NULL 2018-02-21 13:47:46 +01:00
function.cpp Fix compatibility with CMake < 3.1 2018-01-18 15:12:46 +01:00
function.hpp Fix compatibility with CMake < 3.1 2018-01-18 15:12:46 +01:00
function.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
functionwrapper.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
i2-base.hpp Build libraries as static libraries 2018-01-02 23:29:48 +01:00
initialize.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
initialize.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
json-script.cpp Use initializer lists for arrays and dictionaries 2018-01-16 12:27:44 +01:00
json.cpp Avoid unnecessary casts in the JSON encoder 2018-01-11 07:31:08 +01:00
json.hpp Build libraries as static libraries 2018-01-02 23:29:48 +01:00
library.cpp Change a bunch more copyright headers for 2018 2018-01-08 18:05:12 +01:00
library.hpp Change a bunch more copyright headers for 2018 2018-01-08 18:05:12 +01:00
loader.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
loader.hpp Apply clang-tidy fix 'modernize-pass-by-value' 2018-01-04 12:24:57 +01:00
logger.cpp Keep notes for immediately log flushing 2018-07-19 12:51:30 +02:00
logger.hpp Add support for config validation log timestamps 2018-05-03 11:35:29 +02:00
logger.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
math-script.cpp Use initializer lists for arrays and dictionaries 2018-01-16 12:27:44 +01:00
netstring.cpp Limit anonymous connections to 25 2018-03-05 13:22:43 +01:00
netstring.hpp Limit JSON-RPC message size 2018-03-05 10:29:05 +01:00
networkstream.cpp Apply clang-tidy fix 'modernize-pass-by-value' 2018-01-04 12:24:57 +01:00
networkstream.hpp Apply clang-tidy fix 'modernize-pass-by-value' 2018-01-04 12:24:57 +01:00
number-script.cpp Use initializer lists for arrays and dictionaries 2018-01-16 12:27:44 +01:00
number.cpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
number.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
object-packer.cpp icinga::PackObject(): shorten conversion to string 2018-08-07 09:57:08 +02:00
object-packer.hpp Implement object packer for consistent hashing 2018-07-26 17:36:48 +02:00
object-script.cpp Rename macro RequireNotNull to REQUIRE_NOT_NULL 2018-02-21 13:47:46 +01:00
object.cpp Rename macro RequireNotNull to REQUIRE_NOT_NULL 2018-02-21 13:47:46 +01:00
object.hpp ObjectLock#Unlock(): don't reset m_Object->m_LockOwner too early 2018-06-22 14:13:09 +02:00
objectlock.cpp ObjectLock#Unlock(): don't reset m_Object->m_LockOwner too early 2018-06-22 14:13:09 +02:00
objectlock.hpp Apply clang-tidy fix 'modernize-use-default-member-init' 2018-01-04 12:24:58 +01:00
objecttype.cpp Remove unused includes 2018-01-22 09:52:29 +01:00
objecttype.hpp Apply clang-tidy fix 'modernize-use-default-member-init' 2018-01-04 12:24:58 +01:00
perfdatavalue.cpp Remove unused includes 2018-01-22 09:52:29 +01:00
perfdatavalue.hpp Fix compatibility with CMake < 3.1 2018-01-18 15:12:46 +01:00
perfdatavalue.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
primitivetype.cpp Apply clang-tidy fix 'modernize-pass-by-value' 2018-01-04 12:24:57 +01:00
primitivetype.hpp Apply clang-tidy fix 'modernize-pass-by-value' 2018-01-04 12:24:57 +01:00
process.cpp Use initializer lists for arrays and dictionaries 2018-01-16 12:27:44 +01:00
process.hpp Fix missing include 2018-01-26 14:38:55 +01:00
reference-script.cpp Implement references 2018-08-07 07:44:48 +02:00
reference.cpp Implement references 2018-08-07 07:44:48 +02:00
reference.hpp Implement references 2018-08-07 07:44:48 +02:00
registry.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
ringbuffer.cpp Update the RingBuffer class to use a regular mutex instead of ObjectLock 2018-01-11 10:40:19 +01:00
ringbuffer.hpp Update the RingBuffer class to use a regular mutex instead of ObjectLock 2018-01-11 10:40:19 +01:00
scriptframe.cpp Apply clang-tidy fix 'modernize-pass-by-value' 2018-01-04 12:24:57 +01:00
scriptframe.hpp Apply clang-tidy fix 'modernize-pass-by-value' 2018-01-04 12:24:57 +01:00
scriptglobal.cpp Replace boost::algorithm::split calls with String::Split 2018-02-26 08:27:18 +01:00
scriptglobal.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
scriptutils.cpp Merge pull request #6498 from Icinga/bugfix/match-regex-match-any-regression 2018-07-27 17:28:13 +02:00
scriptutils.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
serializer.cpp Improve error message for serializing objects with recursive references 2018-08-02 11:06:24 +02:00
serializer.hpp Improve error message for serializing objects with recursive references 2018-08-02 11:06:24 +02:00
singleton.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
socket.cpp ApiListener: Add support for dynamic port handling 2018-08-08 17:42:57 +02:00
socket.hpp ApiListener: Add support for dynamic port handling 2018-08-08 17:42:57 +02:00
socketevents-epoll.cpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
socketevents-poll.cpp Ensure that SetCorked() works properly 2018-03-06 09:03:35 +01:00
socketevents.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
socketevents.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
stacktrace.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
stacktrace.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
statsfunction.hpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
stdiostream.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
stdiostream.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
stream.cpp Stream#ReadLine(): simplify algorithm 2018-06-20 17:28:52 +02:00
stream.hpp Add cork 2018-02-28 11:40:58 +01:00
streamlogger.cpp Fix compatibility with CMake < 3.1 2018-01-18 15:12:46 +01:00
streamlogger.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
streamlogger.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
string-script.cpp Remove unused includes 2018-01-22 09:52:29 +01:00
string.cpp Remove unused includes 2018-01-22 09:52:29 +01:00
string.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
sysloglogger.cpp Fix compatibility with CMake < 3.1 2018-01-18 15:12:46 +01:00
sysloglogger.hpp Fix compatibility with CMake < 3.1 2018-01-18 15:12:46 +01:00
sysloglogger.ti Add activation priorities for config object types 2018-05-04 11:25:47 +02:00
tcpsocket.cpp TcpSocket#Bind(): reuse socket addresses on Windows, too 2018-06-22 10:33:31 +02:00
tcpsocket.hpp Add the final keyword to classes 2018-01-04 05:20:20 +00:00
threadpool.cpp Remove duplicate semicolons 2018-01-24 12:07:52 +01:00
threadpool.hpp Apply clang-tidy fix 'modernize-use-default-member-init' 2018-01-04 12:24:58 +01:00
timer.cpp Start and stop the timer thread lazily 2018-07-20 15:36:15 +02:00
timer.hpp Start and stop the timer thread lazily 2018-07-20 15:36:15 +02:00
tlsstream.cpp Use SSL_pending() for remaining TLS stream data 2018-06-21 15:58:05 +02:00
tlsstream.hpp Use cork in tlsstream and HTTP connection 2018-02-28 11:40:58 +01:00
tlsutility.cpp Improve path handling in cmake and daemon 2018-08-07 14:10:26 +02:00
tlsutility.hpp Remove ApiUser password_hash functionality 2018-06-19 11:32:03 +02:00
type.cpp Add activation priorities for config object types 2018-05-04 11:25:47 +02:00
type.hpp Add activation priorities for config object types 2018-05-04 11:25:47 +02:00
typetype-script.cpp Rename macro RequireNotNull to REQUIRE_NOT_NULL 2018-02-21 13:47:46 +01:00
unix.hpp Fix missing include 2018-01-18 10:54:49 +01:00
unixsocket.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
unixsocket.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
utility.cpp Rework sysconfig file 2018-05-23 15:18:42 +02:00
utility.hpp Rework sysconfig file 2018-05-23 15:18:42 +02:00
value-operators.cpp Use initializer lists for arrays and dictionaries 2018-01-16 12:27:44 +01:00
value.cpp Apply clang-tidy fix 'modernize-use-default-member-init' 2018-01-04 12:24:58 +01:00
value.hpp Remove unused includes 2018-01-22 09:52:29 +01:00
win32.hpp Fix incorrect argument type for JsonRpc::SendMessage 2018-03-06 08:58:19 +01:00
workqueue.cpp Fix negative 'empty in' value in WorkQueue log message 2018-07-10 19:21:04 +02:00
workqueue.hpp Remove the WorkQueue::m_StatsMutex instance variable 2018-01-11 10:48:19 +01:00