-
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/227 #229
Feature/227 #229
Commits on Jul 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3b391cd - Browse repository at this point
Copy the full SHA 3b391cdView commit details
Commits on Aug 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c96e60c - Browse repository at this point
Copy the full SHA c96e60cView commit details -
Fixed #198: Added EntityRepository interface
* Switched to directly using the model projections interface (instead of the projections.Projection) * Updated the middleware interface signature to have EntityRepository (removed Projection, EventRepository, EntityFactory) * Removed default controllers (since they are going to be reworked anyway in #209) * Removed default middleware (since they are going to be reworked anyway in #209) * Created Function to get repository from context * Moved EntityFactory to interfaces.go file * Impelmented EntityRepository on GORMDB * Small updates to get end2end to run
Configuration menu - View commit details
-
Copy full SHA for 67de3d3 - Browse repository at this point
Copy the full SHA 67de3d3View commit details -
Fixed #209: Setup basic default write controller
* Removed httpClient object form RESTAPI * Updated mocks * Added documentation for the WeOS initialization etc
Configuration menu - View commit details
-
Copy full SHA for 93a6165 - Browse repository at this point
Copy the full SHA 93a6165View commit details
Commits on Aug 7, 2022
-
Fixed #209: Added DefaultReadController
* Updated StandardInitializer * Deprecated stanard controllers and middleware
Configuration menu - View commit details
-
Copy full SHA for e6a8594 - Browse repository at this point
Copy the full SHA e6a8594View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1abdb57 - Browse repository at this point
Copy the full SHA 1abdb57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68d1ff3 - Browse repository at this point
Copy the full SHA 68d1ff3View commit details -
wip #209: Updated controller signature so that the operation is a map…
… with the method as the key * Removed unused middleware and controllers from controller_standard.go * Moved the command resolution outside of the echo handler so it's only done once (instead of on every request) * Removed initializers that setup middleware that was removed
Configuration menu - View commit details
-
Copy full SHA for 9693ce1 - Browse repository at this point
Copy the full SHA 9693ce1View commit details -
Merge branch 'feature/209' into feature/210
# Conflicts: # controllers/rest/controller_standard.go
Configuration menu - View commit details
-
Copy full SHA for edd068d - Browse repository at this point
Copy the full SHA edd068dView commit details -
feature #210: Pass EntityRepository to Command Receivers
* Removed CreateBatch handler (this will now be handled by the Create receiver) * EventRepository is no longer passed in from the controller. It's instead pulled from the container in the receiver * Updated the command signature such that the entity repository is passed in and an interface was added to the command dispatch return (this is to avoid having to do an extra query in the controller, also to facilitate id generation in the receiver) * Updated mocks because of the update to the command signature * Updated the create handler in a basic way * Update the delete handler in a basic way * Update the update hanlder in a basic way * Added container mock in the model package since the event repository is retrieved from the container and the receiver will need to mock the container. Note that it was not added to the other mocks_test.go because that is used to make mocks in other packages and would cause a conflict if copied to the weos_mocks_test.go
Configuration menu - View commit details
-
Copy full SHA for 2a6a001 - Browse repository at this point
Copy the full SHA 2a6a001View commit details -
feature #205: Updated command receivers
* Added sequence no. to delete command factory * Added a bit of documentation for repository * Added methods to EntityRepository interface for deleting and generatingID (and updated the mocks accordingly) * Updated receivers to try to get entity using entity id if available otherwise use the identifier from the entity * Updated GORMDB repository to implement new EntityRepository methods
Configuration menu - View commit details
-
Copy full SHA for b7a646f - Browse repository at this point
Copy the full SHA b7a646fView commit details
Commits on Aug 8, 2022
-
feature #205: Updated EntityFactoryInitializer to be EntityRepository…
…Initializer * Created factory method for GORMRepository * Updated event store to get entitytype from entity if it's a content entity
Configuration menu - View commit details
-
Copy full SHA for 3aa122b - Browse repository at this point
Copy the full SHA 3aa122bView commit details
Commits on Aug 11, 2022
-
feature: #209 Add Default Controllers
* Added a separate List Controller * Created utility to get the requested content type based on the "Accept" header (need to add code to process priority)
Configuration menu - View commit details
-
Copy full SHA for d460b27 - Browse repository at this point
Copy the full SHA d460b27View commit details
Commits on Aug 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 506859a - Browse repository at this point
Copy the full SHA 506859aView commit details -
feature: #209 Added code to render templates response
* Added code to parse the response configuration and setup serving files, templates, and folder
Configuration menu - View commit details
-
Copy full SHA for 3dab4d5 - Browse repository at this point
Copy the full SHA 3dab4d5View commit details -
feature: #209 Added huge workaround that hardcodes static serving to /
* Moved the static render code outside the request handler
Configuration menu - View commit details
-
Copy full SHA for ff17f52 - Browse repository at this point
Copy the full SHA ff17f52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9454910 - Browse repository at this point
Copy the full SHA 9454910View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49b63ee - Browse repository at this point
Copy the full SHA 49b63eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2781d61 - Browse repository at this point
Copy the full SHA 2781d61View commit details
Commits on Aug 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e5b1afb - Browse repository at this point
Copy the full SHA e5b1afbView commit details
Commits on Aug 15, 2022
-
feature: #194 Added x-inline extension to mark schema as inline
* Updated gorm extension to marshal a property that is an array or object that references a schema that is marked as inline with the x-inline extension * Made it so that an error is thrown when a property that references an inline model is processed as a gorm model (when this happens it is treated as a string) * Updated content entity to parse strings for inline schemas so they are returned correctly
Configuration menu - View commit details
-
Copy full SHA for 1e817d8 - Browse repository at this point
Copy the full SHA 1e817d8View commit details -
feature: #194 attempted fix for model parsing during startup (project…
…ion migration)
Configuration menu - View commit details
-
Copy full SHA for 38bf908 - Browse repository at this point
Copy the full SHA 38bf908View commit details -
Configuration menu - View commit details
-
Copy full SHA for d137f5e - Browse repository at this point
Copy the full SHA d137f5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9780380 - Browse repository at this point
Copy the full SHA 9780380View commit details -
feature: #194 iremoved ignoring of inline schema error (this is neede…
…d during migration)
Configuration menu - View commit details
-
Copy full SHA for 15efee2 - Browse repository at this point
Copy the full SHA 15efee2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84dc4aa - Browse repository at this point
Copy the full SHA 84dc4aaView commit details
Commits on Aug 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f8ea629 - Browse repository at this point
Copy the full SHA f8ea629View commit details -
Configuration menu - View commit details
-
Copy full SHA for edd7302 - Browse repository at this point
Copy the full SHA edd7302View commit details -
feature: #194 Got entity with inline schemas saving
* Made a few related schemas inline * Updated what is returned when a handler panics a bit to try to get more info * Made it so that properties that are referencing inline schemas can also be null * Added weos_id and sequence no. to the payload so that it could be persisted correctly * Added integration test for inline schema
Configuration menu - View commit details
-
Copy full SHA for 2c69316 - Browse repository at this point
Copy the full SHA 2c69316View commit details
Commits on Aug 23, 2022
-
Merge branch 'dev' into feature/194
# Conflicts: # model/mocks_test.go
Configuration menu - View commit details
-
Copy full SHA for ab58a21 - Browse repository at this point
Copy the full SHA ab58a21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5897f30 - Browse repository at this point
Copy the full SHA 5897f30View commit details -
* Removed tests that checked that default middleware was added * Added etag header if command response is a content entity * Updated operation initializer so that DefaultWriteController is used * Fixed issue where the schema properties were not being read correctly in the ContentEntity Identifier method * Updated end to end step to use entity repository instead of entity factory
Configuration menu - View commit details
-
Copy full SHA for 6ae69f3 - Browse repository at this point
Copy the full SHA 6ae69f3View commit details
Commits on Aug 25, 2022
-
feature: #209 Added path to the controller function interface to bene…
…fit th default reader controller
Configuration menu - View commit details
-
Copy full SHA for ebdbcfc - Browse repository at this point
Copy the full SHA ebdbcfcView commit details
Commits on Aug 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 839a2a3 - Browse repository at this point
Copy the full SHA 839a2a3View commit details -
feature: #218 Add global initializer for entity repositories
* Setup new global initializer * Removed unused variable "schema" as it doesn't seem to be used and caused a shadow declaration * Updated operation initializer to inject registered schema and add to context
Configuration menu - View commit details
-
Copy full SHA for df6eeb8 - Browse repository at this point
Copy the full SHA df6eeb8View commit details -
feature: #209 Made it so that if the accept header is empty return em…
…pty response type It was returning the first content type
Configuration menu - View commit details
-
Copy full SHA for f541368 - Browse repository at this point
Copy the full SHA f541368View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62dc438 - Browse repository at this point
Copy the full SHA 62dc438View commit details
Commits on Aug 28, 2022
-
fix: Switched to using entity repository
* Skipped test after realizing that parsing an array is not working correctly. Will need to circle back to that
Configuration menu - View commit details
-
Copy full SHA for ed1b729 - Browse repository at this point
Copy the full SHA ed1b729View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52b277b - Browse repository at this point
Copy the full SHA 52b277bView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa2ada2 - Browse repository at this point
Copy the full SHA aa2ada2View commit details -
fix: Made it so that error is returned on DefaultWriteController so t…
…hat individual projects can handle
Configuration menu - View commit details
-
Copy full SHA for f02152c - Browse repository at this point
Copy the full SHA f02152cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67ef537 - Browse repository at this point
Copy the full SHA 67ef537View commit details
Commits on Aug 29, 2022
-
feature: #209 Made it so that the DefaultWriteController is used when…
… x-command is set on POST,PATCH,PUT,DELETE operations
Configuration menu - View commit details
-
Copy full SHA for 53caa6a - Browse repository at this point
Copy the full SHA 53caa6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f37ae3 - Browse repository at this point
Copy the full SHA 3f37ae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3062a4 - Browse repository at this point
Copy the full SHA b3062a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73d2487 - Browse repository at this point
Copy the full SHA 73d2487View commit details
Commits on Aug 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2a9bf4f - Browse repository at this point
Copy the full SHA 2a9bf4fView commit details
Commits on Sep 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6e37fa3 - Browse repository at this point
Copy the full SHA 6e37fa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2fa7e3 - Browse repository at this point
Copy the full SHA e2fa7e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 716d494 - Browse repository at this point
Copy the full SHA 716d494View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d72929 - Browse repository at this point
Copy the full SHA 6d72929View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a0e2b6 - Browse repository at this point
Copy the full SHA 5a0e2b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc3886f - Browse repository at this point
Copy the full SHA bc3886fView commit details
Commits on Sep 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bf4291c - Browse repository at this point
Copy the full SHA bf4291cView commit details
Commits on Sep 16, 2022
-
feature #209 Fix issue where autoConfigure was not being set to true …
…so the list controller was not being attached
Configuration menu - View commit details
-
Copy full SHA for 0404643 - Browse repository at this point
Copy the full SHA 0404643View commit details -
feature #209 wrapped list logic in a check for existance of an entity…
… repository. This is because the list controller is the new default controller
Configuration menu - View commit details
-
Copy full SHA for e88cc43 - Browse repository at this point
Copy the full SHA e88cc43View commit details
Commits on Sep 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aa42875 - Browse repository at this point
Copy the full SHA aa42875View commit details
Commits on Sep 20, 2022
-
feature #223 fix primary key comparison issues by checking to see if …
…the current property is in the primary key array
Configuration menu - View commit details
-
Copy full SHA for 90fd8c5 - Browse repository at this point
Copy the full SHA 90fd8c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1c8f37 - Browse repository at this point
Copy the full SHA e1c8f37View commit details -
Configuration menu - View commit details
-
Copy full SHA for e87c141 - Browse repository at this point
Copy the full SHA e87c141View commit details
Commits on Sep 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b6b211e - Browse repository at this point
Copy the full SHA b6b211eView commit details
Commits on Oct 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1429248 - Browse repository at this point
Copy the full SHA 1429248View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf96273 - Browse repository at this point
Copy the full SHA cf96273View commit details
Commits on Oct 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 49dd3f2 - Browse repository at this point
Copy the full SHA 49dd3f2View commit details -
feature: #224 Started setting up table alias code
* Switched odbc connection to use Database name for the DSN
Configuration menu - View commit details
-
Copy full SHA for 6b1e77f - Browse repository at this point
Copy the full SHA 6b1e77fView commit details
Commits on Oct 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 00c994c - Browse repository at this point
Copy the full SHA 00c994cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d162bf - Browse repository at this point
Copy the full SHA 1d162bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ffc767 - Browse repository at this point
Copy the full SHA 2ffc767View commit details
Commits on Oct 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 578c9e0 - Browse repository at this point
Copy the full SHA 578c9e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dad3c2 - Browse repository at this point
Copy the full SHA 4dad3c2View commit details
Commits on Oct 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a7857a8 - Browse repository at this point
Copy the full SHA a7857a8View commit details
Commits on Oct 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 15403b8 - Browse repository at this point
Copy the full SHA 15403b8View commit details
Commits on Nov 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0bc1c71 - Browse repository at this point
Copy the full SHA 0bc1c71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2449950 - Browse repository at this point
Copy the full SHA 2449950View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92e26c7 - Browse repository at this point
Copy the full SHA 92e26c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f2dd45 - Browse repository at this point
Copy the full SHA 2f2dd45View commit details -
Revert "feature: #224 this is for the benefit of the iSeries connection"
This reverts commit 4dad3c2.
Configuration menu - View commit details
-
Copy full SHA for c32bb50 - Browse repository at this point
Copy the full SHA c32bb50View commit details -
Revert "feature: #224 added log line"
This reverts commit 578c9e0.
Configuration menu - View commit details
-
Copy full SHA for a46c1fb - Browse repository at this point
Copy the full SHA a46c1fbView commit details -
Revert "feature: #224 added log line"
This reverts commit 2ffc767.
Configuration menu - View commit details
-
Copy full SHA for 9e60cf2 - Browse repository at this point
Copy the full SHA 9e60cf2View commit details -
Revert "feature: #224 put back in username and password in the connec…
…tion string" This reverts commit 1d162bf.
Configuration menu - View commit details
-
Copy full SHA for 4feaf8c - Browse repository at this point
Copy the full SHA 4feaf8cView commit details -
Revert "feature: #224 import odbc library as a side import"
This reverts commit 00c994c.
Configuration menu - View commit details
-
Copy full SHA for 79771f8 - Browse repository at this point
Copy the full SHA 79771f8View commit details -
Revert "feature: #224 Started setting up table alias code"
This reverts commit 6b1e77f.
Configuration menu - View commit details
-
Copy full SHA for f2e581f - Browse repository at this point
Copy the full SHA f2e581fView commit details -
Revert "add support for odbc connection"
This reverts commit 49dd3f2.
Configuration menu - View commit details
-
Copy full SHA for 753ed2b - Browse repository at this point
Copy the full SHA 753ed2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb3f3e5 - Browse repository at this point
Copy the full SHA cb3f3e5View commit details -
feature: #224 fix issue where security enforcer was not working when …
…deployed to the server * Added debug message when user is blocked from a path
Configuration menu - View commit details
-
Copy full SHA for fde552b - Browse repository at this point
Copy the full SHA fde552bView commit details
Commits on Jan 13, 2023
-
feature: #227 Added tests for the IAM functionality
* Updated the signature for SQLConnectionFromConfig to return the connection string to make it more testable * Added two variable to the DB config, one for specifying that IAM is to be used and the other for the AWS Region * Added InvalidAWSDriver error to be used when an incompatible driver is specified
Configuration menu - View commit details
-
Copy full SHA for 29b888d - Browse repository at this point
Copy the full SHA 29b888dView commit details -
feature #227: updated the SQLConnectionFromConfig function to connect…
… to a db using IAM in AWS
Configuration menu - View commit details
-
Copy full SHA for 25f97e9 - Browse repository at this point
Copy the full SHA 25f97e9View commit details
Commits on Jan 17, 2023
-
feature #227: updated connection string to include the parameters tha…
…t are needed to get the mysql working with GORM
Configuration menu - View commit details
-
Copy full SHA for 0d1a631 - Browse repository at this point
Copy the full SHA 0d1a631View commit details