Beispiel #1
0
        public void AzureTable_SnapshotStoreSettings_must_have_default_values()
        {
            var azurePersistence = AzureTablePersistence.Get(Sys);

            azurePersistence.SnapshotStoreSettings.ConnectionString.Should().Be("UseDevelopmentStorage=true");
            azurePersistence.SnapshotStoreSettings.TableName.Should().Be("snapshots");
            azurePersistence.SnapshotStoreSettings.AutoInitialize.Should().BeFalse();
        }
Beispiel #2
0
        public AzureTableSnapshotStoreSpec(ITestOutputHelper output)
            : base(SpecConfig, typeof(AzureTableJournalSpec).Name, output)
        {
            DbUtils.Clean(_connectionString, _tableName);

            AzureTablePersistence.Get(Sys);
            Initialize();
        }
Beispiel #3
0
        public void AzureTable_JournalSettings_must_have_default_values()
        {
            var azurePersistence = AzureTablePersistence.Get(Sys);

            azurePersistence.JournalSettings.ConnectionString.Should().Be("UseDevelopmentStorage=true");
            azurePersistence.JournalSettings.TableName.Should().Be("events");
            azurePersistence.JournalSettings.MetadataTableName.Should().Be("metadata");
            azurePersistence.JournalSettings.AutoInitialize.Should().BeFalse();
        }
Beispiel #4
0
 public AzureSnapshotStore()
 {
     _settings = AzureTablePersistence.Get(Context.System).SnapshotStoreSettings;
 }
Beispiel #5
0
 public AzureTableJournal()
 {
     _settings = AzureTablePersistence.Get(Context.System).JournalSettings;
 }