Skip to content

#11192 - Tck tests and initial support for MySQL#11315

Merged
mshaposhnik merged 5 commits intoeclipse-che:mysql_supportfrom
BarryDrez:master
Sep 25, 2018
Merged

#11192 - Tck tests and initial support for MySQL#11315
mshaposhnik merged 5 commits intoeclipse-che:mysql_supportfrom
BarryDrez:master

Conversation

@BarryDrez
Copy link
Copy Markdown

What does this PR do?

This PR adds Tck tests for MySQL along with initial support. Multiuser tests for MySQL to be added soon.

What issues does this PR fix or reference?

#11192

Provide Initial support and tck tests for MySQL

Release Notes

Initial support for MySQL

Docs PR

@riuvshin
Copy link
Copy Markdown
Contributor

Can one of the admins verify this patch?

1 similar comment
@riuvshin
Copy link
Copy Markdown
Contributor

Can one of the admins verify this patch?

@benoitf benoitf added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/task Internal things, technical debt, and to-do tasks to be performed. labels Sep 21, 2018
@benoitf
Copy link
Copy Markdown
Contributor

benoitf commented Sep 21, 2018

ci-build

Signed-off-by: Barry Dresdner <barry.dresdner@softwareag.com>
@BarryDrez
Copy link
Copy Markdown
Author

@riuvshin, I added a second commit with a sign-off footer. I don't think I have permission to merge the commits.

@skabashnyuk
Copy link
Copy Markdown
Contributor

ci-test

@riuvshin
Copy link
Copy Markdown
Contributor

Results of automated E2E tests of Eclipse Che Multiuser on OCP:
Build details
Test report
docker image: eclipseche/che-server:11315
https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

@@ -0,0 +1,14 @@
--
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the purpose of che-schema111 set ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mshaposhnik Thanks for catching this. I meant to remove it.

<version>6.12.0-SNAPSHOT</version>
</parent>
<artifactId>che-core-db-vendor-mysql</artifactId>
<name>Che Core :: DB :: Vendor PostgreSQL</name>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vendor MySQL

<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.12</version>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That needs to be CQ-ed and moved into che-parent (we can do that btw)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<module>mysql-support</module>
</modules>
<properties>
<db.image.name>centos/mysql-57-centos7</db.image.name>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we need that here

* Contributors:
* Red Hat, Inc. - initial API and implementation
*/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add package definition (under license header)

@skabashnyuk
Copy link
Copy Markdown
Contributor

@BarryDrez can you make sure that you can compile your code with mvn clean install?

@BarryDrez
Copy link
Copy Markdown
Author

@BarryDrez can you make sure that you can compile your code with mvn clean install?
@skabashnyuk - It has been compiling even without the import, but that may have been because I had the error handler in the same package. I later moved it to a separate project. I have just made some corrections based on the peer reviews, and I committed them to my fork.

@mshaposhnik
Copy link
Copy Markdown
Contributor

@BarryDrez Barry. Is it ok for you if we merge this PR into separate Che branch and finish all the required dependency stuff there (it will be faster if we do those fixes ourserves)?

@skabashnyuk
Copy link
Copy Markdown
Contributor

@BarryDrez I see quite a similar modules

wsmaster/integration-tests/mysql-tck/pom.xml
wsmaster/integration-tests/mysql-tck/mysql-tck/pom.xml
can you take a look?

@BarryDrez
Copy link
Copy Markdown
Author

@BarryDrez I see quite a similar modules

wsmaster/integration-tests/mysql-tck/pom.xml
wsmaster/integration-tests/mysql-tck/mysql-tck/pom.xml
can you take a look?
@skabashnyuk wsmaster/integration-tests/mysql-tck/pom.xml is the parent project, and wsmaster/integration-tests/mysql-tck/mysql-tck/pom.xml runs the actual tests.
The projects have different names mysql and mysql-tck. Is that OK, or should the directory names be different?

@BarryDrez
Copy link
Copy Markdown
Author

@BarryDrez Barry. Is it ok for you if we merge this PR into separate Che branch and finish all the required dependency stuff there (it will be faster if we do those fixes ourserves)?
@mshaposhnik, sure, that will be fine. Hopefully after I get the remaining issues resolved.

@mshaposhnik
Copy link
Copy Markdown
Contributor

mshaposhnik commented Sep 24, 2018

Ok, fine. When ready, change base of this PR to https://github.com/eclipse/che/tree/mysql_support branch and merge. We'll do the rest of dependency stuff and merge to master than.

@BarryDrez
Copy link
Copy Markdown
Author

@mshaposhnik, @skabashnyuk I have committed the changes as suggested.

@mshaposhnik mshaposhnik changed the base branch from master to mysql_support September 25, 2018 06:39
@mshaposhnik mshaposhnik merged commit 66c0fc3 into eclipse-che:mysql_support Sep 25, 2018
@benoitf benoitf added target/branch Indicates that a PR will be merged into a branch other than master. and removed status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. labels Sep 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/task Internal things, technical debt, and to-do tasks to be performed. target/branch Indicates that a PR will be merged into a branch other than master.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants