Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
3c15e7a
Dev version bump [skip ci]
nblumhardt Mar 21, 2019
d881e9e
Retry loading resource groups if the initial attempt fails; fixes #59
nblumhardt Sep 12, 2019
ca942b9
Include 'render' and 'permalinkId' parameters in single event load re…
nblumhardt Sep 12, 2019
68aa7c5
Merge pull request #66 from nblumhardt/reload-metadata-dev
nblumhardt Sep 12, 2019
852a3ca
Merge branch 'dev' into findasync-render
nblumhardt Sep 12, 2019
e8427de
Merge pull request #67 from nblumhardt/findasync-render
nblumhardt Sep 12, 2019
59c3e3d
Add EnsureConnected(); be more resilient to failed initial root entit…
nblumhardt Sep 12, 2019
2a78a53
More cached task logic cleanup
nblumhardt Sep 12, 2019
e38e83f
Merge pull request #68 from nblumhardt/ensure-connected
nblumhardt Sep 12, 2019
3baf361
Allow a timeout to be passed through SeqConnnection to the underlying…
nblumhardt Sep 12, 2019
ebb5f33
Merge pull request #69 from nblumhardt/httpclient-timeout
nblumhardt Sep 12, 2019
f1aab15
Document SeqApiClient; reorganize so that the exposed HttpClient send…
nblumhardt Sep 12, 2019
ef9b259
Improve documentation coverage of core API client/model types. Fixes …
nblumhardt Sep 12, 2019
de52265
Add some very basic tests for Link
nblumhardt Sep 12, 2019
03ad65c
Merge pull request #71 from nblumhardt/doc-coverage
KodrAus Sep 13, 2019
379f222
Partial revert of #69 - Timeout is already accessible via SeqConnecti…
nblumhardt Sep 13, 2019
cf85825
Merge pull request #72 from nblumhardt/backout-timeout
nblumhardt Sep 13, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed asset/getseq_net.ico
Binary file not shown.
14 changes: 0 additions & 14 deletions example/SeqQuery/App.config

This file was deleted.

2 changes: 1 addition & 1 deletion example/SeqQuery/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static void Main(string[] args)
var server = arguments["<server>"].ToString();
var query = Normalize(arguments["<query>"]);
var apiKey = Normalize(arguments["--apikey"]);
var @from = Normalize(arguments["--from"]);
var from = Normalize(arguments["--from"]);
var to = Normalize(arguments["--to"]);

await Run(server, apiKey, query, from, to);
Expand Down
4 changes: 0 additions & 4 deletions example/SeqQuery/SeqQuery.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<OutputType>Exe</OutputType>
</PropertyGroup>

<ItemGroup>
<None Include="App.config" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Seq.Api\Seq.Api.csproj" />
</ItemGroup>
Expand Down
Binary file removed example/SeqQuery/getseq_net.ico
Binary file not shown.
14 changes: 0 additions & 14 deletions example/SeqTail/App.config

This file was deleted.

6 changes: 3 additions & 3 deletions example/SeqTail/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static void Main(string[] args)
Console.WriteLine("Tailing, press Ctrl+C to exit.");
Console.CancelKeyPress += (s,a) => cancel.Cancel();

var run = Task.Run(() => Run(server, apiKey, filter, cancel));
var run = Task.Run(() => Run(server, apiKey, filter, cancel), cancel.Token);

run.GetAwaiter().GetResult();
}
Expand Down Expand Up @@ -78,8 +78,8 @@ static async Task Run(string server, string apiKey, string filter, CancellationT
using (var stream = await connection.Events.StreamAsync<JObject>(filter: strict))
{
var subscription = stream
.Select(jObject => LogEventReader.ReadFromJObject(jObject))
.Subscribe(evt => Log.Write(evt), () => cancel.Cancel());
.Select(LogEventReader.ReadFromJObject)
.Subscribe(Log.Write, cancel.Cancel);

cancel.Token.WaitHandle.WaitOne();
subscription.Dispose();
Expand Down
4 changes: 0 additions & 4 deletions example/SeqTail/SeqTail.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<OutputType>Exe</OutputType>
</PropertyGroup>

<ItemGroup>
<None Include="App.config" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Seq.Api\Seq.Api.csproj" />
</ItemGroup>
Expand Down
Binary file removed example/SeqTail/getseq_net.ico
Binary file not shown.
14 changes: 0 additions & 14 deletions example/SignalCopy/App.config

This file was deleted.

4 changes: 0 additions & 4 deletions example/SignalCopy/SignalCopy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<OutputType>Exe</OutputType>
</PropertyGroup>

<ItemGroup>
<None Include="App.config" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Seq.Api\Seq.Api.csproj" />
</ItemGroup>
Expand Down
Binary file removed example/SignalCopy/getseq_net.ico
Binary file not shown.
12 changes: 5 additions & 7 deletions seq-api.sln
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.3
# Visual Studio Version 16
VisualStudioVersion = 16.0.29230.47
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{B36BE973-6D5B-4DAA-BF42-F1CF11D6F18E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "example", "example", "{1C66E116-DC21-4C8F-833E-A4C2DDF58487}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "asset", "asset", "{233C7E7D-26DE-452A-A415-44F99CBA18E7}"
ProjectSection(SolutionItems) = preProject
asset\getseq_net.ico = asset\getseq_net.ico
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "global", "global", "{7DCED657-7E83-4E6F-AB14-5753E044304D}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
Expand Down Expand Up @@ -69,4 +64,7 @@ Global
{42CEBFBA-208F-40F1-AC95-13F05F6D5412} = {1C66E116-DC21-4C8F-833E-A4C2DDF58487}
{E8CDDE17-8E29-4EB4-A4BB-38BCE346A752} = {1C66E116-DC21-4C8F-833E-A4C2DDF58487}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {20BAB483-FB94-4373-8E4C-0F846B6DBFFC}
EndGlobalSection
EndGlobal
16 changes: 15 additions & 1 deletion seq-api.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=AD/@EntryIndexedValue">AD</s:String></wpf:ResourceDictionary>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=AD/@EntryIndexedValue">AD</s:String>
<s:Boolean x:Key="/Default/UserDictionary/Words/=apikey/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Datalust/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=dstkey/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=hrefs/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Parameterize/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=permalinked/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=permalinks/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Permalinks/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Reentrant/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Serilog/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=srckey/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Unsubscriber/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Workspaces/@EntryIndexedValue">True</s:Boolean>
</wpf:ResourceDictionary>
Loading