Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call IDataWriteProcessor on all data element mutations and add new PO…
…ST endpoint with better response type (#853) * Remove unused property on DataPatchResult * Rename CachedInstanceDataAccessor to InstanceDataUnitOfWork Also take ApplicationMetadata instead of IAppMeatada service in constructor (it is usually already availible) * Don't throw when a page can't be evaluated because no data elements of the default type exists. * Add HttpContextExtension method to read request as byte[] efficiently * Cleanup * Better errro handling in ModelSerializationService * make DataModelPairResponse a separate class, instead of a nested class * Add JsonPropertyName on ValidationSourcePair * Refactor DataController.Post * Split into two endpoints (for compatibility) * Old endpoint with dataType as GET param is unchanged. * New endpoint returns all app state, the same way PATCH does * Extend ProblemDetails explicitly so that swagger is correct * Ensure that we cleanup instances after running tests that create instances * Rewrite interfaces IDataWriteProcessor and IValidator (Bulk Changes test:fail) List<DataElementChange> gets wrapped in DataElementChanges to support class hierarchy of Change types Don't send Instance in addition to IInstanceDataAccessor * Use IDataWriteProcessor in all apis to mutate data elements. * Fix sonar issues * Final clanup for v8.5 * Rename BinaryChange => BinaryDataChange
- Loading branch information