-
Notifications
You must be signed in to change notification settings - Fork 15
Fix groups api calls #61
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
base: develop
Are you sure you want to change the base?
Conversation
… the RF2 content is loaded into the DB, and BEFORE the tests run
CoderMChu
left a comment
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.
@edeati Thanks for your pull request. Well spotted and thanks for fixing the group api call. This api is not used internally and should have been removed. It would be great if you can split your changes in 3 different PRs. (i.e group api call fix, docker-compose change and azure pipeline)
docker-compose.yml
Outdated
| - 8081:8081 | ||
| environment: | ||
| - SPRING_DATASOURCE_URL=jdbc:mysql://db:3306/?useSSL=false | ||
| - SPRING_DATASOURCE_URL=jdbc:mysql://db:3306/?useSSL=false&llowLoadLocalInfile=true&allowPublicKeyRetrieval=true |
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.
"llowLoadLocalInfile=true" is missing a (i.e allowLoadLocalInfile=true)
| - mysql:/var/lib/mysql | ||
| command: | ||
| mysqld --sql_mode="NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES" --lower_case_table_names=1 | ||
| mysqld --local-infile=ON --sql_mode="NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES" --lower_case_table_names=1 |
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.
Good idea
6352584 to
d047fec
Compare
947fe13 to
c926f70
Compare
3b84396 to
198f2cd
Compare
ee0a5ae to
2fdc132
Compare
9297e60 to
d00441a
Compare
cb2fb0f to
ac59775
Compare
This is a fix for
groupsapi calls where the api call throws an exception:com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.ihtsdo.rvf.core.data.model.AssertionGroup$HibernateProxy$PhV4dVWY["hibernateLazyInitializer"])To reproduce this either try to get an existing assertion group with a
GET groups/{id}call or try to add new tests to an assertion group with aPOST groups/{id}/assertions