From 0d57e900ff4e596902d00df9efec93ba35b67455 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 10 Apr 2015 20:40:10 -0700 Subject: [PATCH] JobLog.get API --- api/v3/JobLog.php | 38 +++++++++++++++++++ .../phpunit/api/v3/SyntaxConformanceTest.php | 2 + xml/schema/Core/JobLog.xml | 8 ++++ 3 files changed, 48 insertions(+) create mode 100644 api/v3/JobLog.php diff --git a/api/v3/JobLog.php b/api/v3/JobLog.php new file mode 100644 index 0000000000..8e6b58d2a6 --- /dev/null +++ b/api/v3/JobLog.php @@ -0,0 +1,38 @@ +toBeImplemented['create'] = array( 'Cxn', 'CxnApp', + 'JobLog', 'SurveyRespondant', 'OptionGroup', 'MailingRecipients', @@ -110,6 +111,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { $this->toBeImplemented['delete'] = array( 'Cxn', 'CxnApp', + 'JobLog', 'MembershipPayment', 'OptionGroup', 'SurveyRespondant', diff --git a/xml/schema/Core/JobLog.xml b/xml/schema/Core/JobLog.xml index b4383fa5d2..b47a752bbf 100644 --- a/xml/schema/Core/JobLog.xml +++ b/xml/schema/Core/JobLog.xml @@ -11,6 +11,7 @@ id int unsigned true + Job Log ID Job log entry Id 4.1 @@ -20,6 +21,7 @@ domain_id + Domain ID int unsigned true @@ -39,17 +41,20 @@ run_time timestamp + Timestamp Log entry date 4.1 job_id + Job ID int unsigned Pointer to job id - not a FK though, just for logging purposes 4.1 name + Job Name varchar 255 Title of the job @@ -57,6 +62,7 @@ command + Command varchar 255 Full path to file containing job script @@ -64,6 +70,7 @@ description + Description varchar 255 Title line of log entry @@ -71,6 +78,7 @@ data + Extended Data text Potential extended data for specific job run (e.g. tracebacks). 4.1 -- 2.25.1