-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support multiple execution nodes (#57)
* Make timezone configurable per job Resolves #47 * First implementation of Node service and related refactorings Relates to #45 * Update readme * Add master service, implement notifications and phrases * Fix ubuntu build * Fix typo in sql struct, add missing todo * Fix build on macOS * Add notifications support in node service * Only consider enabled jobs for timezone retrieval * Add timezone key to job table * Add missing config setting * Add disableJobsForUser to node service * Attempt to fix travis build * Update travis to xenial * Fix thrift build * Allow request body for DELETE requests Resolves #54
- Loading branch information
Showing
33 changed files
with
2,075 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
find_package(PkgConfig REQUIRED) | ||
|
||
pkg_check_modules(LIBTHRIFT REQUIRED thrift) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(libthrift DEFAULT_MSG LIBTHRIFT_LIBRARIES LIBTHRIFT_INCLUDE_DIRS LIBTHRIFT_LIBDIR) | ||
mark_as_advanced(LIBTHRIFT_INCLUDE_DIRS LIBTHRIFT_LIBRARIES LIBTHRIFT_LIBDIR) |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
find_program(THRIFT_COMPILER NAMES thrift) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(thrift DEFAULT_MSG THRIFT_COMPILER) | ||
mark_as_advanced(THRIFT_COMPILER) | ||
|
||
macro(thrift_compile FILENAME GENERATOR OUTPUTDIR) | ||
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${OUTPUTDIR}) | ||
execute_process(COMMAND ${THRIFT_COMPILER} --gen ${GENERATOR} -out ${CMAKE_CURRENT_BINARY_DIR}/${OUTPUTDIR} ${CMAKE_CURRENT_SOURCE_DIR}/${FILENAME} | ||
RESULT_VARIABLE RES) | ||
if(RES) | ||
message(FATAL_ERROR "Failed to compile ${FILENAME} with thrift generator ${GENERATOR}") | ||
endif() | ||
endmacro(thrift_compile) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
cmake_minimum_required(VERSION 3.1) | ||
project(cron-job.org) | ||
|
||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMake/Modules") | ||
set(CMAKE_CXX_STANDARD 14) | ||
|
||
add_subdirectory(protocol) | ||
add_subdirectory(chronos) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.