-
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
Merged
Merged
Feature/227 #229
Changes from 87 commits
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
3b391cd
Fixed #205: Removed default projection as the default event listener
akeemphilbert c96e60c
Merge branch 'dev' into feature/205
akeemphilbert 67de3d3
Fixed #198: Added EntityRepository interface
akeemphilbert 93a6165
Fixed #209: Setup basic default write controller
akeemphilbert e6a8594
Fixed #209: Added DefaultReadController
akeemphilbert 1abdb57
Merge branch 'feature/205' into feature/210
akeemphilbert 68d1ff3
wip #210: Update command dispatcher interface
akeemphilbert 9693ce1
wip #209: Updated controller signature so that the operation is a map…
akeemphilbert edd068d
Merge branch 'feature/209' into feature/210
akeemphilbert 2a6a001
feature #210: Pass EntityRepository to Command Receivers
akeemphilbert b7a646f
feature #205: Updated command receivers
akeemphilbert 3aa122b
feature #205: Updated EntityFactoryInitializer to be EntityRepository…
akeemphilbert d460b27
feature: #209 Add Default Controllers
akeemphilbert 506859a
feature: #209 Fixed issue where endpoint without schema threw error
akeemphilbert 3dab4d5
feature: #209 Added code to render templates response
akeemphilbert ff17f52
feature: #209 Added huge workaround that hardcodes static serving to /
akeemphilbert 9454910
feature: #209 Added code to render templates if configured
akeemphilbert 49b63ee
feature: #209 Updated to export error message in json
akeemphilbert 2781d61
feature: #209 Updated to export error message in json
akeemphilbert e5b1afb
feature: #209 Fix for serving static on a sub path
akeemphilbert 1e817d8
feature: #194 Added x-inline extension to mark schema as inline
akeemphilbert 38bf908
feature: #194 attempted fix for model parsing during startup (project…
akeemphilbert d137f5e
feature: #194 added test to confirm that migration should work
akeemphilbert 9780380
feature: #194 if inline error is returned move to the next one during…
akeemphilbert 15efee2
feature: #194 iremoved ignoring of inline schema error (this is neede…
akeemphilbert 84dc4aa
feature: #194 return error (and not a custom error)
akeemphilbert f8ea629
feature: #194 fix issue with parsing incoming data
akeemphilbert edd7302
feature: #194 fix issue with parsing incoming data
akeemphilbert 2c69316
feature: #194 Got entity with inline schemas saving
akeemphilbert ab58a21
Merge branch 'dev' into feature/194
akeemphilbert 5897f30
feature: #194 Fixed issue where associated models were not being retu…
akeemphilbert 6ae69f3
feature: #194 #209 Test Fixes
akeemphilbert ebdbcfc
feature: #209 Added path to the controller function interface to bene…
akeemphilbert 839a2a3
feature: #209 Fixed controllers tests to match updated signature
akeemphilbert df6eeb8
feature: #218 Add global initializer for entity repositories
akeemphilbert f541368
feature: #209 Made it so that if the accept header is empty return em…
akeemphilbert 62dc438
Merge branch 'feature/209' into feature/218
akeemphilbert ed1b729
fix: Switched to using entity repository
akeemphilbert 52b277b
Merge branch 'feature/209' into feature/218
akeemphilbert aa2ada2
fix: Added nil check before converting form request to json
akeemphilbert f02152c
fix: Made it so that error is returned on DefaultWriteController so t…
akeemphilbert 67ef537
Merge branch 'feature/209' into feature/218
akeemphilbert 53caa6a
feature: #209 Made it so that the DefaultWriteController is used when…
akeemphilbert 3f37ae3
Merge branch 'feature/209' into feature/218
akeemphilbert b3062a4
feature: #209 Return the command response with a status ok by default
akeemphilbert 73d2487
fix: issue where entity didn't have a reference to the name
akeemphilbert 2a9bf4f
fix: path method didn't match
akeemphilbert 6e37fa3
fix: path method didn't match
akeemphilbert e2fa7e3
fix: id not being set on read controlelr
akeemphilbert 716d494
Merge branch 'feature/209' into feature/218
akeemphilbert 6d72929
fix: id not being set on read controlelr
akeemphilbert 5a0e2b6
Merge branch 'feature/209' into feature/218
akeemphilbert bc3886f
fix: id not being set on read controlelr
akeemphilbert bf4291c
feature #222 Remove unique requirement on weos id
akeemphilbert 0404643
feature #209 Fix issue where autoConfigure was not being set to true …
akeemphilbert e88cc43
feature #209 wrapped list logic in a check for existance of an entity…
akeemphilbert aa42875
Merge branch 'feature/218' into feature/222
akeemphilbert 90fd8c5
feature #223 fix primary key comparison issues by checking to see if …
akeemphilbert e1c8f37
feature #223 fix issue where sort key was not being used
akeemphilbert e87c141
feature #223 added more comparison operators
akeemphilbert b6b211e
feature #218 If x-templates is set on a get request use the read cont…
akeemphilbert 1429248
include stack trace when outputting command handler error
akeemphilbert cf96273
include stack trace when outputting command handler error
akeemphilbert 49dd3f2
add support for odbc connection
akeemphilbert 6b1e77f
feature: #224 Started setting up table alias code
akeemphilbert 00c994c
feature: #224 import odbc library as a side import
akeemphilbert 1d162bf
feature: #224 put back in username and password in the connection string
akeemphilbert 2ffc767
feature: #224 added log line
akeemphilbert 578c9e0
feature: #224 added log line
akeemphilbert 4dad3c2
feature: #224 this is for the benefit of the iSeries connection
akeemphilbert a7857a8
feature: #224 Bump the git version no. for weos and debugging reasons
akeemphilbert 15403b8
feature: #224 Fix for is entity repository is null
akeemphilbert 0bc1c71
feature: #224 Add token to error message when parsing jwt fails
akeemphilbert 2449950
feature: #224 Fix for is entity repository is null
akeemphilbert 92e26c7
feature: #224 Add token to error message when parsing jwt fails
akeemphilbert 2f2dd45
Merge remote-tracking branch 'origin/feature/224' into feature/224
akeemphilbert c32bb50
Revert "feature: #224 this is for the benefit of the iSeries connection"
akeemphilbert a46c1fb
Revert "feature: #224 added log line"
akeemphilbert 9e60cf2
Revert "feature: #224 added log line"
akeemphilbert 4feaf8c
Revert "feature: #224 put back in username and password in the connec…
akeemphilbert 79771f8
Revert "feature: #224 import odbc library as a side import"
akeemphilbert f2e581f
Revert "feature: #224 Started setting up table alias code"
akeemphilbert 753ed2b
Revert "add support for odbc connection"
akeemphilbert cb3f3e5
feature: #224 Added all headers to error message
akeemphilbert fde552b
feature: #224 fix issue where security enforcer was not working when …
akeemphilbert 29b888d
feature: #227 Added tests for the IAM functionality
akeemphilbert 25f97e9
feature #227: updated the SQLConnectionFromConfig function to connect…
IshikaGopie 0d1a631
feature #227: updated connection string to include the parameters tha…
IshikaGopie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're essentially creating your own connection string for mysql but it doesn't account for the parameters that are needed to get the mysql stuff working with GORM see the mysql connection string
connStr = fmt.Sprintf("%s:%s@tcp(%s:%s)/%s?sql_mode='ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'&parseTime=true",