Skip to content

Commit 6050964

Browse files
Jakub Raczekraczeja
Jakub Raczek
andauthored
upgrade packages (#50)
* upgrade packages * updated * fixed ps script * fix (#52) * Update pom.xml * Update pom.xml * Update pom.xml * Update pom.xml * Update pom.xml * fixed issue with exception (#54) * Update pom.xml * Update pom.xml * Update pom.xml * Update pom.xml * Update pom.xml * Update build.xml (#53) * Update build.xml * Update github-actions.yml * Update pom.xml --------- Co-authored-by: Jakub Raczek <[email protected]>
1 parent 8c9c462 commit 6050964

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

downloadBackupAndJDBCDrivers.ps1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
Write-Output "Downloading AdventureWorks2008R2FullDatabaseBackup"
22
New-Item -Path './zip' -ItemType Directory -Force
33
(New-Object System.Net.WebClient).DownloadFile("https://github.com/raczeja/DBTestCompare_backups/raw/master/AdventureWorks2008R2FullDatabaseBackup.zip", "./zip/AdventureWorks2008R2FullDatabaseBackup.zip")
4+
Invoke-WebRequest -Uri "https://github.com/raczeja/DBTestCompare_backups/raw/master/AdventureWorks2008R2FullDatabaseBackup.zip" -OutFile "./zip/AdventureWorks2008R2FullDatabaseBackup.zip"
45
Write-Output "Unzipping AdventureWorks2008R2FullDatabaseBackup"
56
Expand-Archive -LiteralPath './zip/AdventureWorks2008R2FullDatabaseBackup.zip' -DestinationPath ./docker -Force
67

78
Write-Output "Downloading sqljdbc drivers"
8-
(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")
9+
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"
910
Write-Output "Unzipping sqljdbc drivers"
1011
Expand-Archive -LiteralPath './zip/sqljdbc_8.2.0.0_enu.zip' -DestinationPath "./zip/sqljdbc" -Force
1112
Copy-Item -Path "./zip/sqljdbc/sqljdbc_8.2/enu/*" -Destination "./jdbc_drivers" -Include "mssql-jdbc-*.jar"
1213

1314
Write-Output "Downloading mysql sctipts"
14-
(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")
15+
Invoke-WebRequest -Uri "https://github.com/raczeja/DBTestCompare_backups/raw/master/my-mysql/sql-scripts/sql-scripts.zip" -OutFile "./zip/sql-scripts-mysql.zip"
1516
Write-Output "Unzipping mysql sctipts"
1617
Expand-Archive -LiteralPath './zip/sql-scripts-mysql.zip' -DestinationPath "./docker/my-mysql/sql-scripts" -Force
1718

1819
Write-Output "Downloading postgres sctipts"
19-
(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")
20+
Invoke-WebRequest -Uri "https://github.com/raczeja/DBTestCompare_backups/raw/master/my-postgres/sql-scripts/sql-scripts.zip" -OutFile "./zip/sql-scripts-postgres.zip"
2021
Write-Output "Unzipping postgres sctipts"
2122
Expand-Archive -LiteralPath './zip/sql-scripts-postgres.zip' -DestinationPath "./docker/my-postgres/sql-scripts" -Force

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<properties>
1212
<testng.version>7.5.1</testng.version>
1313
<jaxb-impl.version>2.2.7</jaxb-impl.version>
14-
<log4j.version>2.17.1</log4j.version>
15-
<log4jcore.version>2.17.1</log4jcore.version>
16-
<c3p0.version>0.9.5.5</c3p0.version>
14+
<log4j.version>2.24.2</log4j.version>
15+
<log4jcore.version>2.24.2</log4jcore.version>
16+
<c3p0.version>0.10.1</c3p0.version>
1717
<poi.version>4.1.1</poi.version>
1818
<commons.version>3.9</commons.version>
1919
<sirocco.version>1.0</sirocco.version>

0 commit comments

Comments
 (0)