JobRunner: Fix GraphQL Args
This commit is contained in:
parent
421f6f6827
commit
a2578f1c86
@ -35,7 +35,7 @@
|
||||
<value>True|10/0 * * * * ?|Foo::Bar</value>
|
||||
</setting>
|
||||
<setting name="GRAPHQL_CONFIG" serializeAs="String">
|
||||
<value>False|0 0 0/1 * * ?|QueryConfig::E:\JenneJ\QueryConfig.xml</value>
|
||||
<value>False|0 0 0/1 * * ?|QueryConfigFolder::E:\JenneJ\GraphQL</value>
|
||||
</setting>
|
||||
</DigitalData.Services.JobRunner.My.MySettings>
|
||||
</applicationSettings>
|
||||
|
||||
@ -11,10 +11,7 @@ Public Class GraphQLJob
|
||||
Dim oLogConfig As LogConfig = oJobData.Item("LogConfig")
|
||||
Dim oArgs As Dictionary(Of String, String) = oJobData.Item("Args")
|
||||
Dim oJobArgs = New GraphQLArgs With {
|
||||
.CertificateFile = oArgs.Item("CertFile"),
|
||||
.CertificatePassword = oArgs.Item("CertPass"),
|
||||
.Email = oArgs.Item("Username"),
|
||||
.Password = oArgs.Item("Password")
|
||||
.QueryConfigPath = oArgs.Item("QueryConfigFolder")
|
||||
}
|
||||
|
||||
Dim oGraphQLJob As New Modules.Jobs.GraphQLJob(oLogConfig)
|
||||
|
||||
@ -138,7 +138,7 @@ Namespace My
|
||||
|
||||
<Global.System.Configuration.ApplicationScopedSettingAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Configuration.DefaultSettingValueAttribute("False|0 0 0/1 * * ?|QueryConfig::E:\JenneJ\QueryConfig.xml")> _
|
||||
Global.System.Configuration.DefaultSettingValueAttribute("False|0 0 0/1 * * ?|QueryConfigFolder::E:\JenneJ\GraphQL")> _
|
||||
Public ReadOnly Property GRAPHQL_CONFIG() As String
|
||||
Get
|
||||
Return CType(Me("GRAPHQL_CONFIG"),String)
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
<Value Profile="(Default)">True|10/0 * * * * ?|Foo::Bar</Value>
|
||||
</Setting>
|
||||
<Setting Name="GRAPHQL_CONFIG" Type="System.String" Scope="Application">
|
||||
<Value Profile="(Default)">False|0 0 0/1 * * ?|QueryConfig::E:\JenneJ\QueryConfig.xml</Value>
|
||||
<Value Profile="(Default)">False|0 0 0/1 * * ?|QueryConfigFolder::E:\JenneJ\GraphQL</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
Loading…
x
Reference in New Issue
Block a user