public void DocumentDb_SnapshotStoreSettingsSettings_must_have_default_values() { var documentDbPersistence = DocumentDbPersistence.Get(Sys); documentDbPersistence.SnapshotStoreSettings.ServiceUri.Should().Be(string.Empty); documentDbPersistence.SnapshotStoreSettings.SecretKey.Should().Be(string.Empty); documentDbPersistence.SnapshotStoreSettings.AutoInitialize.Should().BeFalse(); documentDbPersistence.SnapshotStoreSettings.Database.Should().Be("Actors"); documentDbPersistence.SnapshotStoreSettings.Collection.Should().Be("SnapshotStore"); }
public void DocumentDb_JournalSettings_must_have_default_values() { var documentDbPersistence = DocumentDbPersistence.Get(Sys); documentDbPersistence.JournalSettings.ServiceUri.Should().Be(string.Empty); documentDbPersistence.JournalSettings.SecretKey.Should().Be(string.Empty); documentDbPersistence.JournalSettings.AutoInitialize.Should().BeFalse(); documentDbPersistence.JournalSettings.Database.Should().Be("Actors"); documentDbPersistence.JournalSettings.Collection.Should().Be("EventJournal"); documentDbPersistence.JournalSettings.MetadataCollection.Should().Be("Metadata"); }
/// <summary> /// Initializes a new instance of the <see cref="DocumentDbSnapshotStore"/> class. /// </summary> public DocumentDbSnapshotStore() { settings = DocumentDbPersistence.Get(Context.System).SnapshotStoreSettings; }
/// <summary> /// Initializes a new instance of the <see cref="DocumentDbJournal"/> class. /// </summary> public DocumentDbJournal() { this.settings = DocumentDbPersistence.Get(Context.System).JournalSettings; }