-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added logic in the Select so it takes all columnmappings for the same…
… SourceTable, for storing this into the SaveRequestResponseFile so it can be reused on the same source-table-mappings if the setting for readFromLastRequestResponse is used.
- Loading branch information
1 parent
a57e109
commit a7a62bb
Showing
9 changed files
with
2,061 additions
and
2,060 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Dynamicweb.DataIntegration.Providers.ODataProvider.Model | ||
namespace Dynamicweb.DataIntegration.Providers.ODataProvider.Model; | ||
|
||
internal class ResponseFromEndpoint<T> | ||
{ | ||
internal class ResponseFromEndpoint<T> | ||
{ | ||
[JsonPropertyName("@odata.context")] | ||
public string Odata { get; set; } | ||
[JsonPropertyName("value")] | ||
public List<T> Value { get; set; } | ||
[JsonPropertyName("@odata.nextLink")] | ||
public string OdataNextLink { get; set; } | ||
} | ||
[JsonPropertyName("@odata.context")] | ||
public string Odata { get; set; } | ||
[JsonPropertyName("value")] | ||
public List<T> Value { get; set; } | ||
[JsonPropertyName("@odata.nextLink")] | ||
public string OdataNextLink { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,31 @@ | ||
using System.Collections.Generic; | ||
using System.Net; | ||
|
||
namespace Dynamicweb.DataIntegration.Providers.ODataProvider.Model | ||
namespace Dynamicweb.DataIntegration.Providers.ODataProvider.Model; | ||
|
||
/// <summary> | ||
/// Wrap an HTTP response, with headers, content and status code. | ||
/// </summary> | ||
internal class RestResponse<T> | ||
{ | ||
/// <summary> | ||
/// Wrap an HTTP response, with headers, content and status code. | ||
/// Content of the response. | ||
/// </summary> | ||
internal class RestResponse<T> | ||
{ | ||
/// <summary> | ||
/// Content of the response. | ||
/// </summary> | ||
internal T Content { get; set; } | ||
internal T Content { get; set; } | ||
|
||
/// <summary> | ||
/// HTTP headers of the response. | ||
/// </summary> | ||
internal Dictionary<string, string> Headers { get; set; } | ||
/// <summary> | ||
/// HTTP headers of the response. | ||
/// </summary> | ||
internal Dictionary<string, string> Headers { get; set; } | ||
|
||
/// <summary> | ||
/// Status response code for the request. | ||
/// </summary> | ||
internal HttpStatusCode Status { get; set; } | ||
/// <summary> | ||
/// Status response code for the request. | ||
/// </summary> | ||
internal HttpStatusCode Status { get; set; } | ||
|
||
/// <summary> | ||
/// Will only be populated if request is not successful, at which point the | ||
/// response content can be found in this property. | ||
/// </summary> | ||
internal string Error { get; set; } | ||
} | ||
/// <summary> | ||
/// Will only be populated if request is not successful, at which point the | ||
/// response content can be found in this property. | ||
/// </summary> | ||
internal string Error { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.