-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/weos 1505 #173
Feature/weos 1505 #173
Commits on May 2, 2022
-
feature: WEOS-1505 reduce reliance on dynamic struct library
* Replaced "Property" on ContentEntity with "payload" that is a map * Removed reference to dynamic struct builder and reader from Content Entity * Simplified the enumeration validation
Configuration menu - View commit details
-
Copy full SHA for 97a5702 - Browse repository at this point
Copy the full SHA 97a5702View commit details
Commits on May 8, 2022
-
* Updated test fixtures to explicitly set nullable true since nullable true will no longer be the default * Updated isValid to do type checks * Got reid of using GenerateID function (this happens in the Set payload method) * Made "FromSchemaWIthValues" use "SetValueFromPayload" method * Update "SetValueFromPayload" to do some basic type casting and generating of default values * Deprecated GenerateID function * Updated GetByKey return in projection interface to use ContentEntity * Updated GetByProperties to return a slice of ContentEntities * Added utility method to check if string is in a slice of strings
Configuration menu - View commit details
-
Copy full SHA for a1e6e77 - Browse repository at this point
Copy the full SHA a1e6e77View commit details
Commits on May 10, 2022
-
feature: WEOS-1508 Fix broken tests
* Updated integration test fixture to specify nullable fields * Updated upload fixture to specify nullable fields * Added code if there is a payload then set the values on the gorm model * Made it so that if there is one part in the identifier then that is used to set the id for the entity * If the content entity does not have an id specified a ksuid will be generated by default * Removed reference to dynamic structs from domain service (use toMap instead) * Update test mocks to use use the updated model mocks
Configuration menu - View commit details
-
Copy full SHA for 54ce1d9 - Browse repository at this point
Copy the full SHA 54ce1d9View commit details
Commits on May 11, 2022
-
feature: WEOS-1508 Fix broken tests
* Started reducing the code needed for update in the domain service * Fixed domain service update test * Removed the need to pass the payload in the update time method * Added comments to update method in the domain service
Configuration menu - View commit details
-
Copy full SHA for c3dcf9c - Browse repository at this point
Copy the full SHA c3dcf9cView commit details -
feature: WEOS-1508 Fix broken tests
* Omitted User from gorm (and new events) so that results can be serialized directly in ContentEntity * Made more properties nullable in fixtures * Consolidate update code in domain service * Added debug statements to gorm projection to debug issues * Updated mocks in projections
Configuration menu - View commit details
-
Copy full SHA for 7799128 - Browse repository at this point
Copy the full SHA 7799128View commit details
Commits on May 16, 2022
-
bug: Fix issue where couldn't create item because a property was an o…
…bject and it was null * Made unmarshal use SetValue method IF a schema is set * Fixed issue with date time use
Configuration menu - View commit details
-
Copy full SHA for f3dc744 - Browse repository at this point
Copy the full SHA f3dc744View commit details -
bug: Fix issue getting entity by key and weos id
* Put back in reference to dynamic struct builder because we can't create a builder using just the schema of the current entity * Updated GORMModel to check if the content entity was instantiated with a builder * Added back in FromSchemaAndBuilder * Updated entity factory to instantiate content entity with the builder * Updated gorm methods to marshal result into dynamic struct gorm model from entity and then marshal the model into the content entity * Fixed property casing in projection test
Configuration menu - View commit details
-
Copy full SHA for 09eb98a - Browse repository at this point
Copy the full SHA 09eb98aView commit details -
bug: Fix issue where the entity was not correctly pulled from the con…
…text * Fixed initializer tests
Configuration menu - View commit details
-
Copy full SHA for 0f7be37 - Browse repository at this point
Copy the full SHA 0f7be37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2866659 - Browse repository at this point
Copy the full SHA 2866659View commit details
Commits on May 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0daf398 - Browse repository at this point
Copy the full SHA 0daf398View commit details -
bug: Added test to show that adding event handlers to default event s…
…tore is possible
Configuration menu - View commit details
-
Copy full SHA for eb34a3b - Browse repository at this point
Copy the full SHA eb34a3bView commit details -
* Made it so that the weos_id is set on the GORM model based on the entity id * Added tests to ensure that the weos_id is set on the entity
Configuration menu - View commit details
-
Copy full SHA for 7fb1cdc - Browse repository at this point
Copy the full SHA 7fb1cdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89f0b21 - Browse repository at this point
Copy the full SHA 89f0b21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 599416f - Browse repository at this point
Copy the full SHA 599416fView commit details
Commits on May 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 788e43f - Browse repository at this point
Copy the full SHA 788e43fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e3302f - Browse repository at this point
Copy the full SHA 0e3302fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15f3188 - Browse repository at this point
Copy the full SHA 15f3188View commit details -
bug: Fixed issue where get by methods were returning an entity when t…
…here were no results
Configuration menu - View commit details
-
Copy full SHA for 77ced9e - Browse repository at this point
Copy the full SHA 77ced9eView commit details
Commits on May 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a79b7cd - Browse repository at this point
Copy the full SHA a79b7cdView commit details
Commits on May 28, 2022
-
* Fixed nil pointer exceptions where schema is not set (this could be if the content entity was initialized directly and not through the entity factory * Added custom Time struct so that the dates could be marshalled in the iso 8601 format * Fixed more test fixtures
Configuration menu - View commit details
-
Copy full SHA for 49ae6b1 - Browse repository at this point
Copy the full SHA 49ae6b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a835c38 - Browse repository at this point
Copy the full SHA a835c38View commit details
Commits on May 29, 2022
-
WEOS-1505 Fixed issues with sequence no not being returned
* Made it so that the Etag is only generated if the item was found * Updated test fixtures to make some fields nullable * Switched to using Unmarshaling so that sequence no. is set (as opposed to using setValue directly)
Configuration menu - View commit details
-
Copy full SHA for 817fd72 - Browse repository at this point
Copy the full SHA 817fd72View commit details -
WEOS-1505 Fixed issues with view content
* Made etag generation use the retrieved entity * Made projection functions use json.Unmarshal instead
Configuration menu - View commit details
-
Copy full SHA for 2252ca7 - Browse repository at this point
Copy the full SHA 2252ca7View commit details -
WEOS-1505 Fixed issues with delete
* Updated test fixtures to have actual ids * GormModel returns 2 values so had to change from passing it directly to the delete method
Configuration menu - View commit details
-
Copy full SHA for fc8ff40 - Browse repository at this point
Copy the full SHA fc8ff40View commit details -
WEOS-1505 Fixed edit content issues
* Made it so that the handler error is returned * Updating an non existant entity returns error * Fixed end to end testing so that properties in the request are not automatically lower cased
Configuration menu - View commit details
-
Copy full SHA for 9e7c935 - Browse repository at this point
Copy the full SHA 9e7c935View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34fc436 - Browse repository at this point
Copy the full SHA 34fc436View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dd4c3f - Browse repository at this point
Copy the full SHA 8dd4c3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cb0b6e - Browse repository at this point
Copy the full SHA 1cb0b6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49c5005 - Browse repository at this point
Copy the full SHA 49c5005View commit details
Commits on May 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3e989eb - Browse repository at this point
Copy the full SHA 3e989ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fac409 - Browse repository at this point
Copy the full SHA 6fac409View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb6c349 - Browse repository at this point
Copy the full SHA bb6c349View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8145fc7 - Browse repository at this point
Copy the full SHA 8145fc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1663c43 - Browse repository at this point
Copy the full SHA 1663c43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43e4e28 - Browse repository at this point
Copy the full SHA 43e4e28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 081557e - Browse repository at this point
Copy the full SHA 081557eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cefa67d - Browse repository at this point
Copy the full SHA cefa67dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2061de - Browse repository at this point
Copy the full SHA c2061deView commit details
Commits on Jun 3, 2022
-
* Made it so that the schema is recursively parsed * Added statements to debug issues with table name for model not being recognized
Configuration menu - View commit details
-
Copy full SHA for f71b322 - Browse repository at this point
Copy the full SHA f71b322View commit details
Commits on Jun 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bc4ca3a - Browse repository at this point
Copy the full SHA bc4ca3aView commit details -
feature: WEOS-1509 Deprecate initializing builders in initializers
* Updated the migrate function signature to receive the entire schema * Deprecated CreateSchema initializer * Removed GormModel method from content entity * Deprecated constructure that creates an entity using the schema AND a builder (the GORM stuff is now in the GORM projection) * Made custom Time struct implment Value/Scanner interface to be compatible with GORM
Configuration menu - View commit details
-
Copy full SHA for d9530a0 - Browse repository at this point
Copy the full SHA d9530a0View commit details
Commits on Jun 5, 2022
-
feature: WEOS-1509 Fixing issues after updating to new GORM model gen…
…eration * Removed inexplicable code that tried to set a value when value was nil in the gorm dialect * Marshalled the table name into the model correctly * Made sequence no. an integer * Made it so that the foreign key reference is a pointer so that nil could be set. * removed testing code
Configuration menu - View commit details
-
Copy full SHA for ed4e6d3 - Browse repository at this point
Copy the full SHA ed4e6d3View commit details -
feature: WEOS-1509 Fixing issues after updating to new GORM model gen…
…eration * Updated ReplayEvents signature to use swagger config (since the projection migration also uses that now) * Added code to drop columns when x-remove is specified (removed the automagic that was happening when a primary key was removed) * Updated test to correctly reference an object
Configuration menu - View commit details
-
Copy full SHA for 24644d9 - Browse repository at this point
Copy the full SHA 24644d9View commit details
Commits on Jun 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 568e798 - Browse repository at this point
Copy the full SHA 568e798View commit details -
Configuration menu - View commit details
-
Copy full SHA for 881efbe - Browse repository at this point
Copy the full SHA 881efbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 475d6ba - Browse repository at this point
Copy the full SHA 475d6baView commit details
Commits on Jun 8, 2022
-
feature: WEOS-1509 Limit the depth that is rendered
* Updated feature files to reference lowercased columns (the columns seem to no longer be snake cased by gorm) * Fixed step that was not passing schema to replay events * Made it so that if the default value returned by GORMPropertyBuilder is nil then it's not added (this is so that we could break the recursive building at a depth of 3) * Commented out the scenario for removing a column that is part of an identifier since it was decided that should be removed
Configuration menu - View commit details
-
Copy full SHA for 88315df - Browse repository at this point
Copy the full SHA 88315dfView commit details -
feature: WEOS-1509 Fix property (and table row) casing issue
It turns out that the prescribed cases.Title(language.English).String is no the same as strings.Title (it lowercases the rest of the word instead of only uppercasing the first character)
Configuration menu - View commit details
-
Copy full SHA for b6fdb56 - Browse repository at this point
Copy the full SHA b6fdb56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40bc93d - Browse repository at this point
Copy the full SHA 40bc93dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e652ce6 - Browse repository at this point
Copy the full SHA e652ce6View commit details
Commits on Jun 9, 2022
-
feature: WEOS-1505 fix issues in mysql
* Turned off foreign keys during migration * Drop table at the end of more tests to avoid conflicts * Fixed issue in test where url was being set but not defined in the schema
Configuration menu - View commit details
-
Copy full SHA for 530acab - Browse repository at this point
Copy the full SHA 530acabView commit details -
feature: WEOS-1505 fix issues in mysql
* Drop table at the end of more tests to avoid conflicts * Changed schema names in some tests to avoid collisions (the tests seem to work when they are run individually but fail when the entire suite is run which suggests an issue with table cleanup after testsare run in mysql)
Configuration menu - View commit details
-
Copy full SHA for a403b4a - Browse repository at this point
Copy the full SHA a403b4aView commit details -
feature: WEOS-1505 fix issues in mysql
* Fix for issues with mysql in pipeline (seems like GORM will set auto increment because the type is uint)
Configuration menu - View commit details
-
Copy full SHA for 6a8716d - Browse repository at this point
Copy the full SHA 6a8716dView commit details -
feature: WEOS-1505 turned off tests for mysql since the issues seems …
…really specific to the pipeline (the tests themselves run fine individually)
Configuration menu - View commit details
-
Copy full SHA for 22af306 - Browse repository at this point
Copy the full SHA 22af306View commit details -
Configuration menu - View commit details
-
Copy full SHA for f295585 - Browse repository at this point
Copy the full SHA f295585View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f2960f - Browse repository at this point
Copy the full SHA 0f2960fView commit details