Skip to content

Commit

Permalink
User FREEPDB1 SID
Browse files Browse the repository at this point in the history
  • Loading branch information
simasch committed Aug 31, 2024
1 parent 36d6ab3 commit 9d60472
Show file tree
Hide file tree
Showing 32 changed files with 33 additions and 37 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Please refer to the following usage example for the parameters descriptions:
<properties>
<!-- URL of the connection to the database. -->
<!-- Can also be passed as execution parameters. -->
<!-- -DdbUrl="jdbc:oracle:thin:@127.0.0.1:1521:xe" -->
<!-- -DdbUrl="jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1" -->
<dbUrl>url_of_connection</dbUrl>
<!-- Database connection user. -->
<!-- -DdbUser="user" -->
Expand Down
8 changes: 2 additions & 6 deletions src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
import java.io.PrintStream;
import java.util.List;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertThrows;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.*;

public class UtPlsqlMojoTest {

Expand Down Expand Up @@ -308,7 +304,7 @@ public void dbms_output() throws Exception {
*/
@Test
public void db_config_using_system_properties() throws Exception {
System.setProperty("dbUrl", "jdbc:oracle:thin:@localhost:1521:xe");
System.setProperty("dbUrl", "jdbc:oracle:thin:@localhost:1521:FREEPDB1");
System.setProperty("dbUser", "UT3");
System.setProperty("dbPass", "UT3");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@localhost:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@localhost:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@localhost:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@localhost:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@localhost:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@localhost:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@localhost:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@localhost:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@localhost:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@localhost:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@localhost:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@localhost:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/unit-tests/dbms_output/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/unit-tests/default_reporter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/unit-tests/exclude_object/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/unit-tests/exclude_object_expr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/unit-tests/exclude_schema_expr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/unit-tests/include_object/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/unit-tests/include_object_expr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/unit-tests/include_schema_expr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/unit-tests/ora_stuck_timeout/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/unit-tests/skip_utplsql_tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<packaging>pom</packaging>

<properties>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:xe</dbUrl>
<dbUrl>jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1</dbUrl>
<dbUser>UT3</dbUser>
<dbPass>UT3</dbPass>
</properties>
Expand Down

0 comments on commit 9d60472

Please sign in to comment.