feat: Implement NotifyPanelComponent with unit tests and mock API service
- Added NotifyPanelComponent for managing notification channels and rules. - Implemented reactive forms for channel and rule management. - Created unit tests for NotifyPanelComponent to validate functionality. - Developed MockNotifyApiService to simulate API interactions for testing. - Added mock data for channels, rules, and deliveries to facilitate testing. - Introduced RuntimeEventFactoryTests to ensure correct event creation with build ID.
This commit is contained in:
		| @@ -195,6 +195,16 @@ public sealed class MongoBootstrapper | ||||
|                     .Ascending(x => x.Node) | ||||
|                     .Ascending(x => x.When), | ||||
|                 new CreateIndexOptions { Name = "runtime_event_tenant_node_when" }), | ||||
|             new( | ||||
|                 Builders<RuntimeEventDocument>.IndexKeys | ||||
|                     .Ascending(x => x.ImageDigest) | ||||
|                     .Descending(x => x.When), | ||||
|                 new CreateIndexOptions { Name = "runtime_event_imageDigest_when" }), | ||||
|             new( | ||||
|                 Builders<RuntimeEventDocument>.IndexKeys | ||||
|                     .Ascending(x => x.BuildId) | ||||
|                     .Descending(x => x.When), | ||||
|                 new CreateIndexOptions { Name = "runtime_event_buildId_when" }), | ||||
|             new( | ||||
|                 Builders<RuntimeEventDocument>.IndexKeys.Ascending(x => x.ExpiresAt), | ||||
|                 new CreateIndexOptions | ||||
|   | ||||
		Reference in New Issue
	
	Block a user