diff --git a/TODO.md b/TODO.md index e1c7746..11898e8 100644 --- a/TODO.md +++ b/TODO.md @@ -3,12 +3,11 @@ Tasks - Open - REST Server - - [ ] Add in authorization scheme (maybe JWT?) + - [ ] Add in authorization scheme (maybe PAM auth endpoint with JWT?) - [ ] Flesh out server and interface - Core Functionality - [ ] Handle return on errored DAG / Task - [ ] Clearing a DAG Task - - [ ] Resume a failed DAG - Executors - [ ] Slurm Executor - Loggers @@ -16,8 +15,11 @@ Tasks - [ ] Add unit tests - [ ] Add more error checking - [ ] General logger + - [ ] Redis DAGRunLogger - Completed - - [X] Add ability to define child -> parent relationships - - [X] Rip apart scheduler and re-implement runDag as a utility function, taking an execution pool, task list, and - logger \ No newline at end of file + - Core Functionality + - [X] Add ability to define child -> parent relationships + - [X] Rip apart scheduler and re-implement runDag as a utility function, taking an execution pool, task list, + and logger + - [X] Resume a failed DAG \ No newline at end of file diff --git a/cmake/jwt-cpp.cmake b/cmake/jwt-cpp.cmake new file mode 100644 index 0000000..903668a --- /dev/null +++ b/cmake/jwt-cpp.cmake @@ -0,0 +1,15 @@ +include(ExternalProject) + +project(jwt) + +ExternalProject_Add(${PROJECT_NAME}-external + GIT_REPOSITORY https://github.com/Thalhammer/jwt-cpp.git + GIT_TAG "v0.5.1" + GIT_SHALLOW TRUE + SOURCE_DIR ${THIRD_PARTY_DIR}/${PROJECT_NAME} + BUILD_COMMAND "" + INSTALL_COMMAND "" + CONFIGURE_COMMAND "") +add_library(${PROJECT_NAME} INTERFACE) +add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}-external) +target_include_directories(${PROJECT_NAME} SYSTEM INTERFACE ${THIRD_PARTY_DIR}/${PROJECT_NAME}/include) \ No newline at end of file