-
Notifications
You must be signed in to change notification settings - Fork 105
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
6 changed files
with
48 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,26 +4,30 @@ | |
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.3.xsd"> | ||
|
||
<!-- concord agent user disabled from 2.21.x --> | ||
<!-- <property name="concordAgentUserId" value="d4f123c1-f8d4-40b2-8a12-b8947b9ce2d8"/>--> | ||
<!-- starting from 2.21.x, the default agent token is no longer associated with any user --> | ||
<!-- | ||
<property name="concordAgentUserId" value="d4f123c1-f8d4-40b2-8a12-b8947b9ce2d8"/> | ||
--> | ||
|
||
<!-- moved to v1.86.0.xml (no more hard-coded default token) --> | ||
<!-- concord agent user disabled from 2.21.x --> | ||
<!-- <changeSet id="69000" author="[email protected]"> | ||
<insert tableName="USERS"> | ||
<column name="USER_ID">${concordAgentUserId}</column> | ||
<column name="USERNAME">concordAgent</column> | ||
<column name="USER_TYPE">LOCAL</column> | ||
</insert> | ||
<!-- starting from 2.21.x, the default agent token is no longer associated with any user --> | ||
<!-- | ||
<changeSet id="69000" author="[email protected]"> | ||
<insert tableName="USERS"> | ||
<column name="USER_ID">${concordAgentUserId}</column> | ||
<column name="USERNAME">concordAgent</column> | ||
<column name="USER_TYPE">LOCAL</column> | ||
</insert> | ||
<insert tableName="API_KEYS"> | ||
<!– "O+JMYwBsU797EKtlRQYu+Q" –> | ||
<column name="API_KEY">1sw9eLZ41EOK4w/iV3jFnn6cqeAMeFtxfazqVY04koY</column> | ||
<column name="USER_ID">${concordAgentUserId}</column> | ||
</insert> | ||
</changeSet> --> | ||
<insert tableName="API_KEYS"> | ||
<!– "O+JMYwBsU797EKtlRQYu+Q" –> | ||
<column name="API_KEY">1sw9eLZ41EOK4w/iV3jFnn6cqeAMeFtxfazqVY04koY</column> | ||
<column name="USER_ID">${concordAgentUserId}</column> | ||
</insert> | ||
</changeSet> | ||
--> | ||
|
||
<!-- concord agent user disabled from 2.21.x --> | ||
<!-- starting from 2.21.x, the default agent token is no longer associated with any user --> | ||
<!-- Create agent user when not exist --> | ||
<!-- | ||
<changeSet id="69001" author="[email protected]"> | ||
|
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 |
---|---|---|
|
@@ -4,21 +4,23 @@ | |
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.3.xsd"> | ||
|
||
<!-- <property name="concordRunnerUserId" value="2599c604-1384-4660-a767-8bc03baa7a31"/> | ||
<!-- | ||
<property name="concordRunnerUserId" value="2599c604-1384-4660-a767-8bc03baa7a31"/> | ||
<changeSet id="70000" author="[email protected]"> | ||
<insert tableName="USERS"> | ||
<column name="USER_ID">${concordRunnerUserId}</column> | ||
<column name="USERNAME">concordRunner</column> | ||
<column name="USER_TYPE">LOCAL</column> | ||
</insert> | ||
<changeSet id="70000" author="[email protected]"> | ||
<insert tableName="USERS"> | ||
<column name="USER_ID">${concordRunnerUserId}</column> | ||
<column name="USERNAME">concordRunner</column> | ||
<column name="USER_TYPE">LOCAL</column> | ||
</insert> | ||
<insert tableName="API_KEYS"> | ||
<!– "Gz0q/DeGlH8Zs7QJMj1v8g" –> | ||
<column name="API_KEY">DrRt3j6G7b6GHY/Prddu4voyKyZa17iFkEj99ac0q/A</column> | ||
<column name="USER_ID">${concordRunnerUserId}</column> | ||
</insert> | ||
</changeSet> --> | ||
<insert tableName="API_KEYS"> | ||
<!– "Gz0q/DeGlH8Zs7QJMj1v8g" –> | ||
<column name="API_KEY">DrRt3j6G7b6GHY/Prddu4voyKyZa17iFkEj99ac0q/A</column> | ||
<column name="USER_ID">${concordRunnerUserId}</column> | ||
</insert> | ||
</changeSet> | ||
--> | ||
|
||
<changeSet id="70100" author="[email protected]"> | ||
<addColumn tableName="PROCESS_QUEUE"> | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
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.3.xsd"> | ||
|
||
<!-- concord agent user disabled from 2.21.x --> | ||
<!-- starting from 2.21.x, the default agent token is no longer associated with any user --> | ||
<!-- | ||
<changeSet id="79000" author="[email protected]"> | ||
<insert tableName="USER_ROLES"> | ||
|
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 |
---|---|---|
|
@@ -4,8 +4,9 @@ | |
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.3.xsd"> | ||
|
||
<!-- moved to v1.86.0.xml --> | ||
<!-- <changeSet id="1450000" author="[email protected]" runInTransaction="false" context="!codegen"> | ||
<!-- moved to v1.86.0.xml --> | ||
<!-- | ||
<changeSet id="1450000" author="[email protected]" runInTransaction="false" context="!codegen"> | ||
<sql> | ||
delete from API_KEYS where KEY_ID = 'd5165ca8-e8de-11e6-9bf5-136b5db23c32' | ||
</sql> | ||
|
@@ -17,5 +18,6 @@ | |
<!– value from concord-server.conf –> | ||
<param name="token" value="${defaultAdminToken}"/> | ||
</customChange> | ||
</changeSet> --> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,10 @@ | |
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.3.xsd"> | ||
|
||
<property name="concordAdminUserId" value="230c5c9c-d9a7-11e6-bcfd-bb681c07b26c"/> | ||
<!-- concord agent user disabled from 2.21.x --> | ||
<!-- <property name="concordAgentUserId" value="d4f123c1-f8d4-40b2-8a12-b8947b9ce2d8"/>--> | ||
<!-- starting from 2.21.x, the default agent token is no longer associated with any user --> | ||
<!-- | ||
<property name="concordAgentUserId" value="d4f123c1-f8d4-40b2-8a12-b8947b9ce2d8"/> | ||
--> | ||
<property name="concordRunnerUserId" value="2599c604-1384-4660-a767-8bc03baa7a31"/> | ||
|
||
<!-- delete old hard-coded default admin API token --> | ||
|
@@ -39,7 +41,7 @@ | |
</changeSet> | ||
|
||
<!-- delete old hard-coded default agent API token --> | ||
<!-- concord agent user disabled from 2.21.x --> | ||
<!-- starting from 2.21.x, the default agent token is no longer associated with any user --> | ||
<!-- | ||
<changeSet id="1860200" author="[email protected]" runInTransaction="false" context="!codegen"> | ||
<sql> | ||
|
@@ -51,7 +53,7 @@ | |
--> | ||
|
||
<!-- Set initial agent API token when not exist --> | ||
<!-- concord agent user disabled from 2.21.x --> | ||
<!-- starting from 2.21.x, the default agent token is no longer associated with any user --> | ||
<!-- | ||
<changeSet id="1860300" author="[email protected]" runInTransaction="false" context="!codegen"> | ||
<validCheckSum>ANY</validCheckSum> | ||
|