tweak default settings of jobrunner
This commit is contained in:
parent
c72a832b84
commit
e2fa252c07
@ -29,10 +29,10 @@
|
|||||||
<value>False</value>
|
<value>False</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="ADSYNC_CONFIG" serializeAs="String">
|
<setting name="ADSYNC_CONFIG" serializeAs="String">
|
||||||
<value>True|0 0 0/1 * * ?|RootPath::LDAP://DIGITALDATA</value>
|
<value>False|0 0 0/1 * * ?|RootPath::LDAP://DIGITALDATA,UserFilter::(&(samaccountname=@SAMACCOUNTNAME)),GroupFilter(&(samaccountname=*))</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="TEST_CONFIG" serializeAs="String">
|
<setting name="TEST_CONFIG" serializeAs="String">
|
||||||
<value>False|10/0 * * * * ?|Foo::Bar</value>
|
<value>True|10/0 * * * * ?|Foo::Bar</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="GRAPHQL_CONFIG" serializeAs="String">
|
<setting name="GRAPHQL_CONFIG" serializeAs="String">
|
||||||
<value>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</value>
|
<value>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</value>
|
||||||
|
|||||||
@ -43,10 +43,9 @@ Public Class JobRunner
|
|||||||
Await _scheduler.Start()
|
Await _scheduler.Start()
|
||||||
|
|
||||||
' [START] Job Scheduling
|
' [START] Job Scheduling
|
||||||
' ADSync
|
|
||||||
Await ScheduleJob(Of ADJob)("ADSync", My.Settings.ADSYNC_CONFIG)
|
Await ScheduleJob(Of ADJob)("ADSync", My.Settings.ADSYNC_CONFIG)
|
||||||
' Test Job
|
|
||||||
Await ScheduleJob(Of TestJob)("TestJob", My.Settings.TEST_CONFIG)
|
Await ScheduleJob(Of TestJob)("TestJob", My.Settings.TEST_CONFIG)
|
||||||
|
Await ScheduleJob(Of GraphQLJob)("GraphQLJob", My.Settings.GRAPHQL_CONFIG)
|
||||||
' [END] Job Scheduling
|
' [END] Job Scheduling
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
|||||||
@ -119,7 +119,8 @@ Namespace My
|
|||||||
|
|
||||||
<Global.System.Configuration.ApplicationScopedSettingAttribute(), _
|
<Global.System.Configuration.ApplicationScopedSettingAttribute(), _
|
||||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
Global.System.Configuration.DefaultSettingValueAttribute("True|0 0 0/1 * * ?|RootPath::LDAP://DIGITALDATA")> _
|
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
|
Public ReadOnly Property ADSYNC_CONFIG() As String
|
||||||
Get
|
Get
|
||||||
Return CType(Me("ADSYNC_CONFIG"),String)
|
Return CType(Me("ADSYNC_CONFIG"),String)
|
||||||
@ -128,7 +129,7 @@ Namespace My
|
|||||||
|
|
||||||
<Global.System.Configuration.ApplicationScopedSettingAttribute(), _
|
<Global.System.Configuration.ApplicationScopedSettingAttribute(), _
|
||||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
Global.System.Configuration.DefaultSettingValueAttribute("False|10/0 * * * * ?|Foo::Bar")> _
|
Global.System.Configuration.DefaultSettingValueAttribute("True|10/0 * * * * ?|Foo::Bar")> _
|
||||||
Public ReadOnly Property TEST_CONFIG() As String
|
Public ReadOnly Property TEST_CONFIG() As String
|
||||||
Get
|
Get
|
||||||
Return CType(Me("TEST_CONFIG"),String)
|
Return CType(Me("TEST_CONFIG"),String)
|
||||||
|
|||||||
@ -24,10 +24,10 @@
|
|||||||
<Value Profile="(Default)">False</Value>
|
<Value Profile="(Default)">False</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="ADSYNC_CONFIG" Type="System.String" Scope="Application">
|
<Setting Name="ADSYNC_CONFIG" Type="System.String" Scope="Application">
|
||||||
<Value Profile="(Default)">True|0 0 0/1 * * ?|RootPath::LDAP://DIGITALDATA</Value>
|
<Value Profile="(Default)">False|0 0 0/1 * * ?|RootPath::LDAP://DIGITALDATA,UserFilter::(&(samaccountname=@SAMACCOUNTNAME)),GroupFilter(&(samaccountname=*))</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="TEST_CONFIG" Type="System.String" Scope="Application">
|
<Setting Name="TEST_CONFIG" Type="System.String" Scope="Application">
|
||||||
<Value Profile="(Default)">False|10/0 * * * * ?|Foo::Bar</Value>
|
<Value Profile="(Default)">True|10/0 * * * * ?|Foo::Bar</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="GRAPHQL_CONFIG" Type="System.String" Scope="Application">
|
<Setting Name="GRAPHQL_CONFIG" Type="System.String" Scope="Application">
|
||||||
<Value Profile="(Default)">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</Value>
|
<Value Profile="(Default)">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</Value>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user