From e2fa252c0766e7706a6b7e12acaa1f99c0403985 Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Mon, 11 Nov 2019 10:59:06 +0100 Subject: [PATCH] tweak default settings of jobrunner --- Service.JobRunner/App.config | 4 ++-- Service.JobRunner/JobRunner.vb | 3 +-- Service.JobRunner/My Project/Settings.Designer.vb | 5 +++-- Service.JobRunner/My Project/Settings.settings | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Service.JobRunner/App.config b/Service.JobRunner/App.config index d70cbf78..e9041aa4 100644 --- a/Service.JobRunner/App.config +++ b/Service.JobRunner/App.config @@ -29,10 +29,10 @@ False - True|0 0 0/1 * * ?|RootPath::LDAP://DIGITALDATA + False|0 0 0/1 * * ?|RootPath::LDAP://DIGITALDATA,UserFilter::(&(samaccountname=@SAMACCOUNTNAME)),GroupFilter(&(samaccountname=*)) - False|10/0 * * * * ?|Foo::Bar + True|10/0 * * * * ?|Foo::Bar False|0 0 0/1 * * ?|CertPath::E:\jonathanjenne.pfx,CertPass::jonathanjenne,Username::j.jenne@digitaldata.works,Password::DigitalData01!,BaseUrl::http://data.api.wisag.de:8090 diff --git a/Service.JobRunner/JobRunner.vb b/Service.JobRunner/JobRunner.vb index 54711e6a..f5fc2ba2 100644 --- a/Service.JobRunner/JobRunner.vb +++ b/Service.JobRunner/JobRunner.vb @@ -43,10 +43,9 @@ Public Class JobRunner Await _scheduler.Start() ' [START] Job Scheduling - ' ADSync Await ScheduleJob(Of ADJob)("ADSync", My.Settings.ADSYNC_CONFIG) - ' Test Job Await ScheduleJob(Of TestJob)("TestJob", My.Settings.TEST_CONFIG) + Await ScheduleJob(Of GraphQLJob)("GraphQLJob", My.Settings.GRAPHQL_CONFIG) ' [END] Job Scheduling Catch ex As Exception diff --git a/Service.JobRunner/My Project/Settings.Designer.vb b/Service.JobRunner/My Project/Settings.Designer.vb index 8e6f512c..81faf3f3 100644 --- a/Service.JobRunner/My Project/Settings.Designer.vb +++ b/Service.JobRunner/My Project/Settings.Designer.vb @@ -119,7 +119,8 @@ Namespace My _ + Global.System.Configuration.DefaultSettingValueAttribute("False|0 0 0/1 * * ?|RootPath::LDAP://DIGITALDATA,UserFilter::(&(samaccountname=@S"& _ + "AMACCOUNTNAME)),GroupFilter(&(samaccountname=*))")> _ Public ReadOnly Property ADSYNC_CONFIG() As String Get Return CType(Me("ADSYNC_CONFIG"),String) @@ -128,7 +129,7 @@ Namespace My _ + Global.System.Configuration.DefaultSettingValueAttribute("True|10/0 * * * * ?|Foo::Bar")> _ Public ReadOnly Property TEST_CONFIG() As String Get Return CType(Me("TEST_CONFIG"),String) diff --git a/Service.JobRunner/My Project/Settings.settings b/Service.JobRunner/My Project/Settings.settings index c8571020..c9f788c8 100644 --- a/Service.JobRunner/My Project/Settings.settings +++ b/Service.JobRunner/My Project/Settings.settings @@ -24,10 +24,10 @@ False - True|0 0 0/1 * * ?|RootPath::LDAP://DIGITALDATA + False|0 0 0/1 * * ?|RootPath::LDAP://DIGITALDATA,UserFilter::(&(samaccountname=@SAMACCOUNTNAME)),GroupFilter(&(samaccountname=*)) - False|10/0 * * * * ?|Foo::Bar + True|10/0 * * * * ?|Foo::Bar False|0 0 0/1 * * ?|CertPath::E:\jonathanjenne.pfx,CertPass::jonathanjenne,Username::j.jenne@digitaldata.works,Password::DigitalData01!,BaseUrl::http://data.api.wisag.de:8090