This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
99 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM openjdk:8-jre-alpine | ||
LABEL maintainer="[email protected]" \ | ||
service="transmart-api-server" \ | ||
version="17.2.3" \ | ||
version="17.2.4" \ | ||
description="This is the Docker image of the tranSMART API server" | ||
|
||
# The port is configured in the docker-entrypoint.sh when writing the config.yml | ||
EXPOSE 8081 | ||
|
||
ENV TRANSMART_VERSION "17.2.3" | ||
ENV TRANSMART_VERSION "17.2.4" | ||
ENV TRANSMART_USER_NAME transmart | ||
ENV TRANSMART_GROUP_NAME "${TRANSMART_USER_NAME}" | ||
ENV TRANSMART_USER_HOME "/home/${TRANSMART_USER_NAME}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Database updates for release 17.2.4 | ||
======================================== | ||
|
||
Overview | ||
-------- | ||
|
||
## Data migration | ||
|
||
### Update the `i2b2demodata.async_job_seq` sequence | ||
|
||
Starting from 17.2.4, the `i2b2demodata.async_job_seq` sequence is used to generate | ||
identifiers for the `async_job` table instead of `search_app.hibernate_sequence`. | ||
The `i2b2demodata.async_job_seq` sequence may need to be updated to prevent identifier | ||
collisions. | ||
|
||
```sql | ||
# Fetch highest sequence number of `i2b2demodata.async_job_seq` and `searchapp.hibernate_sequence` | ||
select max(count::int) from (select nextval('i2b2demodata.async_job_seq') as count union select nextval('searchapp.hibernate_sequence') as count) as counts; | ||
|
||
# Update the start value of the `async_job_seq` sequence. Use the result of the previous query | ||
# instead of `<VALUE>` | ||
alter sequence i2b2demodata.async_job_seq start with <VALUE>; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
transmart-schemas/src/main/resources/db/changelog/changes/20190926092415_async_job_seq.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.1" encoding="UTF-8" standalone="no"?> | ||
<!-- | ||
~ Copyright (c) 2019 The Hyve B.V. | ||
~ This file is distributed under the GNU General Public License | ||
~ (see accompanying file LICENSE). | ||
--> | ||
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd"> | ||
<changeSet author="[email protected]" id="20190926092415-0"> | ||
<createSequence sequenceName="async_job_seq" schemaName="i2b2demodata"/> | ||
</changeSet> | ||
</databaseChangeLog> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters