Jobs: Version 1.3.0.1
This commit is contained in:
parent
aeeeebb602
commit
40c2024a2e
@ -68,6 +68,10 @@ Public Class GraphQLJob
|
|||||||
Dim oResultList = oObj.SelectToken(QueryData.MappingBasePath)
|
Dim oResultList = oObj.SelectToken(QueryData.MappingBasePath)
|
||||||
Dim oMappings = QueryData.MappingFields
|
Dim oMappings = QueryData.MappingFields
|
||||||
|
|
||||||
|
If oResultList Is Nothing Then
|
||||||
|
_Logger.Warn("HandleResponse: Could not find BasePath: {0}", QueryData.MappingBasePath)
|
||||||
|
End If
|
||||||
|
|
||||||
_Logger.Info("Processing Queue [{0}] with [{1}] Items", QueryData.Name, oResultList.Count)
|
_Logger.Info("Processing Queue [{0}] with [{1}] Items", QueryData.Name, oResultList.Count)
|
||||||
|
|
||||||
If QueryData.ClearBeforeFill Then
|
If QueryData.ClearBeforeFill Then
|
||||||
@ -85,9 +89,13 @@ Public Class GraphQLJob
|
|||||||
Dim oKeys As New List(Of String)
|
Dim oKeys As New List(Of String)
|
||||||
|
|
||||||
For Each oMapping In oMappings
|
For Each oMapping In oMappings
|
||||||
Dim oValue = oResultItem.SelectToken(oMapping.SourcePath).ToString()
|
Dim oToken = oResultItem.SelectToken(oMapping.SourcePath)
|
||||||
|
|
||||||
oValues.Add(oValue)
|
If oToken Is Nothing Then
|
||||||
|
_Logger.Warn("HandleResponse: Could not find SourcePath: {0}", oMapping.SourcePath)
|
||||||
|
End If
|
||||||
|
|
||||||
|
oValues.Add(oToken.ToString())
|
||||||
oKeys.Add(oMapping.DestinationColumn)
|
oKeys.Add(oMapping.DestinationColumn)
|
||||||
Next
|
Next
|
||||||
|
|
||||||
|
|||||||
@ -30,5 +30,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
' Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||||
' übernehmen, indem Sie "*" eingeben:
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("1.3.0.0")>
|
<Assembly: AssemblyVersion("1.3.0.1")>
|
||||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user