Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc5fc626

Browse files
committed
Change db env names
1 parentf5e73d5 commitc5fc626

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

‎.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ env:
1515
-CACHE_DIR=$HOME/.cache
1616
-MAVEN_HOME=/usr/local/maven
1717
-MAVEN_CFG=$HOME/.m2
18-
-API_DB_URL="127.0.0.1:1521:XE"
19-
-API_DB_USER=api
20-
-API_DB_PASS=api
18+
-DB_URL="127.0.0.1:1521:XE"
19+
-DB_USER=app
20+
-DB_PASS=app
2121
matrix:
2222
-ORACLE_VERSION="11g-xe-r2" DOCKER_OPTIONS="--shm-size=1g"
2323

‎.travis/install_utplsql.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ docker cp ./create_api_user.sh $ORACLE_VERSION:/create_api_user.sh
2828

2929
# Remove temporary files.
3030
# rm $UTPLSQL_FILE.tar.gz
31+
rm -rf$UTPLSQL_FILE
3132
rm install.sh.tmp
3233

3334
# Execute the utPLSQL installation inside the container.

‎src/test/java/io/github/utplsql/api/rules/DatabaseRule.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ public class DatabaseRule extends ExternalResource {
1818
privatestaticStringsPass;
1919

2020
static {
21-
sUrl =System.getenv("API_DB_URL") !=null ?System.getenv("API_DB_URL") :"127.0.0.1:1521:XE";
22-
sUser =System.getenv("API_DB_USER") !=null ?System.getenv("API_DB_USER") :"app";
23-
sPass =System.getenv("API_DB_PASS") !=null ?System.getenv("API_DB_PASS") :"app";
21+
sUrl =System.getenv("DB_URL") !=null ?System.getenv("DB_URL") :"192.168.99.100:1521:XE";
22+
sUser =System.getenv("DB_USER") !=null ?System.getenv("DB_USER") :"app";
23+
sPass =System.getenv("DB_PASS") !=null ?System.getenv("DB_PASS") :"app";
2424
}
2525

2626
privateList<Connection>connectionList;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp