-
Notifications
You must be signed in to change notification settings - Fork 12
Conversation
README.md
Outdated
@@ -9,12 +9,21 @@ Horarium is fully based on an asynchronous work model, it allows you to run hund | |||
|
|||
Horarium supports .NET Core/netstandard 2.0 and .NET Framework 4.6.2 and later. | |||
|
|||
Support Database |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Support Databases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
src/Horarium.Mongo/JobMongoModel.cs
Outdated
|
||
namespace Horarium.Mongo | ||
{ | ||
[MongoEntity("scheduler.jobs")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should name this collection horarium.jobs
(and collection for recurrent jobs too)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about horarium.jobs.scheduler?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think horarium.jobs
is better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -18,14 +16,14 @@ public class TestParallelsWorkTwoManagers : IntegrationTestBase | |||
public TestParallelsWorkTwoManagers() | |||
{ | |||
var provider = new MongoClientProvider(ConnectionMongo); | |||
var collection = provider.GetCollection<JobDb>(); | |||
var collection = provider.GetCollection<JobMongoModel>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why integration test is stuck to Mongo DB provider?
Maybe we should rename the tests to reflect that these tests are for MongoDB?
Will be there same integration tests for other DB providers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should exist this test for all providers, I will add TestCase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
src/Horarium.Mongo/JobMongoModel.cs
Outdated
ExecutedMachine = ExecutedMachine, | ||
StartAt = StartAt, | ||
NextJob = | ||
NextJob?.ToJobDb(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
src/Horarium.Mongo/JobMongoModel.cs
Outdated
}; | ||
} | ||
|
||
[BsonId] public string JobId { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe place attribute on a new line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
README.md
Outdated
| Database | Support | | ||
| ---------- | ------------------------------------------------------------------ | | ||
| MongoDB | Yes | | ||
| In Memory | No [#5](https://github.com/TinkoffCreditSystems/Horarium/issues/5) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's write Not yet
instead of No
🙂 .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
<Version>1.0.0$(VersionSuffix)</Version> | ||
<Title>Horarium.Mongo</Title> | ||
<Authors>bobreshovr</Authors> | ||
<PackageDescription>Horarium.Mongo is the .Net library for support MongoDB in Horarium</PackageDescription> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Horarium.Mongo is the .Net library for support MongoDB in Horarium
May be?
to support
or
for supporting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -30,6 +31,6 @@ public interface IHorarium: IDisposable | |||
/// <typeparam name="TJob">Type of job, job will create from factory</typeparam> | |||
/// <returns></returns> | |||
IRecurrentJobBuilder CreateRecurrent<TJob>(string cron) where TJob : IJobRecurrent; | |||
|
|||
} | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no newline at end of file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Fix naming and format
No description provided.