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

upgrade packages #50

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions downloadBackupAndJDBCDrivers.ps1
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
Write-Output "Downloading AdventureWorks2008R2FullDatabaseBackup"
New-Item -Path './zip' -ItemType Directory -Force
(New-Object System.Net.WebClient).DownloadFile("https://github.com/raczeja/DBTestCompare_backups/raw/master/AdventureWorks2008R2FullDatabaseBackup.zip", "./zip/AdventureWorks2008R2FullDatabaseBackup.zip")
Invoke-WebRequest -Uri "https://github.com/raczeja/DBTestCompare_backups/raw/master/AdventureWorks2008R2FullDatabaseBackup.zip" -OutFile "./zip/AdventureWorks2008R2FullDatabaseBackup.zip"
Write-Output "Unzipping AdventureWorks2008R2FullDatabaseBackup"
Expand-Archive -LiteralPath './zip/AdventureWorks2008R2FullDatabaseBackup.zip' -DestinationPath ./docker -Force

Write-Output "Downloading sqljdbc drivers"
(New-Object System.Net.WebClient).DownloadFile("https://download.microsoft.com/download/4/0/8/40815588-bef6-4715-bde9-baace8726c2a/sqljdbc_8.2.0.0_enu.zip", "./zip/sqljdbc_8.2.0.0_enu.zip")
Invoke-WebRequest -Uri "https://download.microsoft.com/download/4/0/8/40815588-bef6-4715-bde9-baace8726c2a/sqljdbc_8.2.0.0_enu.zip" -OutFile "./zip/sqljdbc_8.2.0.0_enu.zip"
Write-Output "Unzipping sqljdbc drivers"
Expand-Archive -LiteralPath './zip/sqljdbc_8.2.0.0_enu.zip' -DestinationPath "./zip/sqljdbc" -Force
Copy-Item -Path "./zip/sqljdbc/sqljdbc_8.2/enu/*" -Destination "./jdbc_drivers" -Include "mssql-jdbc-*.jar"

Write-Output "Downloading mysql sctipts"
(New-Object System.Net.WebClient).DownloadFile("https://github.com/raczeja/DBTestCompare_backups/raw/master/my-mysql/sql-scripts/sql-scripts.zip","./zip/sql-scripts-mysql.zip")
Invoke-WebRequest -Uri "https://github.com/raczeja/DBTestCompare_backups/raw/master/my-mysql/sql-scripts/sql-scripts.zip" -OutFile "./zip/sql-scripts-mysql.zip"
Write-Output "Unzipping mysql sctipts"
Expand-Archive -LiteralPath './zip/sql-scripts-mysql.zip' -DestinationPath "./docker/my-mysql/sql-scripts" -Force

Write-Output "Downloading postgres sctipts"
(New-Object System.Net.WebClient).DownloadFile( "https://github.com/raczeja/DBTestCompare_backups/raw/master/my-postgres/sql-scripts/sql-scripts.zip","./zip/sql-scripts-postgres.zip")
Invoke-WebRequest -Uri "https://github.com/raczeja/DBTestCompare_backups/raw/master/my-postgres/sql-scripts/sql-scripts.zip" -OutFile "./zip/sql-scripts-postgres.zip"
Write-Output "Unzipping postgres sctipts"
Expand-Archive -LiteralPath './zip/sql-scripts-postgres.zip' -DestinationPath "./docker/my-postgres/sql-scripts" -Force
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<properties>
<testng.version>7.5.1</testng.version>
<jaxb-impl.version>2.2.7</jaxb-impl.version>
<log4j.version>2.17.1</log4j.version>
<log4jcore.version>2.17.1</log4jcore.version>
<c3p0.version>0.9.5.5</c3p0.version>
<poi.version>4.1.1</poi.version>
<log4j.version>2.24.2</log4j.version>
<log4jcore.version>2.24.2</log4jcore.version>
<c3p0.version>0.10.1</c3p0.version>
<poi.version>5.3.0</poi.version>
<commons.version>3.9</commons.version>
<sirocco.version>1.0</sirocco.version>
</properties>
Expand Down
Loading