Skip to content

Commit 87fdb38

Browse files
authored
update JayDeBeApi version to 1.2.0 (#83)
1 parent 71c936a commit 87fdb38

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN mkdir -p /usr/share/man/man1 \
1515
&& apt-get update && apt-get install -y openjdk-11-jre libpq-dev \
1616
&& savedAptMark="$(apt-mark showmanual)" \
1717
&& apt-get install -y gcc curl \
18-
&& pip install JPype1==0.7.5 psycopg2==2.8.5\
18+
&& pip install JPype1==1.2.0 psycopg2==2.8.5\
1919
&& curl -o /usr/lib/jvm/mariadb-java-client.jar \
2020
https://downloads.mariadb.com/Connectors/java/connector-java-${MARIADB_CLIENT_VERSION}/mariadb-java-client-${MARIADB_CLIENT_VERSION}.jar \
2121
&& curl -o /usr/lib/jvm/postgresql-java-client.jar \

scripts/integration-test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ function test {
4343
--database 'test' \
4444
--resource-arn $RDS_DATA_API_CLIENT_RESOURCE_ARN \
4545
--secret-arn $RDS_DATA_API_CLIENT_SECRETARN \
46+
--include-result-metadata \
4647
--sql 'SELECT 1 AS value' \
4748
| jq -e '.records[0][0].longValue == 1'
4849

@@ -54,6 +55,7 @@ function test {
5455
--database 'test' \
5556
--resource-arn $RDS_DATA_API_CLIENT_RESOURCE_ARN \
5657
--secret-arn $RDS_DATA_API_CLIENT_SECRETARN \
58+
--include-result-metadata \
5759
--sql 'SELECT 1 > 0 AS value' \
5860
| jq -e '.records[0][0].booleanValue == true'
5961
fi
@@ -67,6 +69,7 @@ function test {
6769
--database 'test' \
6870
--resource-arn $RDS_DATA_API_CLIENT_RESOURCE_ARN \
6971
--secret-arn $RDS_DATA_API_CLIENT_SECRETARN \
72+
--include-result-metadata \
7073
--sql 'SELECT 1 > 0 AS value' \
7174
| jq -e '.records[0][0].longValue == 1'
7275
fi
@@ -76,6 +79,7 @@ function test {
7679
--database 'test' \
7780
--resource-arn $RDS_DATA_API_CLIENT_RESOURCE_ARN \
7881
--secret-arn $RDS_DATA_API_CLIENT_SECRETARN \
82+
--include-result-metadata \
7983
--sql 'SELECT NOW() AS value' \
8084
| jq -e '.records[0][0].stringValue | length >= 19' # eg "2020-07-01 20:21:35.738998" or "2020-07-01 19:45:27"
8185

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ install_requires =
2222
fastapi == 0.45.0
2323
SQLAlchemy == 1.3.11
2424
PyMySQL == 0.9.3
25-
JPype1 == 0.7.5
25+
JPype1 == 1.2.0
2626
JayDeBeApi == 1.2.3
2727
psycopg2 == 2.8.5
2828

0 commit comments

Comments
 (0)