Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Db code gen port + CDC + other fixes/improvements (#96)
* Create the new typed config and serialize XML to YAML. * Configure test table and generate existing baseline. * Part way through Get port. * Fix post merge. * Get stored procedure ported. * Simpligy Get handlebars template for greater reuse in another templates. * GetColl port complete. * Correct merge. * Fix execution errors. * Create stored procedure ported. * Update stored procedure port. * Generate Upsert using legacy code-gen. * Upsert stored procedure ported. * Changed up the SettableColumns logic. * Delete stored procedure port. * Merge stored procedure ported. * Ensure special columns are always included. Additional tidy-ups. * Udt port. * Ported TVP. * Ported EfModel. * Pre View port. * Port DB View code-egn. Add capability to specify the schema application order. Run all tests. * Ported remaining database.core templates to handlebars. * Decommission existing code-gen; we are now all in with handlebars. * Code cleanup. Schema re-generation. * Implemented XML to YAML conversion. * Fix schema issue. * Re-gen My.Hr. End-to-end test. Publish pre-release nuget packages. * Property.IsEntity defaults to true where Type is ChangeLog. Update documentation accordingly. Rejig the converted YAML format. * Documentation updates. * Further doco updates. Improve CollectionRule for UniqueKey checking. * Documentation updates. * Build out core Query capability. * Build out CDC outbox POC. * Replace tabs with spaces for CDC. * CDC-gen tabs to spaces * Updated documentation comments. * Enable a supported concept to database tooling to minimize incorrect option selection, etc. * Added additional column filtering on stored procedures. * Add YAML support for Database tooling. * Added the XML to YAML support for database. * Further CDC oriented updates. * Merge in master. * Agent DI simplification. * Documentation updates. * Re-gen. * Added validation of yaml configuration. Visual Studio 16.8.2 update compiler related fixes. * Entity documentation re-gen; including YAML/JSON + XML variants * Re-implemented code-gen config validation approach. * Override stored procedure name. Query config overrides inferred db metadata. * Integrate the Database markdown generation. * Updated examples, re-gen markdown. Re-gen schemas. * Updated Database project changelog. * Start process of CDC code-gen and related config * Continued CDC refactored approach. * Complete refactor entities; start the CDC data refactoring. * Parital Cdc update. * CDC execute batch. * Created new Beef.Data.Database.Cdc project. * Add tracking to ensure same data not sent more than once. * Renamed CdcExecutor to CdcDataOrchestrator. Added Service Collection gen. Started Contact/Address test. * Added test with OneToOne. Resolved issues with multiple background services running concurrently. * Generated the schema and documentation. * Updating documentation. * Added missing documentation for ServiceCollection. * Improve robustness of the ExecuteEnvelope stored proc; plus correct issue where including LSN from last envelope. * Make the code-generated artefact path and .NET namespace configurable. * Deprecate table view generation; must now use the new Query config. Fix redundant variable in cdc execute envelope stored procedure. * Added support for non-cdc joins. Added new LoggerEventPublisher. Updated cdc log messages. * Add Inherit support to CodeGen Script.xml files. Upgrade Handlebars NuGet and correct issues. * Update documentation and schemas. Rename the proto naming convention to support configurable Namespace. Update Beef.Template to latest version numbers, plus rename of CodeGen XML files. * Enable overridding of Script name in Console app. Add `IConfigEditor` to enable runtime customization opportunity. Test and adjust to allow customized Script and/or Template. Update related doco. * Fix broken links. * Re-gen codegen documentation and schemas. * Report unknown attributes during translation. * Move the `Generated` folder specification to be specifically defined, versus happening magically in the background. Enables overriding of behaviour where required. Further doco updates. Add --environmentVariableName option. * Alter approach for ScriptNew to be more flexible. Implement means to create migrations script for a cdc envelope. * Remove the previously added Hack to output CDC Table Create when using DbUp - the anti-pattern. Split out DbUp and DacPac to have different approaches; via alternate codegen Scripts files. * Reg-gen schemas and doco. * Validation ValidateAsync and RunAync changes. * Start introducing DI. * Update templates to support DI. * Integrate Validation DI. * Finish out the Validation testing. Update the samples. * Re-gen doco and schema. * Get all tests to pass. Close out doco/schemas re-gen. Update changelogs. * Mass DebuggerStepThrough addition. * Enhance the EventSubscriberTester * Update My.Hr solution/doco. Improve config for schema. * Fixed up some additional doco. * Add Identifier Generator. * Rename the CDC Envelope to Outbox. * Added unique EventData.EventId. * Add support for EventData.SetValue. * Added EventTransaction support. * Enable CDC for entities with special IsDeleted and RowVersion/ETag colums. * Correct the ETag generation to use MD5 Hash versus HashCode. * Provide better support for "ETag" code-gen. * Review/validate the validation caching for performance. * Addtional doco updates. * PragmaWarnings implemantation. Apply to Demo. * Re-gen all code-gen. * Clean up redundant pragma warnings in beef code base * Pragma warning disable. * WebApiOperationType to ManagerOperationType and code-gen update. * Fix some CDC challenges from additional testing. * Event Send. * IUniqueKey explicit implementation requirement. Published vs Sent Event testing. * Tidy up. Last changes.
- Loading branch information