Skip to content
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

Full stack mysql test environment #321

Merged
merged 8 commits into from
Nov 28, 2020
Merged

Commits on Nov 24, 2020

  1. Full Stack Mysql: setup build dependencies

    added mysql test container dependencies
    andrewhj committed Nov 24, 2020
    Configuration menu
    Copy the full SHA
    7669b64 View commit details
    Browse the repository at this point in the history
  2. define mysql test container

    TestContainers.scala: created container definition as part of the mysql
    project.  We may want to move and merge this file with postgresql
    version in a common location.
    
    shop_schema.sql: called by TestContainer to bootstrap test data in
    docker instance.
    andrewhj committed Nov 24, 2020
    Configuration menu
    Copy the full SHA
    e375f2c View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2020

  1. Full stack mysql test environment

    Created mysql environment heavily insipred (copy/pasted) by the postgres
    module.
    
    MysqlModule.scala: performs the conversion of zio-sql functions into
    mysql compatible sql.  Currently a copy/paste & rename of the postgres
    module.
    
    FunctionDefSpec.scala: module for testing mysql functions (lower, sin,
    etc.)
    
    MysqlModuleTest.scala: runs mysql tests, table selects, limits, offset,
    etc.
    
    MysqlRunnableSpec.scala:
    
    ShopSchema.scala: defines schema (loaded in test container definition)
    andrewhj committed Nov 27, 2020
    Configuration menu
    Copy the full SHA
    8b717f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b86f61 View commit details
    Browse the repository at this point in the history
  3. Fix lint failure

    GroupByHavingSpec: reformatted in order to fix sbt check failure
    andrewhj committed Nov 27, 2020
    Configuration menu
    Copy the full SHA
    f585f2d View commit details
    Browse the repository at this point in the history
  4. Fix build failures on mysql

    MysqlModule: added stubs for new renderUpdate/renderDelete methods that
    have been added to Jdbc.
    
    MysqlRunnableSpec: added DeleteExecutor to the jdbcTestEnvironment
    andrewhj committed Nov 27, 2020
    Configuration menu
    Copy the full SHA
    5d9d4b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    93adede View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2020

  1. Configuration menu
    Copy the full SHA
    5685224 View commit details
    Browse the repository at this point in the history